5.2
MEWTOCOL-COM Master Communication (RECV)
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
Setting range
i
Specify the operation unit.
US / SS
S1
Specify the partner station no.
1 - 99
S2
Specify the device initial address of the source node data area in the partner
node. (Note 1)( Note 2)
0 - 99999
n
Specify the No. of sent data. (Note 3)
1 - 509 words
or 1 bit
D1
Specify the device initial address of the receiver node data area in the source
node. (Note1)
(Note1)
D2
Specify the device area in the source node to save the execution result code
(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]
Transmission
method
16 bit device: WX, WY, WR, WL, DT, LD
Register
transmission
1 bit device: X; Y; R; L; DT,n; LD,
Bit transmission
(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
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Содержание AFP7CPS Series
Страница 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 15: ...2 Installation and Wiring Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 19: ...3 I O Number Allocation Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 42: ...Setting Communication Conditions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 51: ...6 General Purpose Communication Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 66: ...General Purpose Communication Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 67: ...7 Specifications Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 78: ...Specifications Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...