Read Time Data - Omron KM50 Communications Manual

Smart power monitor
Table of Contents

Advertisement

Section 2 CompoWay/F Communications Protocol

■ Read Time Data

This service reads the time data.
• Service Request PDU
MRC
SRC
0
7
0
1
2
2
• Service Response PDU
MRC
SRC
Response code
0
7
0
1
2
2
(1) Time Data
The present time of the internal clock is read using two digits each for the year (last two
digits), month, day, hour (universal time).
All values from the year through the minutes are given as decimal values.
(2) Response Code
• Normal Completion
Response code
0000
• Error Completion
Response code
1001
● Communications Example for Read Time Data
Here, the time is read as 23:59, January 10, 2010.
Service Request PDU
0 7 0 1
MRC
SRC
Service Response PDU
0 7 0 1 0 0 0 0 1 0 0 1 1 0 2 3 5 9
Response
MRC
SRC
code
2-16
Year
Month
4
2
2
Name
Normal completion
Error name
Command too long
Day
Hour
Min-
utes
2
2
2
Description
No errors were detected.
Cause
The command is too long.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents