App index, Wd modbus client operation settings, We modbus client connection settings – Yokogawa Standalone MW100 User Manual

Page 42: Wf modbus client command settings

Advertising
background image

1-35

IM MW100-17E

Commands

1

2

3

App

App

Index

WD

Modbus Client Operation

Settings

Setting

WDp1,p2,p3<terminator>
p1 Communication interval
100mS/200mS/250mS/500mS
1S/2S/5S/10S/20S/30S/40S/50S/60S/90s/

120S

p2 Communication recovery wait (0 to 60)

[sec]

p3 Connection wait (0 to 10, FOREVER)

[sec]

Query

WD?

Example

Set communication interval to 10 sec., communication
recovery wait to 1 sec., and connection hold to 0 sec.
WD10S,1,0

Explanation You can set this command on products with the /M1

MATH function option.

WE

Modbus Client Connection

Settings

Setting

WEp1,p2,p3<terminator>
p1 Server number (01 to 10)
p2 Modbus server name (up to 64

characters)

p3 Port number (1 to 65535)

Query

WE[p1]?

Example

Set server number 1, Modbus server name to
Yokogawa, and port number to 502.
WE1,Yokogawa,502

Explanation • You can set this command on products with the /M1

MATH function option.

• For the characters that can be used for Modbus

server names, see user specified characters in
section 1.3.

• Command to specify the unit number
Firmware version R3.03 or earlier: WE
Firmware version R3.04 or later: WF

See the note in the WF command description.

WF

Modbus Client Command

Settings

Setting

When p2=OFF
WFp1,p2<terminator>
When p2=ON
WFp1,p2,p3,p4,p5,p6,p7,p8,p9<terminator>
p1 Command number (001 to 100)
p2 Command valid/invalid (ON/OFF)
p3 Command types
READ

Load value from Modbus
register of other instrument.

WRITE

Write value to Modbus
register of other instrument

p4 Server number (1 to 10)
p5 Register address
For p3=READ
00001 to 09999 (Firmware version

R3.04 or later)

10001 to 19999 (Firmware version

R3.04 or later)

100001 to 165535 (Firmware version

R3.04 or later)

30001 to 39999
300001 to 365535
40001 to 49999
400001 to 465535
For p3=WRITE
00001 to 09999 (Firmware version

R3.04 or later)

40001 to 49999
400001 to 465535
p6 Data Types
BIT

Bit Data (Firmware version

R3.04 or later)

INT16

Signed 16-bit integer

UINT16 Unsigned 16-bit integer
INT32_B Signed 32-bit integer (from

upper to lower)

INT32_L Signed 32-bit integer (from

lower to upper)

UINT32_B Unsigned 32-bit integer

(from upper to lower. )

UINT32_L Unsigned 32-bit integer

(from lower to upper)

FLOAT_B 32-bit floating decimal

(from upper to lower)

FLOAT_L 32-bit floating decimal

(from lower to upper)

p7 First channel (001 to 060, A001 to

A300, C001 to C300)

p8 Last channel (001 to 060, A001 to

A300, C001 to C300)

p9 Unit number (0 to 225) (Firmware

version R3.04 or later)

Query

WF[p1]?

1.6 Setting Commands (Communication Related)

Advertising