en-us_products:mpino_studio2:box_functions:counter:ctd

Differences

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

Link to this comparison view

en-us_products:mpino_studio2:box_functions:counter:ctd [2026/09/10 01:05] – 만듦 - 바깥 편집 127.0.0.1en-us_products:mpino_studio2:box_functions:counter:ctd [2026/11/13 00:27] (current) – external edit 127.0.0.1
Line 14: Line 14:
  
   * Target — counter memory C<n> (16-bit) or DC<n> (32-bit)   * Target — counter memory C<n> (16-bit) or DC<n> (32-bit)
-  * preset — starting count loaded on reset (an integer, not time)+  * preset — starting count loaded on reset. An integer or a memory address such as ''D10'' (time units are not accepted)
  
 ===== Behavior Example ===== ===== Behavior Example =====
Line 26: Line 26:
  
   * A counter changes once per rising edge of the left condition. On MPINO-8A4R(T)-S, C0 through C10 are mapped to board functions, so use C11 or later for a counter.   * A counter changes once per rising edge of the left condition. On MPINO-8A4R(T)-S, C0 through C10 are mapped to board functions, so use C11 or later for a counter.
 +  * When the preset is a memory address, CTD reads the value only at boot and when it is initialized by a RESET coil. After changing the value while running, for example from an HMI, you must turn the RESET coil on once to apply it. When the memory value is 0, the counter does not complete. For details, see [[en-us_products:mpino_studio2:box_functions:counter#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/counter/ctd.1788969959.txt.gz · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki