Logical block used for output variables alternance.
Ladder Representation
![]()
Block Structure
Variable Type |
Name |
Data Type |
Description |
VAR_OUTPUT |
O1 |
BOOL |
Block log output |
VAR |
TOGGLECOIL_INST_0 |
TOGGLECOIL |
Instance of access to block structure |
Operation
When identifying a transition from FALSE to TRUE (leading edge) on A, the block reverses the status of O1.
Diagram

Block Flowchart

Example in Ladder
![]()
The above example inverts the state of the digital output DO6 to each disabling the internal buzzer.
Example in ST
The example below displays the instructions for applying the example above in the ST language.
VAR NTSCONTACT_INST_0 : FB_NTSCONTACT; TOGGLECOIL_INST_0 : FB_TOGGLECOIL; END_VAR
NTSCONTACT_INST_0(EN:=TRUE, BIT:=BUZZER_ACTIVE); TOGGLECOIL_INST_0(EN:=NTSCONTACT_INST_0.Q, BIT=>DO6);
|
|---|