Cautions On Program Creation - Mitsubishi Electric FX5 User Manual

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

Advertisement

Data transfer
sequence error in
slave station No. 0
SM9040
Data transfer
sequence error in
slave station No. 2
SM9042
For details on the link devices, refer to Page 25 Contents of related devices.
For cautions on program creation, refer to Page 32 Cautions on program creation.

Cautions on program creation

• When N:N Network is used, the operation cycle in each PLC becomes longer by about 10% per station.
• Set station numbers consecutively. If a station number that is used twice or more or is skipped, link will not be achieved
normally.
• Do not change the contents of link devices at other stations. When a link error (data transfer sequence error) occurs, the
link device information is held in the status just before occurrence of the link error. Create program to operate safely when
an error occurs.
• Link device update in N:N Network is executed by interrupt processing. Because the interrupt processing is generated
asynchronously from operations of the sequence program, it may be performed during ladder operation. However, the
update processing of the sent data from the slave stations are executed by the END process of each station. Therefore, the
change of link device value during the ladder operation is not reflected on the communication data until the END process
starts.
2 N:N NETWORK
32
2.7 Programming
M4000
M4001
Y11
M4002
M15
MOV
K4M4010
K4Y20
MOV
D1000
D10
M4128
M4129
Y12
M4130
M18
MOV
K4M4140
K4M20
MOV
D1020
D20
Program for reading link devices
(slave station ← master or slave station)
This program is required to read information from the
master station or another slave station to a slave
station.
Monitor link errors in each slave station, and read
them.
M0
The information from M4000 (link device) is read to
M0.
The information from M4001 (link device) is read to
Y011.
The information from M4002 (link device) is read to
M15.
The information from M4010 to M4025
(link devices) is read to Y20 to Y37.
The information from D1000 (link device) is read to
D10.
M1
The information from M4128 (link device) is read to
M1.
The information from M4129 (link device) is read to
Y012.
The information from M4130 (link device) is read to
M18.
The information from M4140 to M4155 (link
devices) is read to M20 to M35.
The information from M4140 to M4155 (link devices)
is read to M20 to M35.

Advertisement

Table of Contents
loading

Table of Contents