Set Watchdog Data Status

FieldPoint Optomux Programming

Set Watchdog Data Status

[cmdchars] = !T

Description

The Set Watchdog Data Status command enables or disables the watchdog for targeted output channels of the addressed FieldPoint module. This command is part of the channel setup for the watchdog. You should store watchdog data for the channels using the (!i) and (!j) commands before sending this command.

Syntax

!T[positions][mask]

[positions]Four ASCII-hex characters specify the targeted channels. A "1" in any bit means that the command sets 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!T, [positions] must contain eight ASCII-hex characters.
[mask]Four ASCII-hex characters specify the enabled or disabled status of the watchdog for each channel. 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!T, [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

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

>33!T001300FF[checksum][cr]

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

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