CMP#.SOURCEVAL

Description

CMP#.SOURCEVAL is the sampled value of the compare channel source. It reports the value before the channel’s modulo function is applied if CMP#.MODEN = 1. Its scaling depends on CMP#.SOURCE.

  CMP#.MODEN
0 1
CMP#.SOURCE 1-10

FB#.P without modification

FB#.P with modulo

11-12

AXIS#.PL.FB without modification

AXIS#.PL.FB with modulo

Examples

Usage

Code

The following commands read the values for channel 1 and channel 2. In this example the units for CMP1.SOURCEVAL are deg, and the units of CMP2.SOURCEVAL are feedback counts.

--> CMP1.SOURCE 12
--> AXIS1.UNIT.PROTARY 2
--> CMP1.SOURCEVAL
-749.205
--> CMP2.SOURCE 3
--> CMP2.SOURCEVAL
493626.000

Context

For more information please refer to Compare.

Versions

Action Version Notes
Implemented 02-06-00-000  

General Information

Type

Read Only

Units

Depends upon CMP#.SOURCE

Range

Full Position Range

Default Value

N/A

Data Type

Float

See Also

 

Stored in Non-Volatile Memory

No

Variants Supported

All variants are supported.

Fieldbus Information

EtherNet/IP

Name

ID

Hex

Data Type

Access

Units

CMP1.SOURCEVAL

31600

7B70

Signed32

Read Only

Position

CMP2.SOURCEVAL

31601

7B71

Signed32

Read Only

Position

PROFINET

Parameter

PNU

Data Type

Access

Units

CMP1.SOURCEVAL

31600

Signed32

Read Only

Position

CMP2.SOURCEVAL

31601

Signed32

Read Only

Position