8-18 Serial Communications
1560D-UM051D-EN-P – February 2005
Remote I/O Examples (cont.)
Example #2 – Ladder Logic Program (cont.)
B3:0
Rung 2:4
This rung sets up the BT buffer for a BTR and sets the Virtual BT_Enable.
1
7
Rung 2:5
This rung copies the BTR data from the 1747-SN, clears the Virtual BT_Enable, and clears the User Logic Bit.
Rung 2:6
This rung copies the BT information to the 1747-SN for execution.
L
10
I:1.0
User
Logic
BTR_Avail Virtual
BTW = 0
BTR = 1
N10:0
15
L
N10:0
Virtual
BT_Enable
Bit
I:1.0
10
13 7
N10:0 N10:100
BTR_Avail Virtual
BTW = 0
BTR = 1
Virtual
BT Done
Bit
15
U
N10:0
Virtual
BT_Enable
Bit
COP
COPY FILE
Source #M1:1.100
Dest #N10:100
Length 74
User
Logic
1
U
B3:0
COP
COPY FILE
Source #N10:0
Dest #M0:1.100
Length 74
Rung 2:7
END
END
Rung 2:7