This library provides function blocks for using serial ports.
As the standardized in- and outputs of the function blocks are described in detail within the ⇘ “CAA 指南”, this item will be omitted here.
Access to a COM device can be activated and configured with the help of ⇘ COM.Open. The function blocks ⇘ COM.Write and ⇘ COM.Read allow writing and reading of data via the serial port. Having read out or written all data the serial port has to be released for other applications by use of ⇘ COM.Close.
All input parameters of the function blocks are stored in local internal variables. This does not apply for the content of input data structures being referenced by a pointer, e.g. pBuffer of ⇘ COM.Read or ⇘ COM.Write.