Data Transfer From Destination Unit To Own Unit - Panasonic FP7 User Manual

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

Advertisement

MEWNET-W

4.5.2 Data Transfer from Destination Unit to Own Unit

In MEWNET-W, 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 reception)
• Reads and transfers the content of the device for operation (DT400 to DT401) of a
destination unit to the device for operation (DT100 to DT101) of the own unit via the MW Unit
installed in the slot 1.
• The RECV instruction is executed by specifying the unit number (U4), starting address
(DT400) and number of data (U2) of the destination unit and the starting address (DT100) of
the own unit.
• The execution result code is set in DT10 of the own unit.
X100
R0
DF
Master
communication
clear to send
R100
flag
RECV.US
4-18
Command message
(Hex)04 51 09 90 01 02 00(BCC)(CR)
(Hex)04 D1 FF 64 00 00 00 (BCC) (CR)
Response message
Read data specifying unit number and address with
RECV instruction
Y100
Master
communication
send active flag
UNITSEL
U4
DT400
S1
S2
R100
RECV
executed
U1
U0
S1
S2
U2
DT100
DT10
n
D1
D2
PLC (Unit no.4)
DT400
100
DT401
0
・・・・・・
・・・・・・・・
・・・・・・
・・・・・・・・
RECV trigger
Clear to send flag : ON
Send active flag : OFF
Communication port settings
S1: Slot no. (U1)
S2: Port (U0)
RECV process
S1: Destination unit no. (U4)
S2: Data address (DT400)
n : No. of data (U2)
D1: Data storage area (DT100)
D2: Execution result code (DT10)

Advertisement

Table of Contents
loading

Table of Contents