Panasonic FP-XH Series User Manual page 54

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

Advertisement

5.2 MEWTOCOL-COM Master Communication (RECV)
Code Description
Transfer method and
(1)
the number of transfer
words
COM port No. of a
(2)
master unit
Unit number of a
(3)
destination unit
Memory area that
(4)
stores control data
SEND / RECV
(5)
instruction execution
flag
Destination unit send
data storage
(6)
area
Master unit memory
area that store receive
(7)
data
● Other F145 (SEND) / F146 (RECV) instructions cannot be executed at the same time to a
communication port during master communication. Confirm that the "SEND / RECV instruction
execution flag" is ON, and execute the instructions.
● F145 (SEND) / F146 (RECV) instruction cannot be executed at the same time to a port during
slave communication.
● The processing of F145 (SEND) / F146 (RECV) instruction is handled during the execution of
ED instruction. Check the SEND / RECV instruction execution end flag to confirm the
completion of transmission / reception. Turned ON in the case of an error, and an error code is
stored in DT90123-DT90128. (Example: !61 Data error = H61)
● In the case of COM0 port, specify "HF" as a COM port No. for an operand of the F145 (SEND) /
F146 (RECV) instruction.
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.
5-4
Specify the number of words in higher words of control data.
Range: H1 to H1FD (1 word to 509 words)
Specify a COM port No. for the higher 4 bits in lower words of control data.
HF: COM0 port; H1: COM1 port; H2: COM2 port; H3: COM3 port; H4: COM4
port
Specify a unit number of a destination unit for the lower 8 bits in lower words of
control data.
Range: H01 to H63 (K1 to K99)
Specify the starting number of the area (2 words) that specifies the transfer
method and the number of transfer data.
This is inserted to confirm that no SEND / RECV instruction is in progress for
the same port. Turns ON when an instruction is executable.
Using two operands, specify the type and relative address of the memory area
of a destination unit that stores receive data.
Specify the memory area of the master unit that stores receive data.
COM0
COM1
R913C
R9134
(R9044)
R913D
R9135
(R9045)
DT90123
DT90124
COM2
COM3
R9144
R914C
(R904A)
R9145
R914D
(R904B)
DT90125
DT90127
WUME-FPXHCOMG-02
COM4
R9154
R9155
DT90128

Advertisement

Table of Contents
loading

Table of Contents