en-us_products:mpino_studio2:box_functions:timer:ton

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en-us_products:mpino_studio2:box_functions:timer:ton [2026/09/10 01:06] – 만듦 - 바깥 편집 127.0.0.1en-us_products:mpino_studio2:box_functions:timer:ton [2026/11/13 00:27] (current) – external edit 127.0.0.1
Line 14: Line 14:
  
   * Arg 1 = target: timer memory T<n> (16-bit) / DT<n> (32-bit), stores the elapsed value   * Arg 1 = target: timer memory T<n> (16-bit) / DT<n> (32-bit), stores the elapsed value
-  * Arg 2 = time: 10ms ticks. Accepts 100 (=100 ticks=1s) or a time literal like 1m10s+  * Arg 2 = time: 10ms ticks by default (1ms or 10ms in the settings). Accepts 100 (=100 ticks, 1s with the default unit), a time literal like 1m10s, or a memory address such as ''D10''
  
 ===== Behavior Example ===== ===== Behavior Example =====
  
 ^ Run condition ^ Before ^ Command entered ^ Expected result ^ ^ Run condition ^ Before ^ Command entered ^ Expected result ^
-| Left condition ON | T0=0 | ''TON T0 100'' | 1 s later → T0=100, T0 done contact=ON |+| Left condition ON | T0=0 | ''TON T0 100'' | 1 s later (default unit) → T0=100, T0 done contact=ON |
  
 {{ :en-us_products:mpino_studio2:timer-ton-taon-timing.svg?1000 |TON input, current value, and done state }} {{ :en-us_products:mpino_studio2:timer-ton-taon-timing.svg?1000 |TON input, current value, and done state }}
Line 25: Line 25:
 ===== Cautions ===== ===== Cautions =====
  
-  * A numeric time is a tick count. The TON family uses 10 ms per tick, and the TAON family uses 100 ms per tick.+  * A numeric time is a tick count. By default, the TON family uses 10 ms per tick and the TAON family uses 100 ms per tick; you can change this for each project in [[en-us_products:mpino_studio2:box_functions:timer#timer_unit_settings|Timer Unit Settings]]. Changing the unit also changes the actual time of a numeric value. 
 +  * If you enter a memory address such as ''D10'' in the time field, you can change the time while running, for example from an HMI. The memory value is a tick count, not a time: with the default unit, ''TON T0 D10'' uses 5 seconds when D10 is 500. For details, see [[en-us_products:mpino_studio2:box_functions:timer#set_the_preset_from_memory|Set the Preset from Memory]].
  
 ===== Box Functions in the Same Category ===== ===== Box Functions in the Same Category =====
en-us_products/mpino_studio2/box_functions/timer/ton.1788969960.txt.gz · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki