CMP#.ARM
Description
CMP#.ARM turns the setpointSetpoint is the target value that an automatic control system, for example PID controller, will aim to reach on or off. Once the setpoint is armed, the compare channel runs the compare function for the setpoint and coordinates the result with the other setpoints to drive the digital output linked to the channel.
It takes two command line arguments: the first specifies the setpoint, and the second turns arming on or off.
Depending on CMP#.REARM, setting CMP#.ARM arms the setpoint for single shot or continuous operation.
- For single shot arming, CMP#.ARM resets to 0 after each compare event and must be set to 1 again to run the compare operation on the setpoint.
- For continuous arming, CMP#.ARM stays at 1 during and after the compare event, and the compare operation runs for the setpoint each time the conditions are met.
Writing 0 to CMP#.ARM disables subsequent compare events for the setpoint.
Examples
Usage
0: Turn off setpoint (default)
1: Turn on setpoint
Code
The following commands arm setpoint 2 of channel 1, and disarm setpoint 5 of channel 2.
--> CMP1.ARM 2 1
--> CMP2.ARM 5 0
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 |
|
Stored in Non Volatile Memory |
No |
Variants Supported
All variants are supported.