CQM1-TC201 Omron, CQM1-TC201 Datasheet - Page 18

no-image

CQM1-TC201

Manufacturer Part Number
CQM1-TC201
Description
4 LOOP,THERMOCPLE IN, NPN OUT
Manufacturer
Omron
Datasheet

Specifications of CQM1-TC201

Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Functions
J INTERRUPT INPUT PROCESSING
All CQM1H CPUs are equipped with four inputs (IR 00000 to IR
00003) that can be used as interrupt inputs. Interrupt processing
can be enabled and disabled with the INTERRUPT CONTROL --
INT(89) instruction.
Sample Program
In order for interrupt input processing to be performed, the
INTERRUPT CONTROL -- INT(89) instruction is set so that
interrupt processing is enabled when IR 00000 goes ON.
When the external signal to IR 00000 goes from OFF to ON,
program execution is temporarily halted, and processing moves
to subroutine 00.
When subroutine 000 (SBN000) is completed, its results are
output immediately. The entire interrupt process, from IR 00000
going ON to the refreshing of outputs IR 10000 and IR 20012,
provides high-speed I/O response that is not affected by the
PLC’s cycle time.
25313 (Always ON Flag)
25315 (First Scan Flag)
LR1000
Photomicrosensor etc.
05003
INT(89)
RET
SBN000
10000
20012
#0000
000
000
Programmable Controller
J INTERVAL TIMER INTERRUPT
The INTERVAL TIMER -- STIM(69) instruction is useful for
performing repetitive processes, such as output processing, that
need to be performed regularly at intervals shorter than the cycle
time.
Place an STIM(69) instruction in the program to define a timer
that will call and execute a subroutine at regular intervals. Up to 3
interval timers can be used.
Sample Program
The STIM(69) instruction is used to control an interval timer. In
this example , timer 0 is started in repetitive mode.
As long as A (the execution condition) is ON, the main program
will be halted and the interrupt routine SBN100 will executed
every 5 ms (i.e., each time the interval timer times out). Main
program execution is continued when interrupt routine execution
has been completed.
PROCESSING
A (Execution Condition)
CQM1H
Subroutine
@STIM
SBN100
RET
#0005
#0100
003
A--213

Related parts for CQM1-TC201