Setting item Settings
Subnet mask
Specify a subnet mask. Specify the keyword “MASK=” at the beginning.
MASK=255.255.255.0
Default gateway
Specify an IP address for default gateway. Specify the keyword “GWIP=” at
the beginning.
GWIP=111.122.133.4
Specify "0" when default gateway is not to be used.
(Note 1) Setting parameters should be entered with each setting parameter separated by a comma “,”.
(Note 2) Both upper and lower cases can be used for specifying keywords.
(Note 3) Specify keywords in the order indicated in the table above.
Setting example
Examp
le 1
S "IP=192.168.1.5,MASK=255.255.255.0,GWIP=192.168.1.1"
Settings IP address = 192.168.1.5; Subnet mask = 255.255.255.0; Default gateway = 192.168.1.1
Examp
le 2
S "IP=192.168.1.5,MASK=255.255.255.0,GWIP=0"
Settings IP address = 192.168.1.5; Subnet mask = 255.255.255.0; Default gateway = Not used
● When an address is specified that is unusable for the parameters, the system relay SR9
(carry flag CY) is set to ON, one of the error codes 1 (IP address error) to 4 (default gateway
error) is set for the system data register SD29 (Ethernet communication error code), and the
process is terminated.
● For details of the available range of the address, refer to "19.10 Ethernet Function: IP
Addresses".
■
Setting status when parameters are omitted
● IPv4 address is mandatory. It must be indicated.
● "Subnet mask" and "Default gateway" can be omitted. Omitted parameters are not changed.
Parameter
How to specify
Result reflected in parameters
IP MASK GWIP IP address Subnet mask Default gateway
Manda
tory
Omit Set “IP=○○○○, GWIP=○○○○” Change Not change Change
Manda
tory
Set Omit “IP=○○○○, MASK=○○○○” Change Change Not change
Manda
tory
Omit Omit “IP=○○○○” Change Not change Not change
Setting example
Examp
le 1
S "IP=192.168.1.5,,GWIP=192.168.1.1"
Settings IP address = 192.168.1.5; Subnet mask = Not change; Default gateway = 192.168.1.1
Examp
le 2
S “IP=192.168.1.5, MASK=255.255.255.0”
Settings IP address: 192.168.1.5; Subnet mask: 255.255.255.0; Default gateway: Not change
17.4 IPv4SET (IP Address Setting)
WUME-FP7CPUPGR-12 17-25