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
Содержание 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: ......