Store Watchdog Data Status

FieldPoint Optomux Programming

Store Watchdog Data Status

[cmdchars] = !k

Description

The Store Watchdog Data Status command stores the enabled or disabled watchdog status in nonvolatile memory for targeted output channels of the addressed FieldPoint module. To enable or disable the watchdog for an entire module, use the Store Watchdog Enable (!l) command.

Syntax

!k[positions][mask]

Use !o!k for modules with 32 channels.

[positions]Four ASCII-hex characters specify the targeted channels. A "1" in any bit means that the command stores the enabled or disabled status for the corresponding channel. A zero in any bit means that the corresponding channel is not targeted.

If you send !o!k, [positions] must contain eight ASCII-hex characters.
[mask]Four ASCII-hex characters specify the enabled or disabled status of the watchdog for all channels. A "1" in any bit means that the watchdog is enabled for the corresponding channel. A zero in any bit means that the watchdog is disabled for the corresponding channel. The command ignores bits corresponding to untargeted channels.

If you send !o!k, [mask] must contain eight ASCII-hex characters.

Success Response

A

Error Responses

E_INVALID_CMDUndefined command.
E_INSUFF_CHARSData field error. An insufficient or incorrect number of characters were received for the command.
E_INV_LIMS_GOTSpecified limits invalid for the command.
E_ILLEGAL_DIGITOne or more characters in the command could not be properly converted to a digit (hex or decimal).
E_NO_MODULEThere is no module at the specified address.

Refer to FieldPoint Responses for other possible error responses, error numbers, and error descriptions.

Example

>33!k001300FF[checksum][cr]

This command enables the watchdog for channels 0, 1, and 4 of the FieldPoint module at address 51 (0x33). All other channels are unaffected.

>22!o!k00100013FFFFFFFF[checksum][cr]

This command enables the watchdog for channels 0, 1, 4, and 20 of the FieldPoint module at address 34 (0x22). All other channels are unaffected.