Reading The Count Direction - Omron SYSMAC CJ Series User Manual

Sysmac cj series cpu unit pulse i/o module
Hide thumbs Also See for SYSMAC CJ Series:
Table of Contents

Advertisement

• Measuring Total Number of Revolutions
Execution condition
Precautions for Correct Use
Precautions for Correct Use
Measuring the rotational speed or total number of revolutions can be performed with high-speed
counter 0 only.
7-2-7

Reading the Count Direction

The count direction of a high-speed counter that was stored during the I/O refresh can be read from the
Auxiliary Area.
Reading the PV Refreshed at the I/O Refresh Timing
The PV that is stored in the following words can be read using the MOVL(498) instruction or other
instructions.
Pulse I/O
Module No.
0 (on the right)
1 (on the left)
CJ2M CPU Unit Pulse I/O Module User's Manual
@PRV2
C1: Control data, Example: Converting counter PV to total number of revolutions
#0001
#03E8
C2: Pulses per revolution, Example: 1,000 pulses (03E8 hex)
D: First destination word
D100
Conversion result
D100
(lower word)
Conversion result
D101
(upper word)
Read value
High-speed Counter 0 Count
Direction
High-speed Counter 1 Count
Direction
High-speed Counter 2 Count
Direction
High-speed Counter 3 Count
Direction
7 High-speed Counters
Total number of revolutions that was read (r/min)
Auxiliary Area bit
A274.10
A275.10
A320.10
A321.10
OFF: Decrementing
ON: Incrementing
7-19
7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cj2m-cpu seriesSysmac cj2m-md21 series

Table of Contents