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 IP1012-B318 is a high-performance Fieldbus Box designed for decentralized automation environments. Acting as an 8-channel digital input module, this device allows the direct connection of 24 V DC sensors to a PROFIBUS DP network. It is housed in a rugged XXL polyamide enclosure, enabling direct mounting on machinery and equipment without requiring a protective control cabinet.
To simplify field wiring, the BECKHOFF IP1012-B318 features an integrated M12 T-connector for the PROFIBUS interface, allowing direct loop-through of the fieldbus line. With an input filter time of 0.2 ms, this module ensures high-speed and accurate transmission of digital signals, making it ideal for distributed control systems requiring rapid signal acquisition and high mechanical endurance.
General Specifications |
|
|---|---|
| Manufacturer | BECKHOFF |
| Model | IP1012-B318 |
| Product Type | Fieldbus Box |
| Housing Material | PA6 (Polyamide) |
| Housing Size | XXL housing |
| Dimensions (W x H x D) | 30 mm x 210 mm x 26.5 mm |
| Mounting | 2 fixing holes, 3.5 mm diameter (for M3 screws) |
| Protection Class | IP65/66/67 (conforms to EN 60529) |
| Approvals | CE, UL |
Digital Inputs |
|
|---|---|
| Number of Inputs | 8 |
| Input Connections | M12, screw type |
| Nominal Input Voltage | 24 V DC (-15% / +20%) |
| Input Filter Time | 0.2 ms |
| "0" Signal Voltage | -3 to +5 V (EN 61131-2, type 2) |
| "1" Signal Voltage | 11 to 30 V (EN 61131-2, type 2) |
| Input Current | typ. 6 mA (EN 61131-2, type 2) |
| Sensor Supply | From control voltage, max. 0.5 A total, short-circuit proof |
| Process Image Bit Width | 8 inputs |
PROFIBUS and Communication |
|
|---|---|
| Fieldbus Protocol | PROFIBUS DP |
| Data Transfer Rates | Automatic detection up to 12 Mbaud |
| Bus Interface | 1 x M12 socket (5-pin), 1 x M12 plug (5-pin), B-coded, integrated T-connector |
| Configuration Options | Via KS2000 software or the master controller (DP-V1 extensions supported) |
Electrical and Power Supply |
|
|---|---|
| Control Voltage | 24 V DC (-15% / +20%) |
| Load Voltage | According to I/O type |
| Power Supply Connection | Feed: 1 x M8 male (4-pin); Downstream: 1 x M8 female (4-pin) |
| Box Supply Current | 85 mA + sensor current (max. 0.5 A total) |
| Electrical Isolation | Control voltage/fieldbus: No; Control voltage/inputs: According to I/O type |
Environmental and Mechanical |
|
|---|---|
| Operating Temperature | 0 to +55 degC |
| Storage Temperature | -25 to +85 degC |
| Vibration Resistance | Conforms to EN 60068-2-6 |
| Shock Resistance | Conforms to EN 60068-2-27 |
| EMC Immunity | Conforms to EN 61000-6-2 |
| EMC Emission | Conforms to EN 61000-6-4 |
| Interface / Terminal | Function |
|---|---|
| M12 Inputs (Channels 1–8) | 8 x screw-type connectors for 24 V DC digital sensors |
| PROFIBUS M12 Plug (5-pin) | B-coded fieldbus incoming connection with integrated T-connector |
| PROFIBUS M12 Socket (5-pin) | B-coded fieldbus outgoing connection with integrated T-connector |
| M8 Power Inlet (4-pin Male) | 24 V DC feed connection for control voltage and sensor supply |
| M8 Power Outlet (4-pin Female) | 24 V DC downstream connection to chain power to neighboring modules |
When replacing an active BECKHOFF IP1012-B318 module, record the physical address and PROFIBUS network configuration parameters before removal. Disconnect power from the module and downstream devices. Unscrew all M12 and M8 connectors, then unmount the physical housing. Mount the replacement module, reconnect all interfaces securely, and verify the network address configuration via the controller or KS2000 setup before re-commissioning the machine.
Global Express Shipping
Returns & Warranty

