43
TCP/IP, HTTP, and USB Command Descriptions for ‘MMS’ Matrices
Command Syntax
Response
USB
TCP
/HTTP
1
*IDN?
Matrix model
√
√
Returns string
in ’Model Name’ in the configuration file (or equivalent of config. file).
As a minimum will have model name.
Could also have: Vendor, model, serial number, software revision (The response
shown in this table is just an example).
2
*OPC?
1 or 0
√
√
Gives 1 if previous operation was completed and gives 0 if previous operation is still
not complete.
3
*RST
√
√
Sets all switches to their default position. (Transfer switches in pos.1. Most other
switches in pos. 0 = open).
4
ROUTE:SWITCHx y or :SWITCHx y
√
√
Closes position y on switch x
5
ROUTE:SWITCHx? or :SWITCHx?
n
√
√
Gives current position of switch x
6
SET:DHCP ON or SET:DHCP OFF
√
√
Turns DHCP mode ON or OFF
7
GET:DHCP
ON or OFF
√
√
Returns DHCP mode
8
SYST:IPADDRESS?
xxx.yyy.zzz.aaa
√
√
Returns system IP address
9 *
SYST:IPADDRESS xxx.yyy.zzz.aaa
√
√
Sets system IP address to xxx.yyy.zzz.aaa
10
SYST:TCPPORT?
n
√
√
Returns TCP port number
11*
SYST:TCPPORT x
√
√
Sets TCP port number to x
12
SYST:GATEWAY?
xxx.yyy.zzz.aaa
√
√
Returns system gateway address
13*
SYST:GATEWAY xxx.yyy.zzz.aaa
√
√
Sets system gateway address to xxx.yyy.zzz.aaa
14
SYST:MASK?
xxx.yyy.zzz.aaa
√
√
Returns system subnet mask
15*
SYST:MASK xxx.yyy.zzz.aaa
√
√
Sets system subnet mask to xxx.yyy.zzz.aaa
16
SYST:MACADDRESS?
aa:bb:cc:dd:ee:ff
√
√
Returns system MAC address
18
SYST:SERIALNUMBER?
n
√
√
Returns system serial number
20
SYST:TIMEOUT?
n
√
√
Returns Time out setting for TCP/IP connection (n is in seconds)
21
SYST:TIMEOUT x
√
√
Sets Time out setting for TCP/IP connection (x is in seconds)
22
SYST:ERR? or SYST:ERROR?
-4,SYNTAX ERROR
√
√
Returns system error number and error description. (The response shown in this
table is just an example).
23
SYST:ERRALL?
ALL ERRORS
√
√
Returns all of the errors that have occurred. (Maximum is 20 Errors reported)
24
SYST:STATUS?
SWITx y;SWITx y;SWITx
y;… ;SWITx ERRORS
5,3,0
√
√
This command will return all Switch positions, and Errors list in the error buffer
separated by a semicolon.
25
SYST:COUNT?
SWx y; SWx y;…SWx y
Returns the total cycle count for all of the switches
25
SYST:COUNTx?
n
√
√
Returns the total number of cycles for the switch of address ‘x’
26
SYST:COUNTx n?
n
√
√
Returns the number of cycles for p
osition ‘n’ for the switch of address ‘x’
27
SYST:RESCOUNTx v
√
√
Resets the count for the switch of address ‘x’ to a number ‘v’ (Note: this should only
be used if a switch is replaced)
28
SYST:NET?
IP: xxx.yyy.zzz.aaa
Mask: xxx.yyy.zzz.aaa
Gateway: xxx.yyy.zzz.aaa
MAC: aa:bb:cc:dd:ee:ff
√
√
Returns the IP address, mask, gateway address, and MAC address
29
SYST:VER?
xx
√
√
Returns the current versions of software operating the on Mini-Matrix
30
SYST:SOFTREV?
xx
√
√
Returns the current software revision that is operating on the Mini-Matrix
31
SYST:SOFTBUILD?
xx
√
√
Returns the current build of the software
32
SYST:SOFT?
Ver: xx; Rev: xx; Build xx
√
√
Returns the software; version, revision, and build on the Mini-Matrix