en-us_products:mpino_studio2:box_functions:timer
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en-us_products:mpino_studio2:box_functions:timer [2026/09/10 01:05] – 바깥 편집 127.0.0.1 | en-us_products:mpino_studio2:box_functions:timer [2026/11/13 17:54] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ===== Common Rules ===== | ===== Common Rules ===== | ||
| - | The '' | + | The '' |
| {{ : | {{ : | ||
| Line 19: | Line 19: | ||
| | [[en-us_products: | | [[en-us_products: | ||
| | [[en-us_products: | | [[en-us_products: | ||
| - | | [[en-us_products: | + | | [[en-us_products: |
| - | | [[en-us_products: | + | | [[en-us_products: |
| - | | [[en-us_products: | + | | [[en-us_products: |
| - | | [[en-us_products: | + | | [[en-us_products: |
| - | | [[en-us_products: | + | | [[en-us_products: |
| + | |||
| + | ===== Timer Unit Settings ===== | ||
| + | |||
| + | The length of one timer tick is set for each project. Open **Settings → Memory Area Settings** ('' | ||
| + | |||
| + | ^ Item ^ Box functions affected ^ Available values ^ Default ^ | ||
| + | | '' | ||
| + | | '' | ||
| + | |||
| + | The '' | ||
| + | |||
| + | Changing the unit affects presets as follows. | ||
| + | |||
| + | * A preset entered as a number is a tick count. '' | ||
| + | * A preset entered with a time unit, such as '' | ||
| + | * The maximum time scales with the unit. '' | ||
| + | * In a project that does not use the default units, the actual time appears below a numeric preset. For example, in a project with '' | ||
| + | |||
| + | If you change the unit and save while timers are affected, the **Change timer units** window opens and shows how many box functions change and where they are in the ladder. | ||
| + | |||
| + | ^ Button ^ Action ^ | ||
| + | | **Convert numbers, keep the time** | Converts numeric presets to the new unit so that the time stays the same. Example: changing from 10 ms to 1 ms turns '' | ||
| + | | **Keep numbers (time changes)** | Leaves the numbers as entered and changes only the unit. The time of numeric presets changes. | | ||
| + | | **Cancel** | Does not change the unit. | | ||
| + | |||
| + | > **Caution when changing the unit:** Comparison contacts such as '' | ||
| + | |||
| + | > **Note on the 1 ms unit:** 1 ms is the unit of measurement, | ||
| + | |||
| + | > **Caution for earlier versions:** A project whose timer units differ from the defaults ('' | ||
| + | |||
| + | ===== Set the Preset from Memory ===== | ||
| + | |||
| + | If you enter a memory address such as '' | ||
| + | |||
| + | ^ Type ^ Addresses you can use ^ Example ^ | ||
| + | | WORD memory | '' | ||
| + | | DWORD memory | '' | ||
| + | | Symbol | A symbol that points to one of the addresses above | '' | ||
| + | |||
| + | Real numbers ('' | ||
| + | |||
| + | ^ Run condition ^ Memory value ^ Command entered ^ Expected result ^ | ||
| + | | Left condition ON | D10=300 | '' | ||
| + | | Left condition ON | D10=500 | '' | ||
| + | |||
| + | > **Caution on memory values:** A memory value is a tick count, not a time. With the default units, '' | ||
| + | |||
| + | * A change made while running takes effect immediately. Raising the value during timing continues counting up to the new value; lowering it below the current value ends the timer on the next scan. | ||
| + | * TON and TMR stay done even if the value is raised after completion. To time again from the start, turn the TON input OFF and then ON, and initialize TMR with a ladder RESET coil. | ||
| + | * If the value is 0, TON and TMR complete as soon as the input turns ON, and TOFF turns its done state OFF as soon as the input turns OFF. TPL and TMON end in the same scan, so their ON state is not visible. | ||
| + | * The value is read as unsigned. A value shown as -1 in monitoring is 65535 ticks. When a '' | ||
| + | * A DWORD address in the preset field follows the rule in [[en-us_products: | ||
| + | |||
| + | > **Caution right after power-on:** The memory value is 0 until the HMI writes it, so during that time TON completes immediately and TPL and TMON produce no output. To keep the value through a power cycle, register that memory in [[en-us_products: | ||
| + | |||
| + | For the HMI side (addresses, scaling, and input limits), see [[: | ||
| ===== Related Documentation ===== | ===== Related Documentation ===== | ||
en-us_products/mpino_studio2/box_functions/timer.1788969959.txt.gz · Last modified: by 127.0.0.1
