Read All Module IDs

FieldPoint Optomux Programming

Read All Module IDs

[cmdchars] = !B

Description

The Read All Module IDs command reads the number of modules in the bank and the IDs of the network module and all I/O modules. Use the Read Module ID (!A) command to read the ID of a single module.

Syntax

!B

Success Response

A[number][mod array]

[number]Two ASCII-hex characters represent the number of modules in the bank, including the network module.
[modID]Four ASCII-hex characters represent the ID of each module in the bank. The first four characters represent the ID of the network module, and each subsequent set of four characters corresponds to the module at the next higher address in the bank. The following table lists the module IDs and corresponding module types:

[modID] Value Module Type
0001 FP-1000
0002 FP-1001
0101 [c]FP-AI-110
0102 [c]FP-AO-200
0103 [c]FP-DI-330
0104 [c]FP-DO-400
0105 [c]FP-DI-301
0106 [c]FP-DO-401
0107 [c]FP-TC-120
0108 FP-RLY-420
0109 [c]FP-DI-300
010A [c]FP-AI-100
010B [c]FP-RTD-122
010C [c]FP-AI-111
010D [c]FP-CTR-500
010E [c]FP-PWM-520
010F [c]FP-AO-210
0110 [c]FP-DO-410
0111 [c]FP-DO-403
0112 [c]FP-RLY-422
0113 [c]FP-PG-522
0114 [c]FP-CTR-502
0115 [c]FP-AI-102
0116 [c]FP-QUAD-510
0217 FP-TB-10
0118 [c]FP-RTD-124
0119 [c]FP-SG-140
011B [c]FP-AIO-610
011E [c]FP-AI-112
0121 cFP-RLY-421
0122 cFP-RLY-423
0123 [c]FP-AIO-600
0124 cFP-TC-125
0125 cFP-RLY-425
0126 [c]FP-DIO-550
0127 cFP-AI-118, Normal
0128 cFP-AI-118, Calibration
0129 cFP-DI-304
0300 cFP-180x
FFFF Empty Base or Slot

Error Responses

E_NO_MODULEThere is no module at the specified address.
E_BAD_ADDRESSThe addressed module does not support the command.
E_INV_LIMS_GOTSpecified limits invalid for the command.

Example

>00!B[checksum][cr]

This command requests that the FieldPoint network module at address 0x00 return the IDs of all the modules in the bank. The response is as follows:

A03000101020103[checksum][cr]

There are three modules in the bank: an FP-1000 network module (ID 0001), an FP-AO-200 (ID 0102), and an FP-DI-330 (ID 0103).