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.
The BECKHOFF IP2042-B520 is a high-performance DeviceNet Fieldbus Box designed for decentralized automation applications requiring robust, direct-to-machine installation without a control cabinet. This device features 8 digital outputs that switch 24 V DC load voltages, enabling direct control of actuators, contactors, solenoid valves, and indicator lamps in the field.
Constructed from lightweight and durable polyamide (PA6), the BECKHOFF IP2042-B520 offers exceptional protection against moisture, dust, and mechanical stress, achieving ingress protection ratings of IP65, IP66, and IP67. Each of the eight digital outputs has a switching capacity of up to 2 A, with individual short-circuit protection to prevent system-wide faults from localized wiring or load errors.
For system integration, the module employs standardized M12 screw-type connectors for the digital outputs and a 5-pin M12 interface for the DeviceNet fieldbus. Power distribution is managed through dual 4-pin M8 male sockets configured as a feed input, optimizing safety and connection stability on the physical layer without a downstream loop-through interface.
| Parameter | Specification |
|---|---|
| Manufacturer | BECKHOFF |
| Model | IP2042-B520 |
| Product Type | Fieldbus Box (Digital Output) |
| Number of Outputs | 8 |
| Housing Material | PA6 (Polyamide) |
| Installation | 2 x 3.5 mm diameter fixing holes (for M3 hardware) |
| Parameter | Specification |
|---|---|
| Nominal Output Voltage | 24 V DC (-15% / +20%) |
| Max. Output Current | 2 A per channel (individually short-circuit proof) |
| Aggregate Output Current Limit | Max. 12 A total (Channels 0 to 3: sum 4 A; Channels 4 and 5: sum 4 A; Channels 6 and 7: sum 4 A) |
| Short-Circuit Current | Typ. 4 A |
| Auxiliary Power Current | Typ. 50 mA per channel |
| Control Voltage Supply | 24 V DC (-15% / +20%) |
| Box Supply Current | 45 mA + sensor current (max. 0.5 A) |
| Electrical Isolation | Control voltage to fieldbus: 500 V; Channel-to-channel: No; Channels to control voltage: No |
| Parameter | Specification |
|---|---|
| Protocol | DeviceNet |
| Data Transfer Rates | Automatic detection up to 500 kbaud (125 kbaud, 250 kbaud, 500 kbaud) |
| I/O Communication Types | Bit strobe, polling, cyclic, change of state |
| Distance Between Stations | 500 m / 250 m / 100 m (dependent on transfer rate) |
| Process Image Bit Width | 8 outputs (1 byte) |
| Configuration Support | Via KS2000 configuration software or explicit messaging through the controller |
| Parameter | Specification |
|---|---|
| Dimensions (W x H x D) | 30 mm x 175 mm x 26.5 mm |
| Operating Temperature | 0 to +55 degC |
| Storage Temperature | -25 to +85 degC |
| Protection Class | IP65, IP66, IP67 (conforming to EN 60529) |
| Vibration and Shock Resistance | Conforms to EN 60068-2-6 / EN 60068-2-27 |
| EMC Immunity and Emission | Conforms to EN 61000-6-2 / EN 61000-6-4 |
| Interface or Terminal | Function |
|---|---|
| Digital Outputs (0 to 7) | 8 x M12 screw-type sockets |
| DeviceNet Bus Connection | 1 x M12 plug, 5-pin |
| Power Supply Feed | 2 x M8 male socket, 4-pin (no downstream connection capability) |
Global Express Shipping
Returns & Warranty

The BECKHOFF IP2042-B520 is a high-performance DeviceNet Fieldbus Box designed for decentralized automation applications requiring robust, direct-to-machine installation without a control cabinet. This device features 8 digital outputs that switch 24 V DC load voltages, enabling direct control of actuators, contactors, solenoid valves, and indicator lamps in the field.
Constructed from lightweight and durable polyamide (PA6), the BECKHOFF IP2042-B520 offers exceptional protection against moisture, dust, and mechanical stress, achieving ingress protection ratings of IP65, IP66, and IP67. Each of the eight digital outputs has a switching capacity of up to 2 A, with individual short-circuit protection to prevent system-wide faults from localized wiring or load errors.
For system integration, the module employs standardized M12 screw-type connectors for the digital outputs and a 5-pin M12 interface for the DeviceNet fieldbus. Power distribution is managed through dual 4-pin M8 male sockets configured as a feed input, optimizing safety and connection stability on the physical layer without a downstream loop-through interface.
| Parameter | Specification |
|---|---|
| Manufacturer | BECKHOFF |
| Model | IP2042-B520 |
| Product Type | Fieldbus Box (Digital Output) |
| Number of Outputs | 8 |
| Housing Material | PA6 (Polyamide) |
| Installation | 2 x 3.5 mm diameter fixing holes (for M3 hardware) |
| Parameter | Specification |
|---|---|
| Nominal Output Voltage | 24 V DC (-15% / +20%) |
| Max. Output Current | 2 A per channel (individually short-circuit proof) |
| Aggregate Output Current Limit | Max. 12 A total (Channels 0 to 3: sum 4 A; Channels 4 and 5: sum 4 A; Channels 6 and 7: sum 4 A) |
| Short-Circuit Current | Typ. 4 A |
| Auxiliary Power Current | Typ. 50 mA per channel |
| Control Voltage Supply | 24 V DC (-15% / +20%) |
| Box Supply Current | 45 mA + sensor current (max. 0.5 A) |
| Electrical Isolation | Control voltage to fieldbus: 500 V; Channel-to-channel: No; Channels to control voltage: No |
| Parameter | Specification |
|---|---|
| Protocol | DeviceNet |
| Data Transfer Rates | Automatic detection up to 500 kbaud (125 kbaud, 250 kbaud, 500 kbaud) |
| I/O Communication Types | Bit strobe, polling, cyclic, change of state |
| Distance Between Stations | 500 m / 250 m / 100 m (dependent on transfer rate) |
| Process Image Bit Width | 8 outputs (1 byte) |
| Configuration Support | Via KS2000 configuration software or explicit messaging through the controller |
| Parameter | Specification |
|---|---|
| Dimensions (W x H x D) | 30 mm x 175 mm x 26.5 mm |
| Operating Temperature | 0 to +55 degC |
| Storage Temperature | -25 to +85 degC |
| Protection Class | IP65, IP66, IP67 (conforming to EN 60529) |
| Vibration and Shock Resistance | Conforms to EN 60068-2-6 / EN 60068-2-27 |
| EMC Immunity and Emission | Conforms to EN 61000-6-2 / EN 61000-6-4 |
| Interface or Terminal | Function |
|---|---|
| Digital Outputs (0 to 7) | 8 x M12 screw-type sockets |
| DeviceNet Bus Connection | 1 x M12 plug, 5-pin |
| Power Supply Feed | 2 x M8 male socket, 4-pin (no downstream connection capability) |
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
|