Eaton XC-104 Series Manual

Eaton XC-104 Series Manual

Modular plcs xcontrol
Table of Contents

Advertisement

sales@artisantg.com
artisantg.com
(217) 352-9330 |
|
Visit our website - Click HERE

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the XC-104 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Eaton XC-104 Series

  • Page 1 sales@artisantg.com artisantg.com (217) 352-9330 | Visit our website - Click HERE...
  • Page 2 Manual 01/23 MN050005EN Modular PLCs XControl: XC-104-… XC-204-… XC-303-…...
  • Page 3 All editions of this document other than those in German language are translations of the original operating manual. 1. edition 2018, publication date 02/18 2. edition 2023, publication date 01/23 © 2018 by Eaton Industries GmbH, 53105 Bonn Author: Thomas Hettwer Redaction: Bettina Ewoti, Antje Panten-Nonnen All rights reserved, also for the translation.
  • Page 4 Danger! Dangerous electrical voltage! Before commencing the installation • 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 event of a fault or malfunction (for example, by means of •...
  • Page 6: Table Of Contents

    2.7.1 External lightning protection ............42 2.7.2 Internal lightning protection ............43 Connecting the power supply ............44 2.8.1 XC-303-… power supply .............. 44 2.8.2 XC-104-…, XC-204-… power supply ..........44 Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 7 System events ................76 Multi-tasking ................77 Task monitoring by watchdog............79 Limit values for memory usage ........... 83 Addressing inputs/outputs and marker ........84 Diagnostics .................. 85 Factory reset ................87 Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 8 Incorporating EtherCAT modules manually........120 10.5 Add SWD module ................ 121 10.6 Description files for EtherCAT............122 10.6.1 Standard XML files............... 122 10.6.2 Installing the XML file ..............123 10.6.3 Adding EtherCAT communication libraries........123 Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 9 Legal configuration page.............. 149 14.10 Logs configuration page............... 149 OPC UA ..................151 Libraries, function blocks and functions........152 16.1 Using libraries ................153 16.2 Installing additional system libraries ..........153 Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 10 Power supply for local inputs/outputs on XC-204-…, XC-303-… . 176 20.3.4 Local inputs XC-204-…, XC-303-…..........177 20.3.5 Local outputs XC-204-…, XC-303-… ..........178 20.3.6 CAN interfaces XC-204-…, XC-303-….......... 179 20.3.7 RS485-Interface ................181 20.4 Glossary ..................182 Index.................... 183 Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 11 Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 12: About This Manual

    Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… as integrated con- trollers in their own applications. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 13: List Of Revisions

    XControl added to all sections ✓ 0.3 Additional documentation Please follow the safety instructions in the "Eaton Product Secure Configura- tion Guidelines XC-104-…, XC-204-…" and "Secure Configuration Guidelines XC-303-…" documents and observe the "EULA XC-104-…, XC-204-…" and "EULA XC-303-…" end-user license agreements.
  • Page 14: Legal Disclaimer

    – especially if the XControl modular PLCs is commissioned and maintained by unqualified personnel and/or the XControl modular PLCs is used improperly. Eaton assumes no liability for any damages resulting from cases such as these.
  • Page 15: Writing Conventions

    For the latest information on the I/O system XN300, please visit our product pages: www.eaton.eu/xn300 and use the Eaton Online Catalog for information on the avail- able range of products: http://www.eaton.eu/ecat Enter "XN300" into the search box and the catalog will take you directly to the corresponding product group.
  • Page 16: Description Of The Modular Plcs Xcontrol

    Figure 1: System overview XControl The PLC consists of the: • PLC with PSU and local inputs/outputs → Page 14 • I/O system XN300 → Separate "XN300 slice modules" manual. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 17: Communications And Interfaces - Decentralized Expansion

    (in the sense of personal and machine protection). Observe the labels on the modular PLC housing and the corresponding approval specifications and technical data. Any other use must be discussed and agreed upon with the manufacturer in advance. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 08/23 MN050005EN Eaton.com...
  • Page 18 (EMC). DANGER  POSED BY AUTOMATIC STARTING Powering up the XControl must not result in any hazards being posed by controlled devices, e.g., motors starting unforeseeably or voltages being unexpectedly applied. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 19: Versions

    – √ – I/Q2 GND CAN – – √ – ④ – – – √ I/Q1 – – – √ I/Q2 – – – √ Figure 2: XC-104-… and XC-204-… connectors Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 20 I/Q1 HOST HOST I/Q2 I/Q3 I/Q4 ETH2 ETH2 RS485 RS485 ETH1 ETH1 ETH1 CAN 1 CAN 1 ETH0 CAN 2 CAN 2 Figure 3: XC-303-C11-000 Figure 4: XC-303-C21-001 Figure 5: XC-303-C32-002 Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 21 √ USB 2.0 Host, – √ √ Typ A ETH2 10/100/1000 – √ √ MBit/s ETH1 10/100 MBit/s √ √ √ ETH0 10/100 MBit/s – – √ Figure 6: Structure XC-303-… Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 22: Key To Xcontrol Part Numbers

    01 5081 915682 Eaton.com/recycling EU: Eaton Industries Gmbh, Hein-Moeller-Str. 7-11, 53115 Bonn, Germany ⚠ UK: Eaton Electric Ltd, POBox554, Abbey ParkSouthampton Road, Titchfield, PO144QA, United kingdom Eaton.com/documentation Figure 7: Device side with printed device version number a MAC address QR code...
  • Page 23: Functionality

    100 % XC-204-C21-001 – – – XC-204-C20-002 – – – XC-303-C11-000 – – – XC-303-C21-001 – – – XC-303-C32-002 500 mA 100 % 1.6.3 Processor unit Belonging to the processor unit are: Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 24 XC-104-… 2 GB 256 MB – XC-204-… 2 GB 256 MB 32 kB [MRAM/FRAM] XC-303-… 128M Bytes 512 MB 128 kB [NV-RAM] CPU drives The XC300 has the following drives available: Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 25 Figure 8 indicates the interaction of the differing XC300 memory systems/ drives. \disk_sd microSD memory card Program \home memory (flash) \disk_usb USB device Working memory (SDRAM) Figure 8: XC300 memory organization Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 26: Device Interfaces

    Only one USB storage device can be used at a time. This applies even if using a USB hub would make it possible to use multiple USB storage devices, for example. The output voltage is protected from overloads. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 27 The SD LED shows a green light to indicate that a MicroSD is inserted. → We recommend using a MicroSD memory card that is suitable for industrial data storage, such as item 191087, MicroSD memory card 2 GB with adapter. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 28 Every Ethernet interface must have a correct network configuration. • If a device has multiple Ethernet interfaces, they must use different net- work addresses, i.e., one of the first three octets must be used to differ- entiate between them. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 29 The Ethernet interfaces are delivered with the following IP addresses by default: Interface XC-303-… XC-204-… XC-104-… ETH0 192.168.119.248 192.168.119.204 192.168.119.104 ETH1 192.168.137.248 DHCP – ETH2 192.168.138.248 – – Subnet mask: 255.255.255.0 Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 30 Screened twisted-pair cables must be used. Adjustable baud rates Maximum possible cable length [bauds] 1200 1200 m 2400 4800 9600 19200 38400 576000 115200 Configuration: X3 plug connector, 3-pin, spring-loaded plug-in terminal block Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 31 220 Ω TRSa RS485 a 390 Ω Figure 10: Activating the bus termination resistors for the RS-485 interface RS485 cable • Use the specified connection cable assembled by electrically qualified personnel only. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 32 CAN bus. A bus termination resistor with a resistance of 120 Ω can be acti- vated with DIP switches for this purpose. To activate the bus termination resistors for CAN 1, switch the following DIP switch on S1 to the ON position: • XC-303-…: TC1 Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 33 Maximum possible cable length [kbauds] 1000 m ²,³ ² Starting from a cable length of 200 m, we recom- mend using optocouplers in the CAN stations 600 m ² 500 m ² Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 34 CAN bus. → Section “3.6 LED indicators”, page 63. See also: • Functionality → Page 18 • Device Interface → Page 21 • Technical data → Page 172 Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 35 1 Description of the Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 1.6 Functionality Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 36: Installation

    Keep a minimum clearance of 50 mm from passive components. If the adja- cent components are active elements (e.g., power supplies, transformers), keep a minimum clearance of 75 mm instead. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 37: Mounting Xcontrol

    The whole system block needs to be mounted on the DIN-rail and then secured in place by closing the locking elements. → Detailed instructions on how to install the XN300 slice modules can be found in the "XN300 slice modules" manual. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 38 To do this, follow the steps below: ▶ The Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… must be the first element on the left in the system block. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 39 XN300 slice module so that the modules lock solidly into place with each other. Figure 18: Locking the system block in place ▶ Repeat these steps until all the XN300 slice modules form a system block together with the PLC. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 40 To do this, push the locking elements at the back of the Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… and all XN300 slice modules down. You can use a screwdriver to do this. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 41: Uninstalling And Disassembly (Using The Xcontrol As An Example)

    You can use a screwdriver to do this. Figure 22: Releasing the system block locking elements ▶ Tilt the system block forward, then pull the block, from its bottom edge, away from the DIN-rail. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 42 204-…, XC-303-… is non-detachable and cannot be removed. Figure 24: Disengaging the front cover ▶ Once the locking tabs have been disengaged, you can separate the mod- ules from each other. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 43: Connection Terminals

    0.2 – 1.5 10 mm (0.39“) Flexible with uninsulated 0.2 – 1.5 ferrule 10 mm (0.39“) Flexible with insulated ferrule 0.2 – 0.75 Ferrule d ≤ 2.8 ⌀d 24 – 16 Strip length Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 44: Potential Relationship Between The Components

    Potential relationships Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… with I/O system XN300 I/Q 1 XC300 I/Q 4 24 V DC RS485 CAN1 Systembus CPU-System ETHO ETH1 CAN2 ETH2  Figure 27: Potential relationships XControl Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 45: Wiring In Accordance With Emc Requirements

    Routing all analog input and field bus cables in a way that meets EMC requirements • Measures designed to reduce potential differences • the correct installation of the field bus system (cable, connection of the bus connectors, etc.), • Using shielding Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 46 Field bus shielded by using a shield Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… feature a protec- tive earth connection point at the back. ① Figure 30: Page preview XControl a Functional earth Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 47: Cable Routing And Wiring

    Fit signal cables with overvoltage protection, such as varistors or other surge arresters. Implement these measures ideally where the cable enters the building and at least at the control panel. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 48: Internal Lightning Protection

    These measures are: • Lightning protection equipotential bonding • Shielding, • Using surge protective devices Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 49: Connecting The Power Supply

    Connecting the XC-104-…, XC-204-… power supply The Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… power the system bus. XC-303-… 5 VDC/1.6A and 24 VDC/1.6 A XC-204-… 5 VDC/0.8A and 24 VDC/0.8A XC-104-… 5 VDC/0.4A and 24 VDC/0.4A Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 50 Some XN300 slice modules require an external 24 VDC power supply. → For more information, please refer to "XN300 slice modules". Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 51: Connecting Local Inputs/Outputs

    Connecting the power supply for outputs Q1 to Q4 The cross-sectional area of the +24 V cables used to supply power to the inputs/outputs must be sized for the maximum total current drawn by all the outputs. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 52: Connecting Outputs

    – XC-303-C11-000 – – – XC-204-C20-002 – – – XC-204-C21-001 – – – XC-204-C11-003 XC-204-C10-000 XC-104-C10-000 – – – 24 V  Figure 34: Connecting the local outputs of an XC-303-…PLC Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 53: Suppressor Circuit For Inductive Loads

    Inputs I1 to I4 can be parameterized as interrupt inputs. Connect the inputs with a shielded connection cable with a maximum length of 30 m. An LED is assigned to each input in order to indicate the input's current state. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 54 XC-303-C32-002 ✓ XC-303-C21-001 – – XC-303-C11-000 – – XC-204-C20-002 ✓ XC-204-C21-001 ✓ XC-204-C11-003 – – XC-204-C10-000 – – XC-104-C10-000 – – 24 V  Figure 36: Connecting XC-303-… local digital inputs Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 55 2 Installation 2.9 Connecting local inputs/outputs 24 V  Figure 37: Connecting XC-204-… local digital inputs Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 56: Using Inputs As Interrupt Inputs

    24 V Figure 38: Interrupt input connections Figure 39: Switching thresholds for inputs in conformity with EN 61131-2 See also: • Timing requirements for the interrupt inputs: Technical data → Page 172 Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 57 2 Installation 2.9 Connecting local inputs/outputs Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 58: Commissioning

    Make sure to use the ETH0 port on the device only! ▶ RJ45 RJ45 RJ45 3.4 m (11.15 ft) Figure 40: Connecting the PC to the XControl ETH0 port with a standard Ethernet patch cable Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 59 Open a web browser on your PC (preferably Chrome). → Please note that Internet Explorer is not supported. ▶ Enter the device's default IP address into the address bar; https://192.168.119.204:8375 The login screen will appear. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 60 Maximal power fail time (ms) Enable USB Enable USB autostart Enable USB factory reset Reset changes Apply ▶ In the USB section, click on the "Enable USB" toggle switch. ▶ Click on "Apply." Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 61: Startup Behavior Xc-104

    (OS) can be updated with the MicroSD memory card or USB Host. The device will be restarted and will start with the updated operating system and, if applicable, a stored boot application. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 62 XControl network settings networkconfig file Apply USB Host settings to XControl network settings Start of PLC Figure 42: Startup sequence for XControl with MicroSD memory card and USB Host Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 63: Program Execution

    Device-model-specific configuration: DIP switch S1 for XC-303-… STOP PLC stops PLC runs Special Function – X4 (CAN termination) – TRSa, X3 (RS485 termination) – TRSb Figure 44: Configuration of DIP switch S1 for XC-104-… , XC-204-… Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 64: Dip Switch S2

    You can stop the program in one of two ways: • In online operation, issue the STOP command. • Switch the STOP DIP switch to the ON position. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 65: Power Off/Interruption Of The Power Supply

    The Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… supports the following test and commissioning features: • Breakpoint/Single step mode, • Single cycle mode, • Forcing, • Online modification, → PLC programming with CODESYS manual, Chapter "Online functions", Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 66: Forcing

    I/O bits. Example: %IB0; (referencing of inputs I0.0 - I0.7) %QB0; referencing of outputs Q0.0 - Q0.7) In the instruction list (IL): %IB0 Default byte Default byte %QB0 Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 67: Reset

    1) After "Full reset," the program must be loaded onto the XControl again. In online operation, the “Start” command can now be issued. → For more information, please refer to the XSOFT-CODESYS-3 Online Help using "RETAIN" as a keyword. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 68: Led Indicators

    CAN1 connected LED (green/ red), flashes during data transfers (Rx + Tx) o CAN2 connected LED (green/ red), flashes during data transfers (Rx + Tx) p V+ 24 VDC detected LED (green) q USB controller accessing storage device LED Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 69 1) Flashes: The flashing frequency can vary depending on the transfer rate on the bus. When there are large volumes of data, the flashing will look like a solid green light on the LED. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 70: Operating States When The Xcontrol Starts

    When there are large volumes of data, the flashing will look like a solid green light on the LED. 3.7 Operating states when the XControl starts PLC and PRG are used to indicate the operating states. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 71: Programs And Project

    ▶ Select "Application" in the browser. ▶ Select the "Properties" option in the context menu. ▶ Open the "Boot Application" tab. ▶ Enable the "Implicitly generate boot application during download" option. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 72: Saving And Deleting A Boot Application

    <application_name>.app will be active in the XSOFT- CODESYS-3 software. Deleting a boot application from the MicroSD Click on the "Device → PLC Shell" folder and enter the remprojfromsd com- mand for the XControl. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 73: Updating The Operating System

    → Chapter 5 “Connection set-up PC – Modular PLCs XControl: XC-104- …, XC-204-…, XC-303-…”, page 89. ▶ Go to the "Device" screen in XSOFT-CODESYS-3 and open the "Firm- ware" tab. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 74 Enter the PLC's IP address and click on "Next." ▶ Select the "XC303" device type and click on "Next." ▶ Select the components you want to install: • For XC-303-… devices: "PLC operating system". Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 75 If you want to use the device's USB port, make sure that you have acti- vated it – please refer to → Section “3.2 USB interface activation for XC-104-… and XC-204-… devices”, page 53. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 76: Factory Resetting Xc-104

    "Enable USB factory reset" switch will be disabled, i.e., switched to the left- hand switch position. All Ethernet ports will be reset to their default settings. If a password has been set, it will be deleted. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 77: Mass Production Programming Through Microsd Or Usb

    The Online Help function provides a detailed description of how to use XN300-Assist. In order to open it, click on the "?" icon on the XN300-Assist menu bar or press the <F1> key. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 78: Plc Configuration

    In the program “Basic_prog” an event is programmed which invokes the “Param” task. The following steps are necessary in order to create a task: • Add a task • Define the program call • Create the program Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 79: Creating A Cyclical Task

    Open the editor for the "Basic_prog" POU by double-clicking on it. ▶ You can now enter a program. In the program example the variable “bCount” is incremented. If the count = 20, global tag a will be set to TRUE. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 80: Creating The Event-Triggered Task And Defining The Program Call

    "GVL" folder in the "Input assistance" dialog box, selecting tag "a", and confirming with "OK". ▶ Enter the program call "Event_prog". Figure 51: Creating an event controlled task Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 81: System Events

    Check required Figure 53: Assigning the function to a system event ▶ Double-click on the function name to open the editor and program the actions that should be taken after the start. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 82: Multi-Tasking

    QX6.0, while the second task could reset the output based on a changed input image table. → Do not access the same input or output from different tasks. Examples The examples are based on the following configuration: Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 83 In the second task “Prog2” the input IX4.1 of input module 1 is programmed in the program “progtes(2)”. The input of this input module is updated before the 2nd task ("Prog2") starts. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 84: Task Monitoring By Watchdog

    The processing time of a task can be monitored in terms of time required using a watchdog. The following applies for defining the monitoring time: Processing time < Interval time of the task < Watchdog(time) Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 85 If the processing time is longer than the watchdog time (sensitivity = 1) – e.g. with a continuous loop in a program – the watchdog becomes active. If the processing cycle is shorter than the watchdog time, the watchdog is not activated. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 86 The cycle time of a task is not monitored when the watchdog is deactivated. The task will be terminated once it has been completed and will not be started again until the next interval starts. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 87 Multiple tasks with the same priority You can assign several tasks with the same priority. The tasks are split according to the “Time Slice” principle and are practically executed simulta- neously as part intervals (Round Robin). Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 88: Limit Values For Memory Usage

    Example: Figure 59: Device (XC-303) memory segment size The maximum segment size for inputs, outputs, and markers is 1,280 bytes. The maximum size for retentive tags is 98 KBytes. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 89: Addressing Inputs/Outputs And Marker

    (e.g., IB11), the PLC configu- rator will automatically show the next word address after the preceding tag (e.g., IW12). Figure 61: Addressing by data type Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 90: Diagnostics

    ▶ Open XSOFT-CODESYS-3 to access the device online. ▶ In the configuration tree, select the "Device (XC-303)" device and "XN300_Master". ▶ Double-click on "XN300_Master" and open the "XN300Master Parame- ters" tab. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 91 Shell commands for diagnosing I/O system XN300 modules used ▶ In Explorer, double-click on the device (e.g., "Device (XC-303)") and select "PLC Shell" under the "Device" tab. ▶ Enter the "?" command into the command line. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 92: Factory Reset

    You will then have to wait 20 minutes. ▶ Restart the device. Figure 63: Web Config Tool start page The device has now been reset to its factory settings. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 93 4 PLC configuration 4.8 Factory reset Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 94: Connection Set-Up Pc - Modular Plcs Xcontrol: Xc-104

    5.1 Network search with automatic PLC detection The PC will attempt to connect to the PLC and will indicate a successful con- nection with green circles. Figure 64: Successful connection between PC and XControl PLC Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 95: Creating A New Project

    ▶ Click on "File", "New Project", "Standard Project" and enter a project name (e.g., "Test"). ▶ In the next screen, select a device (e.g., "XC-303 (Eaton Automation)") and the programming language you want to use (e.g., "structured text" [ST]). ▶...
  • Page 96: Changing The Ip Address On The Plc

    Make sure that the EA_Network library has been added in the library man- ager. Use the function in your program (in "PLC_PRG", for example). ▶ To do this, open the input assistance function with <F2>. ▶ Select "Function block call" under "Categories." Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 97 ▶ Insert the MicroSD memory card into the XControl. ▶ Reboot the XControl and then delete the file from the MicroSD memory card/USB device. Figure 66: networkconfig.templ file on the XControl Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 98: In-/Output Configuration And Parameterization

    Double-clicking on a cell in the "Value" column will show a drop-down menu that you can use to define the node as an input, output, or inter- rupt input. Figure 67: Configuration of the inputs/outputs Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 99: Interrupt Processing

    – be integrated into the library manager of the XSOFT-CODESYS-3, see → Section “16.2 Installing additional system libraries”, page 153. DisableInterrupt With this function, you disable (deactivate) a parameterized physical interrupt by accessing it from the user program. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 100 A “Basic” task contains a POU “PLC_PRG”. A further POU “Fastprog” should be processed if an L → H rising edge on the input I0.4 generates an interrupt. ▶ Create the POUs „FAST_PRG“ as shown in Figure 70. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 101 "Interrupt - rising edge" from the drop-down menu. Figure 71: allocation I0.5 → interrupt source ▶ Change over to the Task configuration and open the "System events" folder. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 102 ▶ Select the "FAST_PRG" POU and confirm with "OK". ▶ Save the project. You can now test it. The "FAST_PRG" program will be called with every rising edge at input 4. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 103 6 In-/output configuration and parameterization 6.2 Interrupt processing Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 104: Defining System Parameters

    # Set to 1 to enable SFTP Server. (Secure connection, needs a valid certificate.) # SSH must be activated to use SFTP! ENABLE_SFTP=1 # Set to 0 to prevent ping response send by the plc. ENABLE_PING_RESPONSE=1 Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 105 # 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 Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 106: Switch-On Of The Control With Inserted Memory Card With Initplc File

    See also → Section “3.3 Startup behavior XC-104-…, XC-204-…, XControl”, page 56. For all checks in general after the Modular PLCs XControl: XC-104-…, XC- 204-…, XC-303-… start, the MicroSD slot will be checked first and then the USB Host! Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 107: Networkconfig File

    # 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. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 108 # 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. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 109 7 Defining system parameters 7.4 networkconfig file Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 110: Expansion

    For the latest information on the I/O system XN300, please visit our product pages: www.eaton.eu/xn300 and use the Eaton Online Catalog for information on the avail- able range of products: http://www.eaton.eu/ecat Enter "XN300" into the search box and the catalog will take you directly to the corresponding product group.
  • Page 111: Configuring The Inputs/Outputs For Local Expansions

    Select the XN300 slice modules in the same order that they are physi- cally connected to the XControl. The device tree will now show all the devices. Figure 74: Device tree with XN300 slice modules Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 112 8 Expansion 8.1 Local expansion Figure 75: Declaring values Figure 76: Define XN300 slice modules parameters Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 113: Remote Expansion

    The following communication protocols are supported by the corresponding interfaces as follows:”, page 12 The following sections describe the individual fieldbus interfaces. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 114: Can

    The distance between the modular PLCs and an XN300 gateway can be up to 1000 m. The actual value depends on the baud rate used – please refer to → Section “Table 6 Max. cable lengths CAN”, page 28. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 115: Configuring And Commissioning Canopen

    Save the configuration for the I/O system XN300 connected to the CAN- Gateway XN-312-GW-CAN in the "config check" on the gateway. ▶ Open your project in XSOFT-CODESYS-3 or create a new one → Section “5.2 Creating a new project”, page 90. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 116: Adding The Can Manager

    Select the "CANopen Manager" under "Field buses" in the "Add device" dialog box. The CANopen Manager will appear in the configuration tree. EDS files for Eaton field bus modules will be installed automatically. Figure 78: CANopen parameters for CANopen manager Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 117: Setting The Baud Rate Via Canbus

    ▶ The EDS files for the field bus modules from other manufacturers must be additionally installed in XSOFT-CODESYS-3 – please refer to → Section “9.1.5.2 Installing the EDS file”, page 115. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 118: Incorporating The Can-Gateway Xn-312-Gw-Can

    Then click on the <Add device...> option. The "Add device" dialog box will appear if it is not open already. The dialog box will show a list with all the XN300 slice modules that can be configured. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 119 Regulate the bus load on the CAN field bus The following procedure is recommended in order to prevent the XN- 312-GW-CAN gateway from generating a heavy load on the CAN field bus: Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 120: Description Files For Canopen

    Click on the <Install...> button. ▶ Use Explorer to select the EDS file you want. ▶ Confirm with click on <Open>. ▶ Click on "OK" on the "The device has been successfully installed" prompt. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 121: Adding Canopen Communication Libraries

    Bus activity OK (CAN), FLASHES with every frame – Bus error Flashes Flashes Warning 1) Flashes: The flashing frequency can vary depending on the transfer rate on the bus. Every successfully transmitted/received CAN frame triggers the LED. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 122: Ethercat

    Select "EtherCAT | Master | EtherCAT Master" under "Field buses" in the "Add device" dialog box. ▶ Confirm by clicking on the "Add Device" button. The EtherCAT master will appear in the configuration tree. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 123: Configuring The Ethercat Master

    Select the "Select network by name" setting in the "General" tab. This will make the PLC connect by name (e.g., "ETH2") independently of the MAC address. ▶ Enable the "Automatic slave restart" option so that communication with the modules will start automatically. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 124: Searching For And Incorporating Ethercat Modules

    The devices will be shown in the PLC configuration's device tree. SmartWire- DT modules that are already connected to the EtherCAT gateway will also be shown in the device tree automatically (e.g., EU5E_SWD_8DX). Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 125: Incorporating Ethercat Modules Manually

    Select the EtherCAT module you want, such as "EU5C-SWD-ETHERCAT" in the "Hilscher..." directory. ▶ Click on <Add device> in the "Add device" dialog box. The EtherCAT module will be added to the device tree. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 126: Add Swd Module

    For more information on all other gateway settings and on map- ping, please refer to the "EU5C-SWD-ETHERCAT Gateway" manual – please refer to → Page 117 and the XSOFT-CODE- SYS-3 Online Help. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 127: Description Files For Ethercat

    • Eaton_ETHERCAT_Modules.xml • Dajo_EU5C_SWD-ETHERCAT_Modules.xml • Hilscher_SWD_ETHERCAT_GW.xml • Phoenix_ETHERCAT_Modules.xml • Woehner_ETHERCAT_Modules.xml You would then install the device description files in the PLC programming environment, e.g., XSOFT-CODESYS-3. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 128: Installing The Xml File

    By default, all the libraries required for EtherCAT communication will be auto- matically added after the EtherCAT master is added and the project is com- piled for the first time. • IODrvEtherCAT Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 129 10 EtherCAT 10.6 Description files for EtherCAT Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 130: Modbus

    Select "Modbus TCP Master" in the device tree. ▶ Right-click on it to open the context menu and select the <Add device...> option. ▶ Select "Modbus TCP Slave". ▶ Then click on the <Add device...> option Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 131 The Modbus TCP device will be added to the configuration tree. A maximum of 32 Modbus TCP masters can be added. Figure 93: Modbus TCP master parameters Figure 94: Modbus TCP slave parameters Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 132: Adding Modbustcp Communication Libraries

    By default, all the libraries required for ModbusTCP communication will be automatically added after the EtherCAT master is added and the project is compiled for the first time. • IODrvModbusTCP • IODrvEthernet Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 133: Configuring Modbus Rtu

    Adding a Modbus device ▶ Select the corresponding Modbus device, e.g., "Modbus Serial Device." ▶ Click on the <Add device> button. The selected Modbus device will be added to the configuration tree. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 134: Adding Libraries For Modbus Rtu Communication

    By default, all the libraries required for Modbus communication will be auto- matically added after the EtherCAT master is added and the project is com- piled for the first time. • IODrvModbus Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 135 11 Modbus 11.8 Adding libraries for Modbus RTU communication Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 136: Remotely Accessing The Plc

    12 Remotely accessing the PLC Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… XControl devices cannot be remotely accessed with XSOFT-CODESYS-3 Version 3.5.17. There are plans to add this function in a later version. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 137 12 Remotely accessing the PLC Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 138: Web Visu Xsoft-Codesys-3

    The web server for XSOFT-CODESYS-3 projects can be accessed either with the HTTP or HTTPS protocol. The 3S CODESYSControl.cfg file specifies which of the protocols should be available. This file can be found on the device, in the "\home\PlcRts" directory. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 139 0: Only HTTP connections allowed 1: Only HTTPS connections allowed 2: HTTP and HTTPS connections allowed 3: HTTP and HTTPS connections allowed, but access via HTTP will automati- cally be redirected to HTTPS. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 140: Web Config Tool For Xc-104

    The default language will be English. → This means that the first person who logs in will be the person creating the password. By default, there is no password. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 141 After creating the password, you will be automatically authenticated. Authentication and session Once you create a password, the login screen will be shown every time you access the Web Config Tool afterwards. → Passwords are created during initial commissioning. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 142: Navigation

    When this happens, the login screen will be shown with a message saying that your session expired. 14.2 Navigation After logging in, the following page will appear: Figure 101: Web Config Tool start page Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 143: Setting A Language

    Web Config Tool. As of this writing, German and English are available as languages. English will be selected by default. Figure 103: English and German language selection options Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 144: Device Configuration Page - System Configuration Page

    14 Web Config Tool for XC-104-… and XC-204-… 14.4 Device configuration page – System configuration page 14.4 Device configuration page – System configuration page Figure 104: System configuration page with disabled USB interface Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 145: Device Information

    14.4.2 Changing / setting up passwords If you reset the device to its factory settings, the Web Config Tool will ask you to create a password when you access the device. The following screen will appear: Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 146: Usb Interface Activation

    If USB Autostart is enabled, the system will search for shell scripts named "etn-startup.sh" in the root directory of the partitions on a plugged-in USB drive and run them with a GNU Bash interpreter. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 147: Power Management

    Figure 109: System configuration – Factory reset section All Ethernet ports will be reset to their default settings. If a password has been set, it will be deleted. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 148: Powerfail

    The number of "Network interfaces" sections that you can use to set up the IP configuration for each interface will depend on the specific number of net- work interfaces on the device. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 149 You can change the hostname in the "General settings" section. This name will be used for specific multicast DNS services. This type of service, which you can use to find the device without knowing the corresponding IP address, is provided with XSOFT-CODESYS-3. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 150: Update Configuration Page

    You can follow the corresponding progress on the first progress bar, as shown below. You can follow the corresponding progress on the first progress bar, as shown below. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 151 ▶ To do this, click on the "Restart" button shown after the update is com- pleted. → Please note that you can only apply one update after each restart. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 152: Date & Time Configuration Page

    The NTP service will then be used to correct the time and the system time every minute. This can also help counteract RTC drift if the device runs for multiple years or decades. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 153: Remote Access Configuration Page

    → Make sure to disable VNC after you no longer need it and the device is in a production environment. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 154: Legal Configuration Page

    On the "Logs" configuration page, you can download various log files gener- ated on the device. To download the log file, double-click on the "Download" button. Figure 116: Stored log files Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 155 14 Web Config Tool for XC-104-… and XC-204-… 14.10 Logs configuration page Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 156: Opc Ua

    The symbol configuration editor will appear. You can use this editor to define all the tags that should be transferred. The symbol configuration will be updated with the next download or online change. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 157: Libraries, Function Blocks And Functions

    EA_CAN types (when using Eaton CAN devices) • EA_CAN library with function blocks for CAN • EA_XC303Events library for interrupt processing → Examples of libraries available to users: • EA_CANopen , • IODrvModbus, • SysCom, • SysFileAsync... Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 158: Using Libraries

    ▶1. Make sure that the library you want to install is found on a folder on your ▶2. In the configuration tree, double-click on "Library manager." Click on the "Add library" menu option. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 159 ▶5. Confirm with click on <Open>. The new window will show the libraries available, depending on the target system. ▶6. Select "Add library." Figure 119: Search for a library in the library repository Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 160: Ea_Network.lib Library

    16.3 EA_Network.lib library The EA_Network.lib library provides Ethernet interface configuration func- tions for all Eaton PLCs with Ethernet interfaces. → Manufacturer documentation for XSOFT-CODESYS-3, online help for EA_Network.lib library Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 161 16 Libraries, function blocks and functions 16.3 EA_Network.lib library Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 162: Plc Shell Commands

    Add other settings to the command if necessary, e.g. baud rate with- setcomconfig. ▶ Press the Return button. The result will be displayed. Figure 121: PLC Shell tab with results for the "?" browser command Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 163: List Of Plc Shell Commands (Updated)

    Used internally to display all available commands. getdhcpstate Returns the status of the Ethernet interface(s) in regard to whether DHCP is enabled Example: eth0 : DHCP Enabled = NO gethwinfo Show hardware information Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 164 <address> [<size]> Shows the free memory on disk_sys. Print Hexdump of specified memory region ntpsetpolltime <arg> NTP polltime <arg> = Can be used to set to preferred (0=normal,1=preferred) minpoll maxpoll Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 165 <arg> Enable encryption. SSH enabled: <arg>=1; SSH disabled: <arg>=0 sshdisable Disable encryption sshenable Enable encryption. sshstate Shows the configured state for the encryption Example: SSH = disabled startprg Start user program Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 166 1) You can access help with extended information for this PLC shell command in CODESYS. Enter a question mark followed by a space before the command e.g.: ? plcload in the command line of the PLC browser 2) Available for devices with runtime system version 3.5.17 or higher Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 167: Cpu Load Shell Commands

    The canload PLC shell command shows the CAN bus load. caninfo shows the CAN buses' baud rates and states. You can also get information regarding the CAN bus with the CAN_GetBusLoad and CAN_GetBusState functions in the EA_CAN library. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 168: Interferences

    • The attempt to load the boot project failed. CODESYS and read the log file • An exception occurred in the application. Additional information can be found in the LOG file, which can be read with XSOFT CODESYS. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 169 18 Interferences Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 170: Maintenance

    Carefully clean the device with a clean, soft, damp cloth. If there are any spots that are proving difficult to get off, spray a little dishwashing liquid on the damp cloth first. 19.2 Repairs For repairs, please contact your vendor or Eaton's Technical Support. CAUTION  DESTRUCTION The device should only be opened by the manufacturer or by an authorized repair center.
  • Page 171: Disposal

    The device should only be transported in its original packaging after being packed properly. 19.4 Disposal CAUTION Installation requires qualified electrician IMPORTANT! Dispose of recyclables as required by your local recycling regula- tions. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 172 19 Maintenance 19.4 Disposal Devices no longer being used must be professionally disposed of as per local regulations or returned to the manufacturer or the relevant sales office. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 173 19 Maintenance 19.4 Disposal Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 174: Appendix

    Space units (SU) width 4 SU Weight 0.66 Mounting DIN-rail IEC EN 60715, 35 mm Mounting position Vertical, upright 80.3 mm (3.16") 72 mm (2.83") 51 mm (2.01") Figure 122: Dimensions XC-303-… Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 175 Space units (SU) width 2 SU Weight 0.11 0.24 Mounting DIN-rail IEC EN 60715, 35 mm Mounting position Vertical, upright 23 mm (0.91") 25 mm (0.98") Figure 123: Dimensions XC-104-…, XC-204-… Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 176: Approvals And National Approvals

    Approvals and declarations cULus (pending; expected file No.: E205091) The devices in the XControl series of products comply with all applicable European Union (EU) Directives and feature the CE marking. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 177: Technical Specifications

    1 GHz + CORTEX M4 with core with 960 MHz M4 with 200 MHz 200 MHz Memory Program memory eMMC-FLASH: 2 GB QSPI-FLASH: 128 MB Cache memory DDR3L-RAM: 256 MB DDR-RAM: 512 MB DDR-RAM: 512 MB Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 178 5 V DC (-5% +10%) 5 V DC (-5% +10%) max. current 500 mA 500 mA 100 mA Galvanic separation from System bus supply voltage I/Q1…I/Q4 – RS485 – CAN1 – Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 179 (EN61131-2, Level 1), criteria B ETH0 to 2/CAN/RS-485, balanced Local inputs/outputs, – – balanced Cable dependant interference, 10 V 10 V 10 V induced by high frequency fields EN61131-2 1) If provided Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 180: Power Supply On Devices And On System Bus

    XN300 slice modules BP_5 Output rated voltage 5 V DC 5 V DC 5 V DC Output current 0.3 A 0.8A 1.6A Short-circuit rating Galvanic separation from POW 1) If provided Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 181: Power Supply For Local Inputs/Outputs On Xc-204

    Protection against polarity reversal – Input current I max. 1 A max. 2 A Galvanic separation U System bus RS485 CAN1 CAN2 – Local inputs Local outputs ETH0…ETH2 Flag Display none LED, single-colored, green Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 182: Local Inputs Xc-204

    I1…I4 Galvanic separation from From each other Local outputs System bus RS485 CAN1 CAN2 – ETH0…ETH2 Flag Display LED, single-colored, green LED, single-colored, green Cable length (unscreened) < 30m < 30m Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 183: Local Outputs Xc-204

    From each other from the inputs System bus RS485 CAN1 CAN2 – ETH0…ETH2 Flag Display LED, two-colored, green, red LED, single-colored, green Cable length (unscreened) < 30m < 30m 1) without capacitive load Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 184: Can Interfaces Xc-204

    Local inputs Local outputs ETH0…ETH2 Galvanic separation from CAN2 to Supply voltage U – System bus – supply voltage I/Q1…I/Q4 – RS485 – CAN1 – Local inputs – Local outputs – Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 185 A shielded cable must be used for the interface. The used for the interface. The shielding must be termi- shielding must be terminated nated on both sides exter- on both sides externally. nally. Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 186: Rs485-Interface

    A shielded cable must be used for the interface. The face. The shielding must be terminated on shielding must be terminated on both sides exter- both sides externally. nally. 1) If provided Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 187: Glossary

    MicroSD Micro Secure Digital Card Task Process, task for operating system Forcing Setting by force, initializing changeable operands/tags with a fixed value RunTimeSystem Program Programmable logic controller RemoteControl IL Reference Listing Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 188: Index

    ..... . . 31 Discovery Service ......53 Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 189 ......76 Potential relationships ..... . 39 Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 190 ........9 Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 191 Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com...
  • Page 192 Eaton is an intelligent power management company dedicated to improving the quality of life and protecting the environment for people everywhere. We are guided by our commitment to do business right, to operate sustainably and to help our customers manage power – today and well into the future.

Table of Contents

Save PDF