Write Time Data - Omron KM50 Communications Manual

Smart power monitor
Table of Contents

Advertisement

■ Write Time Data

This service writes the time data. The seconds will be treated as 00.
Execute this service after changing to a Setting Mode.
The internal clock will start as soon as a normal completion is achieve for the write service.
• Service Request PDU
MRC
SRC
Year
0
7
0
2
2
2
• Service Response PDU
MRC
SRC
0
7
0
2
2
2
(1) Time Data
The present time of the internal clock is written 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 Write Time Data
Here, the time is set to 23:59 on January 10, 2010.
Service Request PDU
0 7 0 2 1 0 0 1 1 0 2 3 5 9
MRC
SRC
Service Response PDU
0 7 0 2 0 0 0 0
Response code
MRC
SRC
Month
Day
Hour
2
2
2
2
Response
code
4
Name
Normal completion
Error name
Command too long
Time data
2. 3 Detailed Descriptions of Services
Min-
utes
2
Description
No errors were detected.
Cause
The command is too long.
2-17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents