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

Table of Contents

Advertisement

5.2.2 Precaution 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.2.3 RECV Instruction (When MEWTOCOL-COM is Used)

 Instruction format
Items
Settings
i
Specify the operation unit.
S1
Specify the partner station no.
Specify the device initial address of the source node data area in the partner
S2
node. (Note 1)( Note 2)
n
Specify the No. of sent data. (Note 3)
Specify the device initial address of the receiver node data area in the source
D1
node. (Note1)
Specify the device area in the source node to save the execution result code
D2
(one word). (Note 4)
(Note 1) Transmission methods vary by the type of device to be specified for the operands [S2] and [D1].
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,
(Note 2) Bit device DT, n and LD, n cannot be specified for the header of the sender data in the partner node.
(Note 3) The No. of sent data is on a word basis for register transmission, and on a bit basis for bit transmission.
(Note 4): Device 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 instructions that can be used simultaneously has been exceeded
4: Sending timeout
5: Response reception timeout
6: Received data error
5.2 MEWTOCOL-COM Master Communication (RECV)
Setting range
US / SS
1 - 99
0 - 99999
1 - 509 words
or 1 bit
(Note1)
-
Transmission
method
Register
transmission
Bit transmission
5-5

Advertisement

Table of Contents
loading

Table of Contents