User Manual

12/06 AWB2724-1584GB
71
15 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/COM2 = Multifunction interface) 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).
COM1/COM2:
The Transparent mode is automatically deactivated when the PLC
state changes to STOP mode or when the “SysComClose” function
is accessed.
Figure: 86: Function overview
h
Programming via the RS232 interface (COM1) is not
possible if it is in Transparent mode. For this Transparent
mode must first be deactivated. When Transparent mode
is closed, the original communication parameters are
reinitialised.