0% found this document useful (0 votes)
25 views82 pages

Ec 4200

This document provides safety instructions and guidelines for working with programmable logic controllers and automation devices. It outlines important steps to take before installation such as disconnecting power, ensuring isolation, and covering live neighboring units. The document also describes safety measures that should be implemented like emergency stop devices, limit switches, and measures to ensure proper restart after failures.

Uploaded by

Mitja Maver
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views82 pages

Ec 4200

This document provides safety instructions and guidelines for working with programmable logic controllers and automation devices. It outlines important steps to take before installation such as disconnecting power, ensuring isolation, and covering live neighboring units. The document also describes safety measures that should be implemented like emergency stop devices, limit switches, and measures to ensure proper restart after failures.

Uploaded by

Mitja Maver
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 82

Rückenbreite bis 10 mm (1 Blatt = 0,106 mm, gilt nur für XBS)

Programmable Logic Controller

Bedienungshandbuch
easy Control
EC4-200

Moeller GmbH
Industrieautomation
Hein-Moeller-Straße 7–11
D-53115 Bonn

E-Mail: info@moeller.net
Internet: www.moeller.net

© 2002 by Moeller GmbH


Änderungen vorbehalten
AWB2724-1584D xx/xx/Ki 05/06
Printed in the Federal Republic of Germany (0x/02)
Article No.: xxxxxx

4 *patpks#nycmyn*

Hardware, Engineering and


Function Description
05/06 AWB2724-1584GB

A
Think future. Switch to green.
A
Think future. Switch to green.
Rückenbreite festlegen! (1 Blatt = 0,106 mm, gilt nur für XBS)

All brand and product names are trademarks or registered


trademarks of the owner concerned.

1st edition 2006, edition date 05/06


© Moeller GmbH, 53105 Bonn

Author: Peter Roersch


Production: Thomas Kracht
Translation: Terence Osborn

All rights reserved, including those of the translation.

No part of this manual may be reproduced in any form


(printed, photocopy, microfilm or any other process) or processed,
duplicated or distributed by means of electronic systems without
written permission of Moeller GmbH, Bonn.

Subject to alteration without notice.


Warning!
Dangerous electrical voltage!

Before commencing the installation

• Disconnect the power supply of the device. • Ensure a reliable electrical isolation of the low voltage for the
24 volt supply. Only use power supply units complying with
• Ensure that devices cannot be accidentally restarted.
IEC 60364-4-41 (VDE 0100 Part 410) or HD 384.4.41 S2.
• Verify isolation from the supply.
• Deviations of the mains voltage from the rated value must
• Earth and short circuit. not exceed the tolerance limits given in the specifications,
otherwise this may cause malfunction and dangerous
• Cover or enclose neighbouring units that are live.
operation.
• Follow the engineering instructions (AWA) of the
• Emergency stop devices complying with IEC/EN 60204-1 must
device concerned.
be effective in all operating modes of the automation devices.
• Only suitably qualified personnel in accordance with Unlatching the emergency-stop devices must not cause restart.
EN 50110-1/-2 (VDE 0105 Part 100) may work on
• Devices that are designed for mounting in housings or control
this device/system.
cabinets must only be operated and controlled after they have
• Before installation and before touching the device ensure been installed with the housing closed. Desktop or portable
that you are free of electrostatic charge. units must only be operated and controlled in enclosed
housings.
• The functional earth (FE) must be connected to the protective
earth (PE) or to the potential equalisation. The system installer • Measures should be taken to ensure the proper restart of
is responsible for implementing this connection. programs interrupted after a voltage dip or failure. This should
not cause dangerous operating states even for a short time.
• Connecting cables and signal lines should be installed so
If necessary, emergency-stop devices should be implemented.
that inductive or capacitive interference does not impair the
automation functions. • Wherever faults in the automation system may cause
damage to persons or property, external measures must be
• Install automation devices and related operating elements in
implemented to ensure a safe operating state in the event of
such a way that they are well protected against unintentional
a fault or malfunction (for example, by means of separate limit
operation.
switches, mechanical interlocks etc.).
• Suitable safety hardware and software measures should be
implemented for the I/O interface so that a line or wire
breakage on the signal side does not result in undefined
states in the automation devices.
Safety instructions
Moeller GmbH

1
2
05/06 AWB2724-1584GB

Tables of contents

About This Manual 5


Additional documentation 5
Writing conventions 5
– Type overview 7
Inputs 9
– Inputs of the rocker and function buttons 10
– Diagnostics inputs 10
– Inputs for high-speed counters 10
Outputs 10
Memory card (MCC) 11
– Memory card data 11
– Data access on the memory card 11
LED status indication for RUN/STOP/SF and CAN/NET 11
Real-time clock 12
Programming interface for the PC 12
Universal interface 12
CAN(open) interfaces 13
Mounting on top-hat rail 15
Mounting on mounting plate 15
Connecting the power supply 17
Connecting digital inputs 18
Connecting analog inputs 18
– Setpoint potentiometer 18
– Temperature sensor 19
– 20 mA sensor 19
Connecting pulse transmitters/incremental encoders 20
– Pulse transmitter 20
– Connecting the incremental encoder 20
Connecting outputs 21
– Connecting relay outputs 21
Connecting transistor outputs 22
– EC4P-221/222-MT…, EASY6…-DC-TE 22
Memory card, CAN/easy-NET, PC connection 23
– Fitting or removing the memory card 23
– CAN/easy-NET, PC connection 23
Keypad 25
Selecting menus and entering values 25
Selecting or toggling between menu items 25
– Cursor display 25
– Set value 25
Choosing the main and system menu 26
– Status display 26
– Status display with time 26
Menu structure 27
– Main menu without password protection 27
– Main menu with password protection 28
– System menu 28
Password protection 29
– Password setup 29
– Selecting the scope of the password 29
– Activating the password 29
– Access with password protection 29
– Changing or deleting the password range 30
Changing the menu language 31
Setting date and time 31

1
Tables of contents 05/06 AWB2724-1584GB

Startup behaviour 31
– Setting the startup behaviour 31
Setting LCD contrast and backlight 31
Representation of the inputs/outputs in the configuration 33
Displaying the inputs/outputs 33
Changing the folder function 33
General technical data 35
– Overview of memory sizes 35
– Memory definition 35
Startup behaviour 35
– Startup behaviour with boot project on the
memory card 35
Setting the startup behaviour in the programming
software 37
Program START/STOP 37
– Program start (STOP l RUN) 37
– Behaviour after shutdown/interruption of the
power supply 37
– Program stop (RUN l STOP) 37
– Starting/stopping the program via external switch 38
Program processing and system time 38
Cycle time monitoring 38
Reset 38
– Warm reset 38
– Cold reset 38
– Hard reset 38
– Restoring factory settings (factory set) 38
– Behaviour of variables after Reset 39
Test and commissioning 39
– Breakpoint/single-step mode 39
– Single cycle mode 39
– Forcing variables and inputs/outputs 39
– Status display in the programming software 39
High-speed counters 39
– 32-bit counter 39
– 16-bit counter 40
Incremental input 40
– Explanation of the input/output signals (I/Q) 41
– Overview of input/output signals (I/Q) 41
– Functions of the input/output signals 41
– Referencing: 42
System events 42
– START, COLD START, WARM START, STOP 42
– Interrupt inputs I1 to I4 43
– Counter interrupt 43
– Timer interrupt 43
Interrupt processing 45
– Steps for interrupt processing 45
– Example of interrupt processing 45
Generating and transferring a boot project 46
– Storing the boot project on a memory card 47
– Boot project and operating system (OS)
on memory card 47
– Deleting the boot project 47
Downloading/updating the operating system 47
– Transferring the operating system from the PC to PLC 47
– Transferring the OS from PC to the memory card 48
– Transferring the OS from the memory card

2
05/06 AWB2724-1584GB Tables of contents

to the controller 48
– canload 50
– setrtc 50
Using libraries 51
Installing other system libraries 51
EC4-200 specific functions 52
– EC_Util.lib library 52
– EC_Visu.lib library 52
Communication parameters of the PC 55
Communication parameters (baud rate) of the CPU 55
Overview 57
Structure of the INI file 57
Creating the Startup.INI file 57
Switching on the controller with the fitted memory
card containing the Startup.INI file 57
Changing parameters 58
Deleting the Startup.INI file 58
Requirements 59
Routing features of the controller 59
Routing through XC200 59
Notes on routing 60
Addressing 60
Procedure 61
PLC combinations for routing 62
Number of communication channels 62

Appendix 65
CAN/easy-NET network 65
– Accessories 65
Example program for PLC START/STOP using
external switch 66
Dimensions and weight 67
Technical data 68
– Transistor outputs 73

Index 75

3
05/06 AWB2724-1584GB

4
05/06 AWB2724-1584GB

About This Manual

Additional documentation Writing conventions


At different points in this manual, references are made to more Select ‹File r New› means: activate the instruction “New” in the
detailed descriptions in other manuals. These are described with “File” menu.
their title and documentation number (e.g. AWB2700-1437GB).
All manuals are available in PDF format. If for some reason the h Draws your attention to interesting tips and
supplementary information.
manual is not supplied on the product CD, it is available for
download as a PDF file. Go to http://www.moeller.net/support
Attention!
and enter the document number in the Quick Search field. h Warns of the risk of material damage.
Concrete information regarding communication with CAN stations
and their configuration can be found in the following listed Caution!
documentation: i Warns of the possibility of serious damage and slight
• AN27K19GB: Communication between two PLCs using injury.
network variables via CAN
Warning!
• AN27K20GB: Coupling multiple stand-alone PLCs
(CAN-Device) via CANopen
j Indicates the risk of major damage to property, or serious
• AN27K27GB: Engineering of CAN stations or fatal injury.
• AWB2786-1554: Library description CANUser.lib,
For clarity of layout, we adhere to the following conventions in this
CANUser_Master.lib.
manual: at the top of left-hand pages you will find the Chapter
heading, at the top of right-hand pages the current Section
heading; exceptions are the first pages of Chapters and empty
pages at the end of Chapters.

5
05/06 AWB2724-1584GB

6
05/06 AWB2724-1584GB

1 Device application

The controllers of the EC4-200 series are programmable switching


and control devices. They can be used in domestic applications,
machine building and plant construction. An EC4-200 controller
can be used as a stand-alone PLC or connected to remote input/
output devices via the CANopen interface. This interface also
allows you to communicate with other PLCs (with a CANopen
interface). The controller is programmed with the easy Soft
CoDeSys programming software. This software should be installed
on a standard PC with the Windows NT, 2000 or XP operating
system. Further information on the software is provided in the
manual AWB2700-1437GB.
This software provides you with a simple entry in the IEC
programming languages such as:
• Instruction List (IL)
• Function Block Diagram (FBD)
• Ladder Diagram (LD)
• Structured Text (ST)
• Sequential Function Chart (SFC).

This provides a large number of operators such as:


• Logic operators such as AND, OR, …
• Arithmetic operators such as ADD, MUL, …
• Comparison operators such as <,=, >

You use the programming software to create, test and document


a project. Functions for analog processing, closed-loop control and
function blocks such as timers, counters simplify programming.

Type overview
The EC4-200 series consists of a range of controllers that come
with different displays and types of inputs/outputs.

Type Features
Keys/ Transistor Relay
display outputs outputs

EC4P-221-MTXD1 x 8 –
EC4P-221-MTXX1 – 8 –
EC4P-221-MRXD1 x – 6
EC4P-221-MRXX1 – – 6

7
05/06 AWB2724-1584GB

8
05/06 AWB2724-1584GB

2 Setup

Inputs
c
a b d Table 1: Type and number of inputs
e Digital 12 (I1…I12) 24 V DC
f
g Of which can be used 4 (I7, I8, I11, I12) 24 V DC/0…10 V
RUN CAN/
as analog
STOP
SF
NET
h
r i
q j Inputs I7, I8, I11, I12 can also be used as analog inputs. They are
k selected in the user program by means of the appropriate syntax
p l used in the PLC configurator.
o
Q1 Q2 Q3 Q4 Q5 Q6

Figure 1: Front of the EC4P-221-MRAD1,


Legend a figure 2

c
a b d
e
f
RUN CAN/
g
STOP
SF
NET
h
r i
q j
k
p l
o Figure 3: Selection between digital and analog input, e.g. I7
+24V 0V Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8

n When programming the inputs as digital inputs in the user


program, the input voltage of 8°V forms the limit value for the
Figure 2: Front of the EC4P-221-MTAD1 TRUE/FALSE signals.
a 24 V DC power supply
Voltage [V] State
b Inputs
c Interface for connecting the CAN network
F8 FALSE
d Analog output, 0 – 10 V (not active)
e DEL button >8 TRUE
f ALT button
Technical data: a Appendix
g RUN/STOP/SF LED
h CAN/NET LED Inputs I1, I2, I3, I4 can be used for:
i Field for device labelling • generating interrupts (inputs I1, I2, I3, I4)
j Interface for expansion (not active) • controlling high-speed counters such as:
k Programming interface for connection to a PC – 16 or 32-bit counters, for counting pulses (I1, I2), up/down
l Universal interface for adapter with memory card counting
m Relay outputs – Incremental counters, 32-bit, for processing the signals of an
n Transistor outputs incremental encoder (I1, I2, I3, I4).
o OK button
p ESC button The function is selected in the PLC configuration. However, several
q LCD display (EC4P-22x-M…D1)
functions cannot be used at the same time.
r Four-way rocker switch with function buttons P1-P4

9
Setup 05/06 AWB2724-1584GB

Example: If you are using input I1 for a high-speed counter (16- Diagnostics inputs
bit), I2 can be used for another high-speed counter (16-bit) but not
The inputs I13, I14, I15, I16 provide you with additional
for generating an interrupt. Inputs I3 and I4 likewise cannot be
information:
used for generating an interrupt.
Connection description a figure 19 on page 20. Input Function

I13 No function
Inputs of the rocker and function buttons I14 Connection to the expansion device via easy-Link (not yet
active in the operating system version 1.x):
The front plate of the device is provided with the function buttons
0: ok, 1: not ok
DEL, ALT, ESC, OK which are arranged around the rocker switch.
The rocker switch is divided into 4 sections with the designations I15 Outputs Q1, Q2, Q3, Q4:
P1 to P4. The function buttons and the rocker buttons P1 to P4 are 0: No short-circuit, 1: Short-circuit
represented in the PLC configuration as inputs. Their symbolic I16 Outputs Q5, Q6, Q7, Q8:
names correspond to the name of the button or rocker section, e.g. 0: No short-circuit, toggle: Short-circuit
P1. These inputs are scanned in the program according to general
syntax rules. Only one button can be actuated at a time, otherwise The inputs can be scanned in the program with symbolic operands.
uncontrolled states may occur when the P buttons are scanned.

