Prv - Omron SYSMAC CP Series Instruction & Reference Manual

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

PRV

Instruction
Mnemonic
HIGH-SPEED
PRV
COUNTER PV READ
Symbol
Applicable Program Areas
Area
Usage
Operands
Operand
P
Port specifier
C
Control data
D
First destination word
P: Port Specifier
P
0000 hex
Pulse output 0
0001 hex
Pulse output 1
0010 hex
High-speed counter 0
0011 hex
High-speed counter 1
0012 hex
High-speed counter 2
0013 hex
High-speed counter 3
0014 hex
High-speed counter 4
0015 hex
High-speed counter 5 (Cannot be used in CP1E-E10D - )
1000 hex
PWM(891) output 0
C: Control Data
C
0000 hex
0001 hex
0002 hex
00 3 hex
CP1E CPU Unit Instructions Reference Manual(W483)
Function
Variations
code
@PRV
881
Step program areas
OK
Description
Reads the PV.
Reads status.
Reads range comparison results.
P = 0000 or 0001: Reads the output frequency of pulse output 0 or pulse output 1.
C = 0003 hex
P = 0010: Reads the frequency of high-speed counter input 0.
C = 0013 hex: 10-ms sampling method
C = 0023 hex: 100-ms sampling method
C = 0033 hex: 1-s sampling method
Function
PRV(881) reads the High-speed counter PV and pulse output PV
and interrupt input PV in counter mode.
PRV
PRV(881)
P
P: Port specifier
C
C: Control data
D
D: First destination word
Subroutines
OK
Port
PRV(881) function
2 Instructions
Interrupt tasks
OK
Data type
Size
---
1
---
1
WORD
Variable
2-311
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents