Chapter 2
The
DIAG:CONF?
query returns six integers. The six integers returned
contain the module configuration and have the following meaning.
Integer
Returned
1st
Expansion Board ID in the form: 0 = present, 7 = none
(expansion board contains channels 9 through 16)
2nd
Terminal Module ID in the form
0 = screw type, 7 = none or other
3rd
Isolated/Non-isolated Channel status
A bit set to 0 indicates an isolated channel
A bit set to 1 indicates a non-isolated channel or no plug-on
module installed (DO NOT operate the module without a plug-on
module)
Bits 0 – 15 correspond to channels 1 – 16, respectively*
4th
Channel Mode
A bit set to 0 indicates a current output channel
A bit set to 1 indicates a voltage output channel
Bits 0 – 15 correspond to channels 1 – 16, respectively*
5th
Channel Output State
A bit set to 0 indicates the channel output relay is closed
A bit set to 1 indicates the channel output relay is open
Bits 0 – 15 correspond to channels 1 – 16, respectively*
6th
Channel Mode Programmable State (P/J Jumper)
A bit set to 0 indicates a channel is not mode programmable
A bit set to 1 indicates a channel is mode programmable
Bits 0 – 15 correspond to channels 1 – 16, respectively*
* For 8-channel configurations, the upper 8 bits of integers 3, 4, 5, and 6 are set to 1's.
For example, if the following six integers are returned, the module has the
configuration indicated.
Decimal
Integer
Value
1st
7
2nd
7
3rd
-1
4th
-1
5th
-1
6th
-1
Meaning
Configuration
No expansion board installed
(Only channels 1 through 8).
No Terminal Module installed or
unknown terminal module installed.
All channels are non-isolated.
All channels are voltage output channels.
All channel outputs are disabled
(all output relays are open).
All channels are output mode
programmable.
Programming Examples
41