beautypg.com

21 lau_config_gethostname (0x0102), Host name, Lau_config_gethostname (0x0102) – Beijer Electronics SCOM Protocol EN User Manual

Page 65

background image

Command Reference

Elektronik-Systeme Lauer, MAEN976

65

6.21 LAU_CONFIG_GETHOSTNAME (0x0102)

Host Name

Returns the network name of the monitor. The network must support the WINS
protocol for name resolution, to access the monitor using its name.

Supported since Firmware Version
MT223 NAV-230G: 1.0

MT226 NAV-230G: 1.0-DSCALE2

Command Stream

Response Message (Acknowledge)

Response Message (Negative Acknowledge)
Under normal operation conditions, a device never sends a negative acknowledge in
response to this command.

Maximum Lr for this Command
16

Example
Get the network host name of monitor at address 0.7 (group 0, address 7):

According to the data returned by the monitor at address 0.7 (group 0, address 7),
the monitor’s host name is “LAU0001”:

0

1

2

3

4

5

6

7...8

9

0x07

ADR

0x4C

0x41

0x55

0x02

ICHKH 0x01

0x02

ICHKD

0

1

2

3

4

5

6

7...7+[LEN]-1 7+[LEN]

0x06

ADR

0x4C

0x41

0x55

LEN

ICHKH Ret

ICHKD

Ret

Value:

ASCII characters

Type:

String

Length:

1...8

Description: ASCII-string containing the host name

0

1

2

3

4

5

6

7...8

9

0x07

0x07

0x4C

0x41

0x55

0x02

0x0D

0x01

0x02

0xFC

0

1

2

3

4

5

6

7...13

14

0x06 0x07 0x4C 0x41 0x55 0x07 0x09 0x4C 0x41 0x55 0x30 0x30 0x30 0x31 0x5C