FP
Σ
User's Manual
8.6 Program Controlled Communication
221
8.6.7 1:N
Communication
The FP
Σ
and the external units are connected using an RS485 cable. Using the protocol that
matches the external units, the F159_MTRN instruction is used to send and receive data.
RS485
Data registers (DT)
Data to be sent
Data received
Data is sent using F159_MTRN
Data is received in receive buffer
PLC
The RS485 port of FPG-COM4 occupies the communication line for a certain period of time
after sending data. During this time, data cannot be received from another device. Therefore,
the connected device should not send a response to the FP
Σ
before the time t indicated below
has passed.
Baud rate
Response time
19200bit/s
t > 1ms
115200bit/s
t > 200
μ
s
System register settings
By default, the COM port is set to MEWTOCOL-COM mode. For 1:N program controlled
communication, the system registers should be set as shown below.
•
Settings for COM port 1 (FPG-COM3, FPG-COM4)
No.
Name
Set value
412
COM port 1 - communication mode
Program controlled
413
COM port 1 - communication format
*)
Data length:
7 bits/8 bits
Parity:
None/Odd/Even
Stop bit:
1 bit/2 bits
End code:
CR/CR+LF/None/ETX
Start code:
No STX/STX
415
COM port 1 - baud rate
*)
2400–115200bit/s
416
COM port 1 - receive buffer starting address
0–32762 (initial value: 0)
417
COM port 1 - receive buffer capacity
0–2048 words (initial value: 2048 words)
*)
The setting must match the external device connected to the communication port.
NOTE
•
When the RS485 port (COM port 1) of FPG-COM4 is used, set the baud rate
in the system registers to either 19200bit/s or 115200bit/s. Set DIP switch
SW1-2 of the cassette to the same setting (see page 162).
Summary of Contents for FPS Series
Page 7: ......
Page 17: ......
Page 18: ...Chapter 1 Safety Measures...
Page 21: ......
Page 22: ...Chapter 2 Overview...
Page 32: ...Chapter 3 CPU Types...
Page 47: ...CPU Types FP User s Manual 30 LD Body...
Page 51: ...CPU Types FP User s Manual 34 POU Header and LD Body...
Page 55: ...CPU Types FP User s Manual 38 LD Body...
Page 57: ......
Page 58: ...Chapter 4 Expansion...
Page 73: ......
Page 74: ...Chapter 5 I O Allocation...
Page 81: ......
Page 82: ...Chapter 6 Installation and Wiring...
Page 115: ......
Page 116: ...Chapter 7 High Speed Counter and Pulse Output...
Page 169: ......
Page 170: ...Chapter 8 Communication...
Page 227: ...Communication FP User s Manual 210 LD Body ST Body...
Page 233: ...Communication FP User s Manual 216 POU Header LD Body...
Page 236: ...FP User s Manual 8 6 Program Controlled Communication 219 POU Header LD Body 1 2...
Page 237: ...Communication FP User s Manual 220 2 2 ST Body...
Page 266: ...Chapter 9 Security Functions...
Page 273: ......
Page 274: ...Chapter 10 Other Functions...
Page 277: ......
Page 278: ...Chapter 11 Troubleshooting...
Page 289: ......
Page 290: ...Chapter 12 Appendix...