Changing Communication Mode In Run Mode; Adjusting The Response Time - Panasonic FPS Series User Manual

Table of Contents

Advertisement

FPΣ User's Manual

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.
8.4 Communication Parameters
169

Advertisement

Table of Contents
loading

Table of Contents