Communications Data; End Code Examples - Omron KM50 Communications Manual

Smart power monitor
Table of Contents

Advertisement

Section 2 CompoWay/F Communications Protocol

■ Communications Data

Communications
protocol
CompoWay/F
8-digit hexadecimal

■ End Code Examples

The following examples show the end codes that are returned when the command could not be
processed normally.
Example 1: Sub-address Less Than Two Characters, No SID, and No Command Text
• Command
Node No.
STX
One sub-address character is missing.
• Response
Node No.
STX
The sub-address is 00 and the end code is 14 (format error).
Example 2: No Command Text
• Command
Node No.
STX
• Response
Node No.
STX
The end code is 14 (format error).
Example 3: No Node Number
• Command
STX
One node number character is missing.
• Response
No response is returned.
2-4
Set value
Negative values
(monitor value)
Two's complement
BCC
ETX
Sub-address
End code
0
0
1
Sub-address
0
0
Sub-address
End code
0
0
1
BCC
ETX
Decimal points
Data is converted to hexadecimal without the
decimal point.
Example: 105.0 → 1050 → 0000 041A hex
BCC
4
ETX
SID
BCC
0
ETX
BCC
4
ETX

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents