4 Command control
56 / 61
PJ04030102B
4.14
LAN setup [Lan Setup]
Used to setup LAN configuration.
Command code
Table 4-85 LAN SETUP CMD
HEX
ASCII
Function
0x4C
0x53
'L'
'S'
LAN setup [Lan Setup]
Parameter1
Data length: No regulation
Sub command table (Mandatory command only)
Table 4-86 LAN SETUP CMD SUB
HEX
ASCII
Function
Last
memory
Operation
Reference
0x44
0x53
'D'
'S'
DHCP Client setting
Yes
0x49
0x50
‘I’
‘P’
IP Address setting
Yes
(When ‘DHCP Client’ is Off.)
0x53
0x4D
‘S’
‘M’
Subnet Mask setting
Yes
(When ‘DHCP Client’ is Off.)
0x44
0x47
‘D’
‘G’
Default Gateway setting
Yes
(When ‘DHCP Client’ is Off.)
0x4D
0x41
‘M’
‘A’
MAC Address setting
Yes
-
0x52
0x53
‘R’
‘S’
Network reboot
No
-
0x50
0x54
‘P’
‘T’
Port setting
Yes
It consists of “Sub command” + “setting”. Sub command consists of ASCII character 2 bytes.
Parameter2
Sub command parameters are as follows.
Parameters when Sub command is [0x44,0x53]: Data length 1
Table 4-87 DHCP Client
HEX
ASCII
Operation
0x30
‘0’
Off(Static)
0x31
‘1’
On
Parameters when Sub command is [0x49,0x50] [0x53,0x4D] [0x44,0x47]: Data length 8
Parameters when Sub command is [0x4D,0x41]: Data length 12
Parameters when Sub command is [0x52,0x53]: Data length 1
Table 4-88 NETWORK RESTART
HEX
ASCII
Operation
0x31
‘1’
Network Restart
Parameters when Sub command is [0x50,0x54]: Data length 4