EasyManua.ls Logo

Teledyne THCD-101 - Command Reference: Communication Commands

Teledyne THCD-101
26 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
181-122018_THCD-101 Instruction Manual Page 20 of 26
1 = Open mode
2 = Closed mode
The current mode of the setpoint can be retrieved by using the query ‘spm?’. The returned data is:
SP INIT MODE: (<x>) <mode string>
… where … <x> = 0, 1, or 2 and <mode string> = AUTO, OPEN, or CLOSED respectively.
4.2.4. Communication commands
(a) Ethernet IP address eip’
This command changes the IP address used to communicate over TCP/IP. The parameter should be entered as a
standard 4 octet IP address. e.g. 192.168.1.180. The max octet value is 255. If a greater value is entered, that
value will be capped to 255. Once the THCD-101 has responded to the command, it will display the following
and autorestart the system.
UNIT SHOULD AUTO RESTART
IF NOT, RESTART TO APPLY CHANGES
This is necessary to re-initialise the internal TCP socket with the newly set IP address. To retrieve the current
IP address, use the query ‘eip?’. The returned data is:
IP ADDRESS: <xxx>.<xxx>.<xxx>.<xxx>
…where <xxx> is always a three digit octet.
(b) Ethernet subnet mask ‘esm
This command changes the Subnet mask used as part of the TCP/IP communication. As with the IP address, the
parameter should be entered as a standard 4 octet mask. e.g. 255.255.255.0. Each octet value is again capped
if a value greater than 255 is entered.
The THCD-101 will respond and the display the following before auto-restarting the system (as with the IP
address).
UNIT SHOULD AUTO RESTART
IF NOT, RESTART TO APPLY CHANGES
The current subnet mask can be retrieved using the query ‘esm?’. The returned data is:
SUBNET MASK: <xxx>.<xxx>.<xxx>.<xxx>
…where <xxx> is always a three digit octet.
4.2.5. Channel Setup commands
(a) Input channel units string ‘uiu’
The input channel has an associated free-form text field that can be used to identify the units being used. This
command is used to set this and its only parameter is a max of 5 characters for the units string.
The current units string can be retrieved using the query ‘uiu?’. The data returned is as follows:
INPUT UNITS STR: <units>
… where… <units> = the exact units string as displayed on the front panel
(b) Input channel range uir’
Use this command to set the range of the input channel. The single parameter is the actual value for the
range. The number of decimal places passed in the range value dictates the number of decimal places shown
for the main data output (up to a max of 4 decimal placesany more will get chopped off)
The current range of the input channel is retrieved using the query ‘uir?’. The data returned is as follows:
INPUT RANGE: <range>
… where… <range> = the range of the channel (engineering units)