Mitsubishi FX3U-USB-BD User Manual page 137

Melsec-f fx series programmable controllers
Hide thumbs Also See for FX3U-USB-BD:
Table of Contents

Advertisement

FX Series PLC User's Manual - Data Communication Edition
N:N Network
X000
X002
M10
M8000
Station No. 1
Data transfer
sequence error
M8147
Station No. 2
Data transfer
sequence error
M8148
M1000
M1001
M1002
FNC 12
K4M100
K4M1010
MOV
FNC 12
D100
D0
MOV
M1064
M0
M1065
Y011
M1066
M15
FNC 12
K4M1070
K4Y020
MOV
FNC 12
D10
D110
MOV
M1128
M1
M1129
Y012
M1130
M18
FNC 12
K4M1140
K4M20
MOV
FNC 12
D20
D200
MOV
7.2 Creating Programs for Master Station (Station No. 0)
Program for writing link devices
(master station → slave station)
This program is required to write information from the
master station to each slave station.
The information from X000 is written to M1000 (link device).
The information from X002 is written to M1001 (link device).
The information from M10 is written to M1002 (link device).
The information from M100 to M115 is written to M1010 to
M1025 (link devices).
The information from D100 is written to D0 (link device).
* In pattern 0, bit devices are not applicable.
Use word devices only.
Program for reading link devices
(master station ← slave station)
This program is required to read information from each
slave station to the master station.
Monitor link errors in each slave station, and read them.
The information from M1064 (link device) is read to M0.
The information from M1065 (link device) is read to Y011.
The information from M1066 (link device) is read to M15.
The information from M1070 to M1085 (link devices) is
read to Y020 to Y037.
The information from D10 (link device) is read to D110.
The information from M1128 (link device) is read to M1.
The information from M1129 (link device) is read to Y012.
The information from M1130 (link device) is read to M18.
The information from M1140 to M1155 (link devices) is
read to M20 to M35.
The information from D20 (link device) is read to D200.
→ For details on link devices, refer to Section 7.1.
→ For cautions on program creation, refer to Section 7.4.
7 Creating Programs
A
B
C
D
E
F
G
H
I
Apx.
B-33

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents