Create The Master Station Program - Mitsubishi Electric FX5 User Manual

Melsec iq-f series
Hide thumbs Also See for FX5:
Table of Contents

Advertisement

Create the master station program

Create programs for the master station.
Arbitrarily create programs for reading and writing link devices.
Data transfer
sequence error in
slave station No. 1
SM9041
Data transfer
sequence error in
slave station No. 2
SM9042
Data transfer
processing
SM9056
X0
X2
M10
RUN monitor
SM400
MOV
MOV
Y0
Y1
Y10
M4000
M4001
M4002
K4M100 K4M4010
D0
D1000
Program for indicating link errors
This program is required to indicate the N:N Network
status. Create this step for each connected slave
station.
When a link error occurs in the station No. 1, Y0 is
set to ON.
When a link error occurs in the station No. 2, Y1 is
set to ON.
While the N:N Network is executed, Y10 remains
ON.
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 X0 is written to M4000
(link device).
The information from X2 is written to M4001
(link device).
The information from M10 is written to M4002
(link device).
The information from M100 to M115 is written to
M4010 to M4025 (link devices).
The information from D0 is written to D1000
(link device).
* In pattern 0, bit devices cannot be used.
Use the word devices instead.
2
2 N:N NETWORK
29
2.7 Programming

Advertisement

Table of Contents
loading

Table of Contents