beautypg.com

System:communicate:lan:dns, System:communicate:tcpip:control, System:communicate:serial:language[ :select – GW Instek PSU-Series Programming User Manual User Manual

Page 94

background image

PSU Programming Manual

94

:SYSTem:COMMunicate:LAN:DNS

Set

Query

Description

Sets or queries the DNS address. Note: the setting
will only be valid after the power has been cycled.

Syntax
Query Syntax

:SYSTem:COMMunicate:LAN:DNS
:SYSTem:COMMunicate:LAN:DNS?

Parameter/Return

DNS in string format ( “mask”)
Applicable ASCII characters: 20H to 7EH

Example

SYST:COMM:LAN:DNS “172.16.1.252”
Sets the DNS to 172.16.1.252.

:SYSTem:COMMunicate:TCPip:CONTrol

Query

Description

Queries the socket port number.

Query Syntax

:SYSTem:COMMunicate:TCPip:CONTrol?

Return parameter

0000 ~ 9999

Example

SYST:COMM:TCP:CONT?
>2268

Returns the socket port number.

:SYSTem:COMMunicate:SERial:LANGuage[
:SELect]

Set

Query

Description

Sets or queries the communication protocol for the
serial port.

Syntax

Query Syntax

:SYSTem:COMMunicate:SERial:LANGuage[:SELect]
{"SCPI"|"LEGACY"}
:SYSTem:COMMunicate:SERial:LANGuage[:SELect]?

Parameter/Return
parameter

"SCPI"

Sets the communication protocol to SCPI.

"LEGACY"

Sets the communication protocol to legacy
mode. (Emulate TDK Genesys)

Example

SYST:COMM:SER:LANG?
>SCPI

Indicates that the communication protocol is set to SCPI.