Panasonic FP7 Series Command Reference Manual page 824

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

Advertisement

15.5 RECV (MEWTOCOL Master / MODBUS Master)
Available bit devices (●: Available)
Operand
X
S1
(Note 1)
S2
n
D1
D2
(Note 1)
When the sender is FP7, only global devices can be specified. (A local device cannot be specified.)
(Note 2)
In the case of MODBUS mode, a bit device cannot be specified.
(Note 3)
In the case of MEWTOCOL-COM mode or MODBUS mode, a bit device cannot be specified.
Outline of operation
● Commands are sent from the communication port of the unit to perform the data
transmission with external devices.
● Data can be read and written by specifying station numbers and memory addresses and
executing the SEND and RECV instructions in a user program, because PLC automatically
creates messages according to the protocol.
● Select a communication mode in the configuration menu of the tool software FPWIN
GR7.
● When the RECV instruction is executed, the data is read from the address that starts with
[S2] in the partner station number [S1] and the data is stored in the area that starts with [D1]
in the master unit.
● Depending on the type of device specified by [S2] and [D1], the transfer method (register
transfer / bit transfer) varies.
● The amount of received data [n] is specified in words for the register transfer, and in the
number of bits for the bit transfer.
● The execution result code is stored in the one-word area of the master unit that is specified
by [D2].
Specification of partner unit station number [S1]
Communication Mode
MEWTOCOL-COM
MEWTOCOL-DAT
MODBUS
(Note 1)
For connection between FP7 and FP7, specify "1". Destination is determined by the IP address.
Specify the starting address [S2] of the sender data area
Transfer method
Register transfer
15-30
Bit device
Y
R
L
T
C
(Not
e 2)
When SCU is used
1 to 99, 238 (decimal) = EE
(hexadecimal)
Non-SCU-compliant
(Note 1)
1 to 255
Communication Mode
MEWTOCOL-COM
P
E
SR
IN
OT
Address range
0 to 99999
Specification of bit of
word device
DT.n
LD.n
(Note 3)
(Note 3)
When ET-LAN is used
1 to 64, 238 (decimal) = EE
(hexadecimal)
(Note 1)
1 to 255
WUME-FP7CPUPGR-12
Index
modifier

Advertisement

Table of Contents
loading

Table of Contents