CMP#.WIDTHTYPE

Description

CMP#.WIDTHTYPE sets the type of duration of the output pulse generated by the setpointClosedSetpoint is the target value that an automatic control system, for example PID controller, will aim to reach. The duration can be either a value in the same units as CMP#.VAL or a time in ms.

It takes two command line arguments: the first specifies the setpoint, and the second specifies the duration type.

Examples

Usage

0: Value in CMP#.SOURCE units (default)

1: Time in ms

Code

The following commands set the duration for channel 1 setpoint 2 to value type, and channel 2 setpoint 7 to time type

--> CMP1.WIDTHTYPE 2 0

--> CMP2.WIDTHTYPE 7 1

Context

For more information please refer to Compare.

Versions

Action Version Notes
Implemented 02-06-00-000  

General Information

Type

Read/Write

Units

N/A

Range

0 to 1

Default Value

0

Data Type

Integer

See Also

CMP#.WIDTHT, CMP#.WIDTHVAL

Stored in Non Volatile Memory

Yes

Variants Supported

All variants are supported.