Implementing 3-Switch XOR Ladder Logic with Internal Bit
Implement a 3-SPST switch XOR light circuit in LogixPro or RSLogix 500 using an internal relay bit. Includes truth tables, boolean equations, and verified.
Engineered for robust DIN rail installation within medium-sized automation architectures, the Beckhoff CX5020-1122 functions as a high-performance, fanless embedded controller powered by an Intel Atom Z530 processor. This industrial PC seamlessly integrates control tasks, visualization, and communication interfaces into a highly compact form factor. Equipped with an automatic physical layer detection interface, the unit autonomously identifies and interfaces with either high-speed EtherCAT Terminals (E-bus) or standard Bus Terminals (K-bus), providing maximum flexibility in modular I/O configurations. Designed without moving parts, the hardware utilizes a Compact Flash card slot for industrial-grade solid-state storage and features an integrated 1-second capacitive UPS to prevent data corruption by safely writing persistent variables to the flash media during sudden power interruptions.
| Parameter | Specification Value |
|---|---|
| Manufacturer | Beckhoff Automation |
| Model Number | CX5020-1122 |
| Processor Type | Intel Atom Z530 (1.6 GHz, Single-Core) |
| System Memory (RAM) | 512 MB (Expandable ex-factory to 1 GB) |
| Flash Memory Slot | Compact Flash Type I/II (128 MB industrial card included) |
| Persistent Storage | 1-second UPS (1 MB of non-volatile memory mapped to CF card) |
| Network Interfaces | 2 x RJ45 ports, 10/100/1000 Mbit/s (separate controller lines) |
| Additional Interfaces | 1 x DVI-D, 4 x USB 2.0, 1 x Optional interface slot |
| I/O Connection System | E-bus (EtherCAT) or K-bus (Bus Terminal), automatic detection |
| Max. Power Supply Output | 2 A (Dedicated to supplying attached E-bus/K-bus terminals) |
| Nominal Input Voltage | 24 V DC (-15 percent / +20 percent tolerance) |
| Maximum Power Draw | 13 W |
| Ingress Protection Rating | IP20 |
| Operating Temperature | -25 degC to +60 degC |
| Storage Temperature | -40 degC to +85 degC |
| Relative Humidity Range | 95 percent, non-condensing state |
| Physical Dimensions | 106 mm x 100 mm x 92 mm |
| Net Weight | 575 g |
| Shipping Weight (Calculated) | 2.0 kg |
| TwinCAT 3 Platform Level | Performance (Platform Level 40) |
| Connector Interface | Physical Format | Function / Signal Mapping |
|---|---|---|
| LAN 1 / LAN 2 | RJ45 | Gigabit Ethernet ports (independent PCIe MAC lines) |
| DVI Out | DVI-D Female | Direct digital video output to operational HMIs |
| USB Ports 1 - 4 | USB Type-A | USB 2.0 interface for input devices, storage, or peripherals |
| Power Input | Modular Screw Terminal Block | 24 V DC system supply, I/O terminal contacts power, and ground |
The CX5020 series bridges legacy systems with modernized EtherCAT fieldbuses. It serves as a direct upgrade path from the older CX1010/CX1020 modular systems. When migrating, note that the CX5020-1122 operates at TwinCAT 3 Platform Level 40 (Performance). Existing licenses written for Platform Level 30 (Economy) must be upgraded to Level 40 within the Beckhoff licensing portal. The hardware allows direct reuse of existing K-bus terminals, eliminating the need to re-wire pre-installed physical control nodes.
The integrated 1-second UPS requires correct configuration within the Windows TwinCAT System Manager under the Write Persistent Data routine. Since it is a capacitive system, it does not keep the entire operating system running; it only provides enough power to dump the persistent data buffer onto the CF card. It is crucial to monitor the condition of the CF card; using non-industrial MLC flash memory cards can lead to write-cycle exhaustion, causing immediate corruption of the operating system image upon sudden power cutoffs.
To prevent thermal throttling in high-ambient environments, the CX5020 must be installed in a vertical orientation on a horizontal DIN rail. Maintain a minimum of 30 mm clear spatial clearance above and below the cooling fins to allow natural air convection. When mixing E-bus and K-bus terminals on the same local cluster, ensure that any physical transitions between terminal types utilize correct bus coupler components, and calculate the cumulative current consumption to ensure the attached terminals do not exceed the 2 A limit of the CX5020 power supply contact.
CRITICAL FIELD WARNING
Isolate all 24 V DC power sources before mounting or disassembling any system components or terminal connections. Making or breaking terminal connections while the module is energized can trigger electrical transient spikes, permanently damaging the internal E-bus interface logic and rendering the controller inoperable.
Global Express Shipping
Returns & Warranty

