Data Transfer; Data Transfer From Own Unit To Destination Unit (Send) - Panasonic FP7 User Manual

Multi-wire link unit
Hide thumbs Also See for FP7:
Table of Contents

Advertisement

MEWNET-W2

5.5 Data Transfer

5.5.1 Data Transfer from Own Unit to Destination Unit (SEND)

In MEWNET-W2, data can be transferred by specifying an arbitrary unit number or device in a
user program. The PLC generates a message according to the protocol automatically.
Destination PLCs need no program for sending/receiving data.
PLC (Unit no.1)
DT100
100
DT101
0
・・・・・・
・・・・・・・・
・・・・・・
・・・・・・・・
 Sample Program (Word transmission)
• Transfers the content of the device for operation (DT100 to DT101) of the own unit to the
device for operation (DT400 to DT401) of a destination unit via the MW Unit installed in the
slot 1.
• The SEND instruction is executed by specifying the starting address (DT100) and number of
DATA (U2) of the source unit and the unit number (U3) and starting address (DT400) of the
destination unit.
• The execution result code is set in DT10 of the own unit.
X100
R0
DF
Master
communication
clear to send
R100
flag
SEND.US
5-14
Command message
(Hex)03 50 09 90 01 02 00 64 00 00 00(BCC)(CR)
(Hex)03 D0 FF(BCC)(CR)
Response message
Write data specifying unit number and address with
SEND instruction
Y100
Master
communication
send active flag
UNITSEL
DT100
U2
S1
n
R100
SEND
executed
U1
U0
S1
S2
U3
DT400
DT10
D1
D2
D3
PLC (Unit no.3)
DT400
100
DT401
0
・・・・・・
・・・・・・・・
・・・・・・
・・・・・・・・
SEND trigger
Clear to send flag : ON
Send active flag : OFF
Communication port settings
S1: Slot no. (U1)
S2: Port (U0)
SEND process
S
: Data storage area (DT100)
n
: No. of sent data (U2)
D1 : Destination unit no. (U3)
D2 : Destination address (DT400)
D3 : Execution result code (DT10)

Advertisement

Table of Contents
loading

Table of Contents