High-Speed Counter/Pulse Output Instructions; Mode Control: Ini(880) (Cj1M-Cpu21/22/23 Only) - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

High-speed Counter/Pulse Output Instructions

3-21 High-speed Counter/Pulse Output Instructions

3-21-1 MODE CONTROL: INI(880) (CJ1M-CPU21/22/23 Only)

Purpose
long time are being used; it can also cause errors in timers (TIM and TIMH)
and data tracing. Be particularly careful when the scheduled time interval
units are set to 0.5 ms or 1 ms in the PLC Setup.
Interrupts are accepted even while one instruction is being executed. There-
fore, if an interrupt is accepted while an instruction requiring a long processing
time is being executed, correct processing results may not be obtained
because both the interrupt task and the instruction may access the same
data. In such a case, use DI(693) and EI(694) to disable and enable the inter-
rupt.
This section describes instructions used to control the high-speed counters
and pulse outputs.
Instruction
MODE CONTROL
HIGH-SPEED COUNTER PV READ
COUNTER FREQUENCY CONVERT
REGISTER COMPARISON TABLE
SPEED OUTPUT
SET PULSES
PULSE OUTPUT
ACCELERATION CONTROL
ORIGIN SEARCH
PULSE WITH VARIABLE DUTY FACTOR
INI(880) can be used to execute the following operations for built-in I/O of
CJ1M CPU Units:
• To start comparison with the high-speed counter comparison table
• To stop comparison with the high-speed counter comparison table
• To change the PV of the high-speed counter.
• To change the PV of interrupt inputs in counter mode.
Interrupt task
Interrupt
during
execution
Interrupts
disabled
Mnemonic
Function
INI
880
PRV
881
PRV2
881
CTBL
882
SPED
885
PULS
886
PLS2
887
ACC
888
ORG
889
PWM
891
Section 3-21
Page
code
865
869
875
879
883
888
891
897
904
907
865

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 01-2008 and is the answer not in the manual?

Questions and answers

Table of Contents