Inputs for high-speed counters


P2
You can choose between several different functions:
DEL ALT
• 1 x 32-bit counters, for counting pulses (up/down)
P1 P3 • 2 x 16-bit counters, for counting pulses (up/down); the count
ESC OK direction (up/down) can be set via the DIRECTION operand in
the program.
P4 • 1 x incremental value counter, 32-bit, for processing the signals
of an incremental encoder; the count direction is set by the edge
Figure 4: Rocker switch with rocking ranges P1, P2, P3, P4 sequence of the encoder.

You can select the counter type in the PLC configuration.


The function of the high-speed counter requires the setting of
inputs and the scanning of outputs in a POU, e.g. PLC_PRG.
This POU must not be called by an interrupt generated by a
counter.
For further information see section “High-speed counters”,
page 39.

Outputs

Table 2: Type and number of outputs


EC4P-221/222-MT… 8 (Q1…Q8) 24 V DC/0.5 A
transistor outputs
EC4P-221/222-MR… 6 (Q1…Q6) 250 V AC/8 A
relay outputs

Figure 5: Inputs of the rocker and function buttons The transistor outputs are provided with a short-circuit monitoring
function . In the event that a short-circuit occurs at one of the
outputs, this is indicated via the diagnostics inputs I15/I16. I15 is
The “GetDisplayInfo” function block from the “EC_Visu.lib set to 1 if a short-circuit occurs at the outputs Q1 to Q4. Input I16
library” enables you to control the scanning of the buttons is toggled if a short-circuit occurs on Q5 to Q6.
according to the active menu on the controller, a section
“EC_Visu.lib library”, page 52.

10
05/06 AWB2724-1584GB Memory card (MCC)

Caution! Scan I15/I16 in the program. In the event of a LED status indication for RUN/STOP/SF and CAN/NET
i short-circuit set the outputs to 0 in order to prevent the After power up, the CPU can switch to the following states, as
thermal overload of the output circuit. indicated by the LEDs:

Table 3: LED status indication


Memory card (MCC)
LED Meaning/CPU status
The memory card is used for data storage and supports the FAT16
file system. RUN/STP/SF CAN/NET
Red Red1) System test being run (up to 6 seconds after
start; after 6 seconds if no user program is
Memory card data present).
On the memory card you can save the following data: CPU in NOT READY!
Orange Orange1) System update in progress
Data Transfer method
Red OFF1) System test finished without error
Boot project Browser command: copyprojtommc
Red Red System test found a fault
Startup.INI file Browser command: createstartupini Flashing Flashing1)
Operating system (OS) Updating the OS, a page 47 Orange OFF No user program present
Source code of the Online mode/Online menu: load source CPU in NOT READY
project code Green – User program loaded
General data Online mode/Online menu: Flashing CPU in STOP
Write file to PLC Green – User program loaded
Load file from PLC CPU in RUN

A brief description of the browser commands is provided from Red – Cycle time exceeded
page 49. CPU in STOP
Orange – Continuous loop detected in program
Attention! In order to avoid any loss of data, ensure that Flashing CPU in STOP
h you have closed all files of the program before removing / Red Red Fatal error
inserting the memory card or switchingoff the power Flashing Flashing
supply.
1) LED is only relevant during startup/system test

Data access on the memory card If the CPU is in RUN status, the CAN/NET LED indicates the
following states:
Functions such as “FileOpen” or “FileRead” allow you to access
the files of the memory card from the user program. These Table 4: LED status indication for CAN/easy NET
functions are provided in the library “EC_File.lib” and are
LED Meaning
described in the “Function Blocks” manual (AWB2786-1456GB).
RUN/STP/SF CAN/NET
Green OFF Communication not active
Green Red Bus status STOP
Green Orange Bus status PREOPERATIONAL
Station can be initialised
No process data transferred
Green Green Bus status “OPERATIONAL”
Process data transferred

11
Setup 05/06 AWB2724-1584GB

Real-time clock Universal interface


The PLC is provided with a real-time clock that can be accessed in This interface is used for communication between the PLC and a
the user program via functions from the “SysLibRTC library”. The memory card. The memory card should be fitted in an adapter
functions are described in the PDF file “SysLibRTC”. After the which is then fitted on this slot.
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” RUN
STOP
CAN/
NET
SF
and “setrtc”. More information is provided in section “setrtc” on
page 50.
a
The clock is backed up for at least 72 hours in the event of a power b
failure.

Programming interface for the PC


To connect the controller with a PC, use the cable EU4A-RJ45- d c
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.
PC
(RS 232)
Table 5: Default parameters of the RS232 interface
Data length 8 Bit Figure 6: Universal interface/Memory card socket

Parity None
a Programming interface for connection to a PC
Stop bits 1 b Universal interface
Baud rate 38400 Baud c EU4A-RJ45-CAB1 cable
d Adapter with memory card
Table 3: Pin assignment of the RS232 programming interface

Signal
1 –
1 2 3 4 5 6 7 8
2 –
3 –
4 GND
5 TxD
6 –
7 GND
8 RxD

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 63.

12
05/06 AWB2724-1584GB CAN(open) interfaces

CAN(open) interfaces
The PLC is provided with a CAN interface with two slots that are
internally connected via terminals.
GND(GROUND)

SELECT_OUT
SELECT_IN

(E)CAN_H
(E)CAN_L

4 3 2 1 4 3 2 1

8 1 8 1

1 NET 2

Figure 7: CAN interfaces

CANopen
The CAN interface is designed as a CANopen interface in
compliance with the CIA specification DS301V4.0. The PLC can be
operated both as an NMT master as well as a CAN device on CAN
networks. When used as a CAN device the PLC requires an address
(= Node ID) for identification on the bus. The configuration of the
master and the device are carried out in the PLC configuration.
a section “CAN/easy-NET network”, page 65.

13
05/06 AWB2724-1584GB

14
05/06 AWB2724-1584GB

3 Mounting

Install the PLC in a control cabinet, a service distribution board or Mounting on top-hat rail
in an enclosure so that the power supply terminals and other
terminals are protected against direct contact during operation. X Place the device diagonally on the upper lip of the top-hat rail.
Press down lightly on both the device and the top-hat rail until
The PLC can be installed vertically or horizontally on a top-hat rail the unit snaps over the lower edge of the top-hat rail. The
in compliance with IEC/EN 60715 or on a mounting plate using spring mechanism should ensure that the device snaps into
fixing brackets. position automatically.
Ensure that the terminal side has a clearance of at least 3 cm from X Check that the device is seated firmly.
the wall and from neighbouring devices in order to simplify wiring.

1
30
30

Figure 9:

The device is mounted vertically on a top-hat rail in the same way.


.

30 30 Mounting on mounting plate


Fixing brackets that can be inserted on the rear of the device are
required for screw mounting. The fixing brackets are available as
an accessory.

h Three fixing brackets are sufficient for a device with four


fixing points.

Figure 8: Observing the clearances for wiring


!
CK
CLI

Figure 10: Inserting a fixing bracket

15
05/06 AWB2724-1584GB

Figure 11: Screw fixing the EC4-200

16
05/06 AWB2724-1584GB

4 Installation

Connecting the power supply

L01 +

L01 –

F1

...
...V 0V 0V I1 I2 I3 I4 I5 I6 I7
DC : +24 V

Figure 12: Connect the power supply, the two 0 V terminals are
connected internally!

h Die EC4-200 is protected against polarity reversal.

h The necessary connection data is provided in chapter


“Technical data”, page 68.

Cable protection
Protect the supply cables with a miniature circuit-breaker or at
least a 1A (slow blow) fuse (F1).

h The controller behaves like a capacitor the first time it is


powered up. The switching device and the supply device
for switching on the power supply must be designed for
this, i.e. no Reed relay contacts, no proximity switches.

17
Installation 05/06 AWB2724-1584GB

Connecting digital inputs h Ensure that the reference potential is galvanically


Use input terminals I1 to I12 to connect pushbutton actuators, connected. Connect the 0 V of the power supply unit for
switches or 3 or 4-wire proximity switches. Given the high residual the setpoint potentiometer and various sensors shown in
current, do not use 2-wire proximity switches. the examples with the 0 V of the power supply.

L01⫹ Setpoint potentiometer


L01⫺

L01⫹
F1
L01⫺

F1 h
H
... 0V +12 V

...V 0V 0V l1 I2 l3 I4 l5 I6 I7

...
24 V 0V 0V I1 I2 I3 I4 I5 I6 I7

Figure 13: Connecting digital inputs

Figure 14: Setpoint potentiometer

Connecting analog inputs


Use a potentiometer with the resistance F 1 kO, e.g. 1 kO, 0.25 W.
Inputs I7, I8, I11 and I12 can also be used to connect analog
voltages ranging from 0 V to 10 V.
L01⫹
The resolution is 10-bit = 0 to 1023. L01⫺

Caution!
i
1.3 kO/0.25 W
F1
Observe the following when laying and connecting analog 1 kO/0.25 W
cables:

X Use shielded twisted pair cables to prevent interference with


the analog signals. ...
X With short cable lengths, ground the shield at both ends using 24 V 0 V 0V I1 I2 I3 I4 I5 I6 I7
a large contact area. If the cable length is more than around 30
m, grounding at both ends can result in equalisation currents
between the two grounding points and thus in the interference Figure 15: Setpoint potentiometer with upstream resistor
of analog signals. In this case, only ground the cable at one end.
X Do not lay signal lines parallel to power cables.
X Connect inductive loads that you are switching via the outputs L01⫹
to a separate power supply or use a suppressor circuit for L01⫺
motors and valves. If the controller is run with motors, solenoid h
12 V
valves or contactors via the same power supply, the switching H
0...10 V
may cause interference on the analog input signals. F1
0V +12 V
0V

The following circuits show examples of analog measuring


applications.
...
24 V 0 V 0V I1 I2 I3 I4 I5 I6 I7

Figure 16: Brightness sensor

18
05/06 AWB2724-1584GB Connecting analog inputs

Temperature sensor 20 mA sensor


A 4 to 20 mA (0 to 20 mA) sensor can be connected easily with an
L01⫹
external 500 O resistor.
L01⫺

+24 V H +24 V H
L01⫹
F1 0V 0V L01⫺
Out Out
–35...55 ˚C 0...10 V –35...55 ˚C 0...10 V a
F1 4...20 mA

500 O
24 V 0 V 0V I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11 I12 0V

...
Figure 17: Temperature sensor 24 V 0V 0V I1 I2 I3 I4 I5 I6 I7

Figure 18: 20 mA sensor

a Analog sensor

The following values apply:


• 4 mA = 1.9 V
• 10 mA = 4.8 V
• 20 mA = 9.5 V
(according to U = R x I = 478 O x 10 mA ~ 4.8 V)

19
Installation 05/06 AWB2724-1584GB

Connecting pulse transmitters/incremental encoders Connecting the incremental encoder

Inputs I1 to I4 are designed so that high-speed signals from pulse


L01 +
transmitters/incremental encoders can be counted.
L01 –
The following connection options are possible: L02 +

• 1 x pulse transmitters (32-bit) F1

• 2 x pulse transmitters (16-bit)


• 1 x incremental encoder (32-bit).

K1
Pulse transmitter
A B C

L01 +

L01 –

L02 +
...V 0V 0V I1 I2 I3 I4 I5 I6
F1

24 V H

Figure 20: Connecting the incremental encoder

A,B: square-wave incremental signals that have a 90 degree phase shift


C: Reference signal
K1: Reference window switch

...V 0V 0V I1 I2 I3 I4 I5 I6

24 V H

Figure 19: Connecting a pulse transmitter

The figure shows the connection of a pulse transmitter which


sends pulses to input I1. An internal counter processes the pulses.
You can choose between a 16-bit counter (max. 65535) and a
32-bit counter (max. -1). The pulse transmitter for the 32-bit
counter must only be connected to I1. Only if a 16-bit counter
was used at I1, can another pulse transmitter (16-bit) be
connected to I2.

20
05/06 AWB2724-1584GB Connecting outputs

Connecting outputs
The relay or transistor outputs can be used to switch loads, such
as fluorescent tubes, filament bulbs, contactors, relays or motors.
Prior to installation observe the technical limit values and data for
the outputs (a page 72, 73).

Connecting relay outputs


EC4P-221/222-MR…, EASY6..-DC-RE

1 2 1 2 1 2 1 2 1 2 1 2 R
Q1 Q2 Q3 Q4 Q5 Q6
24 V H 8 A 2A
10 000 000
115 V h 8 A 2A
230 V h 8 A 2A

1000 W

0 V H, N 10 x 58 W
25 000

F 8 A/B 16
L1, L2, L3 (115/230 V h)
+ 24 V H

Figure 21: Relay outputs EC4P-221/222-MR…

Unlike the inputs, you can connect the EC4P-221/222-MR…,


EASY6..-..RE relay outputs to different phase conductors.

Caution!
i Do not exceed the maximum voltage of 250 V AC on a
relay contact. If the voltage exceeds this threshold,
flashover may occur at the contact, resulting in damage to
the device or a connected load.

21
Installation 05/06 AWB2724-1584GB

Connecting transistor outputs

EC4P-221/222-MT…, EASY6…-DC-TE

F 10 A F 10 A

24 VQ 0 VQ Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8

f 2.5 A
S1 S2 S3 S4 S5 S6 S7 S8 24 VQ 0 VQ

0VH

f 2.5 A

EC4P-221/222-MT… easy6…-DC-…

R L R L

24 V H 0.5 A 0.5 A + 24 V H 24 V H 0.5 A 0.5 A


(20.4 – 28.8 V H)
Q1 – Q4 3W
24 V 5 W/24 V
Q5 – Q8 5W

Figure 22: Transistor outputs EC4P-221/222-MT…, EASY6..-DC-TE

Parallel connection:
+ 24 V H
Up to four outputs can be connected in parallel in order to increase
the output power. This enables a maximum output current of 2 A. Uemax < UZ < 33 V

Q., S. Q., S.
Caution!
i Note the following when disconnecting inductive loads:
Suppressed inductive loads cause less interference in the
entire electrical system. Connecting the suppressor circuit
as close to the inductance as possible is recommended. 0VH

Caution!
i Only outputs of the same group (Q1 to Q4 or Q5 to Q8)
Figure 23: Inductive load with suppressor circuit

can be connected in parallel; e.g. Q1 and Q3 or Q5, Q7


Behaviour in the event of a short-circuit/overload
and Q8. Outputs connected in parallel must be switched
A transistor output will switch off in the event of a short-circuit or
at the same time.
overload. The output will switch back on up to the maximum
The following must be observed if inductive loads are not provided temperature after a cooling time that depends on the ambient
with a suppressor circuit: Several inductances must not be temperature and the current level. If the fault continues, the
switched off simultaneously in order to avoid the risk of the driver output will switch off and on until the fault is rectified or the power
modules overheating. If the +24V DC power supply is supply is switched off.
disconnected via a contact in the event of an Emergency-Stop, and
if in this case more than one triggered output with an inductive
load may be switched off, these inductive loads must be provided
with a suppressor circuit (a following figures).

22
05/06 AWB2724-1584GB Memory card, CAN/easy-NET,
PC connection

Memory card, CAN/easy-NET, PC connection


To fit a memory card or establish a CAN/easy-NET or PC
1
connection the protective cap must be removed first of all.
2

Figure 26: Fitting/removing the memory card

CAN/easy-NET, PC connection
X Fit the plug for the CAN/easy-NET connection into the opening
at the top of the device a.
X Fit the plug for the PC connection in the opening on the bottom
right on device b.

Figure 24: Removing the protective cap/adapter: top: for CAN/easy-


NET connection bottom left: adapter for memory card
bottom right: PC connection
a

Fitting or removing the memory card


The memory card is located in adapter c.

Figure 27: Plugs for CAN/easy-NET connection a and the PC


connection b
c
h For further information see a section “CAN/easy-NET
network”, page 65.

Attention!
Figure 25: Adapter with memory card h Protect the EC4-200 and memory card from electrostatic
discharge in the following manner: Discharge yourself of
X To fit the memory card, press it until it snaps into position. electrostatic charge by touching a grounded surface
X To remove the memory card, press it until it is released. before fitting or removing the memory card.

23
05/06 AWB2724-1584GB

24
05/06 AWB2724-1584GB

5 Operation

The following chapter describes the operation of the buttons and Selecting or toggling between menu items
the display on the front plate.
PROGRAM
Cursor Í Ú
STOP
PARAMETER
Keypad SET CLOCK

L ALT DEL: Delete Select or toggle


DE OK
ALT: Special function, status display
Cursor buttons ú í Í Ú:
Move cursor Cursor display
Select menu items
Set numbers and values HH:MM '04:23 The cursor flashes.
DD.MM ?05.05?
ES
Full cursor Ê/:
C OK OK: Next menu level, Save your entry YEAR 2003

• Move cursor with ú í Í Ú


ESC: Previous menu level, Cancel

Value M/ M
HH:MM 14:23
• Change position with ú í
Selecting menus and entering values DD.MM ?05.05?

and Show System menu


YEAR 2003
• Change values with Í Ú
DEL ALT Flashing values/menus are shown in grey
Move to next menu level in this manual.
OK
Call menu item
Activate, change, store entries Set value
Move to previous menu level
Select value Í Ú
ESC
Cancel entries since last OK HH:MM 14:23

Í Change menu item


DD.MM ?03.10? Select digit ú í
Ú Change value
YEAR 2002
Change value at digit ÍÚ
ú í Change place
P button function: OK
Store entries
Values
ú Input P1, Í Input P2 Places
í Ú
Retain previous value
Input P3 Input P4 Value at place ESC

25
Operation 05/06 AWB2724-1584GB

Choosing the main and system menu

Status display

I 0.2..5 .
MC
DEL and ALT
MO 02:00 WS
Q ..34 . STOP

No
OK ESC ESC password

Current PROGRAM SECURITY


selection STOPå RUN SYSTEM
SET CLOCK STARTPARAMETER..
flashes in INFORMATION MENU LANGUAGE...
menu
1st menu level 1st menu level
Main menu System menu

Status display with time

Inputs I 12 .

MC Memory card fitted


Weekday/Time MO 02:00 WS Startup behaviour: WS = Warm start, CS = Cold start, ST = Stop
Outputs Q ..34 . STOP Operating state: RUN/STOP
On: 1, 2/Off: 3, 4…

ALT
Status display with date

Inputs I 12
ESC
Weekday/date MO 01.04.2006 WS

Outputs Q ..34 . RUN

ALT
Advanced Status display

I 12 6.89..12
ID ..
ID = Not implemented
I ..15.R . WS
I = Diagnostics inputs R = Not implemented
Q 12345678 RUN

I13 = No meaning
I14 = 1, if no Link expansion
I15 = 1, if short-circuit on output Q1, Q2, Q3 or Q4
I16 = toggles if short-circuit on output Q5, Q6, Q7 or Q8

26
05/06 AWB2724-1584GB Menu structure

Menu structure

Main menu without password protection


X You access the main menu by pressing OK.

Main menu * Only use in STOP

PROGRAM *) BOOTPROJECT * MEMORY->FLASH REPLACE? BOOTPROJECT


STOP å RUN RESET FLASH->CARD IS
SET CLOCK DELETE CARD->FLASH STORED
INFORMATION

MEMORY->FLASH REPLACE? BOOTPROJECT


FLASH->CARD IS
CARD->FLASH STORED

MEMORY->FLASH REPLACE? BOOTPROJECT


FLASH->CARD IS
CARD->FLASH STORED

BOOTPROJECT RESET WARM


RESET RESET COLD
DELETE

BOOTPROJECT RESET HARD DELETE ?


RESET DELETE CARD
DELETE

RESET HARD DELETE ?


DELETE CARD

PROGRAM
STOP å RUN
SET CLOCK...
INFORMATION

PROGRAM SET CLOCK HH:MM 14:23


STOP å RUN DD.MM ?03.10?
SET CLOCK YEAR 2001
INFORMATION

PROGRAM EXAMPLE:
STOP å RUN EC4P-222-MTAD1
SET CLOCK OS :V01.00
INFORMATION BUILD:1002

27
Operation 05/06 AWB2724-1584GB

Main menu with password protection

Main menu Enter Password entry Incorrect entry

PASSWORD
STOP RUN å Enter
SET CLOCK
INFORMATION
Correct entry
Status display
PASSWORD
MODE

System menu
X The System menu is accessed by simultaneously pressing DEL
and ALT.
Password setup
System menu Password entry
SECURITY PASSWORD ENTER PASSWORD ENTER PASSWORD
SYSTEM RANGE ------ 000000
STARTPARAMTER.*)
MENU LANGUAGE

CHANGE PW ENTER PASSWORD ENTER PASSWORD


ACTIVATE PW ------ 000000
Change/
delete
password

PASSWORD PROGRAM å
RANGE CLOCK
OPERATING MODE

SECURITY RESTART WARM START å


Setting is valid until the next program
SYSTEM DISPLAY COLD START download
STARTPARAMETER FACTORY SET HALT
MENU LANGUAGE...

RESTART
CONTRAST: 0
DISPLAY
LIGHTING å
FACTORY SET

RESTART
DISPLAY Program + boot project are
DELETE ALL?
FACTORY SET deleted! a section “Restoring factory
settings (factory set)”, page 38.

SECURITY IS STILL
SYSTEM TO BE
STARTPARAMETER DEFINED
MENU LANGUAGE

SECURITY ENGLISH
SYSTEM DEUTSCH å
STARTPARAMETER
MENU LANGUAGE

28
05/06 AWB2724-1584GB

6 Description of settings

All settings are made using the operating elements on the X Press the OK button in order to protect the function or menu
controller. (tick = protected).
h The password protection protects the program by default.
Password protection At least one function or menu must be protected.

You can protect access to the main menu and the System menu, • PROGRAM: The PROGRAM menu is protected.
the clock setting and the operating mode (RUN/STOP) with a • CLOCK: Date and time are protected with the password.
password. Choose SECURITY l RANGE to activate the individual • OPERATING MODE: The toggling of the RUN or STOP operating
setting options. <Sec l Ran> mode is protected.
The System menu is always protected when a password is
activated. Activating the password
In this case the password consists of a value between 000001 and You can activate an existing password in three different ways:
999999. The number combination 000000 is used to delete a
password. • Automatically when the controller restarts
• Automatically after the program is loaded
• Automatically if no telegram was sent on the PC interface for
30 minutes after password entry.
Password setup • via the password menu
A password can be set up via the System menu in either RUN or
STOP mode. You cannot change to the System menu if a password X Press DEL and ALT to call up the System menu.
is already activated. X Open the password menu via the SECURITY… menu
X Press DEL and ALT to call up the System menu.
X Select the menu option SECURITY… to enter the password. The password menu is only CHANGE PW
X Press the OK button and move to the PASSWORD… menu.
displayed if a password is present. ACTIVATE
X Press OK again to enter the Password entry mode.
The password protection protects
the program by default.
Six dashes will appear if no ENTER PASSWORD
password is entered: No password â----- h Make a note of the password before you activate it. If the
present. password is no longer known, it will not be possible to
activate the System menu.
X Press OK, six zeros will appear
X Set the password using the cursor buttons:
– ú í select position in the password,
Attention!
h
– ÍÚ set a value between 0 to 9.
The following applies if the password is not known or is
lost and the Delete password function is disabled:
X Save the new password by ENTER PASSWORD The device can only be reset to the factory setting at the
000042
manufacturers. The program and all data are lost.
pressing OK.
X Select ACTIVATE PW and press OK.
Use OK to exit the password display The password is now active. The status display is activated.
and proceed with ESC and Ú to the
RANGE… menu. You must enter the password before you can activate a protected
function or menu, or activate the System menu.
The scope of the password has not yet been defined. The password
is now valid but not yet activated.
Access with password protection

Selecting the scope of the password Password protection is deactivated once the password is entered.
You can reactivate password protection later via the Password
menu or by switching the power supply off and on again.
X Press the OK button. PROGRAM å
X Select the function or the menu CLOCK X Press OK to switch to the main menu.
to be protected. OPERATING MODE

29
Description of settings 05/06 AWB2724-1584GB

Password incorrect or no longer known


PASSWORD
The PASSWORD… entry will flash. STOP RUN å Have you entered an incorrect ENTER PASSWORD
X Press OK to enter the password PASSWORD password? XXXXXX
entry menu. SET CLOCK
X Re-enter the password.

This can be repeated as many times as required!


h If the main menu shows PROGRAM… instead of
PASSWORD…, this means that password protection is Pressing ESC returns you to the starting menu
not activated.
h If you have lost the password, you can only change or
ENTER PASSWORD
delete it via the PC.
XXXXXX
The password entry field is shown.
Deleting the password (via PC)
X Set the password using the cursor X Log on to the PLC.
buttons.
X Confirm with OK. If you call the browser command “factoryset”, the password, the
user program and the boot project will be deleted, and the
If the password is correct, the Status display is reactivated. controller will be reinitialised with the default parameters
a section “Reset”, page 38.
PROGRAM X Call the browser command “factoryset”.
STOP
The PROGRAM… menu item is
enabled.
PARAMETER
The System menu is also accessible. SET CLOCK

Changing or deleting the password range


X Enter your password.
X Press DEL and ALT to call up the System menu.
X Open the password menu via the menu option SECURITY… and
PASSWORD…

The CHANGE PW entry will flash. CHANGE PW


ACTIVATE PW
This menu is only displayed if a
password is present.

X Press OK to enter the password ENTER PASSWORD


entry menu. XXXXXX
X Press OK to move to the 6-digit
entry field.
X The current password will be
displayed.
X Modify the six password digits
using the cursor buttons. ENTER PASSWORD
X Confirm with OK. 100005

Press ESC to exit the security area.

Deleting ENTER PASSWORD


Use number combination “000000” ------
to delete a password.
Six dashes will appear if no
password is entered.

30
05/06 AWB2724-1584GB Changing the menu language

Changing the menu language Startup behaviour


Two menu languages can be selected. These can be set via the
System menu.
Setting the startup behaviour
Language LCD display The following start options can be set via the menu:

English ENGLISH
• HALT
• WARMSTART
German DEUTSCH
• COLDSTART

h The language selection is only available if the controller is X Switch to the System menu.
not protected by a password.
h If the controller is password-protected, the System menu
X Press DEL and ALT to call up the System menu. is only available after the password has been entered
X Select MENU LANGUAGE… to change the menu language. (a section “Access with password protection”,
page 29).

The language selection for the first ENGLISH X Set the Startup behaviour.
entry ENGLISH is displayed. DEUTSCH å

X Use Í or Ú to select the new Setting LCD contrast and backlight


menu language.
X Confirm with OK. The language will be assigned a tick. The background illumination of the LCD display can be switched
X Exit the menu with ESC. off. The display contrast can be set to one of five stages. The
display is not required during operation. The backlight is only
The new menu language is active. required during maintenance and when texts have to be displayed.

Press ESC to return to the Status display. X Switch to the System menu.

h If the controller is password-protected, the System menu


Setting date and time is only available after the password has been entered
(a section “Access with password protection”page 29.
The devices are provided with a real-time clock with date and time.
Set the hour, minute, day, month and year during initial
commissioning. X Select the SYSTEM menu. SECURITY
X Press the OK button. SYSTEM
X Select SET CLOCK… from the main menu.
STARTPARAMETER...

This will open the menu for setting SET CLOCK MENU LANGUAGE...

Use the Ú button to select the RESTART


the time.
X
X Select SET CLOCK. DISPLAY menu and press OK. DISPLAY
FACTORY SET

X Set the values for time, day, HH:MM: 00:27


DD.MM 05.05
month and year. CONTRAST 0
X Press OK to activate Entry mode. YEAR : 2002
The menus for setting the contrast
LIGHTING å
– ú í Move between the
and backlight are displayed.
parameters X Press the OK button and move to
– ÍÚ Change the value of a parameter the contrast entry field
– OK Save day and time
– ESC Retain previous setting. Use the Í and Ú cursor buttons to CONTRAST: +1
set the contrast to a value between LIGHTING å
Press ESC to leave the time setting display. –2 and +2.
X Select your setting.

X Complete your setting by CONTRAST: +1


pressing OK. LIGHTING å

The contrast setting is valid until it is changed again.

31
05/06 AWB2724-1584GB

X Use the cursor buttons Í and Ú CONTRAST: +1


to move to the LIGHTING menu. LIGHTING å
X Press the OK button.

X The backlight is CONTRAST: +1


deactivated. LIGHTING

X Press OK if you wish to CONTRAST: +1


reactivate the backlight LIGHTING å
X The tick å indicates that the
backlight has been switched on.

h The basic factory setting is as follows:


The contrast is set to 0. The backlight is permanently
switched on. Menu setting: LIGHTING å

32
05/06 AWB2724-1584GB

7 Configuration of the inputs/outputs (I/O)

Representation of the inputs/outputs in the configuration Changing the folder function


The direct addresses of the inputs/outputs are assigned symbolic Transistor Outputs n Relay Outputs
names beforehand in the PLC configuration. The Transistor Outputs are displayed as the default PLC
configuration. If you are using a controller with relays, you will
Symbolic operand Physical operand Data type have to change the “Output Type”:

I1 AT % IX0.0 BOOL X Right-click “Transistor Outputs”.


X Choose “Replace Elements” in the context menu and click
The symbolic operands can be used directly in the program. “Relay Outputs”.

General principle: To display the direct and symbolic addresses of


the outputs, click the “xxx Output” node.
Displaying the inputs/outputs
No Analog Output
X To display the local inputs/outputs, first click on the plus sign in
Not yet available with operating system V1.x.
front of “Configuration EC4P-200”, then on the plus sign in
front of “Local I/O”. No Keys
X The following folders are displayed underneath the folder The term “Keys” stands for the buttons on the front of the
“Local I/O”. The function of these folders must be adapted to controller such as ALT, DEL, ESC and OK, as well as the 4 buttons
the actual controller type. of the rocker switch. The buttons are represented in the PLC
configuration as inputs.
– Transistor Outputs
You can program the direct or symbolic addresses of the inputs in
– No Analog Outputs
order to scan the states of buttons in the program.
– No Keys
– No Counter. X Right-click “NoKeys”.
X Choose “Replace Elements” in the context menu and click
The folder function “Transistor Outputs” must be changed to “Keys”.
“Relay Outputs” for a controller with relay outputs, X Click on the plus sign in front of “Keys”.
a section “Changing the folder function”.
No Counter
X To display the inputs/outputs of the individual folders use the
High-speed counters must be activated if they are required for your
mouse to left-click the plus sign in front a folder.
application:
X Right-click “No Counters”.
X Choose “Replace Elements” in the context menu and click on
one of the 3 counter functions.

Figure 28: Extended inputs/outputs

33
05/06 AWB2724-1584GB

Figure 29: Selecting counters

The submenu will appear:


X Select a counter type, sucha s 32-bit counter.
X “No Counter” will then be replaced by “32 Bit Counter”.
X Clicking the plus sign will display the inputs and outputs of the
counter.

Figure 30: Configuring a counter (32-bit)

34
05/06 AWB2724-1584GB

8 Operation

General technical data Startup behaviour with boot project on the memory card
When the controller is switched on, a boot project on the memory
card has priority over a project stored in the system memory. If
Overview of memory sizes both projects are different, the boot project of the memory card is
The following maximum memory/POUs are available: copied to the system memory and then started. The copying
process extends the startup phase of the controller by several
Program (Code) 256 Kbyte seconds.
Global variables (Global) 224 KByte, if no libraries were
included
Data memory (Memory) 16 Kbyte
Input image (Input) 4 Kbyte
Output image (Output) 4 Kbyte
Retentive variables (Retain) 8 Kbyte
Max. number of POUs Approx.2000

h If a variable is declared as RETAIN in a function block (FB),


all the variables in this function block have the RETAIN
status.

Memory definition
The controller has the following memory:
• Working memory (SRAM), not retentive.
– Content, e.g. program, data
• System memory (FLASH), retentive.
– Content, such as boot project
• Memory card
– Content such as boot project, operating system.

Startup behaviour
The controller does not have a battery for backing up the working
memory containing the program. To save the program in the event
of a power failure, you should create a boot project of this program
that can be stored in the retentive system memory.
After the power supply is switched on, the CPU carries out a self-
test of the system. In the event of a fault, the LEDs RUN/STOP/SF
and CAN/NET LEDs will flash red. After the self-test has been
completed fault free, the controller checks whether:
• an operating system update is present on the fitted memory
card. In this case, it must be loaded.
• a boot project is present. In this case it is loaded into the
working memory of the controller and started according to the
startup behaviour set. If no boot project is present, the
controller stays in the NOT READY state.

35
Operation 05/06 AWB2724-1584GB

Power on

Boot project on MMC? No

Yes

Boot project in the No


system memory (Flash)? Boot project in the No
system memory (Flash)?

Yes
Yes
Boot project
auf MMC = No
Boot procekt in the main
memory
(Flash)?

Yes

Load boot project from system Load boot project from the MMC Load boot project from the
memory (Flash) into the into the working memory system memory (Flash) into
main memory Save boot project from the MMC the working memory
in system memory (Flash)

Startup behaviour
No
=
Warm start?

Startup behaviour
Yes No
=
Cold start?

Yes

Warm start initialisation Cold start initialisation

MODE STOP NOT READY

Figure 31: Startup behaviour with boot project

36
05/06 AWB2724-1584GB Setting the startup behaviour
in the programming software

Setting the startup behaviour in the programming Program START/STOP


software
The startup behaviour setting determines the startup behaviour of
Program start (STOP l RUN)
the controller when the power supply is switched on.
You can start the program in two ways:
The setting can be made in the PLC configurator or via the
operating elements of the controller. The setting options are not • In online operation, issue the START command, for example
prioritised. The last entry is valid. after loading a program.
• Via the operating elements on the controller.
Activate the “Common Parameters” tab in the PLC configurator
– In the main menu choose “START” in the Program menu.
and choose the required startup condition from the list.
• HALT
• WARMSTART Behaviour after shutdown/interruption of the power
• COLD START. supply
If the power supply is switched off or interrupted, this will
immediately stop the program cycle. The program is no longer
processed up to the end of the cycle. This is also not resumed after
the power is restored. Processing starts at the beginning of the
program. In other words, depending on where the program was
aborted, retentive data such as variables in double word format
will no longer be consistent.
If inconsistent data is not permissible for an application, you can
use an uninterruptible power supply with a battery backup.
In the event of a power failure, all outputs are set to 0 and
switched off.
The behaviour of retentive variables according to the startup
Figure 32: Setting the startup behaviour
behaviour set is shown in Table 6.
The controller is started according to the settings in the PLC
configurator, a figure 32.

Table 6: Behaviour of variables on startup


Startup condition Variable type
Non-retentive Retentive

COLDSTART Activation of initial values


WARMSTART Activation of Values
initial values remain in
memory
Program loaded and started in Activation of initial values
online operation
Start/Stop/Start… Values remain in memory

Program stop (RUN l STOP)


You can stop the program in one of two ways:
• In online operation, issue the STOP command.
• Via the controller menu.
– In the main menu choose STOP in the Program menu.

If you activate the STOP command, the CPU will switch to STOP
status as soon as the program cycle has been completed. The
outputs are set to 0.

37
Operation 05/06 AWB2724-1584GB

Starting/stopping the program via external switch Reset


An external switch connected to an input can be used to start or You can carry out a reset via the PC in online mode or via the
stop the processing of the program. Some additional program controller menu. To do this, select the appropriate menu item in
instructions are required, which are shown in the example in the the PLC configurator or in the controller menu.
Appendix (a page 66). The SysLibPlcCtrl.lib library contains the
function SysStartPlcProgram required for the start, and the The following Reset commands are provided in the menu:
function SysStopPlcProgram required for the stop.
Configurator (Online menu) PLC menu
In this case, the startup behaviour of the controller must be set to Warm reset Warm reset
WARM START in the PLC configurator under <Other Parameters l
Settings>! Cold reset Cold reset
Hard reset DELETE -> HARD RESET
It is then still possible to switch the controller to START or STOP via
the PC in Online mode.
Warm reset

Program processing and system time • The program is stopped.


• The non-retentive variables are initialised, the “Retain”
The user program is processed cyclically. The states of the inputs variables are retained.
are read before the start of each program cycle, and the output • The program can be restarted.
states are written to the outputs at the end of the cycle.
The cycle time depends on the length and the structure of the user
program. In order to ensure a fast response to events, program Cold reset
routines can be programmed that are started when a system event • The program is stopped.
occurs; see a section “System events” on page 42. • All variables are initialised.
• The program can be restarted.

Cycle time monitoring


Hard reset
The cycle time of the user program is monitored. The controller
switches to STOP status and the outputs are switched off if the • The program in the working memory and the boot project in the
cycle time exceeds the set time. system memory of the controller are deleted.
• With the memory card fitted:
You should set the maximum permissible time in “Other – All the project files on the memory card, the operating system
Parameters” in the PLC configurator. The shortest time is 20 ms and the boot project are deleted.
(default value), the longest time is 1000 ms. – All user specific files and the startup.ini file remain
unchanged.
• The PLC is set into the NOT READY state.

Restoring factory settings (factory set)


The browser command “factoryset” or choosing <SYSTEM l
FACTORY SET> can start a “Hard reset” command (a section
“Hard reset”). The startup.ini file on the memory card and the
system parameters in the controller are also deleted. After a start
the controller resumes operation with the STARTUP data. The
interfaces are initialised with their default values.

38
05/06 AWB2724-1584GB Test and commissioning

Behaviour of variables after Reset Forcing variables and inputs/outputs

Variable type All the variables of a user program can be “forced” to assume
fixed values. Forced local outputs are only switched to the
Reset Non-retentive Retain
periphery when the controller is in RUN status.
Warm reset Activation of initial values Values remain in
memory
h Inputs/outputs connected via the CANopen fieldbus
cannot be forced.
Cold reset Activation of initial values
Hard reset1) No more variables present, program deleted
Status display in the programming software
1) After a hard reset, the program must be reloaded. In online
operation, you can then restart the PLC. • The signal states of the physical Boolean inputs are displayed in
both the RUN and STOP state of the CPU.
• The signal states of the physical Boolean inputs are only
displayed in the RUN state; in the STOP state they are
Test and commissioning
designated with FALSE.
The controller supports the following test and commissioning • All other variables are displayed with the current variable value.
functions:
• Breakpoint/single-step mode
• Single cycle mode High-speed counters
• Forcing
• Online modification
• Power flow display 32-bit counter

h The following applies to breakpoint/single-step mode and


single cycle mode:
Do not use these commissioning functions in the program
routines such as start. A malfunction may cause an
undefined state in the controller.
If the commissioning functions cannot be run, activate the
debugging function (default status): Choose <Project l
Options l Build> and click the “Debugging” option.

Breakpoint/single-step mode
Breakpoints can be set within the user program. When an Figure 33: Programming inputs/outputs of the 32-bit counter
instruction is executed that has a breakpoint, the program is
stopped at this point. The program can now be run in single-step
mode. Cycle time monitoring is deactivated. Only one 32-bit counter is available. The pulse transmiter must be
connected with the external input I1. It receives the pulses at a
Caution! maximum frequency of 50 kHz. The CPU counts these pulses and
i At this moment any outputs set will remain set! provides them as an actual (= Counter) value. The actual value can
then be scanned in the user program. Whether the actual value is
incremented or decremented when a count pulse is received
depends on the “setting” of the Direction output in the user
Single cycle mode program.
In single-cycle mode, one program cycle is performed in real time.
The outputs are enabled during the cycle. The cycle time h When the actual values equals the reference value, an
interrupt can be generated in order to activate a program
monitoring is active.
routine. To do this, you must activate the interrupt in the
Caution! task configuration and assign the program
i At this moment any outputs set will remain set! routine,a section “Interrupt processing”, page 45.

39
Operation 05/06 AWB2724-1584GB

Incrementing (Direction = FALSE): the counter counts up to the set


reference value (PRESET). Once the reference value has been
reached, this activates the configured interrupt which branches to
a program routine (a page 45). The counter continues counting
from zero when the next count pulse is received.
Decrementing (Direction = TRUE): with the first count pulse, the
actual value is set from 0 to the reference value. If an interrupt is
programmed, the associated program routine is called
(a page 45). With each further pulse, the actual value is reduced
until it reaches 0. On the next count pulse the reference value is
accepted again and the program routine is called again.
Figure 34: Inputs/outputs of the 16-bit counter 0 and 1
The following counter features can be defined via the program:
• Enable:
h When the actual values equals the reference value, an
– TRUE: Pulses are counted. interrupt can be generated in order to activate a program
– FALSE: Pulses are not counted. routine. To do this, you must activate the interrupt in the
– A “1” signal at the “Enable” input activates the counter: The task configuration and assign the program routine,
incoming pulses are counted. With the next 0 l 1 edge of the a section “Interrupt processing”, page 45.
Enable signal, the actual value is set to 0 and the status at
the “Direction input” and at the “Preset input” are accepted.
Any direction change during operation is not detected. Incremental input
• Direction:
– FALSE: Up counting/incrementing One incremental input is available. The incremental signals A and
– TRUE: Down counting/decrementing B of the transmitter are sent to the external inputs I1 and I2, and
• Reset: the reference signal that is generated by the transmitter with every
– A 0 l 1 edge at the “Reset” input will cause the actual value rotation is sent to input I3. The reference switch is connected to
to be set to 0 and the direction and reference value to be input I4. When closed this forms the reference window in which
accepted, irrespective of the status of the Enable signal. the reference signal is processed.
• Preset The incremental signals A and B are phase shifted by 90 degrees
in order to indicate the count direction. The rising and falling edges
are evaluated (quadrature decoding). The maximum input
16-bit counter frequency is 40 kHz. This results in a total frequency of 160 kHz.
Two of these counters are available. The counter does not generate an interrupt.

The function of this counter is the same as that of the high-speed You can control the counter and adapt it to the application with
counter (32-bit). In order to identify the two 16-bit counters, the the following signals. The signal inputs can be scanned and the
symbolic operands have a number: 0 or 1. The operands with 0 signal outputs set in the program. The signal designations are
control count pulses that are present at input I1. Those with the provided in the PLC configuration.
number 1 are for the count pulses of I2.
External inputs:

Counter Pulse input


number

0 I1
1 I2

The counter number can be seen in the symbolic operands in the


PLC configurator in the folder “16Bit Counter”.

40
05/06 AWB2724-1584GB Incremental input

Overview of input/output signals (I/Q)

Program
symbolic Incremental
addresses CPU Input encoder
RefDone Signal A
RefActive l1
Zero Signal B
Counter l2
QuitZero Reference
RefMode Signal
l3
RefWindowMode
SetRefWindow Reference
SetRefValue Window
RefValue l4

Reference
switch

Figure 36: Input/output signals of the incremental value counter

Functions of the input/output signals


Switching the CPU from HALT l RUN enables the counter:
The incoming pulses are counted.
SetRefValue (Reset)
Figure 35: Input/output signals of the incremental value counter
A rising edge 0 l 1 at the input overwrites the actual value with
the “RefValue” present at the input.
Counter (actual value)
Explanation of the input/output signals (I/Q)
The counter actual value is provided at the “Counter” input.
Signal I/Q Explanation Zero
If the actual value reaches the value 0, the Zero output is set.
RefDone I Referencing completed It remains set until it is acknowledged by a 0 l 1 edge at the
(feedback signal of SetRefWindow) QuitZero input.
RefActive I Referencing activated
RefWindowMode (activate reference window)
(feedback signal of SetRefWindow or I4)
You can use this signal to define whether the signal for setting the
Zero I Actual value through zero reference window is sent via input I4 or via the user program with
Counter I Counter actual value the “SetRefWindow” signal.
QuitZero Q Acknowledge ZERO signal RefMode (type of referencing)
RefMode Q Number of reference checks The signal at the input determines whether referencing is carried
0 = once out once (0 at input) or permanently (1 at input). The actual value
1 = permanent is overwritten with the reference value if the reference window is
RefWindowMode Q Activation of reference window by set and a reference pulse is present at input I3. This is carried out
0 = external input I4 once (if the conditions are present after the controller is started) or
1 = with “SetRefWindow” in the program permanently (with every reference pulse in the reference window
depending on the setting for the RefMode signal).
SetRefWindow Q Activation of reference window when
“RefWindowMode” = 1
SetRefValue Q Reference value overwrites actual value
(Reset)
RefValue Q Reference value

41
Operation 05/06 AWB2724-1584GB

Referencing: System events


In many positioning controllers, a reference point is approached at System events are:
the start of positioning. For example, a tool slide is moved to its
home position. In this position, a “reference switch” is closed, START START: User program start (cold and warm start)
thus sending a signal to input I4. This can also be done by the COLDSTART Cold start of the user program
“SetRefWindow” signal which can be activated in the user
program. The “RefActive” signal is set as a feedback signal. An WARMSTART Warm start of the user program
incremental encoder connected to the slide generates a reference STOP User program stop (does not apply to cycle time
pulse to specify the tool position exactly. This is detected at input timeout or hardware watchdogs)
I3 if the reference switch is closed and the reference window is IO-Interrupt 1, 2, Voltage change at inputs I1, I2, I3, I4
opened. The reference pulse causes the counter to be overwritten 3, 4
with the reference value that you have defined in the PLC
Counter-Interrupt1 Act = Preset on 16-bit counter 0
configuration. “RefActive” is reset and “RefDone” is set until the
reference window is opened again. Counter-Interrupt2 Act = Preset on 16-bit counter 1 or 32-bit
counter
h Set the reference window large enough for the reference TIMER-INTERRUPT A timer set by the user triggers an interrupt.
signal to be present once and still be evaluated reliably.
You can react to system events of the controller by creating
program routines (POUs) that are run once if an event occurs.
T1 The execution time is monitored. The value set as the maximum
permissible cycle time is used as a basis.

Reference Signal
T3
START, COLD START, WARM START, STOP
T2
If an event occurs, such as a warm start of the controller, an
interrupt is generated (a page 45) that calls up the program
routine assigned to it. This assignment is carried out in the task
Reference Window
configuration.

Figure 37: Relationship between reference signal and reference


window
T1 Pulse repetition time of two successive reference pulses with one
rotation of the incremental encoder
T2 Maximum permissible duration of the reference window. Must be
shorter enough than T1 to ensure that a second reference pulse is not
detected.
T3 must be long enough to ensure that the L/H edge of the reference
pulse is reliably detected.
T2 and T3 depend on the frequency of the reference pulse and must be
determined for each application by trial and error.

Figure 38: System events

42
05/06 AWB2724-1584GB System events

Interrupt inputs I1 to I4 Timer interrupt


Inputs I1 to I4 can be configured as interrupt inputs. An edge at You can create a program routine that is called at a fixed time
the input generates an interrupt signal (a page 45), that calls interval. The TIMERINTERRUPTENABLE function is started by a
the program routine assigned to it. Boolean variable or an external input. The program routine is
assigned to the timer interrupt in the task configuration. The
X First define the edge of the input signal in the PLC configurator.
interval can be set from 500 – 2500000 microseconds. This period
X Assign the program routine to the input in the task
duration is programmed by adding the TIMERINTERRUPTENABLE
configuration.
from the EC_Util.lib library to your user program.
The inputs are prioritised. I1 has the highest priority, followed by
I2, I3 and I4. TIMERINTERRUPTENABLE

BOOL xEnable TimerInterruptEnable BOOL


Counter interrupt DWORD dwTimerTickUS

When using the “High-speed” counter function, the controller


continuously compares the actual value with the reference preset Figure 39: TimerInterruptEnable function
value of the counter. If both are the same, an interrupt is
generated (a page 45), which calls the program routine (POU)
Enter the interval time at the dwTimerTickUS input.
you have created.
The value is accepted when the timer is started and cannot be
To do this you first have to define the counter type in the PLC
changed while it is running. If the value assigned is outside the
configurator. You then have to assign the input receiving the count
500 - 2500 000 range, the function outputs FALSE as a return
pulses to the POU in the task configuration.
value and the timer is not run.

xEnable

Call

Program p
routine
p = TimerTickUS

Figure 40: Periodic calling of the program routine

For example, to set an interval time of 2 seconds to be started by


the external input I0.0, you must enter the following line in the
user program:
TimerInterruptEnable(%IX0.0,2000000)

Figure 41: Including the function in the program

43
Operation 05/06 AWB2724-1584GB

Example
• Create a program with a function call
Create a program with the function TIMERINTERRUPTENABLE like
in figure 41.
• Creating the program routine
X Open the “Task Configuration” sub-directory with a double
click in the “Resources directory”.
X Click here the “System Events” folder. The “System events” tab
is active.
X Activate the “timer interrupt” required by activating the check
box on the left of its name.
X In the “Called POU” column enter the name of the program
Figure 43: Writing a program routine
routine, e. g “Time_Int”.

If input IX0.0 is activated, the “Time_Int” POU is called


periodically and the variable “uiCount” is incremented.

h The interrupt can be interrupted by higher-priority system


interrupts. Cycle time monitoring is active during
execution of the timer interrupt.
If timer interrupts occur too frequently, this may cause the
selected program cycle time to be exceeded. In this case
the controller will switch from RUN to STOP.
The timer interrupt can be disabled and enabled from the
user program. The functions “DisableInterrup and
“EnableInterrupt” are provided for this purpose in the
Figure 42: Creating the program routine
library EC_UTIL.lib.

X Click again on the name “Timer Interrupt”. Now the Create


“POU button” becomes active and indicates the name of the
POU.
X Click this button. A POU with the name “Time_Int” will be
added under “PLC_PRG” in the POU window.
X Open the POU and write your program routine:

44
05/06 AWB2724-1584GB Interrupt processing

Interrupt processing Steps for interrupt processing

If an interrupt occurs, the program is interrupted and the program X Define the interrupt properties:
routine associated with the system event is processed. figure 44 Startup behaviour Select type
shows a list of interrupt sources.
TIMER INTERRUPT Call function
TIMERINTERRUPTENABLE
START/STOP COLD START Program for
Interrupt inputs Define edges
WARM START (start of processing the
controller) TIMER interrupt High-speed counters Select type
INTERRUPT (periodic)
Interrupt inputs (voltage at
I1, I2, I3, I4) High-speed X Create the program routine (POU)
counter (Actual value = Another program routine (POU) must be added to the existing POU
Preset) PLC_PRG . This is of type PRG and calls an interrupt.
X Assign the program routine to an interrupt source:
– To do this call the PLC configurator and click Task
Configuration l System Events. The interrupt sources (names)
are listed in the “System Events” tab with a free entry field
for the name of the “Called POU”.
– Enable the interrupt by clicking the box next to the required
Figure 44: Interrupt sources
interrupt and entering the name of the POU in the same line.
Further details on this are described in the Example of
interrupt processing.
h The execution time of the program routines is monitored.
The program routine called by the interrupt can be interrupted by
a new interrupt (different channel). Example of interrupt processing

If the current interrupt is followed by a new interrupt (same A “PLC_PRG” POU has to be processed continuously. An
channel), the new interrupt is not executed until the processing of additional POU “Fastprog” has to be processed when a rising
the current one has been completed. edge (L l H) at input I3 generates an interrupt.

The interrupts are enabled in the RUN state of the CPU and X Create the POUs “PLC_PRG” and “Fastprog” as shown in
disabled in the STOP state. Interrupt sources which are not figure 45.
enabled in the configuration do not initiate an interrupt.
You can disable or enable the interrupt inputs I1....I4 and the timer
interrupt from the program. The functions “DisableInterrup” and
“EnableInterrupt” are provided for this purpose. A call parameter
determines whether a single interrupt or all interrupts are to be
disabled/enabled. A disabled interrupt must be enabled with the
same parameter that was used for the disable.
DiThe two functions “DisableInterrup” and “EnableInterrupt” are
provided as part of the library “EC_Util.lib.” This library must be
included if necessary in your project by the Library Manager of the
programming software.
DisableInterrupt: This function deactivates a configured physical Figure 45: Creating the program
interrupt from the user program.
EnableInterrupt: This function activates a previously deactivated X Move to the PLC configuration, click on the Local I/O[SLOT]
physical interrupt from the user program. folder and open the “Other Parameters” tab
X Assign the “Rising edge” type to input I3.

45
Operation 05/06 AWB2724-1584GB

Figure 46: Interrupt edge selection

X Change over to the Task configuration and open the “System


Events” folder.
Figure 48: Assignment of interrupt source l POU

X Select the “Fastprog” POU and confirm with OK.


X Save the project. You can now test it.

The variable “b” is incremented by one with every rising edge on


input I3.

Generating and transferring a boot project


The CPU processes the user program stored in the main memory.
As the working memory is not backed up, the program will be lost
in the event of a power failure. You can therefore create a boot
project to store the program retentively.
Figure 47: Enabling an interrupt

X Enable IO-Interrupt 3 by clicking in the check box on the left Main memory Program
beside the name “IO-Interrupt 3”. The box is checked to
indicate that it has been activated. Create boot project
X Select the area of the “Called POU” are and the line
System memory Boot project
“IO-Interrupt 3”.
X Set the cursor on the selected area and press the function
Browser: copyprojtommc
key F2.
Memory card Boot project
The “Input Assistant” window is opened. This lists all the
predefined programs:
Figure 49: Saving the boot project

You can generate the boot project in online mode or via the menu
of the controller. The boot program is generated with the current
operating system of the controller!
In online mode, the following steps are required:
X From the “Online menu”, select “Login”.
X If the controller is in the RUN state, you will be requested to
stop it.
X Select the “Create boot” project command.

46
05/06 AWB2724-1584GB Downloading/updating the
operating system

The following prompt appears: Downloading/updating the operating system


The EC4-200 enables you to replace the currently stored operating
system (OS) with a more recent version. The latest OS version can
be downloaded from the Moeller website at http://
www.moeller.net/support. The latest OS is also provided in the
latest “easy Soft CoDeSys” CD.

Attention!
Figure 50: Create boot project h The download is only possible in offline mode!
Downloading the OS will delete all the files on the
X Click “Yes”. controller/memory card. The controller will then carry out
a “hard reset”. a page 38
The following dialog appears briefly:
The OS can then be transferred in two ways:
• Directly from the PC to the PLC.
• From the PC to the memory card. When the controller is started,
the OS is copied from the MMC into the controller.

Transferring the operating system from the PC to PLC


Figure 51: Creating a boot project X Open a project, choose ‹Resources ll PLC Configurator› and
activate the “Common Parameters” tab.
X Click the “Start” button in the “Update operating system” field.
The boot project has been created when this dialog automatically
disappears again. You can now restart the PLC.
The Download operating system dialog opens.

Storing the boot project on a memory card


The boot project stored in the system memory (Flash) can also be
stored on the memory card. This is done by calling the browser
command “copyprojtommc” in online mode or by choosing
PROGRAM l BOOT PROJECT l FLASH l CARD from the main
menu of the controller using the operating buttons.

Boot project and operating system (OS) on memory card


The boot project will only run with the actual operating system
(OS) on which it was created!
If you fit the memory card with an OS into the controller, the OS of
the controller will be updated after startup and a boot project will Figure 52: Downloading the operating system
be loaded into the controller. If the boot project was not created
with the OS, it will not be detected by the controller. In this case, The system reports that the COM port is not initialised.
load the program and create a new boot project.
X Click the “OS-File button” and select the required operating
system file (*.hex).
Deleting the boot project
The browser command “Remove” deletes both the boot project in h The files last opened can be selected from the list field
the system memory (Flash) and also on the memory card. The (dropdown menu).
browser command “removeprojfrommmc” deletes the boot
project and the Startup.INI file on the memory card. The boot
project on the memory card can also be deleted via the menu of
the controller: PROGRAM l DELETE l DELETE CARD.

47
05/06 AWB2724-1584GB

Figure 53: Selecting the operating system file

The target type and file version are displayed once the OS file is
selected.
X Click the “Transfer Device” button. Figure 55: OS successfully transferred to the PLC
X Select the RS232 interface.

The transfer will start. The “Flash Eprom” is programmed in X In this window click the “Exit” button.
around 20 to 30 seconds.

Transferring the OS from PC to the memory card


h The power supply must not be switched off if a warning
symbol appears in the “Programming Flash field”! Loading an OS onto the memory card will delete the existing OS
and the boot project on the memory card as well as the user
program in the controller. This is carried out in the same way as
described in section “Transferring the operating system from the
PC to PLC”. However, in this case you click the “Transfer to MMC”
button, a figure 52 on page 47.

Transferring the OS from the memory card to the


controller
X Fit the memory card into the controller when it is switched off.
X Switch on the PLC.

The OS of the PLC is updated during the switch on process and a


boot project is loaded into the PLC. The transfer can take more
than 30 seconds as the CPU must be booted several times.
Figure 54: Warning during download
h Do not interrupt the process, e.g. by switching off the
Wait for the following display. supply voltage.

48
05/06 AWB2724-1584GB

9 Browser commands

The PLC browser is a text-based controller monitor. This is where Table 7: Browser commands
you enter commands in an entry line and send them as strings to ? Get a list of implemented commands.
the controller in order to access specific information from it. The
response string is shown in a result window of the browser. This pinf Output project information
function can be used for diagnostics and debugging tasks. cycle Output cycle time
canload* Display load of CAN bus
h The browser commands can only be used online.
copyprojtommc Copy the current boot project to the memory
To run these commands: card
createstartupini Generate the Startup.INI file on the memory
X Double-click “Resources” and then “PLC Browser” in the
card
programming software.
factoryset Activate factory settings
A new window called “PLC Browser” will appear in the field on format Format memory card
the right.
GetNodeId Display the CANopen Node ID of the CAN
X Click the button . interface
GetRoutingId Display of the routing Node ID and the routing
The browser commands available are displayed in the selection interface
field. metrics Output PLC information
X Double-click the required command to select it. reload Load boot project from FLASH to PLC
remove Delete boot project in the FLASH
The selected command now appears in the “PLC Browser”
window. removeprojfrommmc Delete boot project and Startup.INI file on the
memory card
X Press the Enter button in order to view the response of the PLC
removestartupini Delete the Startup.INI file on the
to the browser command in the Result window.
Memory card
getrtc Read real-time clock
h Further information on the selected Browser command
can be obtained by entering a “?” followed by a space in setrtc* Set real-time clock
front of the selected browser command and then pressing
Further information concerning the commands marked with *
Enter.
can be found in the following pages.
The commands are also described in chapter ‹Resources
l PLC Broswer› in manual on the programming software
(h1437g.pdf).

