Recv Command (When Mewtocol-Com Is Used) - Panasonic FP7 User Manual

Cpu unit. com port communication
Hide thumbs Also See for FP7:
Table of Contents

Advertisement

MEWTOCOL
Master/Slave Communication

5.3.2 RECV Command (When MEWTOCOL-COM is Used)

 Command 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].
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 commands that can be used simultaneously has been exceeded
4: Sending timeout
5: Response reception timeout
6: Received data error
5-6
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Device to be specified for [S2] and [D1]
Setting range
US / SS
1 - 99
0 - 99999
1 - 509 words
or 1 bit
(Note1)
-
Transmission
method
Register
transmission
Bit transmission

Advertisement

Table of Contents
loading

Table of Contents