Counts

Type:

Axis Status Register

Address:

RMC75:
Primary Input: %MDn.11, where n = 8 + the axis number

Secondary Input: %MDn.26, where n = 8 + the axis number

RMC150:

Primary Input: %MDn.11, where n = 8 + the axis number

Secondary Input: %MDn.26, where n = 8 + the axis number

RMC200:

Primary Input: %MDn.26, where n = 256 + the axis number

Secondary Input: %MDn.86, where n = 256 + the axis number

System Tag:

Primary Input: _Axis[n].Counts

Secondary Input: _Axis[n].SecCounts

where n is the axis number

How to Find:

Axes Status Registers Pane, All tab: Feedback

Data Type:

REAL

Units:

counts

Description

Counts are the feedback from the transducer. The Counts register is used to calculate the Actual Position for axes with MDT, SSI, or Quadrature transducers. Axes with voltage or current input do not have a Counts register. They have a Voltage or Current register. All feedback types also have a Raw Counts register that is related to the Counts, Voltage or Current.

MDT Inputs:

The Counts are the Raw Counts.

SSI Inputs:

The Counts are the Raw Counts with the Count Offset applied. Also, for absolute rotary axes, the Counts are in the opposite direction if the Position Unwind is negative.

The Counts formula for positive Position Unwind is:

Counts = (RawCounts + CountOffset) MOD MaxCounts

For negative Position Unwind, the Counts formula is

Counts = ([MaxCounts-1] - RawCounts + CountOffset) MOD MaxCounts

Quadrature Inputs:

The Counts register accumulates encoder counts. The direction of the accumulation depends on the sign of the Position Scale or Position Unwind parameter. This value is adjusted when the axis is homed or when an Offset Position (47), Set Target Position (48), or Set Actual Position (49) command is issued. This value will wrap between -2,147,483,648 and +2,147,483,647. However, Delta recommends that the this value never exceed 24 bits (16,777,216). See the Exceeding 24 Bits section of the Feedback Resolution topic for details.

Resolver Inputs:

The Counts are the Raw Counts with the Count Offset applied. Also, for absolute rotary axes, the Counts are in the opposite direction if the Position Unwind is negative.

The Counts formula for positive Position Unwind is:

Counts = (RawCounts + CountOffset) MOD MaxCounts

For negative Position Unwind, the Counts formula is

Counts = ([MaxCounts-1] - RawCounts + CountOffset) MOD MaxCounts

Analog Inputs:

Axes with voltage or current input do not have a Counts register. They have a Voltage or Current register that derives from the Raw Counts.

Custom Inputs:

The Counts register takes on the value that is written to the Custom Counts register.

 

See the Exceeding 24 Bits section of the Feedback Resolution topic for details on the 24-bit limitation of the Counts register.

 

See Also

Raw Counts | Count Offset


Send comments on this topic.

Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion