Store Watchdog Enable
[cmdchars] = !l
Description
The Store Watchdog Enable command stores the enabled or disabled watchdog status in nonvolatile memory for the addressed FieldPoint module. To enable or disable the watchdog for an entire bank, use the Store Watchdog Delay (!V) command. To enable or disable the watchdog for individual channels, use the Store Watchdog Data Status (!k) command.
Syntax
!l[wdgTmo]
Note The command character is a lowercase l, not an uppercase I. |
[wdgTmo] | Four ASCII-hex characters specify the watchdog timeout value. The timeout value in ms is equal to 10 times the value of [wdgTmo]. If [wdgTmo] ≥ 20, the watchdog timeout value for the bank is 10 X [wdgTmo] ms. If [wdgTmo] = 0, the targeted module is unaffected by watchdog timeouts, and the timeout value for the bank is unaffected. If 0 < [wdgTmo] < 20, the command returns an error. If [wdgTmo] is unspecified, the default value is zero and the targeted module is unaffected by watchdog timeouts. |
Success Response
A
Error Responses
E_INSUFF_CHARS | Data field error. An insufficient or incorrect number of characters were received for the command. |
E_INV_LIMS_GOT | Specified limits invalid for the command. |
E_ILLEGAL_DIGIT | One or more characters in the command could not be properly converted to a digit (hex or decimal). |
E_NO_MODULE | There is no module at the specified address. |
Refer to FieldPoint Responses for other possible error responses, error numbers, and error descriptions.
Example
>33!l0021[checksum][cr]
This command stores the watchdog timeout value 210 ms and enables the watchdog for the FieldPoint module at address 51 (0x33).