364
Sample Programs Appendix B
Program Example
Upper and Lower-limit Alarm (Constant Monitoring)
Comparisons are made to the upper and lower limits of the A/D conversion values or D/A output values from
the beginning of operation. If they fall outside the specified range, the Alarm Flag will turn ON.
Unit Settings
Program Example
MOV(021)
D00000
2001
200900
Output Setting Error Flag
Reset condition
Output 1 Setting Error Flag
Set value
Execution condition
Upper limit
Lower limit
Alarm Flag
ON
OFF
Item Setting contents Actual settings
Unit CS1W-AD081-V1 ---
Unit number #0 Unit number switch: 00
Operation mode Normal mode Back-panel DIP switch: All OFF
Input number Input 1 used D20000 = 0001
Input signal range Input number 1, 0 to 10 V D20001 = 0001
<
2001
D00000
>
2001
D00001
Operation condition
Conversion value
Lower limit
Alarm Flag
Conversion value
Upper limit