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.
Designed to bridge high-speed local control with legacy fieldbus networks, the Beckhoff CX8031 is a highly compact, DIN-rail-mounted Embedded PC equipped with an integrated PROFIBUS DP slave interface. This controller is engineered to process local automation logic independently while maintaining direct, deterministic communication with a master PROFIBUS system. Powered by an ARM9 400 MHz processor, the unit runs Windows Embedded CE 6 and is optimized for the TwinCAT 2 programming environment, allowing for rapid execution of PLC applications directly at the machine or field level.
| Specification Parameter | Value / Rating |
|---|---|
| Manufacturer | Beckhoff |
| Model Number | CX8031 |
| Processor Type | ARM9, 400 MHz (1 Core) |
| Flash Memory | 512 MB microSD (optionally expandable) |
| Main Memory | 64 MB DDR2 RAM (non-expandable) |
| Persistent Memory | 1-second UPS (saves up to 1 MB persistent data) |
| Operating System | Windows Embedded CE 6 |
| Control Software | TwinCAT 2 PLC |
| Physical Interfaces | 1 x RJ45 (10/100 Mbit/s), 1 x USB Device (behind protective front flap) |
| Bus Interface | 1 x D-sub 9-pin socket, shielded, PROFIBUS DP Slave |
| I/O Connection Type | E-bus (EtherCAT) or K-bus (Bus Terminals), automatic recognition |
| Bus Current Supply | 2 A maximum |
| Max. Power Consumption | 3 W |
| Diagnostics Display | 1 x TC status LED, 2 x bus status LEDs |
| Real-Time Clock | Internal, exchangeable battery-backed clock (behind front flap) |
| Dimensions (W x H x D) | 64 mm x 100 mm x 73 mm |
| Unit Weight | 180 g |
| Operating Temperature | 0 to 55 degC |
| Storage Temperature | -25 to +85 degC |
| Relative Humidity | 95 %, non-condensing |
| Ingress Protection Rating | IP20 |
| ATEX Marking | II 3 G Ex nA IIC T4 Gc / II 3 D Ex tc IIIC T135 degC Dc |
| IECEx Marking | Ex nA IIC T4 Gc / Ex tc IIIC T135 degC Dc |
| cFMus Marking | Class I, Division 2, Groups A, B, C, D / Class I, Zone 2, AEx ec IIC T4 Gc |
| Shipping Weight (Calculated) | 2.0 kg |
| Interface Type | Connector / Format | Functional Assignment |
|---|---|---|
| Ethernet Port | RJ45 (10/100 Base-T) | Programming, network commissioning, and system configuration |
| PROFIBUS DP Slave | 9-pin D-sub (Female), Shielded | Standard PROFIBUS master integration (hardware-addressed) |
| USB Device Port | USB Type B (under front flap) | Local configuration interface for OS management and diagnostics |
| I/O Bus Contacts | Spring-loaded contacts (right side) | Automatic connection to standard EtherCAT Terminals (E-bus) or Bus Terminals (K-bus) |
The CX8031 is specifically tailored for TwinCAT 2 environments and is not compatible with TwinCAT 3 runtimes due to its underlying ARM9 hardware architecture. For applications requiring TwinCAT 3 compatibility or modern multi-core processing, developers should specify the CX8100 or CX8200 series controllers. Note that when migrating from K-bus (standard bus terminals) to E-bus (EtherCAT) on the same CX8031, the unit will automatically redetect the physical backplane bus topology on power-up without manual dip-switch changes.
While the CX8031 provides up to 2 A of current directly to the E-bus/K-bus backplane, system integrators must compute the total current draw of all connected I/O terminals. Exceeding this limit will trigger a system shutdown or cause unstable communication anomalies. When deploying high-density terminal setups, plan for an intermediate power feed module, such as the EL9410, to inject supplementary bus power.
The PROFIBUS node address is manually configured using the physical address rotary switches positioned behind the front flap. Changes made to these rotary dials do not update in real-time; the CX8031 must undergo a full cold reboot (power-cycle) to register the newly assigned hardware address. Ensure that the shielding on the 9-pin D-sub PROFIBUS cable is grounded at both ends to eliminate industrial high-frequency electromagnetic interference.
CRITICAL WARNING
Isolate all electrical power sources before executing mechanical installation or physical terminal wiring. Ensure the power lines are locked out in accordance with standard industrial safety procedures. Failure to disconnect active power lines can damage the internal ARM9 processor core, corrupt the microSD system partition, or result in severe equipment damage.
Global Express Shipping
Returns & Warranty

