Complete IFM 40F F24 2 Sensor Wiring Guide with Diagram Instructions

Begin by identifying the power supply terminals on your controller module–typically marked as L+ (24V DC) and M (ground). Connect these directly to a stable industrial power source with a maximum ripple of 5% to prevent signal interference. Verify voltage stability at the input pins using a multimeter before proceeding; fluctuations above ±2V can cause erratic behavior in downstream components.
Trace the signal output lines–commonly labeled Q1 and Q2–to their designated load circuits. Use shielded twisted pair (STP) cables for lengths exceeding 3 meters to mitigate electromagnetic noise. Ground the shield at one end only (controller side) to avoid ground loops. For long runs, consider a line driver or signal isolator to maintain signal integrity.
Map the sensor inputs (often labeled I1, I2) to the corresponding device terminals. Use ferrules on stranded wires to ensure secure connections–crimping tools with a 0.5–1.0 mm² die set are recommended. For inductive loads (e.g., relays, solenoids), insert a flyback diode (1N4007) across the coil to protect the output stage from transient spikes.
Test each circuit path individually with a load simulator or resistive dummy load (e.g., 24V LED + 1kΩ resistor). Monitor current draw; typical values for this configuration range between 10–200 mA per channel. If current exceeds specifications, check for short circuits or incorrect load impedance. Documentation should include a pinout reference table with wire gauge (AWG 18–22), colors, and connector types (e.g., M8/M12).
For troubleshooting, isolate faults by disconnecting all external loads and measuring voltage at each output pin. A logic analyzer or oscilloscope with a bandwidth ≥10 MHz will help detect transient glitches. If outputs remain inactive, verify the internal fuse (usually 2A) and check for overheating–excessive current draw often indicates a reversed polarity or shorted load.
Understanding the IFM40F Relay Module Connection Guide

Begin by identifying the COM, NO (normally open), and NC (normally closed) terminals on the relay base. The COM terminal connects to the power source or load requiring control, while NO and NC dictate the switching behavior based on the coil activation state.
For a 24V DC setup, wire the coil inputs (A1 and A2) directly to a stable 24V power supply. Ensure polarity is observed; incorrect orientation may prevent the relay from engaging. Use AWG 18-22 gauge wire for optimal current handling without voltage drop issues over short distances.
When integrating with a PLC or microcontroller, connect the driving output (e.g., transistor or open-collector output) to A1 while grounding A2. A flyback diode (1N4007) across A1 and A2 absorbs inductive spikes, protecting upstream components from transient voltages.
For load switching, insert a fuse (2-5A, depending on the connected device) in series with the COM terminal. This prevents overcurrent damage to wiring or the relay contacts. Solid-state loads (LEDs, motors) may require a snubber circuit (0.1µF capacitor + 100Ω resistor) parallel to the contacts to suppress arcing.
Test the configuration with a multimeter before powering the load. Verify coil activation by measuring 24V across A1 and A2, then confirm continuity between COM and NO/NC. If using a dual-channel configuration, repeat this process for the second relay module.
For industrial applications, label all connections clearly. Use DIN rail mounting clips for secure installation, and route auxiliary wiring away from high-voltage lines to avoid interference. Torque terminal screws to 0.5-0.7 Nm to ensure reliable contact without over-tightening.
Document the pinout referencing the device’s datasheet. Note that incorrect wiring of the auxiliary contacts (e.g., reverse polarity on A1/A2) risks permanent damage. Always disconnect power before making adjustments.
For long-term reliability, avoid exceeding the relay’s contact rating (typically 10A at 250V AC/30V DC). Replace relays showing signs of contact pitting or inconsistent switching behavior immediately to prevent system failures.
Locating and Understanding Pin Assignments on the IFM Series Control Relay

