Configure Positions

FieldPoint Optomux Programming

Configure Positions

[cmdchars] = G

Description

The Configure Positions command verifies whether the specified channels of the addressed FieldPoint module are inputs or outputs. You do not need to use this command before reading or writing to module channels. This command does not change the direction of channels; it only verifies the direction.

Syntax

G[positions]

[positions]Zero to four ASCII-hex characters specify the channels. A "1" in any bit means that the corresponding channel is expected to be an output. A zero in any bit means that the corresponding channel is expected to be an input.

If [positions] contains one to three characters, the channels corresponding to missing bits are not verified.

If [positions] is empty, the command supplies "FFFF" for the value.

Success Response

A

Error Responses

E_INVALID_CMDUndefined command.
E_INV_LIMS_GOTSpecified limits invalid for the command.

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

Example

>33G1133[checksum][cr]

This command instructs the FieldPoint module at address 51 (0x33) to verify that channels 0, 1, 4, 5, 8, and 12 are outputs. All other channels are expected to be inputs.