S |
Top Previous Next |
Operands: I, Q, M DBX, DIX, BOOL-parameter BOOL-variables
STL Syntax: A I 0.1 // e.g. S Q 5.2
If the RLO is ‘1’ the specified bit operands will be set to ‘1’. If the RLO is ‘0’ nothing will happen at all. After this operation a new logic operations sequence ?? (Verknüpfungskette) is started, that means that the first operation after a ‘S’ always gives only the value of the operand, unimportant whether the operation is named ‘A’, ‘O’ or ‘X’. The operations ‘AN’, ‘ON’ and ‘XN’ in comparison load the RLO with the negated value of the operand.
FBD If the result of the precede logic operation ?? (Verknüpfung) is ‘1’ the specified operand is set to ‘1’. If the result of the precede logic operation ?? (Verknüpfung) is ‘0’ nothing will happen at all, that means that the operand is not set back again. This has to happen at another position in the program, e.g. by the operation R. You create this block by creating an assignment block first, putting the yellow cursor on it and pressing the space bar or ‘Shift-ArrowRight’.
LAD
Here the coil ?? (Spule) will only be switched on if current flows. If no current flows it will not be switched off again, this has to happen at another position in the program, e.g. by the operation R .
You create the ‘-(S)-’ - sign by creating a normal coil ?? (Spule) first and pressing the space bar or ‘Shift-ArrowLeft’ after that. The yellow cursor has to be on the coil ?? (Spule) for doing so.
See also:
|