85
Appendix B
Sample Programs
Reading the Process Value
Summary
This program reads each loop’s process value (PV) data and stores the data in a DM Area word (D00100 to
D00103 for loops 1 to 4). Each loop’s input value is read by the MOV Instruction when the loop’s Sensor Error
Flag is OFF.
Example Unit Settings
• Unit:
CJ1W-TC001 Temperature Control Unit
• Unit number:
00
Note
The unit number switches are on the front of the Unit. Refer to
2-3-3 Unit Number Switches
for details.
Example Program
The Sensor Error Flags are in bit 14 of CIO (n+8), CIO (n+9), CIO (n+18), and CIO (n+19).
MOV(21)
2013
D00100
MOV(21)
2014
D00101
MOV(21)
2023
D00102
MOV(21)
2024
D00103
CIO 200814 (Loop 1 Sensor Error Flag)
CIO 200914 (Loop 2 Sensor Error Flag)
CIO 201814 (Loop 3 Sensor Error Flag)
CIO 201914 (Loop 4 Sensor Error Flag)
Summary of Contents for Sysmac CJ Series
Page 1: ...OPERATION MANUAL Cat No W396 E1 03 SYSMAC CJ Series CJ1W TC Temperature Control Units...
Page 2: ...CJ1W TC Temperature Control Units Operation Manual Revised December 2005...
Page 3: ...iv...
Page 5: ...vi...
Page 13: ...xiv...
Page 23: ......
Page 93: ......
Page 105: ......
Page 107: ......
Page 113: ......
Page 115: ......