Download CP1E CPU Unit Software User`s Manual

Transcript
14 Serial Communications
z PLC Setup
Item
Boiler A (Polling Unit) Boiler B (Polled Unit No. 0) Boiler C (Polled Unit No. 1)
Communications Settings Custom
Baud Rate
115200bps
Parameters
7.2.E (default)
Mode
PC Link (Master)
Link words
10 (default)
−
−
PC Link Mode
ALL
PC link (Slave)
−
1
−
−
PC Link Unit No.
−
0
1
z Programming Example
Data in the Serial PLC Link Areas are transferred using data links by the Serial PLC Link and without
using any special programming. The ladder program is used to transfer the data that needs to be
linked to the data link area.
Boiler B
CP1E (Polled Unit No.1)
Boiler C
CP1E (Polled Unit No. 0)
CIO 0
CIO 1
CIO 2
CIO 3
Input Bits
Input Bits
Input Bits
A_Temperature data 0
A_Temperature data 1
B_Temperature data 0
B_Temperature data 1
C_Temperature data 0
C_Temperature data 1
CIO 100
Output Bits
CIO 200
CIO 201
A_Temperature data 0
A_Temperature data 1
A_Temperature data 0
A_Temperature data 1
A_Temperature data 0
A_Temperature data 1
CIO 209
CIO 210
CIO 211
B_Temperature data 0
B_Temperature data 1
B_Temperature data 0
B_Temperature data 1
B_Temperature data 0
B_Temperature data 1
CIO 219
CIO 220
CIO 221
C_Temperature data 0
C_Temperature data 1
C_Temperature data 0
C_Temperature data 1
C_Temperature data 0
C_Temperature data 1
Output Bits
Output Bits
CIO 229
CIO 289
z Ladder Diagram
Boiler A
CP1E N-type CPU Unit
(Polling Unit)
#2
2
200
Transfer CIO 2 and CIO 3 to
CIO 200 and CIO 201 using a
BLOCK TRANSFER instruction.
CP1E CPU Unit Software User’s Manual(W480)
Boiler B
CP1E N-type CPU Unit
(Polled Unit No. 0)
Boiler C
CP1E N-type CPU Unit
(Polled Unit No. 1)
#2
2
210
#2
2
220
Transfer CIO 2 and CIO 3 to
CIO 210 and CIO 211 using a
BLOCK TRANSFER instruction.
Transfer CIO 2 and CIO 3 to
CIO 220 and CIO 221 using a
BLOCK TRANSFER instruction
14
14-5-5 Example Application
Serial PLC
Link Areas
Boiler A
CP1E (Polling Unit)
14-5 Serial PLC Links
−
NT/PC Link Max.
14-29