Positive Transition-Sensing Toggle Contact
Function name | PTSTCN_010 |
---|---|
Function version | 1.0 |
Function state | stable |
Compatibility with IEC61131-3 | not compatible |
Graphic symbol :
Input / Output :
Name | Belonging Group | Access | Types of data | Description |
---|---|---|---|---|
reference | Normal | R , RW | F , B , W , L , S | Reference variable of the contact |
Description :
If the reference variable is FLAG type:
The state of the right link passes alternatively from OFF to ON (toggle) at each positive transition, from 0 (zero) to 1 (one), of the reference variable (indicated with reference). The state of the left link is ignored.
If the reference variable is BYTE, WORD, LONG and SINGLE type:
The state of the right link passes alternatively from OFF to ON (toggle) at each positive transition, from the value 0 (zero) to a value different from 0 (zero), of the reference variable (indicated with reference). The state of the left link is ignored.