XC-303 MN050005 - en PDF
XC-303 MN050005 - en PDF
XC-303 MN050005 - en PDF
XC300
Modular control
All proprietary names and product designations are brand names or trademarks
registered to the relevant title holders.
Break-Down Service
Please call your local representative:
http://eaton.com/moeller/aftersales
or
Hotline After Sales Service:
+49 (0) 180 5 223822 (de, en)
[email protected]
• Disconnect the power supply of the device. • Wherever faults in the automation system may cause
damage to persons or property, external measures must
• Ensure that devices cannot be accidentally retriggered.
be implemented to ensure a safe operating state in the
• Verify isolation from the supply. event of a fault or malfunction (for example, by means of
separate limit switches, mechanical interlocks, etc.).
• Ground and short-circuit.
• During operation, and depending on their degree of
• Cover or enclose neighbouring units that are live.
protection, variable frequency drives may have live,
• Follow the engineering instructions (IL) of the device uninsulated, moving, and/or rotating parts, as well as hot
concerned. surfaces.
• Only suitably qualified personnel in accordance with • The impermissible removal of the required cover,
EN 50110-1/-2 (VDE 0105 Part 100) may work on this device/ improper installation or incorrect operation of the motor or
system. variable frequency drive can cause the failure of the
device and serious injury and/or material damage.
• Before installation and before touching the device ensure
that you are free of electrostatic charge. • Comply with all applicable national accident prevention
regulations (e.g. BGV A3) when working with energized
• The functional earth (FE) must be connected to the
variable frequency drives.
protective earth (PE) or to the potential equalizing.
The system installer is responsible for implementing this • The electrical installation must be carried out in
connection. accordance with the relevant regulations (e.g. with regard
to cable cross sections, fuses, PE).
• Connecting cables and signal lines should be installed so
that inductive or capacitive interference do not impair the • All transport, installation, commissioning and mainte-
automation functions. nance work must only be carried out by trained personnel
(observe IEC 60364, HD 384 or DIN VDE 0100 and national
• Install automation devices and related operating elements
accident prevention regulations).
in such a way that they are well protected against uninten-
tional operation. • If applicable, systems in which variable frequency drives
are installed must be equipped with additional monitoring
• Suitable safety hardware and software measures should
and protective devices in accordance with the applicable
be implemented for the I/O connection so that a cable or
safety regulations, e.g., the German Equipment and
wire breakage on the signal side does not result in
Product Safety Act, accident prevention regulations, etc.
undefined states in the automation device.
Making changes to the variable frequency drives by using
• Ensure a reliable electrical isolation of the low voltage for the operating software is allowed.
the 24 V supply. Only use power supply units complying
• Keep all covers and doors closed during operation.
with IEC 60364-4-41 or HD 384.4.41 S2 (VDE 0100 part 410).
• When designing the machine, the user must incorporate
• Deviations of the mains voltage from the nominal value
mechanisms and measures that limit the consequences of
must not exceed the tolerance limits given in the technical
a drive controller malfunction or failure (an increase in
data, otherwise this may cause malfunction and
motor speed or the motor’s sudden stop) so as to prevent
dangerous operation.
hazards to people and property, e.g.:
• Emergency-Stop devices complying with IEC/EN 60204-1
– Additional stand-alone devices for monitoring parame-
must be effective in all operating modes of the automation
ters that are relevant to safety (speed, travel, end
devices. Unlatching the emergency switching off devices
positions, etc.)
must not cause restart.
– Electrical and non-electrical safety devices (interlocks
Eaton Industries GmbH
• Built-in devices for enclosures or cabinets must only be or mechanical locks) for mechanisms that protect the
run and operated in an installed state, desk-top devices or
Safety instructions
entire system
portable devices only when the housing is closed. – Due to the possibility of there being capacitors that are
• Measures should be taken to ensure the proper restart of still holding a charge, do not touch live device parts or
programs interrupted after a voltage dip or failure. This terminals immediately after disconnecting the variable
should not cause dangerous operating states even for a frequency drives from the supply voltage. Heed the
short time. If necessary, emergency switching off devices corresponding labels on the variable frequency drives
should be implemented.
I
Content
0 About This Manual..................................................................... 7
0.1 Target group................................................................................. 7
0.2 Change protocol ........................................................................... 8
0.3 Additional documentation ............................................................ 8
0.4 Legal Disclaimer........................................................................... 8
0.5 I/O system XN300........................................................................ 9
0.6 Writing Conventions..................................................................... 10
1 Description.................................................................................. 11
1.1 System overview ......................................................................... 11
1.2 Communication and Interfaces – Decentralized Expansion ......... 12
1.3 Intended Use................................................................................ 13
1.4 Device Overview.......................................................................... 14
1.4.1 XC-303-C32-002 ........................................................................... 14
1.4.2 XC-303-C21-001 ........................................................................... 15
1.4.3 XC-303-C11-000 ........................................................................... 15
1.5 Model code XC300....................................................................... 16
1.5.1 Device Version Number ............................................................... 16
1.6 Functionality ................................................................................. 17
1.6.1 Supply Voltage ............................................................................. 17
1.6.2 Local Inputs/Outputs.................................................................... 17
1.6.3 Processor Unit.............................................................................. 17
1.6.4 Programming Interfaces............................................................... 19
2 Installation .................................................................................. 27
2.1 Control panel layout ..................................................................... 27
2.1.1 Ventilation .................................................................................... 27
2.2 Mounting XC300 .......................................................................... 28
2.3 Uninstalling and Disassembling the XC300.................................. 31
2.4 Terminals...................................................................................... 33
2.5 Potential conditions between the components ........................... 34
2.6 Wiring in accordance with EMC requirements ............................ 35
2.6.1 Cable routing and wiring .............................................................. 36
2.6.2 Suppressor circuit for interference sources ................................. 36
2.6.3 Shielding....................................................................................... 36
2.7 Lightning Protection ..................................................................... 37
2.7.1 External lightning protection ........................................................ 37
2.7.2 Internal lightning protection ......................................................... 37
3 Commissioning .......................................................................... 47
3.1 General commissioning instructions............................................ 47
3.2 Startup Behavior XC300............................................................... 47
3.3 Program execution....................................................................... 49
3.3.1 DIP Switch S1 .............................................................................. 49
3.3.2 Program Start (STOP → RUN) .................................................... 50
3.3.3 Program Stop (RUN → STOP) .................................................... 50
3.4 Power Off/Interruption of the Supply Voltage............................. 51
3.4.1 Testing and Commissioning (Debugging) .................................... 51
3.4.2 Forcing ......................................................................................... 52
3.4.3 Reset ........................................................................................... 53
3.5 LED Indicators.............................................................................. 54
3.6 Operating statuses when starting the XC300.............................. 56
3.7 Programs and project................................................................... 57
3.7.1 Loading Programs on the Device................................................. 57
3.7.2 Storing and Deleting a Boot Application ...................................... 58
3.8 Updating the operating system.................................................... 59
3.9 Programming in Series Production via MicroSD or USB.............. 61
8 Expansion ................................................................................... 93
8.1 Local expansion............................................................................ 93
8.1.1 Configuring Inputs/Outputs of the Central Expansion.................. 94
8.2 Remote expansion ....................................................................... 95
9 CAN ............................................................................................. 97
9.1 Configuring and commissioning CANopen .................................. 98
9.1.1 Adding the CAN manager ............................................................ 99
9.1.2 Setting the Baud Rate via CANbus .............................................. 100
9.1.3 CAN-Gateway XN-312-GW-CAN Integrating ................................ 101
9.1.4 Attach XN300 slice modules ........................................................ 102
9.1.5 Description Files for CANopen..................................................... 104
9.1.6 Integrating libraries for CANopen communication ....................... 105
9.1.7 LEDs on the device ...................................................................... 106
10 EtherCAT..................................................................................... 107
10.1 Integrating the EtherCAT Master ................................................. 107
10.2 Configuring the EtherCAT Master................................................ 108
10.3 Searching for and Integrating EtherCAT Subscribers................... 109
10.4 Manually Integrating EtherCAT Subscribers ................................ 110
10.5 Adding SWD Subscribers............................................................. 111
10.6 Description Files for EtherCAT..................................................... 112
10.6.1 Standard XML Files ...................................................................... 112
10.6.2 Installing an XML File ................................................................... 113
10.6.3 Integrating Libraries for EtherCAT Communication ..................... 113
13 Web-Server................................................................................ 123
13.1 Web visualization ......................................................................... 123
13.2 Web Server for XSOFT-CODESYS-3............................................ 123
17 Malfunctions............................................................................... 137
18 Maintenance............................................................................... 139
18.1 Cleaning and maintenance........................................................... 139
18.2 Repairs ......................................................................................... 139
18.3 Storage and transport .................................................................. 139
18.4 Disposal ....................................................................................... 141
Index............................................................................................ 155
Work with the up-to-date documentation for the XC300 Modular control.
The current edition of this documentation and additional literature can be
found online, → section 0.3, “Additional documentation”, page 8.
CAUTION
Installation requires qualified electrician
ATTENTION
Warns about the possibility of material damage.
CAUTION
WARNING
DANGER
Notes
1 Description
Micro
SD TRSa
PRG
h TRSb
TC1
c TC2 CAN2 √ – √
SD TC2
U1
USB X1
HOST
I/Q1
i I/Q2 Equipment based on device type
ETH2 USB
I/Q3 d
I/Q4 XC-303- C32 C21 C1
X2
UL X1, X2 I/Q √ – –
k X3
-
X3 RS485 √ √ –
ETH1 RS485
X4 CAN1 √ √ –
e
X4 X5 CAN2 √ – √
j CAN 1
f
ETH0 X5 XC-303- C32 C21 C1
CAN 2 U1 USBHost √ √ –
l X6 ETH2 √ √ –
V+
0V
g ETH1 √ √ √
ETH0 √ – –
The XC300 Modular control is Eaton’s powerful and flexible control system,
allowing machine and plant builders to achieve a slim and modern automa-
tion concept in combination with the compact I/O system XN300 and the
innovative Multi-touch display XV300.
Thanks to the large number of interfaces, the PLC is suitable for use as a
universal and flexible data node for a wide range of applications.
The integrated OPC server allows for standardized data transfer in machine-
to-machine (M2M) communications and the web server supports visuali-
zation in HTML5 format.
Up to three Ethernet interfaces with individual IP addresses facilitate network
segmentation, whereby access is protected in accordance with current
standards in communication.
The XC300 can therefore be seamlessly integrated into modern automation
architectures in line with Industry 4.0.
The local functional level of the XC300 can be flexibly scaled to include all
modules of the I/O system XN300. The result: control solutions in the most
compact of spaces with a high number of connections.
The PLC consists of the:
• Controller with power supply adapter and local inputs/outputs
→ page 14
• I/O system XN300 → Separate manual “XN300 slice modules”.
Protocol Interfaces
CANopen Master / Device CAN1, CAN2
easyNet Master / Device CAN1, CAN2
Modbus RTU Master / Device RS485
EtherCAT Master (1x) ETH0, ETH1, ETH2 (fieldbus)
Modbus TCP Master / Device ETH0, ETH1, ETH2 (fieldbus)
Ethernet/IP Master ETH0, ETH1, ETH2 (fieldbus)
OPC-UA/SCADA Server ETH0, ETH1, ETH2 (SSL/TLS/IPSec)
WEB - VISU HTML5 server ETH0, ETH1, ETH2 (SSL/TLS/IPSec)
Ethernet HTTP, HTTPS, DHCP (client), ETH0, ETH1, ETH2
DNS, SFTP, SSL, TLS
DANGER
1.4.1 XC-303-C32-002
a Local inputs/outputs
S1 ON OFF b 24 V DC supply voltage for local
SD
PLC STOP ⑫ inputs/outputs
⑦ Micro
TRSa
XC-303-C32-002
PRG TRSb
SD TC1 c RS485 with data cable A, data cable B, GND
TC2
SD
d CAN1 with CAN_H, CAN_L, GND
U1 X1 ①
USB
HOST
I/Q1 e CAN2 with CAN_H, CAN_L, GND
I/Q2
⑪ X6
V+
⑥
0V
Figure 2: XC-303-C32-002
1.4.2 XC-303-C21-001
a RS485 with data cable A, data cable B, GND
b CAN1 with CAN_H, CAN_L, GND
S1 ON OFF
SD
PLC STOP ⑧ c 24 V DC POW supply voltage
④ Micro
TRSa
d Slot for MicroSD
XC-303-C21-001
PRG TRSb
SD TC1
SD e USB-Host 2.0 host, type A
U1 f ETH2, 10/100/1000 MBit/s
USB
HOST
g ETH1, 10/100 MBit/s
⑤ h DIP switch for switching on the operating
USB
ETH2
status and termination resistors
⑥ X3 ①
RS485
ETH1 X4 ②
CAN 1
⑦
X6
V+
③
0V
Figure 3: XC-303-C21-001
1.4.3 XC-303-C11-000
a CAN2 with CAN_H, CAN_L, GND
S1 ON OFF
b 24 V DC POW supply voltage
PLC STOP ⑤ c Slot for MicroSD
③ SD
Micro
XC-303-C11-000
PRG
SD d ETH1, 10/100 MBit/s
TC2
SD
e DIP switch for switching on the operating
status and termination resistors
ETH1
④
X5 ①
CAN 2
X6
V+
②
0V
Figure 4: XC-303-C11-000
Expansion level
000 = basic version
xxx = additional expansions
Product family XC
1.6 Functionality
Working
memory
(SDRAM)
INTERFERENCE
The values specified in the technical data, as well as the
device’s electromagnetic compatibility (EMC), cannot be guar-
anteed if the following are used: unsuitable cables, improperly
assembled and terminated cables, and/or wiring that does not
conform to the applicable standards. Only use cables assem-
bled and terminated by professionals.
The cables being used must be assembled and terminated as
required by the port/interface description in this document.
The wiring instructions for the interface in question must be
followed when wiring the device.
Generally applicable guidelines and standards must be
observed.
CAUTION
ATTENTION
The file system of the MicroSD memory card and USB-Device is
not transaction-safe.
Make sure that all the files of the program are closed before you
insert or remove a MicroSD and/or USB-Device or turn off the
voltage.
USB-Device
Equipment based on device type for the XC-303-C32-002 and
XC-303-C21-001
The XC300 Modular control provides the option through the USB-Host to
connect USB peripheral devices supported by the hardware and operating
system, e.g., a USB stick as an external memory.
The USB interface can also be used as a programming interface, for loading
the user program or carrying out a system update.
CAUTION
CAUTION
→ Note that the USB interface has a maximum load of 100 mA.
USB-Host
The USB interface is a USB 2.0 host interface.
Version: USB 2.0 host type A, downstream plug
Figure 6: USB-Host
USB cable
• Only use standard USB 2.0 cables with a shield.
• Max. cable length: 5 m.
See also:
• Interface assignment → page 43
• Technical Data → page 145
1.6.4.2 Ethernet
Communication between the XC300 Modular control and the programming
device is possible using any Ethernet interface ETH0, ETH1, or ETH2.
The Ethernet interfaces of the device provide different transfer rates:
Interface Transfer rate XC-303-C32-002 XC-303-C21-001 XC-303-C11-000
MBit/s
ETH0 10, 100 ✓ – –
ETH1 10, 100 ✓ ✓ ✓
ETH2 10, 100, 1.000 ✓ ✓ –
Use the Ethernet interfaces for programming, debugging, and for updating
the controller operating system.
All Ethernet interfaces provided by the respective device can be used for
programming in the same way.
Recommendation: Connect a PC via Ethernet
Note the following:
• Each Ethernet interface must be correctly configured.
• Two Ethernet interfaces cannot connect on the same subnet.
Version: RJ45 socket, 8-pin
1 2 3 4 5 6 7 8
CAUTION
See also:
• Interface assignment → page 43
• Technical Data → page 145
1.6.4.3 RS485
Equipment based on device type for the XC-303-C32-002 and
XC-303-C21-001
The serial RS485 interface (X3) can be used to connect an external display
unit, for example.
The RS485 port can connect to another controller as a Modbus RTU master
or Modbus RTU device.
The RS485 interface is isolated from the system supply.
Max. possible cable lengths 100 m:
Termination Resistors
To connect the termination resistors for the RS485 cable, set the two DIP
switches S1 TRSa and TRSb to the ON position.
S1 ON OFF
STOP
TRSa
TRSb
TC1
TC2
RS485 Cable
• Only use the specified connection cable pre-assembled by an electrician.
• Max. cable length: 100 m.
See also:
• Interface assignment → page 43
• Technical Data → page 145
1.6.4.4 CAN/easyNet
Equipment based on device type
• XC-303-C32-002 CAN1, XC-303-C32-002 CAN2
• XC-303-C21-001 CAN1
• XC-303-C11-000 CAN2
Both CAN interfaces can be operated individually as CAN masters or CAN
devices.
The CAN1 interface (X4) is galvanically isolated from the Us (X6) supply, while
the CAN2 interface (X5) is not.
The connections of the interfaces are the same. The CPU can be operated on
the CAN bus both as a network (NMT) master and as an NMT device.
The CANopen and easyNet protocol can be run in parallel by the XC300.
Version: X4 and/or X5 plug connector, 3-pin, push-in spring-type terminal
block
S1 ON OFF
STOP
TRSa
TRSb
TC1
TC2
S1 ON OFF
STOP
TRSa
TRSb
TC1
TC2
See also:
• Interface assignment → page 43
• Technical Data → page 145
2 Installation
CAUTION
Installation requires qualified electrician
2.1.1 Ventilation
In the project engineering phase, ensure that there is sufficient ventilation for
the XC300 Modular control.
In order to ensure that the maximum operating ambient temperature will not
be exceeded, make sure that there is enough clearance between the system
block's vents and any neighboring components, as well as between the
vents and the control panel’s back plate.
Maintain a minimum clearance of 50 mm from passive components.
If the adjacent components are active elements (e.g., power supplies,
transformers) a minimum clearance of 75 mm must be observed.
c
a
b
b
a
a b c ϑ
▶ Insert one XN300 slice module each from the right in such a way that the
locking tabs engage the guide.
1
2
Figure 8: Assembling the XC300 and XN300 modules into one system block
▶ Grab the front cover from the top and bottom and push it back toward
the XN300 slice module so that the modules lock solidly into place with
each other.
▶ Repeat these steps until all XN300 slice modules are combined with the
controller to form one system block.
▶ Pull the locking tabs up on the back of the XC300 Modular control and all
XN300 slice moduless. Use a screwdriver as an aid.
▶ Tilt the system block forward and place it against the DIN-rail’s bottom
edge in an inclined position.
Figure 11: Placing the system block against the bottom edge of the DIN-rail
Figure 12: Locking the system block into place on the DIN-rail
▶ Tilt the system block forward, then pull the block, from its bottom edge,
away from the DIN-rail.
Figure 14: Placing the system block against the bottom edge of the DIN-rail
→ The front cover’s stay-put function will indicate that the locking
tabs have been unlocked. The front cover of the XC300 Modular
control is secure and cannot be loosened.
2.4 Terminals
Plug connector
X1 – Xn: The plug connectors with push-in spring-type terminals are supplied
with the XC300 Modular control.
The cable, which is fitted with ferrules, is pushed into the corresponding
contact and locked into place.
In order to release the conductor, simply press on the release mechanism,
e.g., with a screwdriver, to pull out the cable from the corresponding contact.
d ⌀d
Ferrule d mm ≦ 2.8
AWG 24 – 16
Stripping length mm 10
XC300 Systembus
V+ UBP_24 V +24 V DC
X6
0V XN-322 XN-322
CPU-System GND
n=1 n ≦ 32
UBP_5 V +5 V DC
GND
GND GND
Figure 17: Potential relationships XC300 Modular control with I/O system XN300
XC300 I/Q 1
... X1
I/Q 4
IO UL 24 V DC X2
GNDL
X3
RS485 X4
CAN1
GNDCAN
X6 V+
0V
CPU-System Systembus
ETHO
ETH1
CAN2 X5
ETH2
GND GND
FM 4/TS 35
(Weidmüller)
M4
ZB4-102-KS1
Take care to implement proper cable routing both inside and outside the
control panel, to keep interference as low as possible:
▶ Avoid parallel routing of sections of cable in different power categories.
▶ As a basis rule, keep AC cable separated from DC cables.
▶ Keep to the following minimum clearance:
• at least 10 cm between power cables and signal cables;
• at least 30 cm between power cables and data or analog cables.
▶ When routing cables, make sure that the outgoing and return leads of a
circuit pair are routed together. The opposing currents on this cable pair
cause the sum of all currents to equal zero. The generated electromag-
netic fields cancel each other out.
2.6.3 Shielding
▶ Use shielded cables for the connections to the data interfaces.
The general rule is:
the lower the coupling impedance, the better the shielding effect.
The system bus is supplied via the XC300 Modular control with 5 V DC/1.6 A
and 24 V DC/1.6 A. The supply voltage for system bus communication with
the XN300 slice modules is provided via the 5 V on the system bus of the
XC300 Modular control.
The system bus also provides a 24 V DC supply voltage for internal power to
the XN300 slice modules. Modules with high energy requirements have an
additional power supply. Some XN300 slice modules need an external supply
of 24 V DC.
F1
X6
3 mm (0.12”)
V+
0V
Ue = 24 V DC
(18 - 30 V DC SELV)
Ie ≦ 2,8 A
F1
X2
3 mm (0.12”)
UL
UL = 24 V DC
(18 - 30 V DC SELV)
IL ≦ 2 A
The cable cross-section of the +24 V supply voltage for the inputs/outputs
must be designed for the maximum total current of all outputs.
X1
Q1
Q2
Q3
Q4
RL
X2UL
_
X1
I1
I2
I3
I4
X2UL
24 V
0V
PE
X1
I1
I2
I3
1
I4
X6
V+
0V
24 VI
0 VI
The statuses at the terminals are registered in the controller with an input
delay of < 300 μs.
V
30
25
20
15
13
10
6.7
5
See also:
• Time requirement at the interrupt inputs: Technical Data → page 145
See also:
• Functionality → page 17
• Technical Data → page 145
2.10.2 Ethernet
Table 3: Ethernet interface assignment
RJ45 socket PIN Ethernet 10/100 MBit Ethernet 1000 MBit
8 – BI–_D4
1 2 3 4 5 6 7 8 7 – BI+_D4
6 Rx– Rx–_D2
5 – BI–_D3
4 – BI+_D3
3 Rx+ Rx+_D2
2 Tx– Tx–_D1
1 Tx+ Tx+_D1
See also:
• Functionality → page 17
• Technical Data → page 145
2.10.3 RS485
Equipment based on device type for:
• XC-303-C32-002
• XC-303-C21-001
+5 V
390 Ω
S1 ON OFF S1 X3
STOP TRSb RS485 b
TRSa
TRSb
TC1
220 Ω
TC2
TRSa RS485 a
390 Ω
GND
Figure 27: Connecting the termination resistors for the RS485 interface
See also:
• Functionality → page 24
• Technical Data → page 145
2.10.4 CAN/easyNet
Equipment based on device type
• XC-303-C32-002 CAN1, XC-303-C32-002 CAN2
• XC-303-C21-001 CAN1
• XC-303-C11-000 CAN2
R R R
GND_L GND_L
GND GND
Figure 28: Connecting the termination resistors for the CAN interfaces (CAN1 or CAN2)
See also:
• Functionality → page 25
• Technical Data → page 145
3 Commissioning
The XC300 Modular control is commissioned in the system block together
with the XN300 slice moduless.
Power ON
Start no
no yes
CONTINUE
yes
CONTINUE
Note:
yes If MicroSD memory card and USB-Device are both inserted,
User program Copy the user program to
on MicroSD? “\home” the MicroSD takes priority.
In file InitPLC the slot for the MicroSD is queried first.
no The update process for the operating system and/or user
yes program can be blocked via entries in file “\home\InitPlc”.
User program Copy the user program to
on USB? “\home”
no
CONTINUE
yes
File networkconfig Adoption of
on MicroSD? configuration in XC300
network settings
no
Start of PLC
Figure 29: Startup sequence XC300 with MicroSD memory card and USB-Host
Note:
Cold START/ The startup behavior of the XC300 is
warm START configured in file “\home\InitPlc.”
RUN/STOP no
switch in RUN?
yes
RUN STOP
a section „Program execution“
S1 ON OFF S1 ON OFF
STOP STOP PLC stops PLC runs
TRSa Termination
TRSb
TC1 TASa,TASb X3 (RS485) –
TC2 TC1 X4 (CAN1) –
TC2 X5 (CAN2) –
ON OFF ON OFF ON OFF
STOP 1 STOP 1 STOP 1
TRSa 2 TRSa 2 2
TRSb 3 TRSb 3 3
TC1 4 TC1 4 4
TC2 5 5 TC2 5
RUN On Off
STOP Flashing Off
NOT READY Off On
If the runtime system starts up incorrectly, the status NOT READY is sig-
naled by the PLC LEDs. The CPU remains in STOP state. The CPU can be
restarted once the fault is corrected; see also → section 3.5, “LED Indica-
tors”, page 54.
Breakpoint/single-step mode
Breakpoints can be set within the application program. If an instruction has a
breakpoint attached, then the program will halt at this point. The following
instructions can be executed in single-step mode. Task monitoring is deacti-
vated.
ATTENTION
At this point, any set outputs will remain set.
3.4.2 Forcing
All variables of the user program can be preset.
A local output is only forced if the corresponding variable is forced and the
CPU is in the RUN state.
Status Indication
The inputs/outputs are to be referenced in order to visualize the states of the
configured inputs/outputs in an interval controlled task in the PLC configura-
tor. The following syntax is sufficient in the ST programming language in
order to be able to display individual I/O bits.
Example:
%IB0; (referencing of inputs I0.0 – I0.7)
%QB0; (referencing of outputs Q0.0 – Q0.7)
3.4.3 Reset
There are three different types of Reset commands:
• Reset-Warm,
• Reset-Cold,
• Reset-Origin.
→ table 7: The commands also affect the state of the CPU: shows the com-
mands to use for initializing a retentive variable range. The commands also
affect the state of the CPU.
Non-retentive Activation of initial values Activation of initial values Activation of initial values
Retain Persistent Values remain in memory Values remain in memory
Program paused; paused; deleted; controller in NOT
then restart then restart READY status;
PRG LED goes out;
then reload program on
the device and restart
1) After “Reset-Origin” the program must be reloaded on the XC300. In online operation,
the “Start” command can now be issued.
U1
USB
③ c LED MicroSD found (green/–)
HOST
I/Q1
X1 k LED Q1–Q4 (green)
I/Q2
I/Q3 ⑪ l LED 24 V found UL (green)
I/Q4
The logical state of the process image does not affect the status
indication; the status is indicated even if the controller is in RESET
mode.
– ON Input has HIGH signal
POW – No power supply at X6
ON 24 V DC power supply found for device at X6
UL at Q1 – Q4 – No power supply
ON Power supply present
1) flashing: The flashing frequency may differ based on the transfer rate on the bus.
When large amounts of data are being exchanged the flashing LED may look like it is constantly on.
→ Please note that the “Retain” variables are initialized during the
load process, but the “PERSISTENT” variables retain their
value.
The firmware files are now located on the removable media in the directory
XC303/Firmware.
▶ Insert the USB-Device or the MicroSD memory card into the XC300.
The system will check whether there is a different operating system on the
removable medium. If one is found, the system will start updating the firm-
ware. You will recognize that this is happening when the status indicator
LEDs under the front panel, PLC and PRG (green), start to flash in alternating
sequence along with SF (red).
→ The new firmware version will not be enabled until the PLC is
restarted.
At the end the control specific settings are explained on the basis of an
example.
Writing a program
▶ Open the Editor for the “basic_PRG” program element by double-click-
ing it.
▶ You can now enter a program. In the program example, the “bCount”
variable is incremented.
When the counter reaches 20 the global variable a = TRUE.
Writing a program
▶ Select “Application” and in the context menu, select the command
“Add Object” and choose (POU) as the object with the name
“Param_prog.”
▶ You can now enter a program. The program example Param_prog
(figure 39) increments the variable “value” by the value 1.
The “Param_prog” program is processed if variable a = TRUE.
4.3 Multitasking
The XC300 runtime system is a multitasking system. This means that multi-
ple tasks can be performed at the same time (in parallel).
Updating the Input/Output Image
If the local and central inputs/outputs are programmed in multiple tasks, the
input/output image in XSOFT-CODESYS-3 is updated according to special
rules:
By default, only the inputs are read before each task and the outputs to be
used in the task in question are set.
This means that the CPU does not work with a constant input/output image
within a cycle; instead, the input/output image changes during the cycle
depending on the task.
After starting, the system updates the inputs used in the first task, for exam-
ple. The name of the first task “Prog1” is in the figure 43. If the system
detects an input connected to an XN300 slice module by the configuration,
such as XN322-16DI, only this input of the module is updated in the image.
If further inputs exist in this task and they are assigned to other slice mod-
ules, the inputs of these modules are also updated.
The same process occurs for the outputs. For example, if outputs QX6.0 and
QX7.1 of output module “1” are used by different tasks, the outputs of this
module are not only updated before the first task. The first task could set out-
put QX6.0 and then the second task may reset the output due to the
changed input image.
Examples
The examples are based on the following configuration:
input module 1
input module 2
output module 1
XC300 output module 2
CPU
Example 1
Prog 1 2 50 ms
Prog 2 1 10 ms
In the first task “Prog1,” input IX4.0 of input module 1 and input IX6.0 of
input module 2 are used in the program “progtes(1).” Only these inputs are
updated before the first task “Prog1” starts.
In the second task “Prog2,” input IX4.1 of input module 1 is programmed in
the program “progtes(2).” Before the second task “Prog2” starts, this input
of this input module is updated.
Example 2
Prog 1 2 50 ms
Prog 2 1 20 ms
In example 2, input IX4.0 is programmed in the first task and input IX4.1 and
output QX4.0 are programmed in the second task.
Input IX4.0 is updated at the start of the first task. If this input is set, output
QX4.0 is also set; otherwise it is reset.
At the start of the second task, input IX4.1 of the input module is updated
and output QX4.0 is set or reset.
The control sequence may therefore result in output QX4.0 being set in the
first task and then reset in the second task. The output is toggled.
Creating a Task with Consistent Inputs/Outputs
Avoid access to the physical outputs from several tasks. To ensure a clear
control sequence, create a task for the local inputs/outputs and the inputs/
outputs of the local expansion, in which all inputs are copied to global vari-
ables and at the end of the interval, all outputs of global variables are written
to the output modules (I/O update task). The I/Os are consistent (data integ-
rity) within this task. The global variables can then be used instead of the I/Os
in other tasks.
If the processing time of the task exceeds the interval time, the end of the
second interval time is awaited until the task is restarted.
→ Watchdog deactivated.
The watchdog interrupts the program processing if the processing time of
the task exceeds the watchdog time.
Furthermore, the frequency (sensitivity) can be set, which allows a certain
number of times the watchdog can be exceeded. In this case the outputs of
the PLC are switched off and the user program is set to the “Halt” state.
Afterwards, the user program must be reset with RESET.
CAUTION
Configuring a Watchdog
You can select the following settings in the task configuration:
• Watchdog on/off
• Watchdog time
• Watchdog sensitivity.
These settings apply for time controlled and event controlled tasks.
Watchdog active
The watchdog is started at the commencement of every processing cycle
and reset again at the end of the task.
b TZ > WT TZ > WT TT = WT
d TZ > WT TZ > 2 x WT
(infinite
loop)
Watchdog deactivated
The cycle time of a task is not monitored when the watchdog is deactivated.
The task ends when it has been processed and only starts again when the
next interval time starts.
Example: Watchdog deactivated
The interval time (IZ) is 10 ms.
Variant a: The interval time (IZ) of a task was set to 10 ms.
The actual task run time (TZ) is 15 ms. The task was started during the initial
call but only ended during the second cycle. Therefore, the task is not started
again in the second cycle. The task can only be restarted in the third cycle –
after 20 ms. This means that the task does not run every 10 ms but rather
only within a time interval of 2 x 10 ms.
Variant b: The running cycle is not ended.
IZ = 10 ms IZ IZ IZ IZ IZ IZ
b TZ > WT TZ f WZ
(infinite loop)
The maximum segment size for inputs, outputs, and markers is 1,280 bytes
each and for retain variables, 98 kB.
If you add a module to the PLC in the configurator, the configurator will
assign this module with an address. Further modules are assigned with the
next addresses in ascending order. You can also assign the addresses freely.
However, if you access the “Automatic calculation of addresses” function
later, the addresses are shown in reassigned ascending order.
Check for overlapping addresses
Duplicate addresses are identified during conversion and an error message is
generated.
Addressing by Data Type
If you assign a word-addressable variable of the module, such as I/O system
XN300 InputChannel2 of the XN322-4AI-PTNI, with an address that does not
match the data type (e.g., IB11) in the “Input Address” field, the word
address following the previous variables automatically appears in the control-
ler configurator (e.g., IW12).
4.7 Diagnostics
The following diagnostics options are available:
• LED indicators
• Error messages when converting the project
• I/O system XN300 master diagnostic options
• Shell commands for diagnostics
Subscriber found / Subscriber not found
Runtime system started/not started
PLC LED Indicator
If the program is experiencing a fault, the status indicator LED under the
front PLC flashes red and green because the program is being stopped
automatically, → figure 33, page 54.
Shell Commands for Diagnostics for Modules from the I/O system
XN300
▶ Double-click on the device in the Explorer, e.g., “Device (XC303),”
go to the “Device” tab, and select “PLC Shell.”
▶ Enter the command “?” in the command line.
ATTENTION
All the outputs controlled (H signals) up to this point remain
active and can’t be switched off.
The interrupts are enabled in the RUN state of the CPU and disabled in the
STOP state. Interrupt sources which are not enabled in the configuration do
not initiate an interrupt. If a POU is not assigned to an enabled interrupt
source, the interrupt is recognized and executed but without running a POU.
Frequent interrupts during program execution can cause the programmed
task time to time out and result in a RESET being initiated by the Watchdog.
User interrupts can be inhibited and re-enabled from the program. The func-
tions Disableinterrupt and Enableinterrupt exist for this purpose. A call parame-
ter in the XSOFT-CODESYS-3 software determines if an individual interrupt
or all interrupts are enabled or disabled. A disabled interrupt must be
enabled with the same parameter used to disable it.
The two functions DisableInterrupt and EnableInterrupt belong to the library
EA_XC303Events.lib. This library must – if not already done so – be integrated
into the XSOFT-CODESYS-3 library manager, see → section 15.2, “Installing
additional system libraries”, page 130.
DisableInterrupt
With this function, you disable (deactivate) a parameterized physical interrupt
by accessing it from the user program.
EnableInterrupt
With this function, the physical interrupt which was deactivated beforehand
can now be re-enabled as an active interrupt.
Configuration
The interrupt is configured and assigned a priority in the “PLC and Task Con-
figuration” of the CODESYS (activate the “Resources” tab and open the
“Task Configuration l System Events” folder). Each interrupt can be
assigned with a POU here.
Example for Interrupt Processing
A “Basic” task contains a POU “PLC_PRG”. A further POU “Fastprog”
should be processed if an L → H edge at input I0.4 generates an interrupt.
▶ Create the POUs “FAST_PRG” as shown in → figure 57.
▶ Switch to the PLC configuration and assign input I0.4 (L → H edge) the
interrupt source “Interrupt rising edge,” for example, from the drop-
down menu.
▶ Change over to the Task configuration and open the System Events
folder.
7.1 Overview
System parameters independent of the project can be set by you and saved
on the memory card. They are compiled in the following files:
• netwerkconfig.templ -> networkconfig
• deleteboardapplication.templ -> deleteboardapplication
The memory card can be used in other controllers, too.
When started, the controller automatically adopts the parameters set in the
files.
• SD/USB in folder XC-303/update
• deleteboardapplication.templ -> deleteboardapplication
Templates on the controller in folder \home.
# Overwrite existing firmware in any case. Flag will be removed on first firmware-update
FW_FORCED_OVERWRITE=0
# Take firmware from SD card "/home/disk_sd/XC303/Firmware"
FW_INSTALL_FROM_SD=1
# Take firmware from USB-storage "/home/disk_usb/XC303/Firmware"
FW_INSTALL_FROM_USB=1
# Set to 1 to install a firmware XSoft-Codesys Updater"
FW_INSTALL_FROM_XSOFTCODESYS=1
# Set to 1 to install a firmware from a defined path (USER_DEFINED_FW_PATH)"
FW_INSTALL_FROM_USER_DEFINED_FW_PATH=0
USER_DEFINED_FW_PATH=
#-----------------------------------------------------------
# Reset network settings
#-----------------------------------------------------------
# You should take care to move the networkconf file, once the reset values have been applied.
# A networkconf template file can be found on /home/etc/networkconfig.templ
# Reset network configuration by booting the plc with a config File located on /home/disk_usb/XC303/
update/networkconfig
NW_UPDATE_FROM_USB=1
# Reset network configuration by booting the plc with a config File located on /home/disk_sd/XC303/update/
networkconfig
NW_UPDATE_FROM_SD=1
#-----------------------------------------------------------
# Start behaviour
#-----------------------------------------------------------
# Delay the start of the runtime system for a given number of seconds.
# (This start delay may be needed to detect USB devices.)
PLC_START_DELAY_SEC=4
# Set to 1 to skip the plc-runtime start
DISABLE_PLC_START=0
# Restrict the processor core usage of the plc-runtime. Valid entries: "CORE_0", "CORE_1", "BOTH"
PLC_CORE_USAGE=CORE_1
# Set to 1 to constantly check rts-state.
PLC_SUPERVISE_RTS=1
# Set to 1 to Reboot the PLC if the runtimesystem terminates unexpectedly.
PLC_REBOOT_ON_RTS_TERMINATION=1
#-----------------------------------------------------------
# Log Files
#-----------------------------------------------------------
# Defined path used to safe log files.(Default path "/var/log" is volatile,
# log files located there are lost after a power cycle.)
LOGFILE_DIR=/var/log
# Name of log file containing messages during the start up process.
LOGFILE_STARTUP=XC303Log.txt
# Name of log file containing messages from the plc runtime system.
LOGFILE_RTS=codesyscontrol.log
#-----------------------------------------------------------
# Map network drive
#-----------------------------------------------------------
# A network drive may be mapped into the view of the plc filesystem using nfs (Linux/Unix) or cifs
(Windows).
# Using nfs (network file system). A path "/home/disk_nfs" will be created.
MAP_NFS_FOLDER=0
NFS_SOURCE_PATH=
# Using cifs (common internet file system). A path "/home/disk_cifs" will be created
MAP_CIFS_FOLDER=0
CIFS_SOURCE_PATH=
CIFS_USER_NAME=
CIFS_DOMAIN_NAME=
CIFS_PASSWORD=
7.3 Switching On the Controller with Memory Card with File “InitPLC” Inserted
These system parameters are also active after a new program is loaded.
The start process updates the following:
• Firmware
• Boot project (user program)
• Network configuration
See also → section 3.2, “Startup Behavior XC300”, page 47.
In all checking processes, once the XC300 Modular control is started the
MicroSD slot is checked first and only then is the USB-Host checked.
If a boot application exists on the MicroSD memory card or USB-Device and
this application has a newer version then the version in the XC300, the boot
application in the controller is updated.
The retentive data is then loaded.
If the controller is in a warm/cold start and the “STOP” DIP switch is set to
the “OFF” position, the user program is started.
The DIP switch configuration is described in detail in → section 3.3.1, “DIP
Switch S1”, page 49.
ETH0_ENABLE_DHCP=
# 1 will enable dhcp client on the interface.
# Default value:0
ETH0_IP_ADDRESS=
# Should containg a valid IP-v4 ip-address,
# if DHCP is enabled this field must be left blank.
# Default value:192.168.119.248
ETH0_SUBNET_MASK=
# Should containg a valid IP-v4 subnet mask
# Default value:255.255.255.0
ETH0_BROADCAST=
# Should containg a valid broadcast address
# Default value:255.255.255.255
ETH0_DEFAULT_GATEWAY=
# Should containg a valid IP-v4 ip-address of the default gateway.
# Default value: no default value.
#--------------------------------------------
# ETH 1
#--------------------------------------------
ETH1_DISABLE=
# 1 will disable the interface.
# Default value:0
ETH1_ENABLE_DHCP=
# 1 will enable dhcp client on the interface.
# Default value:0
ETH1_IP_ADDRESS=
# Should containg a valid IP-v4 ip-address,
# if DHCP is enabled this field must be left blank.
# Default value:192.168.137.248
ETH1_SUBNET_MASK=
# Should containg a valid IP-v4 subnet mask
# Default value:255.255.255.0
ETH1_BROADCAST=
# Should containg a valid broadcast address
# Default value:255.255.255.255
ETH1_DEFAULT_GATEWAY=
# Should containg a valid IP-v4 ip-address of the default gateway.
# Default value: no default value.
#--------------------------------------------
# ETH 2
#--------------------------------------------
ETH2_DISABLE=0
# 1 will disable the interface.
# Default value:0
ETH2_ENABLE_DHCP=
# 1 will enable dhcp client on the interface.
# Default value:0
ETH0_IP_ADDRESS=
# Should containg a valid IP-v4 ip-address,
# if DHCP is enabled this field must be left blank.
# Default value:192.168.138.248
ETH0_SUBNET_MASK=
# Should containg a valid IP-v4 subnet mask
# Default value:255.255.255.0
ETH0_BROADCAST=
# Should containg a valid broadcast address
# Default value:255.255.255.255
ETH2_DEFAULT_GATEWAY=
# Should containg a valid IP-v4 ip-address of the default gateway.
# Default value: no default value.
8 Expansion
input module 1
input module 2
output module 1
XC300 output module 2
CPU
CANopen
Figure 64: CAN node as decentralized expansion of the XC300 Modular control
For this purpose the system block, consisting of a gateway and XN300 slice
moduless, is mounted on a DIN rail. The system block and controller can be
mounted separately. The XN300 system provides a wide range of XN300
slice moduless, which offer special functions in addition to inputs and out-
puts, such as the weighing module or the motor driver module.
CAN open
→ If you are commissioning the fieldbus for the first time, you
must first set up the relevant PLC programming environment.
Initial Commissioning
The following steps must be carried out:
▶ Connect the XC300 Modular control to the programming PC.
▶ Connect the XC300 to the CAN-Gateway XN-312-GW-CAN via a CAN
bus cable.
▶ Set the DIP switch for the CAN.
→ section 2.10.4, “CAN/easyNet”, page 45
▶ Set the node ID and baud rate.
▶ Save the configuration of the I/O system XN300 components connected
to the CAN-Gateway XN-312-GW-CAN in the “config check” in the
gateway.
▶ Open your project in XSOFT-CODESYS-3 or create a new one,
→ section 5.2, “Creating a new project”, page 78.
▶ EDS files for fieldbus subscribers from other companies must be addi-
tionally installed in XSOFT-CODESYS-3, see → section 9.1.5.2, “Install-
ing the EDS File”, page 105.
Figure 68: “Add Device” window for CAN module selection for the XN-312-GW-CAN
▶ Select the desired XN300 slice module and then select <Add Device>.
The XN300 slice module will be added to the “Devices” configuration tree
diagram.
ATTENTION
The short data refresh cycle times in the XN300 system can
result in the CAN transmission path being subjected to high
loads. Accordingly, it is recommended to limit the data being
transmitted by using the various PDO properties available (e.g.,
inhibit time), especially in the case of analog input and technol-
ogy modules featuring counters.
Figure 70: “Devices” pane with CANopen manager in the configuration structure
10 EtherCAT
The following describes how the XC300 Modular control controller is config-
ured as an EtherCAT master in order to operate decentralized EtherCAT
subscribers.
EU5C-SWD-ETHERCAT is used here as an example of an EtherCAT sub-
scriber. This EtherCAT gateway acts as a coordinator for other SWD sub-
scribers and their input and output functions.
A target and project configuration must be saved in the gateway in order for
the EU5C-SWD-ETHERCAT gateway to exchange data with the XC300 con-
troller. How these configurations are applied and stored in the device is
described in the “ Gateway EU5C-SWD-ETHERCAT” manual. This manual
can be downloaded from the internet as a PDF from: www.hilscher.com
<Products | Partner Products | SmartWire-DT | EU5C-SWD-ETHERCAT |
Downloads>
Requirements:
• PC with installed PLC programming environment XSOFT-CODESYS-
3 V3.5.10 or higher and Ethernet adapter.
• The Ethernet adapter for the PC is connected to the XC300 controller via
Ethernet.
• XC300 is connected to the EU5C-SWD-ETHERCAT gateway.
• The gateway is connected to a SmartWire-DT network.
• The gateway contains a valid SmartWire-DT configuration (SWD LED on
the device lights up green constantly).
• You have access to the device description files for the
EU5C-SWD-ETHERCAT gateway.
Figure 73: List of all found Ethernet interfaces of the XC-303-C32-002 controller
Figure 76: Tree diagram with EU5C-SWD-ETHERCAT gateway and SWD subscribers
▶ If the desired EtherCAT subscriber is not found in the list, update the
X-SOFT-CODESYS-3 version you are using or load the appropriate XML
file, → section 10.6, “Description Files for EtherCAT”, page 112.
▶ Check the parameter settings for the EtherCAT gateway by double-click-
ing in the tree diagram on “EU5C-SWD-ETHERCAT (...)”
11 Modbus
The TCP master does not need any information as to which Modbus TCP
slave is connected to the bus. It only needs the IP address and the register
number of the Modbus TCP slave.
▶ Select the slave connection “Modbus_TCP_Slave” in the configuration
tree diagram.
▶ Select <Insert device>.
The Modbus TCP device is added to the configuration tree diagram.
A maximum of 32 Modbus TCP masters can be added.
The /home directory is the only directory on the device that standard users are
allowed to write to.
Directory Description
home/etc Write-protected flash area; system-specific files such as InitPlc
home/PlcPrg Contains boot project
home/PlcRts Runtime system settings
home/disk_usb Optional: only available if a USB stick is inserted
13 Web-Server
The XC300 controller has a web server for sharing the visualization created
by XSOFT-CODESYS-3.
The handling of the web visualization is explained in the XSOFT-CODESYS-3
help.
Keywords: CODESYS Visualization / Object “Web Visu”
ATTENTION
The number of clients with simultaneous access to the XC300 is
limited to 10.
→ The user has the option of creating their own libraries, in order to
save recurring tasks as functions or blocks in custom libraries.
Figure 90: PLC shell tab with result of the browser command “?”
Command Description
resetprgcold [<app name>|<app index>] User program cold reset
rtsinfo runtime system information (version, IO drivers)
setipdns Set DNS address [setipdns adr1.adr2.adr3.adr4]
setipaddr <arg> ) Set IP address (<arg> = AdapterNo Adr1.Adr2.Adr3.Adr4)
setipbroadcast <arg> Set IP of broadcast address (<arg> = AdapterNo Adr1.Adr2.Adr3.Adr4)
setipnetmask <arg> Set IP subnet mask (<arg> = AdapterNo Adr1.Adr2.Adr3.Adr4)
setipgateway <arg> Set IP default gateway (<arg> = AdapterNo Adr1.Adr2.Adr3.Adr4)
setrtc1) Set date and time [YY:MM:DD] [HH:MM:SS]; example: setrtc 03:07:24 10:46:33
settimezone <arg> Set new time zone information (<arg> = offset to UTC)
startprg Start user program
stopprg Stop user program
xngetversion Show version information, show current XN driver version
xnmodules Show currently configured and connected SDIAS modules
xnvariables Show XN module variables
xnconfig Show XN module configuration variables
xnstatistics Show statistical XN data
1) You can access help in the CoDeSys software with advanced information for this PLC shell command.
Enter a question mark followed by a space before the command in the command line of the PLC browser, e.g. ? plcload
plcload
The PLC shell command plcload provides information on the current system
utilization of the CPU.
This information can also be accessed via the “SysGetPlcLoad” function in
the 3S standard library SysPlcCtrl23.
A utilization of more than 95 percent can cause a failure of the serial and
Ethernet communication and/or an impairment of the real-time response.
canload
The PLC shell command canload shows the utilization of the CAN bus.
caninfo shows the baud rates and statuses of the CAN buses.
The information on the CAN bus can also be accessed using the
CAN_GetBusLoad and CAN_GetBusState functions in the EA_CAN library.
18 Maintenance
CAUTION
18.2 Repairs
For repairs, please contact your distributor or Eaton’s Technical Support.
CAUTION
UV LIGHT
Plastics will become brittle when exposed to UV light.
This form of artificial aging will reduce the unit’s lifespan.
Protect the device from direct sunlight or other sources of
UV radiation.
CAUTION
SHORT-CIRCUIT HAZARD
If the device is or has been exposed to environmental fluctua-
tions (ambient temperature, air humidity), condensation may
form on or inside it. As long as this condensation is present,
there will be a short-circuit hazard.
Do not switch on the device when it has condensation in or on
it.
If the device has condensation in or on it, or if the device has
been exposed to environmental fluctuations, let the device set-
tle to the existing ambient temperature before switching it on.
Do not expose the device to direct thermal radiation from heat-
ing appliances.
The specified ambient conditions must be met when transporting and storing
the equipment.
The max. ambient temperature for storage/transport must not exceed the
specified value.
→ Before commissioning
If storing/transporting the device in cold weather conditions or in
such a way that it will be exposed to extreme differences in
temperature, make sure that no condensation forms on or
inside the device.
If there is condensation in or on the device, do not switch on the
device until it is completely dry.
18.4 Disposal
CAUTION
Installation requires qualified electrician
INSTRUCTION
Dispose of recyclables as required by your local recycling
regulations.
DANGER
19 Appendix
XC-303-…
Dimensions (H x D x W) mm 80.3 x 72 x 50
inch 3.16 x 2.83 x 1.97
Space units (SU) width
Weight kg 0.3
lb 0.66
Mounting DIN-rail IEC EN 60715, 35 mm
Mounting position vertical, upright
80.3 mm (3.16")
72 mm (2.83")
50 mm (1.97")
(0.16")
4 mm
51 mm (2.01")
104.7 mm (4.12")
101.8 mm (4.01")
97 mm (3.82")
Unit XC-300
Electromagnetic compatibility
Interference immunity
ESD (IEC/EN 61000-4-2) Contact discharge 4 kV
Air discharge 8 kV
Electromagnetic fields (RFI): criterion A
0.8 - 1.0 GHz V/m 10
1.4 - 2.0 GHz V/m 3
2.0 - 2.7 GHz V/m 1
Burst (EN 61131-2, POW kV 2
Level 3) criterion B
ETH 0…2 kV 1
Local inputs/outputs kV 1
Surge, (EN 61131-2, POW, kV 0.5
Level 1), criterion B symmetric,
asymmetric
ETH0…2/CAN/RS485, kV 1
symmetric
Local inputs/outputs, kV 1
symmetric
Cable-controlled interference, V 10
induced by high-frequency fields
EN61131-2
Digital outputs
Channels Numbe 4
r
Short-circuit proof yes
Insulation voltage VAC 500
Heat dissipation per channel
Q1 – Q4 W < 0.1
Load circuits
Q1 to Q4 A 0.5
Output delay
Off r On typ 0,1 ms
On r Off typ 0,1 ms
Duty factor DF % 100
Simultaneity factor g 1
Galvanic isolation from
each other no
from the inputs no
System bus yes
POW yes
RS485 yes
CAN1 yes
CAN2 yes
ETH0…ETH2 yes
Status Indication LED, one color, green
Cable length (unscreened) m < 30
19.4 Glossary
AWL Application list
Boot project Project loaded from the non-volatile memory of the CPU
Debounce setting The debounce setting defines the delay of a pulse edge from the input terminal I1 – I4
to the GPIO of the CPU.
Forcing Presetting of changed operators/variables to a fixed value
/home Top file directory in the controller XC300 XC300 Modular control which a user with status
“XC-303_user” can access
MicroSD Micro Secure Digital Card
OS Operating System
PLC Memory Programmable Logic Controller
POU Programming Organizational Unit
A POU type object is a programming organizational unit in a CoDeSys project.
Source code for your PLC program is written in POUs.
PRG Program
RC Remote Control
RTS Runtime System
Task Process, task carried out by the operating system
V
Ventilation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Voltage dip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
W
Watchdog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
active . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Configuring . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Monitoring a task . . . . . . . . . . . . . . . . . . . . . . 70
Web visualization . . . . . . . . . . . . . . . . . . . . . . . . . 123
Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Wiring example
Inputs/outputs . . . . . . . . . . . . . . . . . . . . . . . . . 40
Working memory . . . . . . . . . . . . . . . . . . . . . . . . . . 19
X
XML file
Update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
XN300 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9