252
2-7-1 Sending I/O Allocation Commands
IOTC(––) can be used to set, write, or monitor more than one data item at the
same time, simplifying the ladder program.
C: First word of I/O command area for Temperature Control Unit
S: First source word containing write data
D: First destination for read data
First word
Output word address (BCD: 0100 to 0115)
Input word address (BCD: 0001 to 0015)
Work word 1: Do not used.
Work word 2: Do not used.
Write data 0
First word
Write data 1
Write data n–1
Write data 3
Write data 2
Monitor data specified in
command.
Timeout error: E900
Other errors: See error re-
sponse codes at the end of
this section.
I/O allocation commands
Loop number (1 to 4)
Monitor item
Set item
IOTC (––)
C
S
D
Number of I/O allocation commands
I/O allocation command 0
I/O allocation command 1
I/O allocation command 2
+1
+2
+3
+4
+5
+6
+7
I/O allocation command 3
+8
I/O allocation command n–1
n+4
Specify the address of the output word allocated to the Unit.
Specify the address of the input word allocated to the Unit.
Used by the system software in the CPU Unit.
Setting: 0001 to 0099
C
C
Read data 0
Read data 1
Read data n–1
Read data 3
Read data 2
S
D
.
.
.
.
.
.
.
.
.
Note
1. Do not execute a macro instruction for the same Unit until execution of any
previously executed macro instructions has been completed. Data may not
be set correctly if more than one instruction is executed at the same time.
2. The same IOTC(––) instruction will not be executed again until the input
condition has turned OFF for at least one scan. Also, if the input condition
turns OFF and then back ON before execution has been completed, the
instruction will be executed again from the beginning.
3. Refer to 2-6-1 Communications Procedure for setting and monitor items and
ranges.
4. Up to a maximum of 120 ms will be required to complete each I/O allocation
command for a normal response (timeout error: 200 ms). The total time to
complete all commands will be a maximum of (0.12 s x refresh time x 2) x the
number of commands.
IOTC(––)
Section 2-7
Summary of Contents for CQM1H - 08-2005
Page 1: ...Cat No W238 E1 8 Dedicated I O Units CQM1H CQM1 series OPERATION MANUAL SYSMAC ...
Page 2: ......
Page 3: ...CQM1H CQM1Series Dedicated I O Units Operation Manual Revised August 2000 ...
Page 4: ......
Page 6: ......
Page 12: ......
Page 21: ...1 PART I B7A Interface Unit CQM1 B7A02 CQM1 B7A03 CQM1 B7A12 CQM1 B7A13 CQM1 B7A21 ...
Page 22: ......
Page 42: ......
Page 45: ...25 PART II G730 Interface Unit CQM1 G7M21 CQM1 G7N01 CQM1 G7N11 ...
Page 46: ......
Page 62: ......
Page 72: ......
Page 74: ...Appendix A Specifications 54 Dimensions Common for Master and Expansion Master Unit mm ...
Page 78: ......
Page 79: ...59 PART III I O Link Unit CQM1 LK501 ...
Page 80: ......
Page 88: ......
Page 92: ......
Page 93: ...73 PART IV Analog Input Unit and Analog Power Supply Units CQM1 AD041 CQM1 IPS01 CQM1 IPS02 ...
Page 94: ......
Page 118: ......
Page 120: ......
Page 121: ...101 PART V Analog Output Unit and Analog Power Supply Units CQM1 DA021 CQM1 IPS01 CQM1 IPS02 ...
Page 122: ......
Page 126: ......
Page 140: ......
Page 142: ......
Page 144: ......
Page 156: ......
Page 172: ......
Page 186: ......
Page 187: ...167 PART VII Linear Sensor Interface Units CQM1 LSE01 CQM1 LSE02 ...
Page 188: ......
Page 192: ......
Page 204: ......
Page 218: ......
Page 238: ......
Page 242: ......
Page 246: ......
Page 248: ......
Page 250: ......