Begin by examining the front panel’s silkscreen markings–each terminal pair is numbered sequentially from A1/A2 (coil inputs) through 13/14 to 23/24 (output contacts). The first digit indicates the common terminal; the second is the switched contact. Verify the module’s rating: 24VDC nominal coil voltage and 10A resistive load per contact.
Use a multimeter in continuity mode to confirm pinouts before energizing. Probe A1 to A2–resistance should measure under 50Ω. If infinite, the coil is open. For outputs, energize the coil and check each NO/NC pair; NO contacts should close (0Ω) while NC contacts open (infinite).
Miswiring risks damage. Applying reverse polarity to the coil (A2 positive, A1 negative) will not activate the relay and may degrade the suppression diode. Ensure power supply matches the coil rating–exceeding 28VDC reduces lifespan.
- 13/14: Primary output pair–NO contact rated for 250VAC/30VDC.
- 21/22: Auxiliary NO contact–same ratings as above.
- 23/24: Final NO contact–identical electrical specs.
Label wires before disconnecting. Mark + for coil positive (A1) and COM/NO/NC for outputs. For PNP sensors, connect common to +24V and signal to an NO contact; for NPN, tie common to 0V instead.
Test under load. Activate the coil and measure voltage across each contact pair–expect <0.1VDC drop when closed. If voltage persists, the contact is welded or contaminated. Clean with isopropyl alcohol (99%) and a fiber brush if arcing is suspected.
- Disconnect all power.
- Remove the DIN-rail clip.
- Slide module upward to access terminal screws.
- Loosen screws fully–do not remove–to avoid stripping threads.
- Insert wires (max 2.5mm²) and torque to 0.8Nm.
For safety circuits, wire 13/14 as a normally open interlock and 21/22 as redundant fail-safe. Monitor coil temperature–exceeding 60°C indicates excessive current or poor ventilation. Replace if insulation resistance drops below 1MΩ.
Step-by-Step Power Supply Connection for Sensor Modules
Locate the 24V DC positive terminal on the control unit and strip 8mm of insulation from a 0.75mm² red conductor. Insert the exposed wire into the marked slot until fully seated, ensuring no bare strands protrude beyond the clamp. Secure by tightening the terminal screw to 0.5Nm torque–over-tightening risks thread damage, while under-tightening causes intermittent voltage drops.
Attach the ground return (blue conductor, 0.75mm²) to the adjacent negative terminal. Verify the connection path: control unit → sensor → power source. Use a multimeter in continuity mode to confirm zero resistance between the sensor’s ground pin and the power supply’s ground busbar–any reading above 0.2Ω indicates poor contact, requiring re-stripping or terminal replacement.
Route cables through 6mm ID corrugated conduit for mechanical protection, maintaining a 20cm service loop near the sensor. Avoid sharp bends (minimum radius 4x cable diameter) to prevent sheath damage. Secure runs every 30cm with self-adhesive mounting clamps–do not staple or clip, as vibration may chafe insulation over time.
Connect the control unit’s signal output to the PLC input module using shielded twisted pair (1.0mm²). Terminate the shield at the PLC side only (earth via 3.5mm screw terminal), leaving it unconnected at the sensor end to prevent ground loops. Strip 6mm of the shield’s drain wire, twist tightly, and insert into the dedicated clamp–verify continuity to the enclosure’s grounding stud.
Before energizing, set the power supply’s output to 24.5V DC (compensates for line losses). Measure terminal voltage at the sensor: 24.0–24.3V is acceptable; values outside this range require adjusting the supply’s trimmer potentiometer or tracing voltage drop via Kelvin sensing. Record readings at the control unit, sensor, and midpoint of the run for baseline diagnostics.
Enable the circuit and monitor for inrush current (max 1.2A peak for 50ms). If the current exceeds 800mA steady-state, disconnect immediately–check for shorted conductors, reversed polarity, or internal sensor failure. Revalidate all connections with a non-contact voltage tester before re-applying power.
Label each conductor at both ends with heat-shrink sleeves (printed with wire gauge and function). Store spare terminal ferrules (0.75mm², insulated) and crimping tool die set #16-14 near the workstation–mismatched crimps cause resistive heating at loads above 500mA. Document the entire connection scheme in a schematic overlaid with cable tags for future troubleshooting.
Common Mistakes to Avoid When Connecting Digital Inputs and Outputs

Reverse polarity remains one of the most frequent errors in wiring digital signals. Sensors or actuators requiring a specific voltage direction–such as PNP or NPN configurations–will malfunction or fail entirely if connected backward. Always verify the device’s datasheet for pin assignments before attaching leads. A multimeter in continuity mode can confirm correct orientation by checking for expected voltage levels at each terminal.
Neglecting pull-up or pull-down resistors leads to floating inputs, causing unpredictable behavior in control systems. Unconnected terminals may pick up electrical noise, triggering false signals or intermittent faults. For 24V systems, a 4.7kΩ resistor to the positive rail (pull-up) or ground (pull-down) stabilizes the input, especially in environments with electromagnetic interference. Industrial setups near motors or variable-frequency drives require additional shielding or twisted-pair cabling to suppress noise.
Overloading outputs by exceeding their current rating risks permanent damage. For example, a relay module rated for 100mA at 24V will burn out if forced to drive a 200mA load. Check the maximum sink or source current of both the controller and the connected device. Use external relays or solid-state switches for high-current loads, and ensure proper fusing to protect circuit paths. Thermal limitations must also be considered–dissipate heat with adequate spacing or heatsinks for components near their limits.
Incorrect Signal Grounding
- Mixing signal and power grounds introduces ground loops, amplifying noise. Isolate analog, digital, and power grounds, tying them together only at a single star point near the power supply.
- Long ground wires act as antennas. Keep ground paths short and thick (16 AWG or larger) for low impedance. Use copper bars or wide PCB traces in high-current applications.
- Grounding through chassis or metallic enclosures requires careful bonding. Paint, oxidation, or poor surface contact can disrupt conductivity. Clean surfaces and use star washers or conductive paste for reliable connections.
Failing to account for startup sequencing can cause temporary maladjustments. Some PLCs or microcontrollers initialize outputs to a default state before applying user logic, which may conflict with pre-energized actuators. Delay output activation with a timer, or use interlocks to ensure safe operation. For critical processes, test startup behavior with a simulator or oscilloscope to observe transient voltages. Document these findings to prevent recurring issues during power cycles or system resets.