EasyManuals Logo
Home>Omron>I/O Systems>CJ1M-CPU21

Omron CJ1M-CPU21 User Manual

Omron CJ1M-CPU21
267 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 #110 background imageLoading...
Page #110 background image
81
HIGH-SPEED COUNTER PV READ: PRV(881) Section 5-2
Flags
Example When CIO 000000 turns ON in the following example, SPED(885) starts out-
putting pulses from pulse output 0 in Continuous Mode at 500 Hz. When CIO
000001 turns ON, pulse output is stopped by INI(880).
5-2 HIGH-SPEED COUNTER PV READ: PRV(881)
Purpose PRV(881) reads the following data on the built-in I/O of CJ1M CPU Units.
PVs: High-speed counter PV, pulse output PV, interrupt input PV in
counter mode.
The following status information.
Name Label Operation
Error Flag ER ON if the specified range for P, C, or NV is exceeded.
ON if the combination of P and C is not allowed.
ON if a comparison table has not been registered but
starting comparison is specified.
ON if a new PV is specified for a port that is currently out-
putting pulses.
ON if changing the PV of a high-speed counter is speci-
fied for a port that is not specified for a high-speed
counter.
ON if a value that is out of range is specified as the PV for
an interrupt input in counter mode.
ON if INI(880) is executed in an interrupt task for a high-
speed counter and an interrupt occurs when CTBL(882)
is executed.
ON if executed for a port not set for an interrupt input in
counter mode.
@SPED
#0000
#0000
D00100
01F4
0000
000000
@INI
#0000
#0003
0000
000001
D00100
D00101
Pulse output 0
CW/CCW method, CW, Continuous Mode
Target frequency: 500 H
z
Pulse output 0
Stop pulse output
(Not used.)
Status type Contents
Pulse output status Pulse Output Status Flag
PV Underflow/Overflow Flag
Pulse Output Amount Set Flag
Pulse Output Completed Flag
Pulse Output Flag
No-origin Flag
At Origin Flag
Pulse Output Stopped Error Flag
High-speed counter input status Comparison In-progress Flag
PV Underflow/Overflow Flag
PWM(891) output status Pulse Output In-progress Flag

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Omron CJ1M-CPU21 Specifications

General IconGeneral
BrandOmron
ModelCJ1M-CPU21
CategoryI/O Systems
LanguageEnglish

Related product manuals