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 KS3122 is a high-performance, 2-channel analog input Bus Terminal designed to acquire differential signals in the range of 4 to 20 mA. Engineered for precision integration within K-bus networks, this terminal features a pluggable wiring level that distinguishes the KS series from standard fixed-wire KL modules. This design enables quick installation, pre-wiring, and hassle-free maintenance by allowing the terminal housing to be removed without disconnecting the field wiring.
With an internal differential input structure, the BECKHOFF KS3122 offers exceptional noise rejection and signal stability in electrically noisy environments. It delivers a default resolution of 15 bits, which can be configured up to 16 bits for high-resolution measurement applications. This level of precision, combined with configurable filters and conversion times, makes it a reliable choice for monitoring process variables such as pressure, temperature, and flow across a wide variety of industrial field sensors.
| Parameter | Specification |
|---|---|
| Manufacturer | BECKHOFF |
| Exact Model | KS3122 |
| Product Type | Analog Input Bus Terminal |
| Design Form | Terminal housing with pluggable wiring level |
| Material | Polycarbonate |
| Installation | 35 mm DIN rail (conforming to EN 60715) with lock |
| Side-by-Side Mounting | Double slot and key connection |
| Parameter | Specification |
|---|---|
| Number of Inputs | 2 |
| Signal Current | 4 to 20 mA |
| Input Technology | Differential input |
| Internal Resistance | typ. 50 Ohm shunt, load: 60 Ohm + diode voltage |
| Common-Mode Voltage (Ucm) | max. 35 V |
| Surge Voltage Resistance | 35 V DC |
| Power Supply | Via the K-bus |
| Current Consumption K-bus | typ. 60 mA |
| Current Consumption Power Contacts | No power contacts |
| Electrical Isolation | 500 V (K-bus / signal voltage) |
| Parameter | Specification |
|---|---|
| Resolution | 15 bit (configurable to 16 bit) |
| Conversion Time | 140 ms (configurable to 2 ms) |
| Filter | 50 Hz (configurable) |
| Measuring Error | < ±0.3% (relative to full scale value) |
| Bit Width in Process Image | Input: 2 x 16-bit data (2 x 8-bit control/status optional) |
| Configuration | No address or configuration setting required (via TwinCAT) |
| Parameter | Specification |
|---|---|
| Wiring Technology | Pluggable spring-actuation via screwdriver |
| Conductor Cross-Section (Solid) | 0.08 to 1.5 mm² (AWG 28 to 16) |
| Conductor Cross-Section (Stranded) | 0.08 to 1.5 mm² (AWG 28 to 16) |
| Conductor Cross-Section (Flexible) | 0.14 to 1.5 mm² (AWG 26 to 16) |
| Stripping Length | 9 to 10 mm |
| Current Load Power Contacts (Imax) | 10 A |
| Parameter | Specification |
|---|---|
| Dimensions (W x H x D) | 12 mm x 100 mm x 68 mm |
| Weight | approx. 70 g (0.07 kg) |
| Operating Temperature | 0 to +55 degC |
| Storage Temperature | -25 to +85 degC |
| Relative Humidity | 95%, no condensation |
| Protection Rating | IP20 |
| Installation Position | Variable |
| Vibration/Shock Resistance | Conforms to EN 60068-2-6 / EN 60068-2-27 |
| EMC Immunity/Emission | Conforms to EN 61000-6-2 / EN 61000-6-4 |
The BECKHOFF KS3122 is compliant with international standards and holds the following markings:
Global Express Shipping
Returns & Warranty

The BECKHOFF KS3122 is a high-performance, 2-channel analog input Bus Terminal designed to acquire differential signals in the range of 4 to 20 mA. Engineered for precision integration within K-bus networks, this terminal features a pluggable wiring level that distinguishes the KS series from standard fixed-wire KL modules. This design enables quick installation, pre-wiring, and hassle-free maintenance by allowing the terminal housing to be removed without disconnecting the field wiring.
With an internal differential input structure, the BECKHOFF KS3122 offers exceptional noise rejection and signal stability in electrically noisy environments. It delivers a default resolution of 15 bits, which can be configured up to 16 bits for high-resolution measurement applications. This level of precision, combined with configurable filters and conversion times, makes it a reliable choice for monitoring process variables such as pressure, temperature, and flow across a wide variety of industrial field sensors.
| Parameter | Specification |
|---|---|
| Manufacturer | BECKHOFF |
| Exact Model | KS3122 |
| Product Type | Analog Input Bus Terminal |
| Design Form | Terminal housing with pluggable wiring level |
| Material | Polycarbonate |
| Installation | 35 mm DIN rail (conforming to EN 60715) with lock |
| Side-by-Side Mounting | Double slot and key connection |
| Parameter | Specification |
|---|---|
| Number of Inputs | 2 |
| Signal Current | 4 to 20 mA |
| Input Technology | Differential input |
| Internal Resistance | typ. 50 Ohm shunt, load: 60 Ohm + diode voltage |
| Common-Mode Voltage (Ucm) | max. 35 V |
| Surge Voltage Resistance | 35 V DC |
| Power Supply | Via the K-bus |
| Current Consumption K-bus | typ. 60 mA |
| Current Consumption Power Contacts | No power contacts |
| Electrical Isolation | 500 V (K-bus / signal voltage) |
| Parameter | Specification |
|---|---|
| Resolution | 15 bit (configurable to 16 bit) |
| Conversion Time | 140 ms (configurable to 2 ms) |
| Filter | 50 Hz (configurable) |
| Measuring Error | < ±0.3% (relative to full scale value) |
| Bit Width in Process Image | Input: 2 x 16-bit data (2 x 8-bit control/status optional) |
| Configuration | No address or configuration setting required (via TwinCAT) |
| Parameter | Specification |
|---|---|
| Wiring Technology | Pluggable spring-actuation via screwdriver |
| Conductor Cross-Section (Solid) | 0.08 to 1.5 mm² (AWG 28 to 16) |
| Conductor Cross-Section (Stranded) | 0.08 to 1.5 mm² (AWG 28 to 16) |
| Conductor Cross-Section (Flexible) | 0.14 to 1.5 mm² (AWG 26 to 16) |
| Stripping Length | 9 to 10 mm |
| Current Load Power Contacts (Imax) | 10 A |
| Parameter | Specification |
|---|---|
| Dimensions (W x H x D) | 12 mm x 100 mm x 68 mm |
| Weight | approx. 70 g (0.07 kg) |
| Operating Temperature | 0 to +55 degC |
| Storage Temperature | -25 to +85 degC |
| Relative Humidity | 95%, no condensation |
| Protection Rating | IP20 |
| Installation Position | Variable |
| Vibration/Shock Resistance | Conforms to EN 60068-2-6 / EN 60068-2-27 |
| EMC Immunity/Emission | Conforms to EN 61000-6-2 / EN 61000-6-4 |
The BECKHOFF KS3122 is compliant with international standards and holds the following markings:
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
|