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 decentralized industrial topologies, the Beckhoff ER1258-0002 EtherCAT Box functions as an IP67-rated digital input interface designed to capture high-speed signals under extreme environmental conditions. This module features 8 digital inputs, including two channels equipped with sub-microsecond timestamping functionalities. Encased in a robust zinc die-cast housing, the Beckhoff ER1258-0002 processes signal states directly at the machine level, bypassing the need for protective control cabinets and minimizing field wiring complexity.
| Specification Parameter | Value / Detail |
|---|---|
| Manufacturer | Beckhoff Automation |
| Model Number | ER1258-0002 |
| Protocol / Fieldbus | EtherCAT |
| Number of Inputs | 8 (including 2 with timestamp configuration) |
| Input Connections | 4 x M12 (5-pin, A-coded) |
| Bus Connections | 2 x M8 socket (shielded, screw connection) |
| Nominal Input Voltage | 24 V DC (-15% / +20%) |
| Input Filter Time | 10 microseconds |
| Signal States (EN 61131-2, Type 3) | "0" Signal: -3 to +5 V | "1" Signal: 11 to 30 V |
| Distributed Clocks | Yes (Precision < 100 ns, Resolution 1 ns on Channel 0/1) |
| Current Consumption (from US) | 120 mA (excluding sensor load) |
| Power Ports | Feed: 1 x M8 male (4-pin); Downstream: 1 x M8 female (4-pin) |
| Electrical Isolation | 500 V RMS |
| Operating Temperature Range | -25 to +60 degC |
| Storage Temperature Range | -40 to +85 degC |
| Ingress Protection Rating | IP65 / IP66 / IP67 (conforms to EN 60529) |
| Dimensions (W x H x D) | 30 mm x 126 mm x 26.5 mm |
| Housing Material | Zinc die-cast |
| Net Weight | 265 g |
| Shipping Weight (Calculated) | 2.0 kg (including secure industrial packaging) |
| Connector Port | Type | Typical Pin Assignment & Function |
|---|---|---|
| Input Channels 0 to 7 | 4 x M12 (2 channels per port) | Pin 1: +24 V DC sensor supply; Pin 2: Input B; Pin 3: GND; Pin 4: Input A; Pin 5: FE (Functional Earth). |
| EtherCAT Input | M8 female, 4-pin, shielded | Pin 1: Tx+; Pin 2: Rx+; Pin 3: Rx-; Pin 4: Tx-. Screw-type shielding connection. |
| Power Supply Feed | M8 male, 4-pin | Pin 1: +24 V DC control voltage (US); Pin 2: +24 V DC peripheral voltage (UP); Pin 3: GNDS; Pin 4: GNDP. |
The zinc-cast ER1258-0002 serves as a highly rugged alternative to the plastic-housing EP1258-0002. They share identical functional parameters and TwinCAT XML (ESI) profiles. Ensure that TwinCAT 3 (Build 4020 or higher) is implemented to fully utilize the sub-microsecond Distributed Clock (DC) diagnostics and synchronization performance of the ER1258-0002.
To prevent timing inaccuracies on the high-speed timestamp inputs (channels 0 and 1), avoid using sensors with switching delays greater than 5 microseconds. Standard proximity sensors often introduce an inherent delay that compromises the nanosecond synchronization capability of the hardware. Additionally, ensure the sensor supply draw does not exceed the integrated 0.5 A limit to avoid triggering the internal electronic short-circuit protection.
Always utilize shielded M8 fieldbus cables to connect the EtherCAT ports. The screw-type shielding on the zinc housing must establish continuous metallic contact with the cable shield to minimize electromagnetic noise on high-frequency signals. Unused M12 and M8 connections must be sealed using IP67 protective caps to prevent humidity ingress and preserve environmental ratings.
Mount the zinc die-cast housing onto a flat, grounded metal surface using two M3 screws through the 3.5 mm diameter mounting holes. Torque the mounting screws to 0.8 Nm.
Secure the incoming and outgoing EtherCAT lines to the M8 sockets. Ensure the screw collar is fully tightened to maintain the IP67 sealing integrity.
Connect the 24 V DC power supply lines to the 4-pin M8 feed interface, monitoring current limits to prevent overloading downstream units.
Attach digital inputs to the M12 sockets using A-coded cables. Configure input filters and distributed clock variables within the TwinCAT system manager.
Global Express Shipping
Returns & Warranty

Engineered for decentralized industrial topologies, the Beckhoff ER1258-0002 EtherCAT Box functions as an IP67-rated digital input interface designed to capture high-speed signals under extreme environmental conditions. This module features 8 digital inputs, including two channels equipped with sub-microsecond timestamping functionalities. Encased in a robust zinc die-cast housing, the Beckhoff ER1258-0002 processes signal states directly at the machine level, bypassing the need for protective control cabinets and minimizing field wiring complexity.
| Specification Parameter | Value / Detail |
|---|---|
| Manufacturer | Beckhoff Automation |
| Model Number | ER1258-0002 |
| Protocol / Fieldbus | EtherCAT |
| Number of Inputs | 8 (including 2 with timestamp configuration) |
| Input Connections | 4 x M12 (5-pin, A-coded) |
| Bus Connections | 2 x M8 socket (shielded, screw connection) |
| Nominal Input Voltage | 24 V DC (-15% / +20%) |
| Input Filter Time | 10 microseconds |
| Signal States (EN 61131-2, Type 3) | "0" Signal: -3 to +5 V | "1" Signal: 11 to 30 V |
| Distributed Clocks | Yes (Precision < 100 ns, Resolution 1 ns on Channel 0/1) |
| Current Consumption (from US) | 120 mA (excluding sensor load) |
| Power Ports | Feed: 1 x M8 male (4-pin); Downstream: 1 x M8 female (4-pin) |
| Electrical Isolation | 500 V RMS |
| Operating Temperature Range | -25 to +60 degC |
| Storage Temperature Range | -40 to +85 degC |
| Ingress Protection Rating | IP65 / IP66 / IP67 (conforms to EN 60529) |
| Dimensions (W x H x D) | 30 mm x 126 mm x 26.5 mm |
| Housing Material | Zinc die-cast |
| Net Weight | 265 g |
| Shipping Weight (Calculated) | 2.0 kg (including secure industrial packaging) |
| Connector Port | Type | Typical Pin Assignment & Function |
|---|---|---|
| Input Channels 0 to 7 | 4 x M12 (2 channels per port) | Pin 1: +24 V DC sensor supply; Pin 2: Input B; Pin 3: GND; Pin 4: Input A; Pin 5: FE (Functional Earth). |
| EtherCAT Input | M8 female, 4-pin, shielded | Pin 1: Tx+; Pin 2: Rx+; Pin 3: Rx-; Pin 4: Tx-. Screw-type shielding connection. |
| Power Supply Feed | M8 male, 4-pin | Pin 1: +24 V DC control voltage (US); Pin 2: +24 V DC peripheral voltage (UP); Pin 3: GNDS; Pin 4: GNDP. |
The zinc-cast ER1258-0002 serves as a highly rugged alternative to the plastic-housing EP1258-0002. They share identical functional parameters and TwinCAT XML (ESI) profiles. Ensure that TwinCAT 3 (Build 4020 or higher) is implemented to fully utilize the sub-microsecond Distributed Clock (DC) diagnostics and synchronization performance of the ER1258-0002.
To prevent timing inaccuracies on the high-speed timestamp inputs (channels 0 and 1), avoid using sensors with switching delays greater than 5 microseconds. Standard proximity sensors often introduce an inherent delay that compromises the nanosecond synchronization capability of the hardware. Additionally, ensure the sensor supply draw does not exceed the integrated 0.5 A limit to avoid triggering the internal electronic short-circuit protection.
Always utilize shielded M8 fieldbus cables to connect the EtherCAT ports. The screw-type shielding on the zinc housing must establish continuous metallic contact with the cable shield to minimize electromagnetic noise on high-frequency signals. Unused M12 and M8 connections must be sealed using IP67 protective caps to prevent humidity ingress and preserve environmental ratings.
Mount the zinc die-cast housing onto a flat, grounded metal surface using two M3 screws through the 3.5 mm diameter mounting holes. Torque the mounting screws to 0.8 Nm.
Secure the incoming and outgoing EtherCAT lines to the M8 sockets. Ensure the screw collar is fully tightened to maintain the IP67 sealing integrity.
Connect the 24 V DC power supply lines to the 4-pin M8 feed interface, monitoring current limits to prevent overloading downstream units.
Attach digital inputs to the M12 sockets using A-coded cables. Configure input filters and distributed clock variables within the TwinCAT system manager.
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
|