739
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
High-speed Counter/Pulse Output Instructions
3
PRV
z Reading Status (C = 0001 hex)
Port and mode Operation Results of reading
Pulse output The pulse output status is stored in D.
High-speed counter input The high-speed counter status is
stored in D.
PWM(891) output The PWM(891) output is stored in D.
015
D
000 0 0 0
Pulse Output Stopped Error Flag
OFF: No error
ON: Pulse output stopped due to error
Pulse Output Status Flag
OFF: Constant speed
ON: Accelerating/decelerating
PV Overflow/Underflow Flag
OFF: Normal
ON: Error
Pulse Output Amount Set Flag
OFF: Not set
ON: Set
Pulse Output Completed Flag
OFF: Output not completed
ON: Output completed
Pulse Output In-progress Flag
OFF: Stopped
ON: Outputting
No-origin Flag
OFF: Origin established
ON: Origin not established
At-origin Flag
OFF: Not stopped at origin
ON: Stopped at origin
Interrupt Feeding In-progress Flag
(CJ2M only)
OFF: Interrupt feeding not in progress
ON: Interrupt feeding in progress
Interrupt input for interrupt feeding
Error Flag (CJ2M only)
OFF: No error
ON:Overflow or underflow occurred.
Or, an overflow/underflow would
occur if the set number of
pulses were moved.
015
D
000 0 0 0 0 0 00000
Comparison In-progress Flag
OFF: Stopped
ON: Comparing
PV Overflow/Underflow Flag
OFF: Normal
ON: Error
Count direction
OFF: Decrementing
ON: Incrementing
015
D
000 0 0 0 0 0 0000000
Pulse Output In-progress Flag
OFF: Stopped
ON: Outputting