EasyManua.ls Logo

Omron CJ2M-CPU Series - Reading the Pulse Output Frequency

Omron CJ2M-CPU Series
278 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
8-57
8 Pulse Outputs
CJ2M CPU Unit Pulse I/O Module User’s Manual
8-7 Reading the Pulse Output Frequency
8
8-7 Reading the Pulse Output Frequency
The frequency of a pulse output can be read in the following two ways.
Reading the value at any time during program execution: Read by executing the PRV(881) instruc-
tion.
Reading the value for each trace sampling cycle: Specify tracing the pulse frequency in the I/O Mod-
ule AR Select Area on the Data Trace Configuration Tab Page of the CX-Programmer
z HIGH-SPEED COUNTER PV READ (PRV(881)) Instruction
z Specifying Pulse Frequency for Tracing with the Data Trace Function in the
Easy Setup of the CX-Programmer
Select the pulse frequencies to be traced (pulse output n, where n = 0 to 3, in 1-Hz increments) in
the I/O Module AR Select Area on the Data Trace Configuration Tab Page of the CX-Programmer.
The frequency of the specified pulse output will be traced every trace sampling cycle.
Reading the Value When a Ladder Program Is Executed
Reading the Pulse Output Frequency in Each Trace Sampling Cycle
P: Port specifier, Example: Pulse output 0
C: Control data (Read pulse output 0 frequency using the normal method)
@PRV
#0000
#0003
D101
PV (lower word)
Pulse output 0 frequency that was read
D100
PV (upper word)
D100
D: First destination word
Execution condition

Table of Contents

Other manuals for Omron CJ2M-CPU Series

Related product manuals