Omron KM50 Communications Manual page 103

Smart power monitor
Table of Contents

Advertisement

Section 4 Modbus Communications Protocol
• Response Codes
Function code
90 hex
10 hex
● Example Command and Response
The following example is for writing data to change the applicable circuit to a single-phase,
two-wire circuit.
(In this case, the slave address is 01 hex.)
Applicable circuit: Single-phase, two-wire
• Address: F000 hex, Write data: 0000 0000 hex
Command:
Response:
4-10
Error
Error name
code
02 hex
Variable
address error
03 hex
Variable data
error
04 hex
Operation error
Normal
completion
01
10
F0 00
00 02
01
10
F0 00
00 02
Cause
The write start address is incorrect.
The variable area number is incorrect.
The address in the variable area is out of
range.
The amount of data does not match the
number of elements.
The byte count does not match the number
of elements.
The write data is out of range.
The Controller cannot write the data in its
present operating status.
No errors were detected.
04
00 00 00 00
F7 AB (CRC-16)
72 C8 (CRC-16)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents