Hotswap Reporting Mode

FieldPoint Optomux Programming

Hotswap Reporting Mode

[cmdchars] = !b

Description

The Hotswap Reporting Mode command enables or disables reporting of hotswapping of modules in the bank. This command should be sent only to a network module. It returns an error if it is sent to an I/O module.

Hotswap Reporting

Some applications require notification whenever an I/O module is hotswapped. Hotswap reporting is disabled by default.

If hotswap reporting is enabled for the bank, the first command sent to a hotswapped module causes the bank to send the E_HOTSWAP response and to ignore the first command. In this way, the E_HOTSWAP response is similar to the E_PUCLR_EXP response.

The hotswap reporting mode is stored in the snapshot information when you use the Store Snapshot command. If you want the reporting mode to be restored at power-up, enable the snapshot feature.

Syntax

!b[flag]

[flag]One ASCII-hex character represents the hotswap reporting mode. Sending a zero disables reporting; sending a "1" enables reporting.

Success Response

A

Error Responses

E_BAD_ADDRESSThe addressed module does not support the command.
E_INV_LIMS_GOTSpecified limits invalid for the command.

Example

>00!b1[checksum][cr]

This command instructs the FieldPoint network module at address 0x00 to enable hotswap reporting for the modules in the bank.