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 FB20 is terminated if the RLO = "1".
Program Sequence
PB7
A I32.0
JU FB20
8.1.9
Other Operations
Table 8-9 lists other basic operations. Explanations follow the table.
Operation
Operand
STP
NOP 0
NOP 1
BLD
ID
Note
These operations can be programmed in STL form only.
8-38
STL
.
FB20
.
.
.
A
I
BEC
.
.
BEC
.
.
Table 8-9. Other Operations
Stop at the end of program scanning (in OB1)
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
Explanation
The "BEC" statement causes program
scanning to return to program block
PB 7 from function block FB20 if input
I32.0 is "1".
32.0
Meaning
S5-90U/S5-95U
EWA 4NEB 812 6115-02b