Sipaddress ip address information, Sclient client function, Sdns dns information – Yokogawa Touch Screen GP20 User Manual
Page 50: Sdhcp dhcp client

2-36
IM 04L51B01-17EN
p5 Register (1 to 465535)
p6 Channel type
IO
I/O channel
Math
Math channel
Com
Communication channel
p7 First channel
p8 Last channel
Query
SModMCmd[p1]?
Example Register the following command in command
number 2: read the 32-bit signed integer data
that is assigned to registers 30003 (upper 16
bits) and 30004 (lower 16 bits) in the slave
device assigned to address 5 into channel
C002.
SModMCmd,2,Read,5,INT32_B,30003,
Com,002,002
Description
• If p2=Read, set the communication channel in p6, p7,
and p8.
• Set the same type of channel in p7 and p8.
• Math channels are an option (/MT).
• For details on data types, registers, and channel
types, see section 4.5.1, “Modbus Client and Master
Function” in the Models GX10/GX20/GP10/GP20
Paperless Recorder User’s Manual (IM 04L51B01-
01EN).
SIpAddress
IP Address Information
Sets the IP address information.
Syntax SIpAddress,p1,p2,p3
p1 IP address (0.0.0.0 to 255.255.255.255)
p2 Subnet mask (0.0.0.0 to 255.255.255.255)
p3 D e f a u l t g a t e w a y ( 0 . 0 . 0 . 0 t o
255.255.255.255)
Query
SIpAddress?
Example Set the IP address to 192.168.111.24, the
subnet mask to 255.255.255.0, and the default
gateway to 192.168.111.20.
SIpAddress,192.168.111.24,255.255.
255.0,192.168.111.20
Description
• The settings specified with this command takes
effect with the
command. The GX/GP IP
address does not change until you send the OIPApply
command.
SClient
Client Function
Sets the client function.
Syntax SClient,p1,p2
p1 Client type (FTP, SMTP, SNTP, MODBUS)
p2 Client Function (Off, On)
Query
SClient[p1]?
Example Use the FTP client function.
SClient,FTP,On
Description
• Modbus client is valid on models with the /MC
communication channel option.
SDns
DNS Information
Sets the DNS information.
Host (GX)
Syntax SDns,p1,p2,p3
p1 Setting type (Host)
p2 Host name (up to 64 characters, ASCII)
p3 Domain name (up to 64 characters, ASCII)
DNS Server
Syntax SDns,p1,p2,p3
p1 Setting type (Server)
p2 Primary DNS server (0.0.0.0 to
255.255.255.255)
p3 Secondary DNS server (0.0.0.0 to
255.255.255.255)
Suffix Setup
Syntax SDns,p1,p2,p3
p1 Setting type (Suffix)
p2 Primary domain suffix (up to 64
characters, ASCII)
p3 Secondary domain suffix (up to 64
characters, ASCII)
Query
SDns[p1]?
Example Set the IP address of the primary DNS server
to 192.168.111.1 and the IP address of the
secondary DNS server to 192.168.111.10
SDns,Server,192.168.111.1,192.168.
111.10
Description
• The settings specified with this command takes
effect with the
command. The GX/GP IP
address does not change until you send the OIPApply
command.
SDhcp
DHCP Client
Sets the DHCP client.
Do Not Obtain the IP Address Automatically
Syntax SDhcp,p1
p1 Automatic IP address assignment (Off)
Obtain the IP Address Automatically
Syntax SDhcp,p1,p2,p3
p1 Automatic IP address acquisition (On)
p2 DNS information acquisition (Off, On)
p3 Automatic host name registration (Off, On)
Query
SDhcp?
Example Automatically obtain the IP address and DNS
information and automatically register the host
name.
SDhcp,On,On,On
2.4 Setting Commands