Wb sets sntp client parameters, Ys sets the serial interface – Yokogawa Removable Chassis DX1000N User Manual
Page 173
3-56
IM 04L41B01-17E
p7 Register data type (INT16, UINT16,
INT32_B, INT32_L, UINT32_B, UINT32_L)
When p2 is set to R-M (read communication input
data)
p3 First channel (communication input data
number)
p4 Last channel (communication input data
number)
p5 Server number (1 to 16)
p6 First register number (30001 to 39999,
40001 to 49999, 300001 to 365536, 400001
to 465536)
p7 Register data type (INT16, UINT16,
INT32_B, INT32_L, UINT32_B, UINT32_L,
FLOAT_B, FLOAT_L)
When p2 is set to W (write to measurement
channels)
p3 First channel (measurement channel
number)
p4 Last channel (measurement channel
number)
p5 Server number (1 to 16)
p6 First register number (40001 to 49999,
400001 to 465536)
p7 Register data type (INT16, FLOAT_B,
FLOAT_L)
When p2 is set to W-M (write to computation
channels)
p3 First channel (computation channel number)
p4 Last channel (computation channel number)
p5 Server number (1 to 16)
p6 First register number (40001 to 49999,
400001 to 465536)
p7 Register data type (INT16, UINT16,
INT32_B, INT32_L, FLOAT_B, FLOAT_L)
When p2=E-M (Communication input channel data
exchange)
p3 First channel (communication input data
number)
p4 Last channel (communication input data
number)
p4 can only be set to the same value as
p3. (Only one register can be loaded per
command.)
p5 Server number (1 to 16)
p6 First register number (40001 to 49999,
400001 to 465536)
p7 Register data type (INT16, UINT16,
INT32_B, INT32_L, UINT32_B, UINT32_L,
FLOAT_B, FLOAT_L)
Query
YR[p1]?
Example For command number 5, set the command type
to W, the first channel to 01, the last channel
to 04, the server number to 1, the first register
number to 40001, and the register data type to
INT16.
YR5,W,01,04,1,40001,INT16
Description • Set p3 to a value that is less than or equal to
p4.
• The number of registers that are read from
or written to is determined by the values that
you set for p3, p4, and p7. An error occurs if
the specified number of registers exceeds the
number of registers that actually follow the first
register (p6).
WB
Sets SNTP client parameters
Syntax
WB p1,p2,p3,p4,p5,p6
p1 SNTP client function (USE, NOT)
p2 SNTP server name (up to 64 alphanumeric
characters)
p3 SNTP port number (0 to 65535)
p4 Access interval (OFF, 1H, 8H, 12H, 24H)
p5 Reference time for the access interval (00:00
to 23:59)
p6 Timeout value (10S, 30S, 90S)
Parameters p2 to p6 are invalid when p1 is set to
NOT.
Query
WB?
Example Enable the SNTP client function, set the server
name to sntp.daqstation.com, the port number
to 123, the access interval to 24 hours, the
reference time to 12:00, and the timeout value to
30 seconds.
WBUSE,sntp.daqstation.com,123,24H,
12:00,30S
WC
Sets the SNTP operation when
memory start is executed
Syntax
WC p1
p1 Time adjustment using SNTP at memory
start (ON, OFF)
Query
WC?
Example Set the DX so that time is adjusted using SNTP
at memory start.
WCON
Description This command is valid when the SNTP client
function is enabled (WB command).
YS
Sets the serial interface
Syntax
YS p1,p2,p3,p4,p5,p6
p1 Baud rate (1200, 2400, 4800, 9600, 19200,
38400)
p2 Data length (7, 8)
p3 Parity check (NONE, ODD, EVEN)
p4 Handshaking (OFF:OFF, XON:XON, XON:
RS, CS:RS)
p5 RS-422/485 address (01 to 99)
p6 Protocol (NORMAL, MODBUS,
MODBUS-M)
3.6 Basic Setting Commands