Read Module Configuration
[cmdchars] = j
Description
The Read Module Configuration command reads the current direction (input or output) of all channels of the addressed FieldPoint module.
Syntax
j
Success Response
A[config]
[config] | Four ASCII-hex characters specify the directions of the channels of the module. A "1" in any bit means that the corresponding channel is configured as an output. A zero in any bit means that the corresponding channel is configured as an input. This command returns a zero for any bit that does not correspond to a channel. For example, if the command is sent to an eight-channel module, it returns configuration data for the lowest eight bits and zeros for the highest eight bits. |
Error Responses
E_INVALID_CMD | Undefined command. |
E_INV_LIMS_GOT | Specified limits invalid for the command. |
Refer to FieldPoint Responses for other possible error responses, error numbers, and error descriptions.
Example
>33j[checksum][cr]
This command is sent to a 16-channel FieldPoint module at address 51 (0x33). The response is as follows:
A0000[checksum][cr]
The response indicates that all 16 channels are configured as inputs.