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
items
Settings
Setting range
i
Specify the operation unit.
US / SS
S
Specify the header of the source node data area. (Note 1)
-
n
Specify the No. of sent data.
1 - 507 words
or 1 bit
D1
Specify the partner station no. (Note 2) (Note 3)
0 - 99
D2
Specify the initial address of the receiver node data area in the partner
node. (Note 4)
0 - 99999
D3
Specify the device area in the source node to save the execution result
code (one word).
(Note 5)
(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]
Transmission
method
16 bit device: WX, WY, WR, WL, DT, LD
Register
transmission
1 bit device: X, Y, R, L, DT, n, LD, n
Bit transmission
(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
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for AFP7CCET1
Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 67: ...7 Specifications Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 78: ...Specifications Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...