EasyManua.ls Logo

Omron CP1H CPU

Omron CP1H CPU
788 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
Loading...
284
Pulse Outputs Section 5-3
HIGH-SPEED COUNTER
PV READ: PRV(881)
In addition to its interrupt and high-speed counter functions, PRV(881) can be
used to read the pulse output PV or pulse output status information.
The status of the following flags is read as status information:
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
Note This section explains the functions related to pulse outputs only. For details on
the PRV(881) instruction’s high-speed counter or interrupt functions, refer to
5-1 Interrupt Functions or 5-2 High-speed Counters.
PRV(881)
P
C
D
P: Port specifier
C: Control data
D: First destination word
Operand Contents
P Port specifier #0000: Pulse output 0
#0001: Pulse output 1
#0002: Pulse output 2
#0003: Pulse output 3
#1000: PWM output 0
#1001: PWM output 1
C Control data #0000: Read the PV.
#0001: Read the status.
#0003: Read the pulse output frequency.
#0013: Read the frequency for 10-ms sampling.
#0023: Read the frequency for 100-ms sampling.
#0033: Read the frequency for 1-s sampling.

Table of Contents

Related product manuals