High-Speed Counter And Pulse Output Instructions; (Cj1M-Cpu21/22/23 Only) - Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Instruction Functions

2-2-19 High-speed Counter and Pulse Output Instructions

(CJ1M-CPU21/22/23 Only)

Instruction
Symbol/Operand
Mnemonic
Code
MODE CONTROL
INI
@INI
880
P: Port specifier
C: Control data
NV: 1st word with
new PV
HIGH-SPEED
COUNTER PV
READ
PRV
@PRV
881
P: Port specifier
C: Control data
D: 1st destination
word
COUNTER FRE-
QUENCY CON-
VERT
PRV2
883
(CJ1M CPU Unit
Ver. 2.0 or later
C1: Control data
only)
C2: Pulses/revo-
lution
D: 1st destination
word
COMPARISON
TABLE LOAD
CTBL
@CTBL
882
P: Port specifier
C: Control data
TB: 1st compari-
son table word
SPEED OUTPUT
SPED
@SPED
885
P: Port specifier
M: Output mode
F: 1st pulse fre-
quency word
86
INI(880) is used to start and stop target value comparison, to
INI
change the present value (PV) of a high-speed counter, to
change the PV of an interrupt input (counter mode), to change
P
the PV of a pulse output, or to stop pulse output.
C
NV
PRV(881) is used to read the present value (PV) of a high-
PRV
speed counter, pulse output, or interrupt input (counter mode).
P
C
D
Reads the pulse frequency input from a high-speed counter and either
PRV2
converts the frequency to a rotational speed (number of revolutions) or
converts the counter PV to the total number of revolutions. The result is
C1
output to the destination words as 8-digit hexadecimal. Pulses can be
input from high-speed counter 0 only.
C2
D
CTBL(882) is used to perform target value or range comparisons for
CTBL
the present value (PV) of a high-speed counter.
P
C
TB
SPED(885) is used to specify the frequency and perform pulse output
SPED
without acceleration or deceleration.
P
M
F
Function
Section 2-2
Location
Page
Execution
condition
Output
864
Required
Output
868
Required
Output
874
Required
Output
878
Required
Output
882
Required

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents