Communication Instruction; F145 Send] [F146 Recv] Instructions: Common Items - Panasonic FP-XH Series User Manual

Hide thumbs Also See for FP-XH Series:
Table of Contents

Advertisement

8.1 Communication Instruction

8.1 Communication Instruction

8.1.1 [F145 SEND] [F146 RECV] Instructions: Common Items

Common items for SEND / RECV instructions are indicated.
System register settings
Using tool software, specify a communication mode for the COM port to be used.
Mode
MEWTOCOL master
MODBUS master
Execution conditions for instructions
● Multiple SEND / RECV instructions cannot be executed at the same time to a single
communication port. Create a program so that an instruction is executed when the SEND /
RECV instruction execution flag is ON (1).
Confirmation of execution results of instructions
● While processing SEND / RECV instruction, only a Request to Send is issued. The actual
transmission is performed when ED instruction is executed. Check the SEND / RECV
instruction execution end flag to confirm the completion of transmission.
● When the instruction terminates abnormally, the SEND / RECV done flag turns ON. The error
code is stored in the corresponding special data register. For details of error codes, refer to
the error codes of each protocol.
Special relays / special data registers
Operation
SEND/RECV
0: Not executable
instruction
1: Executable
execution flag
SEND/RECV
0: Successful
instruction
execution end
1: Unsuccessful
flag
SEND/RECV
When unsuccessful,
instruction end
an error code is
code
stored.
(Note 1)
The Nos. in brackets indicate devices that are compatible with existing FP-X / FPsigma.
Timeout time setting
● Error code H73 indicates timeout waiting for a response.
● Timeout time can be changed in the area from 10.0 ms to 81.9 s (by 2.5 ms), using the
system register No. 32. By default, the value is set to 10 s.
● In your program, be sure to wait for approx. the maximum scan time after transmission
complete and before the next transmission, in the case of global transfer (transmission with
H00 specified for unit No.).
8-2
System register No. 412
Computer link
MODBUS RTU
COM0
R9134
R9135
DT90123
COM1
COM2
R913C
R9144
(R9044)
(R904A)
R913D
R9145
(R9045)
(R904B)
DT90124
DT90125
COM3
COM4
R914C
R9154
R914D
R9155
DT90127
DT90128
WUME-FPXHCOMG-02

Advertisement

Table of Contents
loading

Table of Contents