Omron CS1G/H-CPUxxH Instructions Manual page 794

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

High-speed Counter/Pulse Output Instructions
Example
000000
000001
3-21-2 HIGH-SPEED COUNTER PV READ: PRV(881) (CJ1M-CPU22/
CPU23 Only)
Purpose
Ladder Symbol
Variations
When CIO 000000 turns ON in the following example, SPED(885) starts out-
putting pulses from pulse output 0 in Continuous Mode at 500 Hz. When CIO
000001 turns ON, pulse output is stopped by INI(880).
@SPED
Pulse output 0
#0000
CW/CCW method, CW, Continuous Mode
#0000
D00100
@INI
Pulse output 0
#0000
Stop pulse output
#0003
(Not used.)
0000
PVR(881) reads the following data on the built-in I/O of CJ1M CPU Units.
• PVs: High-speed counter PV, pulse output PV, interrupt input PV in
counter mode.
• The following status information.
Status type
Pulse output status
High-speed counter input status Comparison In-progress Flag
PWM(891) output status
• Range comparison results
• High-speed counter frequency for high-speed counter input 0.
This instruction is supported by the CJ1M-CPU22/CPU23 CPU Units only.
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
D00100
01F4
D00101
0000
Contents
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
PV Underflow/Overflow Flag
Pulse Output In-progress Flag
PRV(881)
P
P: Port specifier
C
C: Control data
D
D: First destination word
Section 3-21
Target frequency: 500 Hz
PRV(881)
@PRV(881)
Not supported
773

Advertisement

Table of Contents
loading

Table of Contents