Designed to bridge high-speed local control with legacy fieldbus networks, the Beckhoff CX8031 is a highly compact, DIN-rail-mounted Embedded PC equipped with an integrated PROFIBUS DP slave interface. This controller is engineered to process local automation logic independently while maintaining direct, deterministic communication with a master PROFIBUS system. Powered by an ARM9 400 MHz processor, the unit runs Windows Embedded CE 6 and is optimized for the TwinCAT 2 programming environment, allowing for rapid execution of PLC applications directly at the machine or field level.
| Specification Parameter | Value / Rating |
|---|---|
| Manufacturer | Beckhoff |
| Model Number | CX8031 |
| Processor Type | ARM9, 400 MHz (1 Core) |
| Flash Memory | 512 MB microSD (optionally expandable) |
| Main Memory | 64 MB DDR2 RAM (non-expandable) |
| Persistent Memory | 1-second UPS (saves up to 1 MB persistent data) |
| Operating System | Windows Embedded CE 6 |
| Control Software | TwinCAT 2 PLC |
| Physical Interfaces | 1 x RJ45 (10/100 Mbit/s), 1 x USB Device (behind protective front flap) |
| Bus Interface | 1 x D-sub 9-pin socket, shielded, PROFIBUS DP Slave |
| I/O Connection Type | E-bus (EtherCAT) or K-bus (Bus Terminals), automatic recognition |
| Bus Current Supply | 2 A maximum |
| Max. Power Consumption | 3 W |
| Diagnostics Display | 1 x TC status LED, 2 x bus status LEDs |
| Real-Time Clock | Internal, exchangeable battery-backed clock (behind front flap) |
| Dimensions (W x H x D) | 64 mm x 100 mm x 73 mm |
| Unit Weight | 180 g |
| Operating Temperature | 0 to 55 degC |
| Storage Temperature | -25 to +85 degC |
| Relative Humidity | 95 %, non-condensing |
| Ingress Protection Rating | IP20 |
| ATEX Marking | II 3 G Ex nA IIC T4 Gc / II 3 D Ex tc IIIC T135 degC Dc |
| IECEx Marking | Ex nA IIC T4 Gc / Ex tc IIIC T135 degC Dc |
| cFMus Marking | Class I, Division 2, Groups A, B, C, D / Class I, Zone 2, AEx ec IIC T4 Gc |
| Shipping Weight (Calculated) | 2.0 kg |
| Interface Type | Connector / Format | Functional Assignment |
|---|---|---|
| Ethernet Port | RJ45 (10/100 Base-T) | Programming, network commissioning, and system configuration |
| PROFIBUS DP Slave | 9-pin D-sub (Female), Shielded | Standard PROFIBUS master integration (hardware-addressed) |
| USB Device Port | USB Type B (under front flap) | Local configuration interface for OS management and diagnostics |
| I/O Bus Contacts | Spring-loaded contacts (right side) | Automatic connection to standard EtherCAT Terminals (E-bus) or Bus Terminals (K-bus) |
The CX8031 is specifically tailored for TwinCAT 2 environments and is not compatible with TwinCAT 3 runtimes due to its underlying ARM9 hardware architecture. For applications requiring TwinCAT 3 compatibility or modern multi-core processing, developers should specify the CX8100 or CX8200 series controllers. Note that when migrating from K-bus (standard bus terminals) to E-bus (EtherCAT) on the same CX8031, the unit will automatically redetect the physical backplane bus topology on power-up without manual dip-switch changes.
While the CX8031 provides up to 2 A of current directly to the E-bus/K-bus backplane, system integrators must compute the total current draw of all connected I/O terminals. Exceeding this limit will trigger a system shutdown or cause unstable communication anomalies. When deploying high-density terminal setups, plan for an intermediate power feed module, such as the EL9410, to inject supplementary bus power.
The PROFIBUS node address is manually configured using the physical address rotary switches positioned behind the front flap. Changes made to these rotary dials do not update in real-time; the CX8031 must undergo a full cold reboot (power-cycle) to register the newly assigned hardware address. Ensure that the shielding on the 9-pin D-sub PROFIBUS cable is grounded at both ends to eliminate industrial high-frequency electromagnetic interference.
CRITICAL WARNING
Isolate all electrical power sources before executing mechanical installation or physical terminal wiring. Ensure the power lines are locked out in accordance with standard industrial safety procedures. Failure to disconnect active power lines can damage the internal ARM9 processor core, corrupt the microSD system partition, or result in severe equipment damage.
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
|