Recv Command (When Mewtocol Is Used); Command Format - Panasonic FP7 CPU Unit User Manual

Lan port communication
Table of Contents

Advertisement

MEWTOCOL Master/Slave Communication

5.3.2 RECV Command (When MEWTOCOL is Used)

 Command format
Items
Settings
i
Specify the operation unit.
S1
Specify the partner station no.
Specify the device initial address of the source
S2
node data area in the partner node. (Note 2) (Note 3)
n
Specify the No. of sent data. (Note 4)
Specify the device initial address of the receiver
D1
node data area in the source node.
Specify the device area in the source node to save
D2
the execution result code (one word).
(Note 1) Specify "1" for connection between FP7 units. The receiver is specified by IP address.
(Note 2) Transmission methods vary by the type of device to be specified for the operands [S2] and [D1].
16 bit device: WX, WY, WR, WL, DT, LD
1 bit device: X, Y, R, L, DT,n, LD, n
(Note 3) Bit device DT, n and LD, n cannot be specified for the header of the sender data in the partner node.
(Note 4) The No. of sent data is on a word basis for register transmission, and on a bit basis for bit transmission.
(Note 5) The maximum number of words vary by settings of the MEWTOCOL communication type for user connection.
Connection settings: Setting of the
MEWTOCOL communication type
Do not connect with FP2 ET-LAN
Connect with FP2 ET-LAN
(Note 6): Devices that can be specified for [D2] are: WX, WY, WR, WL, DT, LD. Saved as one word in the specified area.
0: Normal completion
1: Communication port is being used for master communication
2: Communication port is being used for slave communication
3: No. of master communication commands that can be used simultaneously has been exceeded
4: Sending timeout
5: Response reception timeout
6: Received data error
5-6
Device to be specified for [S2] and [D1]
Setting range
MEWTOCOL-DAT
US / SS
1 - 64 (Note 1)
0 - 65535
1 - 2038 words
or 1 bit (Note 5)
(Note 2)
(Note 6)
Maximum no. of words
2038 words
1020 words
MEWTOCOL-COM
0 - 99999
1 - 507 words
or 1 bit
Transmission
method
Register transmission
Bit transmission

Advertisement

Table of Contents
loading

Table of Contents