EasyManua.ls Logo

Omron CJ1M-CPU series Programming Manual

Omron CJ1M-CPU series
383 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #306 background imageLoading...
Page #306 background image
285
Using a Scheduled Interrupt as a High-precision Timer (CJ1M Only) Section 6-5
6-5-2 Specifying a Reset Start with MSKS(690)
When CJ1M CPU Units are used and the MSKS(690) instruction is used to
start the scheduled interrupt, the internal timer can be reset before starting the
interrupt (this is called a reset start).
This method can be used to specify the time to the first interrupt without using
the CLI(691) instruction.
Scheduled interrupts are started by using the MSKS(690) instruction to set
the scheduled interrupt time (interval between two interrupts). After executing
the MSKS(690) instruction, however, the time required before the first sched-
uled interrupt task starts (first interrupt start time) is fixed only if the CLI(691)
instruction is specified. Therefore, CJ1M CPU Units provide an internal timer
reset start, allowing the time to the first interrupt to be set without using the
CLI(691) instruction.
MSKS(690) Instruction Operand (Only when Scheduled Interrupt Is Specified)
6-5-3 Reading the Internal Timer PV with MSKR(692)
CJ1M CPU Units allow reading the PV of the internal timer that measures the
scheduled interrupt time. The time is read from either the scheduled interrupt
start point or the previous scheduled interrupt point. The internal timer PV is
read by executing the MSKR(692) instruction. The unit of time depends on the
scheduled interrupt unit time setting in the PLC Setup, in the same way as for
the scheduled interrupt time.
MSKR(692) Operands (Only when Scheduled Interrupt Is Specified)
Operand Set value
N (Interrupt identi-
fier)
4: Scheduled interrupt 0, normal setting (internal timer not
reset)
5: Scheduled interrupt 1, normal setting (internal timer not
reset)
14: Scheduled interrupt 0, specifies reset start (CJ1M CPU
Units onlyÅj
15: Scheduled interrupt 1, specifies reset start (CJ1M CPU
Units onlyÅj
Operand Set value
N (Interrupt identifier) 4: Scheduled interrupt 0, reads scheduled interrupt time (set
value)
5: Scheduled interrupt 1, reads scheduled interrupt time (set
value)
14: Scheduled interrupt 0, reads internal timer PV (CJ1M
CPU Units onlyÅj
15: Scheduled interrupt 1, reads internal timer PV (CJ1M
CPU Units onlyÅj

Table of Contents

Other manuals for Omron CJ1M-CPU series

Question and Answer IconNeed help?

Do you have a question about the Omron CJ1M-CPU series and is the answer not in the manual?

Omron CJ1M-CPU series Specifications

General IconGeneral
SeriesCJ1M
Program MemoryFlash Memory
Power Supply Voltage24V DC
Operating Temperature0 to 55°C
TypeProgrammable Controller
CPU TypeCPU11, CPU12, CPU13, CPU21, CPU22, CPU23
Data MemorySRAM
Data Memory Capacity32K words (CJ1M-CPU11/12/13), 64K words (CJ1M-CPU21/22/23)
Instruction Execution Time (Basic Instructions)0.1 μs (LD instruction)
Instruction SetBasic instructions, advanced instructions
Programming LanguageLadder Diagram, Structured Text, Function Block Diagram
Communication PortsRS-232C
Expansion SlotsUp to 3
MountingDIN rail mounting
Storage Temperature-25 to 70°C
Dimensions90 x 90 x 70 mm
WeightApprox. 200g (0.44 lb)
Number of InstructionsOver 400 instructions

Related product manuals