User Tools

Site Tools


en-us_products:mpino_studio2:box_functions:bit_latch

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
en-us_products:mpino_studio2:box_functions:bit_latch [2026/09/09 18:44] – 바깥 편집 127.0.0.1en-us_products:mpino_studio2:box_functions:bit_latch [2026/09/10 01:05] (current) – 바깥 편집 127.0.0.1
Line 5: Line 5:
 {{ :en-us_products:mpino_studio2:latch-behavior.svg?1000 |SET and RST store or clear a bit after the triggering condition has gone away. }} {{ :en-us_products:mpino_studio2:latch-behavior.svg?1000 |SET and RST store or clear a bit after the triggering condition has gone away. }}
  
-This ladder screen uses separate conditions to run SET and RST.+===== Box Function List =====
  
-{{ :en-us_products:mpino_studio2:ladder-set-rst-2x.png?1000 |This ladder screen uses separate conditions to run SET and RST. }} +^ Command ^ Meaning ^ 
- +| [[en-us_products:mpino_studio2:box_functions:bit_latch:set|SET]] | When the left condition is ON, stores ON in an M bit or a P bit configured as an output and holds it after the condition turns OFF. | 
-{{ :en-us_products:mpino_studio2:latch-examples.svg?1000 |Box-function inputs and example results }} +| [[en-us_products:mpino_studio2:box_functions:bit_latch:rst|RST]] | When the left condition is ON, stores OFF in an M bit or a P bit configured as an output. |
- +
-===== 1. SET and RST ===== +
- +
-''SET'' stores ON in the target bit, and ''RST'' stores OFF. The stored state remains after the condition returns to OFF. +
- +
-==== SET ==== +
- +
-**Set Coil (Latch)** +
- +
-When the left condition is ON, stores ON in an M bit or a P bit configured as an output and holds it after the condition turns OFF. +
- +
-**Syntax:** ''SET M0'' +
- +
-**Arguments** +
- +
-  * 1st = targetM bit or P bit configured as an output +
- +
-==== RST ==== +
- +
-**Reset Coil (Unlatch)** +
- +
-When the left condition is ON, stores OFF in an M bit or a P bit configured as an output. Use a ladder RESET coil, rather than box-function RST, to initialize a timer or counter. +
- +
-**Syntax:** ''RST M0'' +
- +
-**Arguments** +
- +
-  * 1st = target: M bit or P bit configured as an output +
- +
-===== 2. SET and RST Behavior Example ===== +
- +
-^ Run condition ^ Before ^ Command entered ^ Expected result ^ +
-| Left condition ON | M0=OFF | ''SET M0'' | M0=ON | +
-| Left condition ON | M0=ON | ''RST M0'' | M0=OFF | +
- +
-===== 3. Compare with SET and RESET Coils ===== +
- +
-For M bits and P bits configured as outputs, box-function ''SET'' and ''RST'' store the same values as the SET and RESET coils in Phase 3. Use a ladder RESET coil to initialize a timer or counter. +
- +
-[[en-us_products:mpino_studio2:ladder_editing|Phase 3 · Ladder Editing Basics]] +
- +
-{{ :en-us_products:mpino_studio2:rst-box-reset-coil.svg?1000 |Compare box-function RST with the RESET coil }} +
- +
-===== 4. Troubleshooting ===== +
- +
-^ Symptom ^ What to check ^ +
-| The value stays ON after SET. | Check the RST condition that clears the same address. |+
  
 ===== Related Documentation ===== ===== Related Documentation =====
  
   * [[en-us_products:mpino_studio2:box_functions|Phase 4 · Box Functions]]   * [[en-us_products:mpino_studio2:box_functions|Phase 4 · Box Functions]]
-  * [[en-us_products:mpino_studio2:box_functions:counter|Counter Box Functions]] 
-  * [[en-us_products:mpino_studio2:box_functions:arithmetic|Arithmetic Box Functions]] 
   * [[en-us_products:mpino_studio2|MPINO STUDIO 2 User Manual]]   * [[en-us_products:mpino_studio2|MPINO STUDIO 2 User Manual]]
  
en-us_products/mpino_studio2/box_functions/bit_latch.1788947072.txt.gz · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki