The example contains a library with a function block that decodes a DCF77 time signal.
The library contains a function block decoding a DCF77 time signal and releasing the transmitted
date and time as a DATE_AND_TIME value.
An example project shows the usage of the library with the control CODESYS Control for Raspberry Pi SL.
DCF77_DECODER function block checks whether the transmitted time signal is inverted and then
waits for a mark signaling the beginning of a new time signal. The DCF77 time signal consists of 59 bits.
Since one bit is transmitted per second the function block outputs the first DATE_AND_TIME value after
two minutes at the longest. The DATE_AND_TIME value is updated every minute.
The example project shows the usage of the library with the runtime system CODESYS Control for Raspberry Pi SL
and a DCF receiver. The output of the DCF receiver is connected with a GPIO input of the Raspberry Pi.
|System requirements and restrictions||Info|
|Programming System||CODESYS Development System Version 22.214.171.124 or higher|
|Runtime System||CODESYS Control Version 126.96.36.199|
|Required Accessories||DCF77 Receiver, CODESYS Control for Raspberry Pi SL (for theexample project)|