CMP#.REARM
Description
CMP#.REARM sets the automatic rearming behavior for the setpoint. It determines whether CMP#.ARM resets to 0 after a compare event, or stays set to 1 continuously. It may be changed while the compare channel is running and the setpoints are armed.
It takes two command line arguments: the first specifies the setpoint, and the second turns rearming on or off.
Examples
Usage
0: Disable rearming, enable single shot arming (default)
1: Enable rearming, enable continuous arming
2: Enable rearming, enable continuous arming and arms the setpoint on startup
Code
The first two commands turn on rearming for setpoint 0 of channel 1, and turn off rearming for setpoint 4 of channel 2. The last two commands turn on rearming for setpoint 4 of channel 2 and automatically arms setpoint 4 of channel 2. The setpoint will remain armed on startup if DRV.NVSAVE is performed.
--> CMP1.ARM 0 1
--> CMP2.ARM 4 0 --> CMP2.REARM 4 2 --> CMP2.ARM 4 --> 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 |
|
Stored in Non-Volatile Memory |
Yes |
Variants Supported
All variants are supported.
ID |
Instance |
Attribute |
Name |
Data Type |
Access |
User Mappable |
---|---|---|---|---|---|---|
31340 |
1 |
31340 (0x7a6c) |
CMP1.REARM |
Unsigned8[8] |
Read/Write |
Yes |
31341 |
1 |
31341 (0x7a6d) |
CMP2.REARM |
Unsigned8[8] |
Read/Write |
Yes |
Parameter |
PNU |
Data Type |
Access |
Units |
---|---|---|---|---|
CMP1.REARM |
31340 |
Unsigned8[8] |
Read/Write |
- |
CMP2.REARM |
31341 |
Unsigned8[8] |
Read/Write |
- |