beautypg.com

Wa modbus master settings, Wb modbus master command settings – Yokogawa Standalone MW100 User Manual

Page 43

background image

1-36

IM MW100-17E

Example

Set command number to 003, command to valid,
command type to READ, server number to 1, register
address to 30001, data type to INT16, first channel to
C001, last channel to C005, and unit number to 1.
WF003,ON,READ,1,30001,INT16,C001,C005,1

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

MATH function option.

• When p3 is READ, p7 and p8 can only be set to

C001 to C003.

• p7 and p8 can only be set to the same type of

channel.

• If the data type is INT16 or UNIT16, the maximum

number of channels that can be set from first to last
channel is 127. For other data types, the maximum
is 63.

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

See the note below.

Note

The "Unit number" parameter of the WE command under the

firmware version R3.03 has been changed to the WF command

under firmware version R3.04. If settings files are loaded that are

of older or newer version than the firmware version, any extra or

missing parameters will be ignored or added when the settings

are interpreted. For example, users not connected to Modbus

Gateway (users using unit number 255) can obtain the same

operational result even if they load settings files of older or newer

versions. However, users connected to Modbus Gateway (users

using unit numbers other than 255) will have to manually reenter

the unit numbers after loading the settings file.

If an R3.04 or later settings file is loaded with firmware version

R3.03 or earlier

Settings (Firmware version
R3.04 or later)

Interpreted (Firmware
version R3.03 or earlier)

WE01,modbus.server.
com,502

WE01,modbus.server.
com,502,255
The underlined portion is
added to the previous settings.

WF001,ON,READ,01,30001
,INT16,C001,C001,255

WF001,ON,READ,01,30001
,INT16,C001,C001
The underlined parameter is
ignored.

If an R3.03 or earlier settings file is loaded with firmware version

R3.04 or later

Settings (Firmware version
R3.03 or earlier)

Interpreted (Firmware
version R3.04 or later)

WE01,modbus.server.
com,502,255

WE01,modbus.server.
com,502
The underlined parameter is
ignored.

WF001,ON,READ,01,30001
,INT16,C001,C001

WF001, ON,READ,01,3000
1,INT16,C001,C001,255
The underlined portion is
added to the previous settings.

WA

Modbus Master Settings

Setting

WAp1,p2,p3,p4,p5
p1 Communication interval
100mS/200mS/250mS/500mS
1S/2S/5S/10S/20S/30S/40S/50S/60S/90S/

120S

p2 Communication timeout
100mS/200mS/250mS/500mS/1S
p3 Retry count (OFF/1 to 5)
p4 Communication recovery wait (0 to

120)[sec]

p5 Wait between commands (OFF/10 mS/20

mS/50 mS/100 mS)

Query

WA?

Example

Set the communication interval to 500 ms, the
communication timeout to 250 ms, number of retries to
2, communication recovery wait to 30 seconds, and the
gap between commands to 50 ms.
WA500mS,250mS,2,30,50mS

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

MATH function option.

WB

Modbus Master Command

Settings

Setting

When p2=OFF
WBp1,p2
When p2=ON
WBp1,p2,p3,p4,p5,p6,p7,p8

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 Slave address (1 to 247)
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

1.6 Setting Commands (Communication Related)