EasyManua.ls Logo

Scanlab RTC6 PCIe Board - Page 812

Scanlab RTC6 PCIe Board
1004 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
812
innovators for industry
Ctrl Command time_update
Function Sets the 24-hour clock and calendar of the RTC6 board to the current PC time.
Call
time_update()
Comments time_update must be called after each load_program_file, if 24-hour clock and
calendar of the board are to be synchronized with the PC time.
The base value for internal time counting is set to January 1, 2000, 00:00 by
load_program_file whereas to the PC time by time_update. An internal seconds
counter is set to 0 by load_program_file or by time_update, but is always driven by
the quartz-controlled 10 µs clock.
Before marking with mark_date or mark_time, you must call time_fix, time_fix_f or
time_fix_f_off so that the current time can be captured (as sum of the base value and
the current value of the internal seconds counter) and formatted.
The RTC6 Ethernet Board a real-time clock. Therefore, time_update must be called
only once. time_update takes several hundred µs. During this time the
10 µs clock cycle of the RTC6 Ethernet Board is interrupted. Therefore, time_update
should not be called during list processing. The clock continues to run even if the
power supply is switched off (> about 1 week). See also time_control_eth.
RTC4RTC6 New command.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
Last change DLL 612, ETH 612, RBF 617: real-time clock of the RTC6 Ethernet Board.
References time_fix, time_fix_f, time_fix_f_off, mark_date, mark_time, time_control_eth

Table of Contents