257
Sample Program 2
The IOTC(––) instruction cannot be used with a CQM1H CPU Unit with a lot
number earlier than 0160.
The following switch settings are used.
Function DIP switch (SW1):
Pins 1 and 5 turned ON = PID heating control ,
°
C unit, 4-digit BCD
Input type DIP switch (SW2):
Pins 1 and 5 turned ON = Thermocouples, 0.0 and 500.0
°
C, loops 1 to 4
For loop 1: Power supply turned ON (STOP status), set point for set to 100.0
°
C,
control started (RUN), and then process value monitored.
The following words are allocated to the Temperature Control Unit or used in pro-
gramming.
Input word:
IR 001
Output word:
IR 100
Loop 1 process value: DM 0010
Startup error check:
IR 01700
SET
01600
CMP (20)
#FFFF
001
ASL (25)
016
01700
25315
01600
25506 (=)
01601
00115
00114
00112
00113
MOV (21)
#C071
100
01601
CMP (20)
#C071
001
ASL (25)
016
25506 (=)
Command reception checked.
(Always confirm reception be-
fore writing set value.)
Command acknowledged.
Power ON and Unit initialization
checked.
I/O allocation command set.
Setting: Set point for loop 1
Monitor: Process value for loop 1
Power ON and Unit initialization
completed.
For switching RUN only
Error Check
(Leftmost 4 bits in IR001 will be “1110” (E)
if an error has occurred and IR 01701 will
be turned ON.
Switch Settings
Operations
Word Allocations
IOTC(––)
Section 2-7
Содержание CQM1H - 08-2005
Страница 1: ...Cat No W238 E1 8 Dedicated I O Units CQM1H CQM1 series OPERATION MANUAL SYSMAC ...
Страница 2: ......
Страница 3: ...CQM1H CQM1Series Dedicated I O Units Operation Manual Revised August 2000 ...
Страница 4: ......
Страница 6: ......
Страница 12: ......
Страница 21: ...1 PART I B7A Interface Unit CQM1 B7A02 CQM1 B7A03 CQM1 B7A12 CQM1 B7A13 CQM1 B7A21 ...
Страница 22: ......
Страница 42: ......
Страница 45: ...25 PART II G730 Interface Unit CQM1 G7M21 CQM1 G7N01 CQM1 G7N11 ...
Страница 46: ......
Страница 62: ......
Страница 72: ......
Страница 74: ...Appendix A Specifications 54 Dimensions Common for Master and Expansion Master Unit mm ...
Страница 78: ......
Страница 79: ...59 PART III I O Link Unit CQM1 LK501 ...
Страница 80: ......
Страница 88: ......
Страница 92: ......
Страница 93: ...73 PART IV Analog Input Unit and Analog Power Supply Units CQM1 AD041 CQM1 IPS01 CQM1 IPS02 ...
Страница 94: ......
Страница 118: ......
Страница 120: ......
Страница 121: ...101 PART V Analog Output Unit and Analog Power Supply Units CQM1 DA021 CQM1 IPS01 CQM1 IPS02 ...
Страница 122: ......
Страница 126: ......
Страница 140: ......
Страница 142: ......
Страница 144: ......
Страница 156: ......
Страница 172: ......
Страница 186: ......
Страница 187: ...167 PART VII Linear Sensor Interface Units CQM1 LSE01 CQM1 LSE02 ...
Страница 188: ......
Страница 192: ......
Страница 204: ......
Страница 218: ......
Страница 238: ......
Страница 242: ......
Страница 246: ......
Страница 248: ......
Страница 250: ......