42.12.1 Procedure - Changing the Display Unit IP Address Using System Variables

You can use system variables to change the IP address, subnet mask, and default gateway while the display unit is in operation. The display unit will automatically restart when the IP address is changed successfully.

System Variable Name

Description

READ

WRITE

#H_LAN*_CurrentIPAddr

Current value of LAN* IP address

 

#H_LAN*_CurrentSubnetMask

Current value of LAN* subnet mask

 

#H_LAN*_CurrentDefaultGateway

Current value of LAN* default gateway

 

#H_LAN*_SetIPAddr

New value of LAN* IP address

#H_LAN*_SetSubnetMask

New value of LAN* subnet mask

#H_LAN*_SetDefaultGateway

New value of LAN* default gateway

#H_LAN_AddrControl

IP address change control

#H_LAN_AddrStatus

IP address change status

 

#H_LAN*_CurrentIPAddr / #H_LAN*_CurrentSubnetMask / #H_LAN*_CurrentDefaultGateway

* is 1 or 2. (1: LAN1、2: LAN2)

These system variables store the IP address, subnet mask, and default gateway values currently set for the LAN in the display unit.

The values stored in the system variables are the four numbers of the IP address, subnet mask, and default gateway, each converted to hexadecimal and concatenated in order.

Example: 192.168.1.100

IP Address

Value Converted to Hexadecimal

192

C0

168

A8

1

01

100

64

Concatenated value: C0A80164

#H_LAN*_SetIPAddr / #H_LAN*_SetSubnetMask / #H_LAN*_SetDefaultGateway

* is 1 or 2. (1: LAN1、2: LAN2)

These system variables store the new IP address, subnet mask, and default gateway values.

The format of the values stored in these system variables is the same as #H_LAN*_Current*****.

#H_LAN_AddrControl

This system variable executes the changes to the IP address.

Value (Dec)

Description

1

Execute the changes to the LAN1 IP address.

2

Execute the changes to the LAN2 IP address.

#H_LAN_AddrStatus

If the changes to the IP address fail, the following error codes are stored in this system variable.

Value (Dec)

Error Description

-1

Ethernet is set to disabled in the display unit's System Settings. *1

-2

The display unit being used does not support changes to the IP address.

-3

A system variable setting value is invalid.

-20

The specified IP address duplicates that of another device. *2

-40

The display unit DHCP settings are still enabled.

*1This error is displayed only for models in which the Ethernet settings can be used in the display unit's System Settings.

*2This error is not displayed for the following models because they cannot detect duplicate IP addresses.
• SP5000 Series Power Box, Standard Box, and eXtreme Box
• ST6000 Series
• ET6000 Series

How to Change the IP Address

  1. Store the values for the new IP address in #H_LAN*_Set*****.

  2. Store 1 or 2 in #H_LAN_AddrControl. (1: LAN1、2: LAN2)

    The display unit will automatically restart when the IP address is changed successfully.

    After the display unit restarts, the new values are stored in #H_LAN*_Current*****. The value in #H_LAN*_Set***** becomes 0.

    The value in #H_LAN_AddrControl is cleared.

    If the changes to the IP address fail, the display unit does not restart and the error code is stored in #H_LAN_AddrStatus.