The controller supports the browser commands from Table 7.

49
05/06 AWB2724-1584GB

canload setrtc
Displays the load of the CANopen fieldbus. Sets or changes the date and/or the time in the controller.
Example: Syntax:
<setrtc_YY:MM:DD:DW_HH:MM:SS>

Legend:
_ Space
YY The last two digits of the year (00 F YY F 99)
MM Month (01 F YY F 12)
DD Day (01 F DD F 31)
Figure 56: “canload” browser command DW Weekday (01 F DW F 07; 01 = Monday, 07 = Sunday)
HH Hour (00 F HH F 23)
This browser command returns, for example, the following MM Minute (00 F MM F 59)
information: SS Second (00 F SS F 59)

• CAN busload = 0 Percent


• Baud rate 125 Kbit/s
• Integration Time: 510 ms.

Attention!
h With a bus utilization of 75 percent or higher, the warning
ATTENTION: HIGH BUSLOAD also appears. Overload of
the local CAN bus in conjunction with further short term
load peaks can lead to CAN data loss.

h As well as the browser command, the CAN_BUSLOAD


function can also be used to determine the CAN bus load
from the user program, see section “CAN_BUSLOAD
function” on page 52.

50
05/06 AWB2724-1584GB

10 Libraries, function blocks and functions

The libraries contain IEC function blocks and functions that you Installing other system libraries
can use, for example, for the following tasks:
You can install libraries manually as follows:
• Data exchange through the CANopen bus
• Controlling the real-time clock
• Determining bus load of the CANopen bus
• Triggering interrupts
• Sending/receiving data via the interfaces

The libraries are located in the folders:


• Lib_Common for all PLCs
• Lib_EC4P_200 for the EC4-200 controller

Using libraries
Figure 57: Libraries, installing manually
When you open a project, libraries “Standard.lib” and
“SYSLIBCALLBACK.lib” are copied into the Library Manager. If you
need further libraries for your application, you have to install these X In your project, click the “Resources tab”.
manually. X Double-click the “Library Manager” folder.
X Click <Insert l Additional Library… Ins>.
The libraries in the Library Manager are assigned to the project
after saving. When you open the project, the libraries are then
The new window will show the libraries available, depending on
automatically called up as well.
the target system.
The following overview lists the documents in which the function
X Select the library to install and click “Open”.
blocks and functions are described.

Document Library The library now appears in the Library Manager.

AWB2700-1437 Standard.lib
Util.lib
XX_Util. Lib
Online help or PDF files SysLib…pdf
in the Windows start menu via
<Programs l Moeller Software
l easy Soft CoDeSys l
Documentation l Automation
Manuals>
AWB2786-1456 XS40_MoellerFB. Lib/Visu. Lib/…
AN2700K20 3S_CANopenDevice. Lib
3S_CANopenManager. Lib
AN2700K19 3S_CANopenNetVar. Lib
AN2700K27 SysLibCan. Lib
AWB2786-1554 CANUserLib. Lib
CANUser_Master. Lib

51
Libraries, function blocks and 05/06 AWB2724-1584GB
functions

EC4-200 specific functions

EC_Util.lib library EC_Visu.lib library


This library contains the functions shown in the illustration below: The EC_Visu.lib library contains function blocks for controlling the
LCD display. Of the nine function blocks, only the function blocks
“SetBacklight”, “SetContrast and GetDisplayinfo” can be used at
present.

Figure 58: Functions of the EC_Util.lib library.

h The “timer” function is described in section “Timer


interrupt” on page 43.
Figure 60: EC_Visu.lib library
CAN_BUSLOAD function
The function can be called cyclically in a user program. When a
read cycle was completed successfully, the function returns the SetBacklight:
TRUE value and writes the values calculated for integration time On/off switching of the backlight
and bus load to the transferred addresses.
SETBACKLIGHT
If the bus load calculation is not yet completed or the CAN
controller has not yet been initialised, the function returns FALSE. BOOL xStrobe xActive BOOL
BOOL xTurnOn typError VISULIB_ERROR
Information on evaluating the return value is provided in the
browser command “canload” on page 50.
Figure 61: SetBacklightSetBacklight

CAN_BUSLOAD
SetContrast:
POINTER TO p_dwIntegrationTime CAN_BUSLOAD BOOL Set contrast
DWORD
The contrast can be increased or decreased in 2 stages.
POINTER TO BYTE p_bBusload

SETCONTRAST
Figure 59: CAN_BUSLOAD function BOOL xStrobe
DISPLAY_CONTRAST typContrastValue
xActive BOOL
typError VISULIB_ERROR

Figure 62: SetContrast

52
05/06 AWB2724-1584GB EC4-200 specific functions

Display contrast data type (ENUM):

Figure 65: ENUM VISULIB_ERROR


Figure 63: Enum Display-Contrast

GetDisplayinfo: Application example with GetDisplayInfo


Display information You can write the following program if the P1 button has to be
This function shows the currently active menu level of the display. suppressed in the Status menu:
The cursor position and the status of the ESC button are indicated. Declaration:
GDI:GetDisplayInfo;

Program:
IF GDI.byMenueLevel > 0 THEN;
IF P1 = TRUE THEN
Q7: = TRUE;
ELSE
Q7: = FALSE;
END_IF
END_IF

Output Q7 can only be set if the Status menu is not currently


active.

Figure 64: GetDisplayInfo function block

53
05/06 AWB2724-1584GB

54
05/06 AWB2724-1584GB

11 PC n EC4-200 connection setup

The communication parameters of both the PC and the PLC must Communication parameters (baud rate) of the CPU
match in order to establish a connection between them. An The
default parameters are set as shown in on devices that are used X Open the PLC configuration.
for the figure 66first time. You only have to select the COM… X Click the “Communication tab”.
interface for the PC. No other settings are required. X In the Baud rate list box select the “baud rate” (e.g. 57,600 Bit/
s as shown in figure 67).
h An error message means that the default CPU settings
have been changed beforehand. In this case, try all other
baud rates or set the factory settings.

The CPU parameters can then be defined again (a figure 67).


These parameter changes then have to be changed for the PC once
more.

Communication parameters of the PC


You can use the COM1 to COMx interfaces of the PC. In the Figure 67: Defining communication parameters of the CPU
programming software define the communication parameters of
the interface. X Log on to the PLC.
X Choose ‹Online l Communication Parameters›.
The following prompt appears:
X Define the port (COM1 or COM2 interface) a section
“Changing parameters”
X Accept the other parameters shown in figure 66.
X Confirm the settings with OK.
X Log on to the PLC.

Figure 68: Confirmation request after program change

X Click “Yes”.

The program is loaded. After a delay of approx. 2 minutes a


communication fault message will be output since the baud rate
of the CPU and the PC no longer match:

Figure 66: Defining communication parameters of the PC

Changing parameters
Proceed as follows in order to change parameters such as baud
rate or port: Figure 69: Communication fault
X Double-click the value, such as 38400. The field is highlighted
in grey. X Acknowledge the message with OK.
X Enter the desired value.
In order to reconnect to the PC you must adjust the baud rate of
Double-click this field once more to choose the Baud rate, e.g. the PC again to that of the project.
57600 Bit/s.

55
05/06 AWB2724-1584GB

56
05/06 AWB2724-1584GB

12 Defining system parameters via the STARTUP.INI file

Overview Creating the Startup.INI file


You can create project-dependent system parameters and store When it is switched on for the first time (basic status), the
them on the memory card. Here they are contained in the controller always works with the default system parameters, i.e.
Startup.INI file. The memory card can also be fitted in other the STARTUP data. When you load a project into the controller that
controllers. The controller will accept the parameters during the is in the basic status, the controller starts immediately with the
startup. The Startup.INI file is always created will all controller system parameters of the project.
parameters (a table ).
The browser command “createstartupini” can be used to transfer
the current system parameters to the memory card. This creates
Table 8: Parameters in the Startup.INI file
the Startup.INI file that contains this data. Requirement: The
Entries memory card must be fitted and formatted, i.e. without a
COM_BAUDRATE: 4800,9600,19200,38400,57600 Startup.ini file already on it.
CAN1_BAUDRATE: 10,20,50,100,125,250,500
CAN1_NODEID: 1-127 Table 9: Example: STARTUP.INI file for EC4-200
CAN_ROUTINGID: 1-127 [STARTUP]
TARGET = EC4P-200
The parameters from the INI file have priority over parameters COM_Baudrate=38400
from the PLC configuration. The parameters of the PLC
CAN1_Baudrate=125
configuration are not accepted after a program download or after
CAN1_NODEID=2
loading the boot project.
CAN_ROUTINGID=127

It is not possible to overwrite or change an already existing file


Structure of the INI file with the “createstartupini” browser command. A warning
An INI file is a text file with a fixed data format. The system message will appear if you still enter this command.
parameters are listed from a specified section (in square bracket) To create a new file, delete the existing one first of all,
such as [STARTUP], followed by an equals sign and the see page 58.
corresponding value. The line is terminated with CR/LF (Carriage/
Return).
Switching on the controller with the fitted memory card
COM_BAUDRATE = 38400 (Carriage/Return)
containing the Startup.INI file
Lines commencing with a semicolon are interpreted by the PLC as When the controller is started up, the data from the Startup.INI file
comments and are ignored: on the memory card is transferred to the controller. These system
parameters are also active after a new program is loaded.
; CAN_NODEID = 2

You can change or create the parameters with a text editor if you
fit the memory card in the memory card slot of the PC. First fit the
memory card in the supplied adapter, and then fit this into the PC
slot. The STARTUP.INI file is stored on the memory card in the
folder “MOELLER/EC4P_200/BOOTPRJ/”.

57
Defining system parameters 05/06 AWB2724-1584GB
via the STARTUP.INI file

Changing parameters
The parameters are retained until you enter the browser command
“removestartupini” and then switch the controller off and on
again. The controller will now operate with the parameters of the
project.

Deleting the Startup.INI file


The following browser commands can be used to access the
memory card.
• removestartupini:
Always deletes the controller system parameters. If a memory
card is fitted, the INI file is also deleted on the memory card. The
parameters are loaded from the project at the next startup.
• removeprojfrommmc:
Deletes the boot project and the INI file on the memory card.
The system parameters are retained in the controller.
• format:
Deletes the entire memory card incl. INI file.

The behaviour of the Startup.ini file with the Hard Reset and
Factory Set menu commands on the controller and with the
“factoryset” browser command is described in a section
“Reset” on page 38.

58
05/06 AWB2724-1584GB

13 Programming via a CANopen network (Routing)

Routing means to establish an online connection from a Routing features of the controller
programming device (PC) to any (routing-capable) PLC in a CAN
network without having to directly connect the programming The controller supports routing via the CAN bus.
device to the target PLC. It can be connected to another PLC in the Routing can be carried out without the need to download a user
network. The routing connection enables you to carry out all the program beforehand (Default:125 Kbaud, Node ID 127). The
operations that are possible with a direct online connection target controller does not have to be configured as a CAN master
between the programming device and the controller: or CAN device.
• Program download It is possible, for example, to load a program from the PC into the
• Online modifications EC4-200 via a controller of the XC series. In this case, you assign
• Program test (Debugging) the EC4-200 (target controller) with a routing Node ID.
• Generation of boot projects
• Writing files in the PLC
PC XC... EC4- XC...
• Reading files from the PLC 200 EC4-200

RS232 RS232 CAN CAN


Routing offers an advantage which makes it is possible to access
all routing capable PLCs on the CAN bus from any PLC which is
connected with the programming device. You can determine in the
project selection which controller you wish to communicate with. Figure 70: Program download using routing
This makes it possible to operate remotely configured controllers
easily.
However, the data transfer rate with routing connections is
considerably slower than with direct connections (serial or TCP/IP). Routing through XC200
This will result in slower refresh times for visualisation elements
In order to carry out a program transfer or routing on a connection
(variables) or slower download speeds.
between an XC200 and a PC via TCP/IP, you have to set the block
size of the data to be transferred. The block size (4 Kbyte or 128
Kbyte) depends on the type of transfer (program transfer or
Requirements routing) and the operating system, a table 10.
The following requirements must be fulfilled in order to use
Table 10: Block size for the data transfer
routing:
Program/file transfer Routing
• Both the routing PLC and the target PLC must support routing.
• Both PLCs must be connected via the CAN bus. OS < OS f OS < OS f
• The PLCs must both have the same active CAN baud rate. V1.03.03 V1.03.03 V1.03.03 V1.03.03
• A valid routing Node ID must be set on both PLCs.
Block size 128 Kbyte 4/128 Kbyte Routing 4 Kbyte
Default: not possible
128 kByte

Attention!
h The program download with a block size of 4 Kbyte to a
PLC with an operating system version earlier than
V1.03.03 will cause faulty behaviour!
If a program download is performed, the progress bar on
the programming device monitor will only change
erratically (about every 10 seconds).

Routing with the XC200 is possible from OS version V1.03.03.


The setting of the block size (change of the value in the registry) is
explained as follows.

59
Programming via a CANopen 05/06 AWB2724-1584GB
network (Routing)

• The routing does not depend on the configuration (master/


h You can change this setting only if you have administrator device): a target PLC that has not been configured as a master
rights on your PC (access to registry)!
or as a device can be accessed. It only has to be assigned the
Changing the block size: basic parameters such as Node ID and baud rate, as well as a
simple program.
X Close all applications.
X Close the CoDeSys gateway server.
Addressing
Controllers on the CANopen bus can be configured a master or as
a device. The controllers are assigned a Node ID/node number
(address) so that they can be identified uniquely. The target
controller must also be assigned a (routing) Node ID if you wish to
access it by means of the routing function. The RS232 or Ethernet
interface can be used as a connection between the PC and XC200.

Figure 71: Closing CoDeSys Gateway Server


