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 |
|---|---|---|---|
|
Current value of LAN* IP address |
|
|
|
|
Current value of LAN* subnet mask |
|
|
|
|
Current value of LAN* default gateway |
|
|
|
|
New value of LAN* IP address |
|
|
|
|
New value of LAN* subnet mask |
|
|
|
|
New value of LAN* default gateway |
|
|
|
|
IP address change control |
|
|
|
|
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
![]()
Each number is stored as a 2-digit hexadecimal number. If the resulting number is 1 digit, 0 is added to the beginning of that number (example: 1 becomes 01).
When the DHCP setting is enabled in the display unit, it may take some time for the values to be stored in the system variables. If the display unit cannot connect to the DHCP server, undefined values are stored in the system variables.
#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*****.
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. |
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
Store the values for the new IP address in #H_LAN*_Set*****.
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.
![]()
You must disable the display unit's DHCP setting. You cannot change the IP address if the DHCP setting is enabled.
If you change the IP address without setting a value in #H_LAN*_SetDefaultGateway, the value in #H_LAN*_CurrentDefaultGateway becomes 0.
When using the following models, the display unit may restart even if the changes to the IP address fail.
SP5000 Series Power Box, Standard Box, eXtreme Box
ST6000 series
ET6000 Series