Tcp,par: tcp/ip server settings, Function, Command format – Spectra Precision ProFlex 800 Reference Manual User Manual

Page 493: Comments, Relevant query command, See also

Advertising
background image

479

Set Command Library

TCP,PAR: TCP/IP Server Settings

Function

This command is used to set the TCP/IP server.

Command Format

Syntax

$PASHS,TCP,PAR[,MOD,s1][,LGN,s2][,PWD,s3][,PRT,d4][*cc]

Parameters

Example

Enabling TCP/IP connection with authentication (login:
BX312, password: xwsead):

$PASHS,TCP,PAR,MOD,1,LGN,BX312,PWD,xwsead*1A

Comments

• When the TCP/IP server is enabled (s1=1 or 2) and the

receiver is connected to a network via the Ethernet cable,
an external device can open the port specified as d4 and
communicate with the receiver. In this case, the current
port is port “I” in the receiver.

• When s1=1, the receiver does not accept any incoming

data or commands until it receives the login and the
password (see $PASHS,TCP,UID). It will however output
those messages that are programmed on port “I” even if it
has not received authentication yet.

• The default login is “ashtech” and the default password is

“password”.

• Both login and password are case sensitive.

Relevant Query

Command

$PASHQ,TCP

See also

$PASHS,TCP,UID

Parameter

Description

Range

MOD,s1

TCP/IP connection mode:
• 0: Disabled
• 1: Enabled with authentication
• 2: Enabled without authentication (default)

0-2

LGN,s2

Login

32 characters max.

PWD,s3

Password

32 characters max.

PRT,d4

Port number. Default is “8888”

100-65535

*cc

Optional checksum

*00-*FF

Advertising