PC Routing controller Target controller
(Master/Device) XC200 (Device)
X Change the block size to the required value. (Routing Node ID n1
Node ID 1 Node ID n1
Call the BlockSizeEditor.exe application in the easy Soft CoDeSys
directory of the programming software and select the block size. RS232 Ethernet CANopen

Alternative option:
The following *.reg files are available in the installation directory
to enter the block size in the registry: Figure 72: Routing via the XC200

BlockSizeDefault.reg Enters a block size (default value) of In the following diagram the routing controller is connected to the
20000hex =128 Kbyte in the registry.
PC via the RS232 interface.
BlockSizeRout.reg Enters a block size of 1000hex = 4 Kbyte in
the registry.
PC Routing controller Target controller
(Master/Device) (Device)
The download block size is defined in the following registry key:
(Routing Node ID n1
[HKEY_LOCAL_MACHINE\SOFTWARE\3S-Smart Software Solutions Node ID 1 Node ID n1
GmbH\Gateway Server\Drivers\Standard\Settings\Tcp/Ip (Level
2 Route)]
RS232 CANopen
“Blocksize” = dword:00020000

The default block size is 20000hex (=128 Kbyte), the block size for
Figure 73: Routing via XC…, EC4-200
the routing is 1000hex (= 4 Kbyte).
1) The following applies to the Node ID of the Device function and the
Node ID of the Routing function: The (Routing) Node ID must not
Notes on routing have the same value as the Node ID (Device)!

• If large files are written to the target PLC or read from the PLC,
it is possible that the online connection will be interrupted after Table 11: Example of a Node ID setting, baud rate
the transfer process has been completed. Renewed connection PLC Function Node-Id Baud a
is possible. rate
• If a program with a modified routing Node ID is loaded into the
target PLC via a routing PLC, the target PLC accepts the Routing Master 1 125 KB figure 75
modified routing Node ID; however, the communication controller
connection will be interrupted. Reconnection with a corrected Target Device 3 125 KB figure 74
routing Node ID is possible. controller
• A controller cannot be connected via a routing connection if it
contains a program without any valid routing parameters (Baud
rate/Node ID).

60
05/06 AWB2724-1584GB Procedure

Procedure
X Connect the PC to the routing PLC.
X Select the target PLC with which you want to communicate for
the project.
X First of all define the communication parameters for the
connection between the PC and the PLC which is connected to
the PC.
X Enter the target ID (Target ID = Node ID!) of the target PLC, as
in the example, and log on.

You can run the following functions:


• Program download
• Online modification
• Program test (Debugging)
• Create boot project
• Storing source code. Figure 75: CAN master parameters

Note for project creation


The NodeID/node number and the baud rate of the target PLC for
routing functions are set in the “CAN/easy-Net” window of the
PLC configuration, a figure 74:
X Enter the baud rate on the CANopen bus and the Node ID/node
number in the “RS 232 l CAN routing settings” field.

Node ID and baud rate are transferred to the controller with the
project download.

h Routing should only be carried out with CANopen baud


rates of at least 125 Kbit/s in order to ensure rapid data
transfers.

Figure 74: Routing settings of the EC4-200 target controller Figure 76: CAN device parameters

The following illustrations indicate, regardless of the routing


settings, where to enter the baud rate and the Node ID of the PLCs
which have been configured as masters or devices. The settings
should be made in the master PLC in the “CAN Parameters” tab
or with the device PLC in the “CAN Settings” tab.

61
05/06 AWB2724-1584GB

Example: Accessing a PLC program X Enter the target ID, number 3 in the example. The target ID is
The example below illustrates the procedure for accessing a PLC the same as the Node ID! To enter the target ID click on the field
program. in the “Value” column next to the word Target ID. Enter the
number 3 and confirm with OK.
X Log on and carry out the action.
a b c

CANopen

Figure 77: Diagnostics options


a XC100 with Node ID 1
b XC200 with Node ID 2 Figure 79: Setting the target ID of the target PLC
c Controller with node ID 3, e.g. XC100,XC200,XC121, XN-PLC,
EC4-200.

PLC combinations for routing


You have connected the PC to the PLC with Node ID “2” and want
to access the target PLC with Node ID “3”. The following PLCs support routing:
X Open the project of the target PLC (Node ID 3) which has the From P XC100 XC121 XC200 XN-PLC- EC4-
program you wish to edit or test. CANopen 200
To O
X First configure the parameters for the hardware connection PC
n PLC (Node ID 2).
XC100 x x x x x
X From the Online menu select “Communication Parameters”....
X Click the New button under Local channels. XC121 x x x x x
XC200 x x x x x
The “New Channel” window appears.
XN-PLC- x x x x x
X Select the channel in the “Device field”. CANopen
XC200: Serial [RS232] [Level 2 Route] or TCP/IP [Level 2 Route]. EC4-200 x x x x x
X You can assign a new name in the “Name” field, e.g.
“Rout_232”.
X Confirm with OK. You will return to the initial window.
Number of communication channels
Several communication channels can be opened, e.g. PC n PLC
2, PC n PLC 3 in dependence on the PLC (communication
channel) which is connected to the PC. The status display of
control 2 and 3 can be implemented simultaneously.

Table 12: Type and number of communication channels depending on


the PLC
Communications PLC Max. channel
channel count

TCP/IP Level2Route XC200 5


Serial RS232 Level2Route XC100/XC200/ 1
XN-PLC

Figure 78: Setting channel parameters

You have now defined the parameters for the hardware


connection between the PC and the PLC (Node ID 2).
X Call up the communications parameters in the “Online” menu
once again and select the PLC which you want to program/test.

62
05/06 AWB2724-1584GB

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.

Figure 80: Function overview

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).

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.

63
05/06 AWB2724-1584GB

64
05/06 AWB2724-1584GB

Appendix

CAN/easy-NET network Calculating the cable length for a known cable resistance
If the resistance of the cable per unit of length is known (resistance
per unit length R’ in O/m), the entire cable resistance RL must not
Accessories exceed the following values. RL depends on the selected baud
rates:
• RJ45 plug, Type: EASY-NT-RJ45 (8-pole)
Baud rate Cable resistance RL

h Pre-assembled cables have RJ45 plugs at both ends. Kbaud O

10 … 125 F 30
Table 13: Prefabricated cables
250 F 25
Cable length Type
500 F 12
cm
lmax = maximum cable length in m
30 EASY-NT-30 RL = total cable resistance in O
R’ = cable resistance per unit length in O/m
80 EASY-NT-80
150 EASY-NT-150
= RL
lmax
• User-assembled cable, Type: EASY-NT-CAB R’
(100 m 4 x 0.18 mm2) Calculating cross-section with known cable lengths
• Crimping tool for RJ45 plug, Type: EASY-RJ45-TOOL. The minimum cross-section is determined for the known maximum
• Bus terminating resistor, Type: EASY-NT-R RJ45 plug with extent of the network.
integrated bus terminating resistor 120 O
l = cable length in m
Cable length with cross-sections Smin = minimum cable cross-section in mm2
For correct operation of the network the cable lengths, cross- rcu = specific resistance of copper if not stated otherwise 0.018 Omm2/m
sections and cable resistances must match thoses listed in the
following table. = l x rcu
Smin
12,4
Cable length Cable Cross-section
resistance
m mO/m mm2 AWG h If the calculation result does not correspond to a standard
cross section, take the next higher cross section.
up to 40 F 140 0,13 26 Calculating length with known cable cross-section
up to 175 F 70 0.25 to 0.34 23, 22 The maximum cable length for a known cable cross-section is
calculated as follows:
up to 250 F 60 0.34 to 0.5 22, 21, 20
up to 400 F 40 0.5 to 0.6 20, 19 lmax = cable length in m
S = cable cross-section in mm2
up to 600 F 26 0.75 to 0.8 18
rcu = specific resistance of copper if not stated otherwise 0.018 Omm2/m
up to 1000 F 16 1,5 16
= S x 12,4
The impedance of the cables used must be 120 O. lmax
rcu

h Further information on the CAN cable lengths and


termination is provided in the ISO 11898 standard.

65
Appendix 05/06 AWB2724-1584GB

Example program for PLC START/STOP using external


switch
The SysLibPlcCtrl.lib library contains the function
SysStartPlcProgram required for the start, and the function
SysStopPlcProgram required for the stop.
In this case, the startup behaviour of the controller must be set to
WARM START in the PLC configurator under <Other Parameters l
Figure 83: Declaring global variables
Settings>!
Function
X Enter the program for PLC_PRG as shown in figure 84 . It is
The POU “StartPrg”, which is called once on every PLC start is
important that the user program and the POU calls are inserted
used to register the function “FuncCalledWhenPlcIsInStop” on the
as shown in figure 84.
“event”
“EVENT_TASKCODE_NOT_CALLED”-. This registration causes the
function FuncCalledWhenPlcIsInStop to be called via the “event”
“EVENT_TASKCODE_NOT_CALLED” if the PLC is in STOP state.
The “StartStopFunction” function is used to monitor the status of
the input and call the function for starting or stopping the PLC if
there is a status change.
As the POU “StartPrg” is called only once, there should be no
outputs or parameters set in this POU. User programs should be
programmed in separate POUs.
Figure 84: Scanning START/STOP
X Activate the system event “Start” and name the Called “POU
Startprg”.
X Enter the function “FuncCalledWhenPIcInStop” and
“StartStopFunction”.

Figure 85: Call of the function FuncCalledWhenPlcIsInStop

Figure 81: Activating a system event

X Open a new POU with the name “Startprg” in the POUs folder
and program the function “SysCallbackRegister” which
“presents” the Start/Stop functions to the operating system.

Figure 82: “Startprg” function Figure 86: Function that monitors the input

X Declare the following global variables.

66
05/06 AWB2724-1584GB Dimensions and weight

Dimensions and weight

Dimensions W x H x D
[mm] 107.5 x 90 x 72
with adapter for MMC 107.5 x 90 x 79
[inches] 4.23 x 3.54 x 2.84
with adapter for MMC 4.23 x 3.54 x 3.11
Space units (SU) width 6
Weight
[g] 320
[lb] 0,705
Mounting Top-hat rail to DIN 50022, 35 mm or screw mounting with 3 ZB4-101-GF1 mounting feet

16.25 75 16.25

M4

EU4A-MEM-CARD1
110
102
90

45

4.5
16 21 48.5
107.5 70.5
72
79

Figure 87: Dimension in mm (specified in inches a table 14)

Table 14: Dimensions in inches


mm inches mm inches

4,5 0,177 79 3,11


16,25 0,64 90 3,54
48,5 1,91 102 4,01
70,5 2,78 107,5 4,23
72 2,83 110 4,33
75 2,95

67
Appendix 05/06 AWB2724-1584GB

Technical data

Climatic environmental conditions (Cold to IEC 60068-2-1, Heat


to IEC 60068-2-2)
Ambient temperature °C, (°F) –25 to 55, (–13 to 131)
Installed horizontally/vertically
Condensation Prevent condensation with suitable measures
LCD display (reliably legible) °C, (°F) 0 to 55, (–32 to 131)
Storage/transport temperature °C, (°F) –40 to 70, (–40 to 158)
Relative humidity (IEC 60068-2-30), non-condensing % 5 bis 95
Air pressure (operation) hPa 795 bis 1080
Ambient mechanical conditions
Degree of protection (IEC/EN 60529) IP20
Vibrations (IEC/EN 60068-2-6)
Constant amplitude 3.5 mm Hz 5 bis 9
Constant acceleration, 1 g Hz 9 bis 150
Shock (IEC/EN 60068-2-27) Shocks 18
Sinusoidal 15 g/11 ms
Drop (IEC/EN 60068-2-31) Drop mm 50
height
Free fall, packaged (IEC/EN 60068-2-32) m 1
Mounting position horizontal,vertical
Electromagnetic Compatibility (EMC)
Electrostatic discharge (ESD), (IEC/EN 61000-4-2, severity level 3)
Air discharge kV 8
Contact discharge kV 6
Electromagnetic fields (RFI), (IEC/EN 61000-4-3) V/m 10
Radio interference suppression EN 55011, EN 55022
Limit value class Class B
Fast transient burst (IEC/EN 61000-4-4, severity level 3)
Power cables kV 2
Signal cables kV 2
Surge kV 0.5 symmetrical
(IEC/EN 61000-4-5, degree of severity 2) 1 asymmetrical
Immunity to line-conducted interference to (IEC/EN V 10
61000-4-6)
Insulation resistance
Clearance and creepage distances EN 50178
Dielectric strength EN 50178
Overvoltage category/degree of pollution II/2

68
05/06 AWB2724-1584GB Technical data

Tools and cable cross-sections


Solid, minimum to maximum mm2 0.2 to 4
AWG 22 bis 12
Flexible with ferrule, minimum to maximum mm2 0.2 to 2.5
AWG 22 bis 12
Factory wiring AWG 30
Slot-head screwdriver, width mm 3.5 x 0.8
inch 0.14 x 0.03
Tightening torque Nm 0.6
CPU
Memory specifications
Program code KByte 256
Program data KByte 14 segments of 16 KB each
Marker/Input/Output/Retain data KByte 16/4/4/8
Cycle time for 1 k instructions < 0,3
Back-up/Accuracy of the real-time clock
200
Clock battery back-up 180
25˚C

160
55˚C
140
120
a 100
80
60
40
20
0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
b

1) 1 backup time in hours


2) 2 service life in years
Accuracy of the real-time clock
Per day s/day g5
Per year h/year g 0.5
Interfaces
Programming interface (RS232) without control lines
PLC port COM1
Electrical isolation None
Terminations RJ45, 8-pole
Programming mode
Data transfer rate 4.8, 9.6, 19.2, 38.4, 57.6
Character format 8 data bits, no parity, 1 Stop bit
Transparent mode
Data transfer rate 0.3, 0.6, 1.2, 2.4, 4.8, 9.6, 19.2, 38.4, 57.6
Character format 8E1, 8O1, 8N1, 8N2, 7E2, 7O2, 7N2, 7E1
Number of transmission bytes in a block 190
Number of received bytes in a block 190

69
Appendix 05/06 AWB2724-1584GB

CAN(open)/easy-NET
Data transfer rate Kbit/s 10, 20, 50, 100, 125, 250, 500
Default: 125
Potential isolation from inputs/outputs/power supply Yes
Bus termination resistor EASY-NT-R plug (incl. bus terminating resistor 120 O)
Terminations 2 x RJ45, 8pole
CANopen operating mode
Station Number max. 126
PDO type asynchronous,cyclical, acyclical
Device profile to DS301V4

Power supply
Rated voltage
Rated value V DC, (%) 24, ( –15, +20)
Permissible range V DC 20.4 to 28.8
Residual ripple % F5
Input current at 24 V DC, typical mA 140
Voltage dips, IEC/EN 61131-2 m 10
Power loss at 24 V DC, typical W 3,4

Inputs
Digital inputs
Number 12
Inputs that can be used for analog signals I 7,8,11,12
Inputs that can be used for pulse signals I 1,2,3,4
(High-speed counters)
Inputs for interrupt generation I 1,2,3,4
Status indication LCD display
Electrical isolation
from the power supply, PC interface No
Between each other No
from the outputs, to CAN interfaces Yes
Rated voltage
Rated value V DC 24
On “0” signal
I1 to I6 and I9 to I10 V DC <5
I7, I8, I11, I12 V DC <8
On “1” signal
I1 to I6 and I9 to I10 V DC > 15
I7, I8, I11, I12 V DC >8
Input current on “1” signal (at 24 V DC)
I1 to I6, I9 to I10 mA 3,3
I7, I8, I11, I12 mA 2,2

