6 - 18 6 - 18
MELSEC-Q
6 PROGRAMMING
6.4.2 Programming Example without Using the Utility Package
Initial settings
Read digital output values
Warning (process alarm) occurrence status and processing at warning occurrence
Input signal error detection status and processing at error detection
Error code display and reset processing
Processing at warning occurrence
Processing at warning occurrence
Processing at error detection
A/D conversion enable/disable setting
Input signal error detection/warning
output settings
CH2 process alarm lower lower limit
value
CH2 process alarm lower upper limit
value
CH2 process alarm upper lower limit
value
CH2 process alarm upper upper limit
value
CH1 input signal error detection setting
value
Turn ON the operating condition setting
request (Y9).
Turn OFF the operating condition setting
request (Y9).
Read the A/D conversion completed
flag.
Read the CH1 digital output value
(32bit).
Read the CH2 digital output value
(32bit).
Read the warning output flag.
Processing at CH2 process alarm
upper limit value warning occurrence
Processing at CH2 process alarm
lower limit value warning occurrence
Read the input signal error detection
flag.
Processing at CH1 input signal error
detection
Turn ON the error clear request (YF).
Output the error code in BCD.
Turn ON the error clear request (YF).
Turn OFF the error clear request (YF).
Averaging process specification
CH2 Average time/
Average number of times/
Move average/Time constant settings
Summary of Contents for GX Configurator-AD
Page 2: ......
Page 23: ...2 6 2 6 MELSEC Q 2 SYSTEM CONFIGURATION MEMO ...
Page 120: ...5 31 5 31 MELSEC Q 5 UTILITY PACKAGE GX Configurator AD MEMO ...
Page 145: ...6 25 6 25 MELSEC Q 6 PROGRAMMING MEMO ...
Page 207: ......