Ec 4200
Ec 4200
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
4 *patpks#nycmyn*
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)
• 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
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
5
05/06 AWB2724-1584GB
6
05/06 AWB2724-1584GB
1 Device application
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
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
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.
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:
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
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
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:
15
05/06 AWB2724-1584GB
16
05/06 AWB2724-1584GB
4 Installation
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!
Cable protection
Protect the supply cables with a miniature circuit-breaker or at
least a 1A (slow blow) fuse (F1).
17
Installation 05/06 AWB2724-1584GB
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
Caution!
i
1.3 kO/0.25 W
F1
Observe the following when laying and connecting analog 1 kO/0.25 W
cables:
18
05/06 AWB2724-1584GB Connecting analog inputs
+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
a Analog sensor
19
Installation 05/06 AWB2724-1584GB
K1
Pulse transmitter
A B C
L01 +
L01 –
L02 +
...V 0V 0V I1 I2 I3 I4 I5 I6
F1
24 V H
...V 0V 0V I1 I2 I3 I4 I5 I6
24 V H
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).
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
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
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
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
22
05/06 AWB2724-1584GB Memory card, CAN/easy-NET,
PC connection
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.
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
Value M/ M
HH:MM 14:23
• Change position with ú í
Selecting menus and entering values DD.MM ?05.05?
25
Operation 05/06 AWB2724-1584GB
Status display
I 0.2..5 .
MC
DEL and ALT
MO 02:00 WS
Q ..34 . STOP
No
OK ESC ESC password
Inputs I 12 .
ALT
Status display with date
Inputs I 12
ESC
Weekday/date MO 01.04.2006 WS
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
PROGRAM
STOP å RUN
SET CLOCK...
INFORMATION
PROGRAM EXAMPLE:
STOP å RUN EC4P-222-MTAD1
SET CLOCK OS :V01.00
INFORMATION BUILD:1002
27
Operation 05/06 AWB2724-1584GB
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
PASSWORD PROGRAM å
RANGE CLOCK
OPERATING MODE
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
30
05/06 AWB2724-1584GB Changing the menu language
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 å
Press ESC to return to the Status display. X Switch to the System menu.
This will open the menu for setting SET CLOCK MENU LANGUAGE...
31
05/06 AWB2724-1584GB
32
05/06 AWB2724-1584GB
33
05/06 AWB2724-1584GB
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
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
Yes
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
36
05/06 AWB2724-1584GB Setting the startup behaviour
in the programming software
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
38
05/06 AWB2724-1584GB Test and commissioning
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
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
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:
0 I1
1 I2
40
05/06 AWB2724-1584GB Incremental input
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
41
Operation 05/06 AWB2724-1584GB
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.
42
05/06 AWB2724-1584GB System events
xEnable
Call
Program p
routine
p = TimerTickUS
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”.
44
05/06 AWB2724-1584GB 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
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
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.
47
05/06 AWB2724-1584GB
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.
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).
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)
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.
50
05/06 AWB2724-1584GB
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
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.
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
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
52
05/06 AWB2724-1584GB EC4-200 specific functions
Program:
IF GDI.byMenueLevel > 0 THEN;
IF P1 = TRUE THEN
Q7: = TRUE;
ELSE
Q7: = FALSE;
END_IF
END_IF
53
05/06 AWB2724-1584GB
54
05/06 AWB2724-1584GB
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.
X Click “Yes”.
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
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.
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
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
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).
59
Programming via a CANopen 05/06 AWB2724-1584GB
network (Routing)
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.
Node ID and baud rate are transferred to the controller with the
project download.
Figure 74: Routing settings of the EC4-200 target controller Figure 76: CAN device parameters
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
62
05/06 AWB2724-1584GB
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
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
65
Appendix 05/06 AWB2724-1584GB
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
66
05/06 AWB2724-1584GB 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
67
Appendix 05/06 AWB2724-1584GB
Technical data
68
05/06 AWB2724-1584GB Technical data
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
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
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
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
L
T0,95 Q 3 x T0,65 = 3 x
R
Utilisation categories in groups Q1 to Q4, Q5 to Q8
74
05/06 AWB2724-1584GB
Index
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
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