Modbus slave function – Yokogawa Standalone MW100 User Manual
Page 235
5-22
IM MW100-01E
Command settings: Up to 100 commands can be set.
Command items:
Loading channels: C001 toC300
Writing channels:
001 to 060, A001 to A300, C001 to C300
Address:
1 to 247
Input registers:
30001 to 39999, 300001 to 365535
Hold registers:
40001 to 49999, 400001 to 465535
Type:
Type
Description
Int 16
Signed 16-bit integer
Uint 16
Unsigned 16-bit integer
Int 32 - Big
Signed 32-bit integer (from upper to lower. )
Int 32 - Little Signed 32-bit integer (from lower to upper. )
Uint 32 - Big Unsigned 32-bit integer (from upper to lower. )
Uint 32 - Little Unsigned 32-bit integer (from lower to upper)
Float - Big
32-bit floating decimal (from upper to lower. )
Float - Little 32-bit floating decimal (from lower to upper)
If the type is Int 16 or Uint 16, the maximum number of channels that can
be specified for read/write channels is 127. For other types, the maximum is
63.
Bit data values output by Modbus client/master when the command type is set to “Write”
in the Modbus client/master settings, see the followings:
• Values per Modbus Registers (Measurement channel data and MATH channel
data)(page 5-25)
• Values per Modbus Registers (Communication input channel data)(page 5-26)
Modbus Slave Function
Supported function: The functions that the MW100 supports are as follows.
Function Code Function
Operation
1
*
Read statuses of coils (0xxxx)
Reads statuses of a series of coils.
2
*
Read statuses of input relays (1xxxx)
Reads statuses of a series of input
relays.
3
Read values of hold registers (4xxxx)
Reads values of a series of hold
registers.
4
Read values of Input registers (3xxxx)
Reads values of a series of input
registers.
5
*
Turn status of a single coil (0xxxx)
Turns status of a single coil.
6
Write a value to a single hold register
(4xxxx)
Writes a value to a hold register.
8
Loop back test
Returns the same message as the
command message.
15
*
Turn statuses of coils (0xxxx)
Turns statuses of a series of coils.
16
Write values to hold registers (4xxxx)
Writes values to a series of hold
registers.
* Firmware version R3.03 or later
5.2 Main Module (MW100-E) Specifications