5 - 14
MELSEC-A
5 PROGRAMMING
5.6 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
Reads data link status.
AJ65SBT-64AD
data link normal
AJ65SBT-64AD
data link abnormal
Input range setting(RWw1)
Moving average processing
count setting(RWw2)
A/D conversion enable/prohibit
specification(RWw0)
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
AJ65SBT-64AD station
information (remote device
station, 1 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 completion
of start.
Turns off start request
signal at abnormal
completion of start.
RX00 to RX1F are read
to X400 to X41F
Network parameter settings
Start data link
Read of remote input signals
Checking of AJ65SBT-64AD status
Initial settings
Writes to master station
Summary of Contents for AJ65SBT-64AD
Page 2: ......
Page 13: ...1 2 MELSEC A 1 OVERVIEW MEMO 1...
Page 69: ...Index 3 MEMO...
Page 71: ......