High-Speed Counter Pv Read - Prv(62) - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

Timer and Counter Instructions
Stop Pulse Output
Flags
5-16-9 HIGH-SPEED COUNTER PV READ – PRV(62)
PRV(62)
P
C
D
Limitations
Description
If C is 003, INI(61) stops pulse output. Refer to 1-5 Pulse Output Function for
details on stopping Pulse I/O Board pulse outputs 1 and 2.
Note Pulse output can be stopped only when pulses are not currently being output.
The Pulse Output Flag (AR 0515 or AR 0615) can be used to check pulse out-
put status.
ER:
The specified port and function are not compatible.
Indirectly addressed EM/DM word is non-existent.
(Content of *EM/*DM word is not BCD, or the EM/DM area boundary
has been exceeded.)
P1+1 exceeds the data area boundary. (C=002)
There is an error in the operand settings.
INI(61) is executed in an interrupt subroutine while a pulse I/O or
high-speed counter instruction is being executed in the main program.
Ladder Symbols
@PRV(62)
P
C
D
ID and D+1 must be in the same data area.
DM 6143 to DM 6655 cannot be used for D.
PRV(62) can be used with the functions listed in the following table.
Unit/Board
CPU Unit
Pulse I/O Board
Absolute Encoder Interface Board
High-speed Counter Board
When the execution condition is OFF, PRV(62) is not executed. When the exe-
cution condition is ON, PRV(62) reads data specified by P and C and writes it
to D or D and D+1.
The port specifier (P) specifies the high-speed counter or pulse output that
will be controlled.
Unit
CPU Unit
Transistor Output Unit
Operand Data Areas
000 to 004 or 101 to 104
000 to 004 or 101 to 104
D: First destination word
IR, SR, AR, DM, EM, HR, LR
High-speed counter 0 (IR 00004 to IR 00006)
High-speed counters 1 and 2
Pulse outputs 1 and 2
Absolute high-speed counters 1 and 2
High-speed counters 1 to 4
Function
High-speed counter 0
000
Pulse output
000
Section 5-16
P: Port specifier
C: Control data
Function
Port specifier (P)
257

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents