Store 16-Bit Watchdog Data
[cmdchars] = !j
Description
The Store 16-Bit Watchdog Data command stores output levels in nonvolatile memory for targeted analog output channels of the addressed FieldPoint module. The output channels will output the stored output levels if the watchdog timer expires.
Syntax
!j[positions][wdgData]
[positions] | Four ASCII-hex characters specify the targeted channels. A "1" in any bit means that the command stores an output for the corresponding channel. A zero in any bit means that the corresponding channel is not targeted. |
[wdgData] | Four ASCII-hex characters specify the output value for each targeted channel. The first four characters specify the value for the channel corresponding to the most significant "1" in the [positions] field, and so on. Each set of four characters represents an unsigned 16-bit number. |
Success Response
A
Error Responses
E_INVALID_CMD | Undefined command. |
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_INV_CHNL | One or more channels specified in the command either do not exist or do not support the specified operation. |
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!j000C01234567[checksum][cr]
This command stores output values for channels 2 and 3 of the FieldPoint module at address 51 (0x33). If the watchdog timer expires, channel 2 will output the value 0x4567 and channel 3 will output the value 0x1234.