5-37
IM XL100C-E
1
2
3
4
5
6
7
App
Index
Standard Protocol
YN
Sets the DNS
When not using the DNS
Syntax
YNp1<terminator>
p1
Disable DNS
OFF
Query
YN?
Example
Do not use the DNS.
YN OFF
Description The setting changed with this command is
applied when it is saved using the XE command.
When using the DNS
Syntax
YN p1,p2,p3,p4,p5,p6,p7<terminator>
p1
Enable DNS
ON
p2
Address of the primary DNS server
0.0.0.0
to
255.255.255.255
p3
Address of the secondary DNS server
0.0.0.0
to
255.255.255.255
p4
Host name (up to 64 characters)
p5
Domain name (up to 64 characters)
p6
Domain suffix 1 (up to 64 characters)
p7
Domain suffix 2 (up to 64 characters)
Query
YN?
Example
Use the DNS server at 192.168.0.1.
YN ON,192.168.0.1
Description The settings changed with this command are
applied when they are saved using the XE
command.
YE
Sets the SNTP (time
synchronization function)
When not using the SNTP
Syntax
YE p1<terminator>
p1
Disable
0
Query
YE?
Example
Disable SNTP.
YE 0
When using the SNTP
Syntax
YE p1,p2,p3<terminator>
p1
Enable
1
p2
Server name (up to 64 characters)
p3
Confirmation time interval (hh)
1
to
24
Query
YE?
Example
Use the SNTP server named MCC at six-hour
intervals.
YE 1,MCC,6
YQ
Sets the Ethernet
communication timeout
When not using the timeout
Syntax
YQ p1<terminator>
p1
Enable/Disable communication timeout
Enable:
ON
Disable:
OFF
Query
YQ?
Example
Disable timeout.
YQ OFF
Description The setting changed with this command is
applied when it is saved using the XE command.
When using the timeout
Syntax
YQ p1,p2<terminator>
p1
Enable/Disable communication timeout
Enable:
ON
Disable:
OFF
p2
Timeout value (min)
1
to
120
Query
YQ?
Example
Enable the communication timeout and set the
timeout period to 3 min.
YQ ON,3
Description The settings changed with this command are
applied when they are saved using the XE
command.
YS
Sets the serial interface
Syntax
YS p1,p2,p3,p4,p5,p6,p7<terminator>
p1
Baud rate [bps]
When the interface is set to RS232 or
RS232 (printer):
2400, 4800, 9600, 19200,
or
38400
When the interface is set to RS485:
2400, 4800, 9600, 19200, 38400,
19200, 38400, 57600,
or
115200
p2
Data length (number of bits)
7
or
8
p3
Parity check
None:
NONE
Odd:
ODD
Even:
EVEN
p4
Handshaking
OFF:
OFF:OFF
XON/XOFF:
XON:XON
CS/RS:
CS:RS
p5
Protocol
Normal:
NORMAL
Modbus RTU (slave):
MODBUS
Modbus RTU (master):
MODBUS-M
Modbus ASCII (slave):
MODBUSASCII
Modbus ASCII (master):
MOSBUSASCII-M
p6
Stop bit
1 bit:
1
2 bits:
2
p7
Slave address setting
1
to
247
Query
YS?
Example
Set the baud rate to 9600, the data length to 8,
the parity check to ODD, the handshaking to
OFF, the protocol to NORMAL, the stop bit to 1,
and the slave address to 2.
YS 9600,8,ODD,OFF:OFF,NORMAL,1,2
5.7 Basic Setting Commands