5 - 12 5 - 12
MELSEC-A
5 PROGRAMMING
5.2.5 Program Example for Use of the ACPU/QCPU (A mode) (FROM/TO instructions)
A sequence program is used to set the network parameters.
(1) Program
example
Number of connected
modules: 1
Number of retries: 3
Number of automatic
return modules: 1
Writes to master station
Data link status when the
master station PLC CPU:
continue
AJ65VBTCU-68DAVN
station information (remote
device station, 3 station
occupied, station No. 1)
Writes to master station
Writes to master station
Refresh directive
Data link started by
buffer memory
Turns off start request
signal at normal
completion of start.
Reads parameter status
at abnormal completionof
start.
Turns off start request
signal at abnormal
completion of start.
AJ65VBTCU-68DAVN
data link normal
AJ65VBTCU-68DAVN
data link abnormal
RX00 to RX1F are read
to X400 to X41F
Reads data link status.
Network parameter settings
Start data link
Read of remote input signals
Checking of AJ65VBTCU-68DAVN status