Chapter 3 General Specifications
3 – 46
Declare instance of the function blocks and necessary variables as below.
By rising edge of xExecute bit of SETDATEANDTIME, data in dtDateAndTime is written to the RTC device.
By rising edge of xExecute bit of GETDATEANDTIME, current date and time is read out to the variable connected to
dtDateAndTime as shown below. When xExecute bit of GETDATEANDTIME is FALSE, dtDateAndTime is default
value 1970-1-1-0:0:0.
3.15.3 Serial communication
Add “SysCom” library by clicking “Add library” on Library manager. Instead of SysCom library, CAA SerialCom can
be used, but a sample program of SysCom library is shown in this manual.