Send Command (When Mewtocol Is Used) - Panasonic FP7 CPU Unit User Manual

Lan port communication
Table of Contents

Advertisement

5.4.2 SEND Command (When MEWTOCOL is Used)

 Command format
Setting
Settings
item
i
Specify the operation unit.
Specify the header of the source node data
S
area.
n
Specify the No. of sent data. (Note 2)
D1
Specify the partner station no.
Specify the initial address of the receiver
D2
node data area in the partner node. (Note 1)
(Note 5)
Specify the device area in the source node to
D3
save the execution result code (one word).
(Note 1) Transmission methods vary by the type of device to be specified for the operands [S] and [D2].
16 bit device: WX, WY, WR, WL, DT, LD
1 bit device: X, Y, R, L, DT, n, LD, n
(Note 2) The No. of sent data is on a word basis for register transmission, and on a bit basis for bit transmission.
(Note 3) Configuration: 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 4) Specify "1" for connection between FP7 units. The receiver is specified by IP address.
(Note 5) Bit device DT, n and LD, n cannot be specified for the header of the receiver data in the partner node.
(Note 6): Devices that can be specified for [D3] 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
Device to be specified for [S2] and [D1]
5.4 MEWTOCOL Master Communication (SEND)
MEWTOCOL-DAT
1 - 2038 words
or 1 bit
(Note 3)
0 - 65535
2038 words
1020 words
Setting range
MEWTOCOL-COM
US / SS
(Note 1)
1 - 507 words
or 1 bit
1 - 64 (Note 4)
0 - 99999
(Note 6)
Transmission
method
Register transmission
Bit transmission
Maximum no. of words
5-9

Advertisement

Table of Contents
loading

Table of Contents