
Chapter 5. Application instructions
5-37
-
Execution conditions
2) Program example
-
At every 1 second, the block from P040 to P045 is shifted in left direction by 1 bit. The 1 second
clock flag (F093) is used for input condition. P040 is set as 1 when the P031 is on.
Input condition
BSFT
BSFTP
Executed only once
Executed only once
Executed per scan
Executed per scan
BSFT P040 P045
F093
P031
SET P040
0
0
1
1
1
0
0
0
1
P045
0
0
1
1
1
0
0
1
0 is entered while P031 is
off, and 1 is entered while
P031 is on
Erased
P044
P043 P042
P041
P040 P03F
P046