5 - 9
MELSEC-A
5 PROGRAMMING
(2) Program
example
Reads data link status
AJ65SBT-64AD
data link normal
Initial setting change
Checking of AJ65SBT-64AD status
Initial settings
Changing of initial settings
Processing at initial settings
Read of digital values
AJ65SBT-64AD
data link abnormal
A/D conversion enable/prohibit
specification(RWw0)
Input range setting(RWw1)
Moving average processing
count setting(RWw2)
CH.1 moving average processing
specifying flag(RY00)
CH.2 moving average processing
specifying flag(RY01)
Turns on initial data setting
request flag(RY19)
Turns off initial data processing
completion flag(RY18)
Turns off initial data setting
request flag(RY19)
Reads CH.1 digital output value
(RWr0)
Reads CH.2 digital output value
(RWr1)
Turns on initial data processing
completion flag(RY18)
Turns on initial data setting
request flag(RY19)
A/D conversion enable/prohibit
specification(RWw0)
Input range setting(RWw1)
Moving average processing
count setting(RWw2)
CH.1 moving average processing
specifying flag(RY00)
CH.2 moving average processing
specifying flag(RY01)
* The program enclosed by the dotted line is necessary only when the initial settings
are changed.
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: ......