Melsec-a – MITSUBISHI ELECTRIC AJ65SBT-64AD User Manual
Page 59
5 - 18
MELSEC-A
5 PROGRAMMING
(2) Program for initial data changing
When any initial data (conversion processing system, input range, A/D
conversion enable/disable channel) is changed, the remote device station
initialization procedure registration function is unusable.
Using a sequence program, change the initial data.
The program example for initial data changing is shown below.
Checking
of AJ65SBT
-64AD status
Initial
settings
Read of
digital values
Processing
at error
occurrence
Masks
disabled
devices.
Reads data link status.
AJ65SBT-64AD data
link normal
AJ65SBT-64AD data
link abnormal
CH.1, CH.2: A/D
conversion enabled
CH.1: 0 to 5V
CH.2: User range
setting 1
CH.2 moving average
processing count:
16 times
Turns on CH.2 moving
average processing
specifying flag.
Turns on initial data
setting request flag.
Turns off initial data
setting request flag.
Reads CH.1 digital
value.
Reads CH.2 digital
value.
Reads error.
Turns on error reset
request flag.
Turns off error reset
request flag.
Masks RY110 to
RY11F disabled
devices.
Error LED
Masks RY100 to
RY10F disabled
devices.
User designation
User designation