FQM1-TER01 Omron, FQM1-TER01 Datasheet - Page 230

no-image

FQM1-TER01

Manufacturer Part Number
FQM1-TER01
Description
5M 4COND 22AWG TPE ST MALE M12
Manufacturer
Omron
Datasheet

Specifications of FQM1-TER01

Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
FQM1TER01
7-4-5
Interval Timer Interrupts
Interrupt task
CIO 0002.00
Application Example
In this example, the interval timer is used to generate an interrupt every
2.4 ms (0.6 ms
not refreshed for interrupt processing.)
When the program is being executed, the interrupt task will be executed every
2.4 ms while CIO 0002.00 is ON, as shown in the following diagram.
Interrupt
task 35
STIM
2.4 ms
First Cycle Flag
(ON for 1 cycle)
0002.00
0002.00
Ladder Program
INTERVAL TIMER
Interval timer
Start timer.
Read elapsed time.
One-shot mode
Scheduled interrupt mode
Interrupt task program
4). The default System Setup settings are used. (Inputs are
2.4 ms
END
END
MOV
MOV
@STIM
@STIM
D00010
D00011
D00010
Generate interrupt.
#000A
#0004
#0006
#0003
#0023
Execute interrupt task.
0000
0000
2.4 ms
END
Interval timer set values:
Sets 4 for the decrementing counter
set value.
Sets 0.6 ms for the decrementing
time interval.
The interval timer starts when
CIO 0002.00 turns ON.
Task 23 hex = 35 BCD
The interval timer stops when
CIO 0002.00 turns OFF.
Every 2.4 ms the interval timer
times out and the interrupt task is
executed.
Section 7-4
203