Engineered for robust DIN rail installation within medium-sized automation architectures, the Beckhoff CX5020-1122 functions as a high-performance, fanless embedded controller powered by an Intel Atom Z530 processor. This industrial PC seamlessly integrates control tasks, visualization, and communication interfaces into a highly compact form factor. Equipped with an automatic physical layer detection interface, the unit autonomously identifies and interfaces with either high-speed EtherCAT Terminals (E-bus) or standard Bus Terminals (K-bus), providing maximum flexibility in modular I/O configurations. Designed without moving parts, the hardware utilizes a Compact Flash card slot for industrial-grade solid-state storage and features an integrated 1-second capacitive UPS to prevent data corruption by safely writing persistent variables to the flash media during sudden power interruptions.
| Parameter | Specification Value |
|---|---|
| Manufacturer | Beckhoff Automation |
| Model Number | CX5020-1122 |
| Processor Type | Intel Atom Z530 (1.6 GHz, Single-Core) |
| System Memory (RAM) | 512 MB (Expandable ex-factory to 1 GB) |
| Flash Memory Slot | Compact Flash Type I/II (128 MB industrial card included) |
| Persistent Storage | 1-second UPS (1 MB of non-volatile memory mapped to CF card) |
| Network Interfaces | 2 x RJ45 ports, 10/100/1000 Mbit/s (separate controller lines) |
| Additional Interfaces | 1 x DVI-D, 4 x USB 2.0, 1 x Optional interface slot |
| I/O Connection System | E-bus (EtherCAT) or K-bus (Bus Terminal), automatic detection |
| Max. Power Supply Output | 2 A (Dedicated to supplying attached E-bus/K-bus terminals) |
| Nominal Input Voltage | 24 V DC (-15 percent / +20 percent tolerance) |
| Maximum Power Draw | 13 W |
| Ingress Protection Rating | IP20 |
| Operating Temperature | -25 degC to +60 degC |
| Storage Temperature | -40 degC to +85 degC |
| Relative Humidity Range | 95 percent, non-condensing state |
| Physical Dimensions | 106 mm x 100 mm x 92 mm |
| Net Weight | 575 g |
| Shipping Weight (Calculated) | 2.0 kg |
| TwinCAT 3 Platform Level | Performance (Platform Level 40) |
| Connector Interface | Physical Format | Function / Signal Mapping |
|---|---|---|
| LAN 1 / LAN 2 | RJ45 | Gigabit Ethernet ports (independent PCIe MAC lines) |
| DVI Out | DVI-D Female | Direct digital video output to operational HMIs |
| USB Ports 1 - 4 | USB Type-A | USB 2.0 interface for input devices, storage, or peripherals |
| Power Input | Modular Screw Terminal Block | 24 V DC system supply, I/O terminal contacts power, and ground |
The CX5020 series bridges legacy systems with modernized EtherCAT fieldbuses. It serves as a direct upgrade path from the older CX1010/CX1020 modular systems. When migrating, note that the CX5020-1122 operates at TwinCAT 3 Platform Level 40 (Performance). Existing licenses written for Platform Level 30 (Economy) must be upgraded to Level 40 within the Beckhoff licensing portal. The hardware allows direct reuse of existing K-bus terminals, eliminating the need to re-wire pre-installed physical control nodes.
The integrated 1-second UPS requires correct configuration within the Windows TwinCAT System Manager under the Write Persistent Data routine. Since it is a capacitive system, it does not keep the entire operating system running; it only provides enough power to dump the persistent data buffer onto the CF card. It is crucial to monitor the condition of the CF card; using non-industrial MLC flash memory cards can lead to write-cycle exhaustion, causing immediate corruption of the operating system image upon sudden power cutoffs.
To prevent thermal throttling in high-ambient environments, the CX5020 must be installed in a vertical orientation on a horizontal DIN rail. Maintain a minimum of 30 mm clear spatial clearance above and below the cooling fins to allow natural air convection. When mixing E-bus and K-bus terminals on the same local cluster, ensure that any physical transitions between terminal types utilize correct bus coupler components, and calculate the cumulative current consumption to ensure the attached terminals do not exceed the 2 A limit of the CX5020 power supply contact.
CRITICAL FIELD WARNING
Isolate all 24 V DC power sources before mounting or disassembling any system components or terminal connections. Making or breaking terminal connections while the module is energized can trigger electrical transient spikes, permanently damaging the internal E-bus interface logic and rendering the controller inoperable.
Global Express Shipping
Returns & Warranty
Orders are processed and delivered Monday-Friday (excluding public holidays).
For full eligibility, restocking fees, and international return details, please view our official Refund & Return Policy .
| Country of origin |
Germany
|