CMP#.STATE

Description

CMP#.STATE indicates whether the setpoint is active and driving the channel output. It takes the setpoint as a command line argument.

Examples

Usage

0: Setpoint not active, not driving output

1: Setpoint active, driving output

Code

These commands read the states of channel 1 setpoint 3 and channel 2 setpoint 7. In this example, channel 1 setpoint 3 is inactive and channel 2 setpoint 7 is active.

--> CMP1.STATE 3
0
--> CMP2.STATE 7
1

Context

See Compare Engines View.

Versions

Action Version Notes
Implemented 02-06-00-000  

General Information

Type

Read Only

Units

N/A

Range

0 to 1

Default Value

N/A

Data Type

Integer

See Also

CMP#.STATES

Stored in Non-Volatile Memory

No

Variants Supported

All variants are supported.

Industrial Ethernet Information

EtherNet/IP

ID

Instance

Attribute

Name

Data Type

Access

User Mappable

31400

1

31400 (0x7aa8)

CMP1.STATE

Unsigned8[8]

Read Only

Yes

31401

1

31401 (0x7aa9)

CMP2.STATE

Unsigned8[8]

Read Only

Yes

PROFINET

Parameter

PNU

Data Type

Access

Units

CMP1.STATE

31400

Unsigned8[8]

Read Only

-

CMP2.STATE

31401

Unsigned8[8]

Read Only

-