User Manual

Setup
12/06 AWB2724-1584GB
14
Real-time clock
The PLC is provided with a real-time clock that can be accessed in
the user program via functions from the SysLibRTC library. The
functions are described in the PDF file “SysLibRTC”. After the
software is installed, this file can be opened via <Programs l
Moeller Software l easy Soft CoDeSys l Documentation l
Automation Manuals>.
The clock can be read or set using the browser command “getrtc”
and “setrtc”. More information is provided in section “setrtc” on
page 60.
In the event of a voltage loss the clock is backed up for at least 72
hours.
Programming interface for the PC
To connect the controller with a PC, use the cable EU4A-RJ45-
CAB1. The cable should be plugged into the programming
interface (RS232) of the controller. The interface is not electrically
isolated.
The interface is initialised with the following default parameters
when the PLC is started.
Table 5: Default parameters of the RS232 interface
Table 6: Pin assignment of the RS232 programming interface
Transparent mode
The programming interface is addressed as COM1. It can be
switched to Transparent mode using the functions of the library
EC_SysLibCom.lib.
a chapter “RS 232 interface in Transparent mode”, page 71.
Multi-function interface
The controller can alternatively communicate with the following
devices via this interface:
•Memory card
The memory card should be fitted in an adapter which is then fitted
on this slot.
MFD-CP4 multi-function display (MFD)
The MFD is a display with HMI features that is mounted away from
the PLC. It displays the content of the PLC display. Integrated
buttons enable you to send signals to the controller and control
the processing of the program. The MFD can be mounted in a
control cabinet door up to 5 m away from the controller. The
devices are connected with the cable MFD-CP4-800-CAB5.
Terminal/printer
A terminal enables you to display and enter alphanumeric
characters. A printer can also be used to output data. The terminal
is connected to the PLC via an RS232 interface using the EASY800-
PC-CAB cable. The cable with the components for adapting the
PLC signals must be provided with a separate power supply from
the terminal. The signals and pin assignment of the interface must
be implemented in compliance with the RS232 specification. In
order to supply the components in the cable, the RTS signal device
must be set in the (terminal) device, a section
“EASY800-PC-CAB connection cable” on page 101.
The RS232 interface that is addressed with COM2 must be set to
Transparent mode in order to send or receive data to or from the
terminal.
a chapter “RS 232 interface in Transparent mode”, page 71.
The functions for opening and closing the interface and for
sending and receiving data are described in the library
EC_SysLibCom.lib.
Data length 8 bit
Parity None
Stop bits 1
Baud rate 38400 Baud
Signal
1
2
3
4
GND
5 TxD
6
7
GND
8 RxD
12345678