05/06 AWB2724-1584GB
63
14 RS 232 interface in Transparent mode
In Transparent mode, data is exchanged between the EC4-200
and data terminal devices (e.g. terminals, printers, PCs, measuring
devices) without any interpretation of the data. For this the serial
interface RS 232 (COM1) must be switched to Transparent mode
via the user program.
Functions for opening and closing the interface, for sending and
receiving data, and for setting the interface parameters are
provided for the running of Transparent mode. After opening, the
interface runs with the current communication parameters that
you can adapt by calling the “SysComSetSettings” function.
The functions of Transparent mode are contained in the library
“EC_SysLibCom.lib”. .The library must therefore be included in the
Library Manager. A description of the functions is provided in the
manual “Function Blocks” (AWB2786-1452GB).
Figure 80: Function overview
h
Programming via the RS232 interface (COM1) is not
possible if it is in Transparent mode. Transparent mode
must be shut down first of all. When transparent mode is
closed, the original communication parameters are
reinitialised. The transparent mode is forcibly deactivated
when the PLC state changes to the STOP mode or when
the “SysComClose” function is accessed.