Precautions When Using Tcp Client Mode; Send Instruction (When Mewtocol-Com Is Used) - Panasonic AF7CPS Series User Manual

Table of Contents

Advertisement

MEWTOCOL Master/Slave Communication

5.3.2 Precautions When Using TCP Client Mode

 Connection request will be performed when data transfer is executed. Please execute
master communication command after confirming the connection status flag (X30) is OFF.
 When a connection successfully established, connection status flag (X30) turns ON. If a
connection failed, connection status flag (X30) stays OFF and TCP client connection failure
flag (X32) turns ON. Please reconfirm the conditions of destination or connection.
 If it needs to continue data transfer between the same connected equipment , please
execute master communication command after confirming the connection status flag (X30) is
ON.

5.3.3 SEND Instruction (When MEWTOCOL-COM is Used)

 Instruction format
Setting
Settings
items
i
Specify the operation unit.
S
Specify the header of the source node data area. (Note 1)
n
Specify the No. of sent data.
D1
Specify the partner station no. (Note 2) (Note 3)
Specify the initial address of the receiver node data area in the partner
D2
node. (Note 4)
Specify the device area in the source node to save the execution result
D3
code (one word).
(Note 1) Transmission methods vary by the type of device to be specified for the operands [S] and [D2].
Device to be specified for [S2] and [D1]
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) When "0" is specified for partner station no., global transmission is applied. In this case, no response
message is received from the partner side.
(Note 4) Bit device DT, n and LD, n cannot be specified for the header of the receiver data in the partner node.
(Note 5): Device 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 instructions that can be used simultaneously has been exceeded
4: Sending timeout
5: Response reception timeout
6: Received data error
5-8
Setting range
US / SS
-
1 - 507 words
or 1 bit
0 - 99
0 - 99999
(Note 5)
Transmission
method
Register
transmission
Bit transmission

Advertisement

Table of Contents
loading

Table of Contents