SETZ (19)
SETZ (19)
ID 19
Application: |
PLC |
SIM |
Group: LOGIC
Short description:
The function performs the operation of the coil that remembers the state of variables for subsequent 'n' devices.
Inputs (1):
no. |
type |
impulse |
mark |
notes |
1 |
B |
no |
IN |
Binary input no. 1 |
Outputs: none
Settings:
no. |
type |
name |
notes |
1 | I | device | device type and number |
I | size | number of subsequent devices |
Function operation:
The SETZ function sets the value of the marker M or the output Y, and subsequent devices, the number of which is specified in the Size property. When creating a function block, the device type is selected with the Device property (Y outputs can only be set on the PLC tab), its number, and the number of consecutive Size devices. When the state of the IN input is high, the selected devices are set to the high state.
R registers and M markers used:
per function block Device and Size properties settings