beautypg.com

Relevant query command, See also, Eth,par: ethernet parameters – Spectra Precision ProFlex 800 Reference Manual User Manual

Page 395: Function, Command format

background image

381

Set Command Library

$PASHS,ETH,ON*01

Relevant Query

Command

$PASHQ,ETH

See Also

$PASHS,ETH,OFF

$PASHS,ETH,PAR

ETH,PAR: Ethernet Parameters

Function

This command is used to set the Ethernet parameters.

Command Format

Syntax

$PASHS,ETH,PAR[,DHP,s1][,ADD,s2][,MSK,s3][,GTW,s4][,DN1,s5]
[,DN2,s6][*cc]

Parameters

Example

Ethernet configuration with DHCP:

$PASHS,ETH,PAR,DHP,1*2E

Ethernet configuration without DHCP (static IP address):

$PASHS,ETH,PAR,DHP,0,ADD,10.20.2.28,MSK,255.255.255.0,GTW,
10.20.2.1,DN1,134.20.2.16,DN2,134.20.2.3*5F

Parameter

Description

Range

Default

DHP,s1

DHCP mode:
0: Disabled (static IP
address)
1: Enabled (dynamic
IP address)

0, 1

1

ADD,s2

IP address when
s1=0

0.0.0.0-255.255.255.255 192.168.0.1

MSK,s3

Sub-network mask
when s1=0

0.0.0.0-255.255.255.255 255.255.255.0

GTW,s4

Gateway IP address
when s1=0

0.0.0.0-255.255.255.255 255.255.255.255

DN1,s5

DNS 1 IP address
when s1=0

0.0.0.0-255.255.255.255 255.255.255.255

DN2,s6

DNS 2 IP address
when s1=0

0.0.0.0-255.255.255.255 255.255.255.255

*cc

Optional checksum

*00-*FF