70
05/06 AWB2724-1584GB Technical data

Delay time for “0” to “1”


I1 to I4 m 0,02
I5 to I12 m 0,25
Delay time for “1” to “0”
I1 to I4 m 0,02
I5 to I12 m 0,25
Cable length (unshielded) m 100
Additional input functions
Inputs for analog signals
Number 8 (I7, I8, I11, I12)
Signal range V DC 0 bis 10
Resolution analog V 0,01
Resolution digital Bit 10
Value 0 bis 1023
Input impedance kO 11,2
Accuracy of actual value
Two devices % g3
Within a single device % g2
Input current mA <1
Cable length (shielded) m 30
Inputs for high-speed counters I 1, I2
Number/value range Bit 2 x 16 bits (I1,I2)
1 x 32 bit (I1)
Max. frequency kHz 50
Count direction selectable via software incrementing/decrementing
Cable length (shielded) m 20
Pulse shape Square
Mark-to-space ratio 1:1
Incremental counter I1, I2, I3, I4
Number 1
Value range Bit 32 Bit
Max. frequency kHz 40
Cable length (shielded) m 20
Pulse shape Square
Counter inputs I1,I2 = Counter input
I3 = Reference pulse
I4 = Reference window
Signal offset 90°
Mark to space ratio 1:1
Inputs for interrupt generation I1, I2, I3, I4
Max. frequency kHz 3

71
Appendix 05/06 AWB2724-1584GB

Relay outputs
Number of outputs 6
Parallel switching of outputs to increase performance Not permissible
Protection of an output relay
Miniature circuit-breaker B16 A 16
or fuse (slow-blow) A 8
Electrical isolation Yes
Safe isolation V AC 300
Basic insulation V AC 600
Mechanical lifespan Switch 10 x 106
operations
Contacts relays
Conventional therm. current A 8
Recommended for load at 12 V AC/DC mA > 500
Protected against short-circuit cos v = 1 A 16
Characteristic B (B16) at 600 A
Protected against short-circuit cos v = 0.5 to 0.7 A 16
Characteristic B (B16) at 900 A
Rated impulse withstand voltage Uimp contact coil kV 6
Rated insulation voltage Ui
Rated operational voltage Ue V AC 250
Safe isolation to EN 50178 between coil and contact V AC 300
Safe isolation to EN 50178 between two contacts V AC 300
Making capacity, IEC 60947
AC-15 250 V AC, 3 A (600 Ops/h) Switch 300000
operations
DC-13 L/R F 150 ms 24 V DC, 1 A (500 Ops/h) Switch 200000
operations
Breaking capacity, IEC 60947
AC-15 250 V AC, 3 A (600 Ops/h) Switch 300000
operations
DC-13 L/R F 150 ms 24 V DC, 1 A (500 Ops/h) Switch 200000
operations
Filament bulb load
1000 W at 230/240 V AC Switch 25000
operations
500 W at 115/120 V AC Switch 25000
operations
Fluorescent tube load, 10 x 58 W at 230/240 V AC
Fluorescent tubes Switch 25000
- with ballast operations
- with conventional compensation
- uncompensated

72
05/06 AWB2724-1584GB Technical data

Relay switching frequency


Mechanical operations Switch 10 mill. (107)
operations
Mechanical switching frequency Hz 10
Resistive lamp load Hz 2
Inductive load Hz 0,5

Transistor outputs
Number of outputs 8
Rated voltage Ue V DC 24
Permissible range V DC 20.4 to 28.8
Residual ripple % F5
Supply current
On “0” signal, typical/maximum mA 18/32
On “1” signal, typical/maximum mA 24/44
Reverse polarity protection Yes

hAttention!n
!
Connecting the outputs to a power supply with a reverse polarity will result in
a short-circuit.
Electrical isolation Yes
Rated current Ie on “1” signal, maximum A 0,5
Lamp load without RV W 5
Residual current per channel on “0” signal mA < 0,1
Max. output voltage
On “0” signal with external load, 10 MO V 2,5
On “1” signal, Ie = 0.5 A U = Ue – 1 V
Short-circuit protection (thermal) Group Q1 to Q4 /Group Q5 Yes
to Q8. Evaluation with
Diagnostics input I16 (Q1 to Q4), I17 (Q5 to Q8)

h Attention!
Set the output group in the program to a “0” signal
in order to prevent the output from overloading
Short-circuit tripping current for Ra F 10 mO A 0,7 F Ie F 2
(depending on number of active channels and their load)
Maximum total short-circuit current A 16
Peak short-circuit current A 32
Thermal cutout Yes
Maximum switching frequency at a constant resistive load Switch 40000
RL = 100 kO (depending on the program and load) operations/h

73
Appendix 05/06 AWB2724-1584GB

Parallel connection of outputs with resistive load; inductive load with external Yes
suppression circuit (a section “Connecting transistor outputs”, page 22);
combination within a group
Group 1: Q1 to Q4
Group 2: Q5 to Q8
Maximum number of outputs 4
Total maximum current A 2

Attention!
Outputs connected in parallel must be switched at the
same time and for the same duration.
Status display of the outputs LCD display

Inductive load without external suppressor circuit


General explanations: T0,95 = time in milliseconds until 95 % of
the stationary current is reached

L
T0,95 Q 3 x T0,65 = 3 x
R
Utilisation categories in groups Q1 to Q4, Q5 to Q8

T0,95 = 1 ms Utilisation factor per group g = 0,25


R = 48 O
Relative duty factor % 100
L = 16 mH
Max. switching frequency Switch 1500
f = 0.5 Hz operations/h
Max. duty factor
DF = 50 %
DC13 Utilisation factor g = 0,25
T0,95 = 72 ms
Relative duty factor % 100
R = 48 O
L = 1,15 H Max. switching frequency Switch 1500
f = 0.5 Hz operations/h
Max. duty factor
DF = 50 %

Other inductive loads:

T0,95 = 15 ms Utilisation factor g = 0,25


R = 48 O
Relative duty factor % 100
L = 0,24 H
Max. switching frequency Switch 1500
f = 0.5 Hz operations/h
Max. duty factor
DF = 50 %
Inductive loading with external suppressor circuit for each load (a section
“Connecting transistor outputs”, page 22)
Utilisation factor g = 1
Relative duty factor % 100
Max. switching frequency Switch Depending on the
Max. duty factor operations/h suppressor circuit

74
05/06 AWB2724-1584GB

Index

A Addressing, PLC on CANopen fieldbus . . . . . . . . . . . . . 60 D Data access, to MMC . . . . . . . . . . . . . . . . . . . . . . . . . . 11


Analog inputs, connecting . . . . . . . . . . . . . . . . . . . . . . 18 Delay time entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Application routine . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Diagnostics inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Diagnostics options . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Digital inputs, connecting . . . . . . . . . . . . . . . . . . . . . . . 18
B Backup time, battery . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Disconnecting the power supply . . . . . . . . . . . . . . . . . . 37
Battery buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Display information . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Baud rate, specifying/changing . . . . . . . . . . . . . . . . . . 55 Display, inputs/outputs . . . . . . . . . . . . . . . . . . . . . . . . . 33
Block size for data transfer . . . . . . . . . . . . . . . . . . . . . 59 Download, operating system . . . . . . . . . . . . . . . . . . . . 47
Boot project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Downloading/updating the operating system . . . . . . . . 47
Deleting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Breakpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Browser commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 E Engineering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17, 25
Bus utilization, CANopen fieldbus . . . . . . . . . . . . . 50, 52

F Forcing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
C Cable cross-sections . . . . . . . . . . . . . . . . . . . . . . . . . . 65 Forcing, variables and I/Os . . . . . . . . . . . . . . . . . . . . . . 39
Cable length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 Function
Cable protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 CAN_BUSLOAD . . . . . . . . . . . . . . . . . . . . . . . . . . 52
CAN device parameters . . . . . . . . . . . . . . . . . . . . . . . . 61 DisableInterrupt . . . . . . . . . . . . . . . . . . . . . . . . . . 45
CAN master parameters . . . . . . . . . . . . . . . . . . . . . . . . 61 EnableInterrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
canload, browser command . . . . . . . . . . . . . . . . . . . . . 50 FileOpen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
CANopen FileRead . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Routing settings . . . . . . . . . . . . . . . . . . . . . . . . . . 61 GetDisplayInfo . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Changing parameters . . . . . . . . . . . . . . . . . . . . . . . . . 31 GetDisplayinfo . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
CoDeSys gateway server . . . . . . . . . . . . . . . . . . . . . . . 60 SetBacklight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Communication channels, number . . . . . . . . . . . . . . . . 62 SetContrast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Communication parameters . . . . . . . . . . . . . . . . . . . . . 55 TimerInterruptEnable . . . . . . . . . . . . . . . . . . . . . . 43
Configuration, XIO-EXT121-1 . . . . . . . . . . . . . . . . . . . 33 Function blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Connecting Function buttons, Inputs . . . . . . . . . . . . . . . . . . . . . . . 10
20 mA sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Analog inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Real-time clock . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
digital inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Transparent mode . . . . . . . . . . . . . . . . . . . . . . . . . 63
Frequency transmitter . . . . . . . . . . . . . . . . . . . . . . 20
High-speed counters . . . . . . . . . . . . . . . . . . . . . . . 20
Incremental encoder . . . . . . . . . . . . . . . . . . . . . . . 20 G Generating/transferring a boot project . . . . . . . . . . . . . 46
NET network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
proximity switches . . . . . . . . . . . . . . . . . . . . . . . . 18
H High-speed counters, inputs . . . . . . . . . . . . . . . . . . . . . 10
Pulse transmitter . . . . . . . . . . . . . . . . . . . . . . . . . 20
pushbuttons, switches . . . . . . . . . . . . . . . . . . . . . 18
Relay outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 I in XSoft . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Setpoint potentiometer . . . . . . . . . . . . . . . . . . . . . 18 Incremental counter . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . 19 Incremental encoder . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Transistor outputs . . . . . . . . . . . . . . . . . . . . . . . . . 22 Initial value activation . . . . . . . . . . . . . . . . . . . . . . . . . 39
Connecting the PLC to the PC . . . . . . . . . . . . . . . . . . . 12 Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Connecting the power supply . . . . . . . . . . . . . . . . . . . . 17 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Connection setup, PC – XN-PLC . . . . . . . . . . . . . . . . . . 55 Installing libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Counter Interface
16-bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Defining communication parameters . . . . . . . . . . . 55
32-bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 for the PC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
High-speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Universal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Counter interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Interrupt source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Cursor display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Cycle time monitoring . . . . . . . . . . . . . . . . . . . . . . . . . 38

75
Index 05/06 AWB2724-1584GB

K Keypad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25 R Real-time clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12


Relay outputs, connecting . . . . . . . . . . . . . . . . . . . . . . 21
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
L LCD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31 Retentive variables . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
LED status indication . . . . . . . . . . . . . . . . . . . . . . . . . .11 Rocker buttons, inputs . . . . . . . . . . . . . . . . . . . . . . . . 10
Libraries Routing
CANUser.lib, CANUser_Master.lib . . . . . . . . . . . . . .5 Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
SysLibRTC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12 Routing.Requirements . . . . . . . . . . . . . . . . . . . . . . . . . 59
XC121_SysLibCom.lib . . . . . . . . . . . . . . . . . . . . . .63
XC121_Util.lib . . . . . . . . . . . . . . . . . . . . . .43, 45, 52
XC121_Visu.lib . . . . . . . . . . . . . . . . . . . . . . . . . . .52 S Screw mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Selecting the System menu . . . . . . . . . . . . . . . . . . . . . 26
Sensor (20 mA) connection . . . . . . . . . . . . . . . . . . . . . 19
M Main menu Setpoint potentiometer, connecting . . . . . . . . . . . . . . 18
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27 Setting channel parameters . . . . . . . . . . . . . . . . . . . . . 62
Selecting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 Setting LCD backlight . . . . . . . . . . . . . . . . . . . . . . . . . 31
Memory card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 Setting LCD contrast . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Memory sizes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35 Setting the LCD backlight . . . . . . . . . . . . . . . . . . . . . . 31
Menu Setting the startup behaviour . . . . . . . . . . . . . . . . . . . 31
Changing language . . . . . . . . . . . . . . . . . . . . . . . .31 Short-circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Entering values . . . . . . . . . . . . . . . . . . . . . . . . . . .25 Short-circuit monitoring . . . . . . . . . . . . . . . . . . . . . . . 10
Guidance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25 Single cycle mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Menu structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27 Single-step mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
MMC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Mounting Startup behaviour . . . . . . . . . . . . . . . . . . . . . . . . . 35, 57
Mounting plate . . . . . . . . . . . . . . . . . . . . . . . . . . .15 Basic setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Top-hat rail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15 Startup behaviour, setting in XSoft . . . . . . . . . . . . . . . 37
STARTUP.INI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Status display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
N NET network, connecting . . . . . . . . . . . . . . . . . . . . . . .65
Status indication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Network, cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
on the LED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Node number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
STOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Node-Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
Switching off the power supply . . . . . . . . . . . . . . . . . . 37
System clock, backup . . . . . . . . . . . . . . . . . . . . . . . . . 12
O Operating system update . . . . . . . . . . . . . . . . . . . . . . .35 System events . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38, 42
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 System parameter setting . . . . . . . . . . . . . . . . . . . . . . 57
Overload . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22 System self test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
System time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

P Password
Activation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29 T Target ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Changing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30 TCP/IP connection (for routing) . . . . . . . . . . . . . . . . . . 59
Deleting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30 Temperature sensor, connecting . . . . . . . . . . . . . . . . . 19
Forgotten . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30 Test functions
Incorrect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30 Commissioning . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Removing protection . . . . . . . . . . . . . . . . . . . . . . .30 Time setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29 Timer interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
PLC browser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49 Transistor outputs, connecting . . . . . . . . . . . . . . . . . . 22
Power supply disconnection/interruption . . . . . . . . . . . .37 Transparent mode . . . . . . . . . . . . . . . . . . . . . . . . . 12, 63
Powerup behaviour . . . . . . . . . . . . . . . . . . . . . . . . .35, 57 Type overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Program
Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38
U Uninterruptible power supply . . . . . . . . . . . . . . . . . . . 37
Routine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38
Universal interface . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37
Stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37
Programming interface for the PC . . . . . . . . . . . . . . . . .12
Programming software . . . . . . . . . . . . . . . . . . . . . . . . . .7
Pulse transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20

76
05/06 AWB2724-1584GB Index

V Variables
Behaviour after Reset . . . . . . . . . . . . . . . . . . . . . . 39
Behaviour on startup . . . . . . . . . . . . . . . . . . . . . . 37

W Weekday setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

77
05/06 AWB2724-1584GB

78

You might also like