Bps (Bit Push), Brd (Bit Read), And Bpp (Bit Pop) - IDEC FC4A-C10R2 User Manual

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

7: B
I
ASIC
NSTRUCTIONS

BPS (Bit Push), BRD (Bit Read), and BPP (Bit Pop)

The BPS (bit push) instruction is used to save the result of bit logical operation temporarily.
The BRD (bit read) instruction is used to read the result of bit logical operation which was saved temporarily.
The BPP (bit pop) instruction is used to restore the result of bit logical operation which was saved temporarily.
When using
WindLDR
, the user need not program the BPS, BRD, and BPP instructions. The circuit in the ladder diagram
shown below is converted into BPS, BRD, and BPP when the ladder diagram is compiled.
Ladder Diagram
BPS
I0
I1
BRD
I2
BPP
I3
Timing Chart
ON
I0
OFF
ON
I1
OFF
ON
I2
OFF
ON
I3
OFF
ON
Q1
OFF
ON
Q2
OFF
ON
Q3
OFF
When both inputs I0 and I1 are on, output Q1 is turned on.
When both inputs I0 and I2 are on, output Q2 is turned on.
When both inputs I0 and I3 are on, output Q3 is turned on.
7-6
Program List
Instruction
Q1
Q2
Q3
« FC4A M
ICRO
Data
LOD
I0
BPS
AND
I1
OUT
Q1
BRD
AND
I2
OUT
Q2
BPP
AND
I3
OUT
Q3
S
U
'
M
»
MART
SER
S
ANUAL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents