FP
Σ
User's Manual
8.4 Communication Parameters
169
8.4.3 Changing
Communication Mode in RUN Mode
The communication mode of the CPU's communication ports can be changed during RUN
mode. You can toggle between program controlled mode and MEWTOCOL-COM mode by
executing F159_MTRN and setting the variable
n_Number
(the number of bytes to be sent)
to 16#8000.
Please refer to the FPWIN Pro online help on F159_MTRN for a programming example.
NOTE
•
When the power is turned on, the communication mode selected in the
system registers is set.
•
It is not possible to change to the Modbus RTU mode using F159_MTRN.
8.4.4 Adjusting the Response Time
In RS485 communication using FPG-COM3 or FPG-COM4, it may be necessary to adjust the
response time (time between the reception of an instruction and the return of a response).
This applies to all communication modes with automatic responses: MEWTOCOL-COM
Master/Slave, PLC Link, Modbus RTU Master/Slave. In program controlled communication,
the program algorithm determines the response time (e.g. using timer instructions).
Adjusting the response time of the FP
Σ
The FP
Σ
provides a SYS1 instruction which can be used to change the time between the
reception of an instruction and the return of a response:
When bChangeResponseT turns to TRUE, the response of COM port 1 (RS485) will be
delayed by 10 scans. If the scan time is 500
μ
s, the response will be delayed by 5ms.
REFERENCE
Please refer to the FPWIN Pro online help for detailed information.
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...