STEP 5 Operations
Conditional block end "BEC"
The "BEC" operation causes a return within a block if the previous condition has been satisfied
(RLO = 1).
Otherwise, linear program scanning is continued with RLO "1".
Example: Scanning of program block FB 20 is terminated if the RLO = "1".
Program Sequence
PB 7
JU FB 20
3.1.9
Other Operations
Table 3-9 lists other basic operations.
Operation
Operand
STP
NOP 0
NOP 1
BLD
ID
3-38
FB 20
S
A
A I 20.0
BEC
BEC
Table 3-9. Other Operations
Stop at the end of program scanning.
Current program scanning is terminated. The PIQ is read out. Then
the PLC goes into the "STOP" mode.
"No" Operation
Sixteen bits in the RAM are set to "0".
"No" Operation
Sixteen bits in the RAM are set to "1".
Display Generation Operation
"BLD" means a display generation operation for the programmer.
Parameter
130, 131, 132, 133, 255
Method of representation: only STL possible
STL
.
.
The "BEC" statement causes program
.
scanning to return to program block
.
PB 7 from function block FB 20 if
Q 1.0
input I 20.0 is "1".
I
20.0
.
.
.
.
Meaning
Manual S5-115F
Explanation
EWA 4NEB 811 6149-02