6 setting commands (communication related), Setting commands (communication related) -32, Ua user settings – Yokogawa Standalone MW100 User Manual

Page 39: Ys serial communication settings, Ya ip address settings, Yd host name and domain name settings

Advertising
background image

1-32

IM MW100-17E

1.6 Setting Commands

(Communication Related)

UA

User Settings

Setting

When p2=OFF
UAp1,p2<terminator>
When p2 is not OFF
UAp1,p2,p3,p4<terminator>
p1 User number (01 to 10)
p2 User level
OFF

Do not use

ADMIN

Administrator level

USER

User level

p3 User name (up to 16 characters)
p4 Password (up to 8 characters)

Query

UA[p1]?

Example

Set User number 01 to an account with user name
YOKOGAWA at the administrator level. Set the
password to 1234.
UA01,ADMIN,YOKOGAWA,1234

Explanation • For the characters that can be used for user names,

see user specified characters in section 1.3.

• For the characters that can be used for passwords,

see password strings in section 1.3.

• The password is output encrypted during a query.

YS

Serial Communication Settings

Setting

When p1=NORMAL

YSp1,p2,p3,p4,p5,p6,p7<terminator>

When p1=MODBUS_M or p1=MODBUS_S

YSp1,p2,p3,p4,p5<terminator>

When Using as a General Purpose

Communication Server

Setting

YSp1,p2,p3,p4,p5,p6,p7<terminator>
p1 Function (NORMAL)
p2 Address (01 to 32)
p3 Baud rate [bps]
(1200/2400/4800/9600/19200/

38400/57600/115200)

p4 Parity
NONE

No parity

EVEN

Even

ODD

Odd

p5 Stop bit [bit] (1, 2)
p6 Data length [bit] (7, 8)
p7 Handshaking
(OFF:OFF,XON:XON,XON:RS,CS:RS)

Example

Set the address to 01, baud rate to 9600 bps, parity to
even, stop bit to 1, data length to 8 bits, and handshaking to
XON:RS.
YSNORMAL,01,9600,EVEN,8,1,XON:RS

When using as a Modbus master or Modbus slave

Setting

YSp1,p2,p3,p4,p5<terminator>
p1 Function
MODBUS_M

Modbus master

MODBUS_S

Modbus slave

p2 Address (1 to 247)
p3 Baud rate [bps]
(1200/2400/4800/9600/19200/
38400/57600/115200)
p4 Parity
NONE

No parity

EVEN

Even

ODD

Odd

p5 Stop bit [bit] (1, 2)

Example

Set Address1 to the Modbus master, the baud rate to
9600 bps, parity to even, and stop bit to 1.
YSMODBUS_M,1,9600,EVEN,1

Explanation MODBUS_M of p1 can be set with the /M1 MATH

function option.

YA

IP Address Settings

Setting

YAp1,p2,p3<terminator>
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 Default Gateway

(0.0.0.0 to 255.255.255.255)

Query

YA?

Example

Set the IP address to 192.168.111.24, the subnet mask
to 255.255.255.0, and the default gateway to 0.0.0.0.
YA192.168.111.24,255.255.255.0, 0.0.0.0

Explanation The settings updated with this command are enabled

when the MW100’s power is turned OFF, then turned
back ON again.

YD

Host Name and Domain Name

Settings

Setting

YDp1,p2<terminator>
p1 Host name (up to 63 characters)
p2 Domain name (up to 63 characters)

Query

YD?

Example

Sets the host name “some_host” and domain name
“abc.com”
YDsome_host,abc.com

Explanation For the characters that can be used for the host and

domain names, see host and domain name strings in
section 1.3.

1.6 Setting Commands (Communication Related)

Advertising