Sending I/O Allocation Commands - Omron CQM1H series Operation Manual

Hide thumbs Also See for CQM1H series:
Table of Contents

Advertisement

IOTC(––)

2-7-1 Sending I/O Allocation Commands

IOTC (––)
C
C: First word of I/O command area for Temperature Control Unit
S
S: First source word containing write data
D
D: First destination for read data
First word
Output word address (BCD: 0100 to 0115)
+1
Input word address (BCD: 0001 to 0015)
+2
Work word 1: Do not used.
+3
Work word 2: Do not used.
Number of I/O allocation commands
+4
+5
I/O allocation command 0
I/O allocation command 1
+6
I/O allocation command 2
+7
I/O allocation command 3
+8
I/O allocation command n–1
n+4
C
252
IOTC(––) can be used to set, write, or monitor more than one data item at the
same time, simplifying the ladder program.
C
.
.
.
I/O allocation commands
Loop number (1 to 4)
Monitor item
Set item
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.
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
S
Write data 0
Read data 0
Write data 1
Read data 1
Write data 2
Read data 2
Write data 3
Read data 3
.
.
.
Write data n–1
Read data n–1
Monitor data specified in
command.
Timeout error: E900
Other errors: See error re-
sponse codes at the end of
this section.
Section 2-7
D
First word
.
.
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cqm1 series

Table of Contents