
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
Summary of Contents for CJ1W-AD041-V1
Page 3: ...iv...
Page 5: ...vi...
Page 9: ...x TABLE OF CONTENTS...
Page 15: ...xvi...
Page 99: ...76 Handling Errors and Alarms Section 2 8...
Page 191: ...168 Handling Errors and Alarms Section 4 8...
Page 243: ...220 Handling Errors and Alarms Section 5 8...
Page 381: ...358 Handling Errors and Alarms Section 7 10...
Page 385: ...362 Dimensions Appendix A...
Page 395: ...372 Sample Programs Appendix B...
Page 396: ...373 Appendix C Data Memory Coding Sheets...
Page 417: ...394 Data Memory Coding Sheets Appendix C...
Page 425: ......