FP
Σ
User's Manual
8.8 Modbus RTU Communication
247
8.8.1 Setting Communication Parameters
Make the following settings for the communication port:
•
communication
mode
(MEWTOCOL-COM)
•
station
number
•
baud
rate
•
communication
format
For details on setting the communication parameters, see "Setting System Registers in PROG
Mode" on page 165.
NOTE
•
The end code setting must always be "CR", and the start code setting must
be "No STX".
•
The station number can be set within a range of 1 to 99.
•
With a C-NET adapter, a maximum of 32 stations can be specified.
8.8.2 Sample Program for Master Communication
Use the F145_WRITE and F146_READ instructions for the Modbus master function. Be sure
to select "Modbus RTU Master/Slave" for the COM port in system register 412.
POU Header
In order to have consistent data in the master project and in the slave project, the common
data should be kept in the GVL of a common library.
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...