Panasonic FP7 Series Command Reference Manual page 1091

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

● Confirm that the master communication clear to send flag is ON for the corresponding
connection, and execute the SEND/RECV instruction. The master communication clear to
send flag will not turn ON until the connection to the partner is established. It is
recommended to specify to "enable the auto open function" in the connection setting of ET-
LAN. Also, the connections can be connected with OPEN instruction.
● The SEND or RECV instruction cannot be executed for the connection for which the master
communication is in progress. Confirm that the master communication sending flag is OFF,
and execute the instructions.
● The SEND or RECV instruction cannot be executed for the connection for which the slave
communication is in progress. (such as performing a data request from a host computer).
● Up to 16 instructions can be executed simultaneously for different COM ports and
connections. (The total of simultaneous usage of SEND, RECV, pGPSEND, GPTRNS, and
pPMSET instructions.)
Specification of [S1], [S2], [n], and [D1]
● For the operand [S1], specify hexadecimal data that consists of the source device code and
the upper device address of the partner unit.
Example: When the device code is 3 (internal relay) and the two-digit hexadecimal of the
upper device address is H00, specify H300.
● Specify one of the following values as the "high byte of [S1]" that indicates the device code of
the partner unit.
Unit
Device type
Input
Output
Bit
Link relay
Internal relay
Latch relay
Data register
Word
File register
Link register
● For the device address of the partner unit, specify six-digit hexadecimal (three-byte) data that
consists of the low byte of [S1] and the value of [S2]. When the device address is in the
range of H0 to H00FFFF, specify "H00" for the low byte of [S1].
● The number of received data [n] is specified in words for the register transfer and in bits for
the bit transfer.
● The transfer method and the number of received data [n] vary according to the device code
on FP7 that is specified by the operand [D1].
Type of FP7 device specified
for [D1]
16-bit device.
WX, WY, WR, WL, DT, LD
1-bit device.
X, Y, R, L, DT.n, LD.n
WUME-FP7CPUPGR-12
X
Y
B
M
L
D
R
ZR
W
Transfer
Number of
method
received data[n]
Register
1 to 960
transfer
Bit transfer
1 to 7168
17.40 RECV (MC Protocol Master)
High byte of [S1]
Hexadecimal
Hexadecimal
Hexadecimal
Decimal
Decimal
Decimal
Decimal
Hexadecimal
Hexadecimal
Remark
When the number of receive data is
an odd number, a four-bit dummy
code H0 is added.
H0
H 1
H 2
H 3
H 4
H 5
H 6
H 7
H8
17-203

Advertisement

Table of Contents
loading

Table of Contents