Read Bank Status

FieldPoint Optomux Programming

Read Bank Status

[cmdchars] = !P

Description

The Read Bank Status command reads the configuration status of the bank connected to the addressed network module.

Syntax

!P

Success Response

A[bank_status]

[bank_status]One ASCII-hex character specifies the status of the bank as shown in the following table:

[bank_status] Value Bank Status
0 All I/O modules are configured.
1 One or more I/O modules are unconfigured.

Error Responses

E_BAD_ADDRESS The command is valid, but the addressed module does not support it.

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

Example

>00!P[checksum][cr]

This command queries the network module at address 0x00 for the status of the bank. The response is as follows:

A1[checksum][cr]

The response indicates that one or more I/O modules in the bank are unconfigured.