The BECKHOFF IP1012-B318 is a high-performance Fieldbus Box designed for decentralized automation environments. Acting as an 8-channel digital input module, this device allows the direct connection of 24 V DC sensors to a PROFIBUS DP network. It is housed in a rugged XXL polyamide enclosure, enabling direct mounting on machinery and equipment without requiring a protective control cabinet.
To simplify field wiring, the BECKHOFF IP1012-B318 features an integrated M12 T-connector for the PROFIBUS interface, allowing direct loop-through of the fieldbus line. With an input filter time of 0.2 ms, this module ensures high-speed and accurate transmission of digital signals, making it ideal for distributed control systems requiring rapid signal acquisition and high mechanical endurance.
General Specifications |
|
|---|---|
| Manufacturer | BECKHOFF |
| Model | IP1012-B318 |
| Product Type | Fieldbus Box |
| Housing Material | PA6 (Polyamide) |
| Housing Size | XXL housing |
| Dimensions (W x H x D) | 30 mm x 210 mm x 26.5 mm |
| Mounting | 2 fixing holes, 3.5 mm diameter (for M3 screws) |
| Protection Class | IP65/66/67 (conforms to EN 60529) |
| Approvals | CE, UL |
Digital Inputs |
|
|---|---|
| Number of Inputs | 8 |
| Input Connections | M12, screw type |
| Nominal Input Voltage | 24 V DC (-15% / +20%) |
| Input Filter Time | 0.2 ms |
| "0" Signal Voltage | -3 to +5 V (EN 61131-2, type 2) |
| "1" Signal Voltage | 11 to 30 V (EN 61131-2, type 2) |
| Input Current | typ. 6 mA (EN 61131-2, type 2) |
| Sensor Supply | From control voltage, max. 0.5 A total, short-circuit proof |
| Process Image Bit Width | 8 inputs |
PROFIBUS and Communication |
|
|---|---|
| Fieldbus Protocol | PROFIBUS DP |
| Data Transfer Rates | Automatic detection up to 12 Mbaud |
| Bus Interface | 1 x M12 socket (5-pin), 1 x M12 plug (5-pin), B-coded, integrated T-connector |
| Configuration Options | Via KS2000 software or the master controller (DP-V1 extensions supported) |
Electrical and Power Supply |
|
|---|---|
| Control Voltage | 24 V DC (-15% / +20%) |
| Load Voltage | According to I/O type |
| Power Supply Connection | Feed: 1 x M8 male (4-pin); Downstream: 1 x M8 female (4-pin) |
| Box Supply Current | 85 mA + sensor current (max. 0.5 A total) |
| Electrical Isolation | Control voltage/fieldbus: No; Control voltage/inputs: According to I/O type |
Environmental and Mechanical |
|
|---|---|
| Operating Temperature | 0 to +55 degC |
| Storage Temperature | -25 to +85 degC |
| Vibration Resistance | Conforms to EN 60068-2-6 |
| Shock Resistance | Conforms to EN 60068-2-27 |
| EMC Immunity | Conforms to EN 61000-6-2 |
| EMC Emission | Conforms to EN 61000-6-4 |
| Interface / Terminal | Function |
|---|---|
| M12 Inputs (Channels 1–8) | 8 x screw-type connectors for 24 V DC digital sensors |
| PROFIBUS M12 Plug (5-pin) | B-coded fieldbus incoming connection with integrated T-connector |
| PROFIBUS M12 Socket (5-pin) | B-coded fieldbus outgoing connection with integrated T-connector |
| M8 Power Inlet (4-pin Male) | 24 V DC feed connection for control voltage and sensor supply |
| M8 Power Outlet (4-pin Female) | 24 V DC downstream connection to chain power to neighboring modules |
When replacing an active BECKHOFF IP1012-B318 module, record the physical address and PROFIBUS network configuration parameters before removal. Disconnect power from the module and downstream devices. Unscrew all M12 and M8 connectors, then unmount the physical housing. Mount the replacement module, reconnect all interfaces securely, and verify the network address configuration via the controller or KS2000 setup before re-commissioning the machine.
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
|