System information

G2T Programmers Guide Rev-A 17-Nov-2014
46
5.2.3. GET? and SET Values
Below is a table of the available properties that can be read and
changed. Note that each one behaves differently so consult the
table.
Title
Access
Function
Outputs
RO
Largest output
Inputs
RO
Largest input
Modules
RO
number of modules for which the system is configured
Last query error
RO
last query error or zero (see note 1)
Slot that the module is in
RW
set: (see Note 2) Get: returns the slot where the module
should be
Inputs on module
RW
set: (see Note 2) Get: returns the number of inputs on the
module
7 Outputs on module RW set: (see Note 2) Get: returns the number of outputs on the
module
8 Slots RO number of slots in the system
9 Module in slot RW set: (see Note 2) Get: returns module number in slot or 0
10 Module ID in slot RW set: (see Note 2) Get: returns ID of module in slot or 0
11 [Project]
12 [Project]
13 [Project]
14 Dual State RO 1 is alone, 2 is primary, 3 is secondary
15 Fault FIFO RO Returns next fault or zero if empty, see note 3
Last Execution Error
RO
last error or zero (see note 1)
[Project]
[Project]
[Project]
Ganged Modules
RW
0 is un-ganged, 1 is ganged
Auto Interlock
RW
auto interlock on (1) or off (0)
Auto Restore
RW
auto restore on(1) off(0)
Debug mode
RW
1: SPI traffic appears on Telnet port, 0: no traffic on port
24 Beep on Error RW beep on error (1) or silent (0) default is 1
25 Inactivity Timeout RW TCP/IP port inactivity timeout in seconds.
Values:
0 - disabled (i.e. port remains open until closed by host or the
FORceclose command)
1 - 28800 (8 hours) - number of seconds of inactivity until the
port is closed. Values outside the range are coerced to
28800. The default value is 0 (disabled).
Power Supply 1
RO
Last status returned from PS1
Power Supply 2
RO
Last status returned from PS2
Memories
RO
number of "memories" available to *SAV or *RCL
Use 488.2
RW
use backwards-compatibility mode (0)
System Integrity
RW
if anything other than 21930, system restores factory defaults
on next reset
System cleared
RO
1 if system restored defaults on last restart
Last Command Error
last error or zero (see note 1)
“This” CPU’s Current IP
address (MS)
RO
nnn of nnn.XXX.XXX.XXX for current IP address
34 “This” CPU’s Current IP
address
RO nnn of XXX.nnn.XXX.XXX for current IP address
35 “This” CPU’s Current IP
address
RO nnn of XXX.XXX.nnn.XXX for current IP address
“This” CPU’s Current IP
address (LS)
RO
nnn of XXX.XXX.XXX.nnn for current IP address