KW1M Eco
-
POWER METER
36
7.4 MODBUS (RTU) Communication
7.4.1 Overview of MODBUS (RTU)
◆
8-bit binary data in command is transmitted as it is.
Data format
Start bit
: 1 bit
Data bit
: 8 bits *7bits is not available.
Parity
: No parity, Even parity, Odd parity Selectable
Stop bit
: 1 bit (Fixed)
Error detection
: CRC-16 (Cyclic Redundancy Check)
Data interval
: 3.5 character transmission time or less
◆
Message configuration
RTU mode is configured to start after idle time processing of more than 3.5 character transmissions
and end after idle time processing of more than 3.5 character transmissions.
3.5 idle
characters
Slave
address
Function
code
Data
Error check
CRC-16
3.5 idle
characters
8-bit
8-bit
**
bits
16-bit
Master judges the transmission complete after no command for 4-characters idle time and process the
command.
*Transmission speed and judgment time to complete transmission
Transmission speed (bps)
Judgment time to complete (ms)
38400 about
1.00
19200 about
2.00
9600 about
4.00
4800 about
8.00
2400 about
16.00
◇
Slave address:
Slave address is an individual instrument number on the slave side and is set within the range 1 to 99
(01H to 63H). Master identifies slaves by the slave address of the requested message.
Slave informs master which slave is responding to master by placing its own address in the response
message. Slave address 0 (00H, broadcast address) can identify all slaves connected. However
slaves do not respond.
◇
Function code: Function code is command code for the slave to undertake the following action types.
Function code
Contents
03(03H) DT
Read
06(06H)
DT1 word write
16(10H)
DT several data write
Function code is used to discern whether the response is normal (acknowledgement) or if any error
(negative acknowledgement) has occurred when slave returns response message to master.
When acknowledgement is returned, slave simply returns original function code. When negative
acknowledgement is returned, MSB of original function code is set as 1 for response.
For example, when the master sends request message setting 00H to function code by mistake, slave
returns 80H by setting MSB to 1, because the former is an illegal function.
For negative acknowledgement, the exception codes below are set to data of response message and
returned to master in order to inform it of what kind of error has occurred.
Exception code
Contents
1(01H)
Illegal Function (Non-existent function)
3(03H)
Illegal data value (Value out of the devise numbers)
Содержание AKW1110
Страница 1: ......
Страница 54: ...KW1M Eco POWER METER 46 Chapter 9 Mounting 9 1 Dimensions 9 1 1 AKW1111 Main unit 9 1 2 AKW1110 Main unit ...
Страница 55: ...KW1M Eco POWER METER 47 Panel cutout 9 1 3 Dedicated CT unit mm For 5A 50A AKW4801C tolerance 1 0 ...
Страница 56: ...KW1M Eco POWER METER 48 For 100A AKW4802C For 250A AKW4803C ...
Страница 60: ......