EasyManuals Logo

Omron CJ2 CPU UNIT SOFTWARE User Manual

Omron CJ2 CPU UNIT SOFTWARE
670 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 #540 background imageLoading...
Page #540 background image
Appendices
A-56
CJ2 CPU Unit Software User’s Manual
ENABLE
INTER-
RUPTS
EI 694 Output Not
required
A-1-20 High-speed Counter/Pulse Output Instructions
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
MODE CON-
TROL
INI
@INI
880 INI(880) is used to start and stop comparison for a comparison
table, to change the present value (PV) of a high-speed counter, to
change the PV of an input interrupt in counter mode, to change the
maximum value of the ring counter, to change the PV of a pulse
output (e.g., to 0 to establish the origin), to stop pulse output, or to
change the settings for origin searches/returns.
(INI(880) is supported only by the CJ2M.)
Output Required
HIGH-
SPEED
COUNTER
PV READ
PRV
@PRV
881 PRV(881) is used to read the present value (PV) of a high-speed
counter, pulse output, or input interrupt (counter mode).
(PRV(881) is supported only by the CJ2M.)
Output Required
COUNTER
FRE-
QUENCY
CONVERT
PRV2
@PRV2
883 Reads the pulse frequency input from a high-speed counter and
either converts the frequency to a rotational speed (number of rev-
olutions) or converts the counter PV to the total number of revolu-
tions. The result is output to the destination words as 8-digit
hexadecimal. (PRV2(883) is supported only by the CJ2M.)
Output Required
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
EI(694)
Enables execution of all interrupt tasks that were disabled
with DI(693).
Disables execution of all
interrupt tasks (except
the power OFF interrupt).
Enables execution of all
disabled interrupt tasks.
When CIO 0000.00 turns ON
in this example, EI(694)
enables all interrupt tasks that
were disabled with DI(693).
0000.00
INI(880)
P
C
NV
P: Port specifier
C: Control data
NV: 1st word
with new value
PRV(881)
P
C
D
P: Port specifier
C: Control data
D: 1st
destination word
PRV2(883)
C
C2
D
C: Control data
C2: Pulses per
revolution
D: 1st
destination word

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ2 CPU UNIT SOFTWARE and is the answer not in the manual?

Omron CJ2 CPU UNIT SOFTWARE Specifications

General IconGeneral
BrandOmron
ModelCJ2 CPU UNIT SOFTWARE
CategorySoftware
LanguageEnglish

Related product manuals