![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030912.webp)
872
High-speed Counter/Pulse Output Instructions
Section 3-21
■
Reading Status (C = 0001 hex)
If C is 0001 hex, PRV(881) reads status as shown in the following table.
■
Reading the Results of Range Comparison (C = 0002 hex)
If C is 0002 hex, PRV(881) reads the results of range comparison and stores it
in D as shown in the following diagram.
■
Reading Pulse Output or High-speed Counter Frequency (C = 00
@
3 hex)
If C is 00
@
3 hex, PRV(881) reads the frequency being output from pulse out-
put 0 or 1 or the frequency being input to high-speed counter 0 and stores it in
D and D+1.
Port and
mode
Operation
Results of reading
Pulse out-
put
The pulse
output sta-
tus 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.
0
15
D 0 0 0 0 0 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
0
15
D 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Comparison In-progress Flag
OFF: Stopped
ON: Comparing
PV Overflow/Underflow Flag
OFF: Normal
ON: Error
0
15
D 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Pulse Output In-progress Flag
OFF: Stopped
ON: Outputting
0
15
D 0 0 0 0 0 0 0 0
Comparison Result 1
OFF: Not in range ON: In range
Comparison Result 2
OFF: Not in range ON: In range
Comparison Result 3
OFF: Not in range ON: In range
Comparison Result 4
OFF: Not in range ON: In range
Comparison Result 5
OFF: Not in range ON: In range
Comparison Result 6
OFF: Not in range ON: In range
Comparison Result 7
OFF: Not in range ON: In range
Comparison Result 8
OFF: Not in range ON: In range
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...