Download Print this page

Mitsubishi Electric MELIPC MI5000 Series User Manual page 24

Hide thumbs Also See for MELIPC MI5000 Series:

Advertisement

2
CLOCK FUNCTION
On this product, the Windows part and VxWorks part have clocks that run independently. This function manages the clock of
the system functions of this product, such as the dates of event history.
2.1
Clock Setting Function
This function sets the clock data of the clock managed by the VxWorks part.
Clock data
The following shows clock data handled by the product.
Name
Year
Month
Day
Hour
Minute
Second
Day of week
Clock data setting
The clock data can be configured as follows.
■MI Configurator
Data is configured by the clock settings of MI Configurator.
[Online]  [Clock Settings]
■C Controller module dedicated function
Data is configured by the C Controller module dedicated function (CCPU_SetRTC).
• Function list
Function name
CCPU_SetRTC
For details on the C Controller module dedicated functions, refer to the following manual.
MELIPC MI5000 Series Programming Manual (VxWorks)
■SNTP Server
Acquires and applies time information from an SNTP server constructed externally. ( Page 30 Time Setting Function
(SNTP Client))
When the clock data is changed, the following operation is performed.
• Milliseconds are reset to 0.
• Clock settings (event code: 24000H) are logged in the event history.
2 CLOCK FUNCTION
22
2.1 Clock Setting Function
Description
Four digits (from 1980 to 2079)
1 to 12
1 to 31 (leap year automatic adjustment)
0 to 23 (24 hours)
0 to 59
0 to 59
Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday
Description
Sets the clock data (local time) of a MELIPC.

Advertisement

loading

This manual is also suitable for:

Melipc mi5122-vw