EasyManua.ls Logo

Hitachi EH-D6EAN - Serial Communication

Hitachi EH-D6EAN
170 pages
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...
Chapter 3 Programming
3 87
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. That’s why the current time is copied only when xDone flag is high.
3.25.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.

Table of Contents

Related product manuals