257
Timer and Counter Instructions
Section 5-16
Stop Pulse Output
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.
Flags
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.
5-16-9 HIGH-SPEED COUNTER PV READ – PRV(62)
Limitations
ID and D+1 must be in the same data area.
DM 6143 to DM 6655 cannot be used for D.
Description
PRV(62) can be used with the functions listed in the following table.
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.
P
:
Port specifier
000 to 004 or 101 to 104
Ladder Symbols
Operand Data Areas
@PRV(62)
P
C
D
D
:
First destination word
IR, SR, AR, DM, EM, HR, LR
C
:
Control data
000 to 004 or 101 to 104
PRV(62)
P
C
D
Unit/Board
Function
CPU Unit
High-speed counter 0 (IR 00004 to IR 00006)
Pulse I/O Board
High-speed counters 1 and 2
Pulse outputs 1 and 2
Absolute Encoder Interface Board
Absolute high-speed counters 1 and 2
High-speed Counter Board
High-speed counters 1 to 4
Unit
Function
Port specifier (P)
CPU Unit
High-speed counter 0
000
Transistor Output Unit
Pulse output
000