Skip to main content

Product guide

PLC Relay Module: How to Choose and Wire a 4, 16 or 32-Channel Relay Panel (NPN vs PNP)

Published Updated Author Cunjian Zhu Source ZJWZJH (JINHONG)

PLC Relay Module: How to Choose and Wire a 4, 16 or 32-Channel Relay Panel (NPN vs PNP)

A relay module turns PLC transistor outputs into relay contacts on screw terminals. This guide explains how to pick 4, 16 or 32 channels, when to order the NPN (+COM) or PNP (−COM) version, and how to wire the module step by step.

A PLC relay module — also called a relay panel — carries several relays with 24 V DC coils on one DIN-rail board: the PLC output drives the coil, and the relay contact switches the field load. The choice comes down to three things: channel count, PLC connection and input version.

Choose it in three steps: the number of channels (4, 16 or 32), how it connects to the PLC (individual screw terminals or one cable with a 20- or 40-pin connector), and the input version — NPN (+COM) for sinking outputs, PNP (−COM) for sourcing outputs.

What a relay module does between the PLC and the field.

A PLC transistor output is designed for low-power signals. A relay module adds a relay contact behind each output, so the load circuit is electrically isolated from the PLC and wired on screw terminals instead of on the output card. If a relay wears out, it is unplugged and replaced — the PLC card stays untouched. ZJWZJH (JINHONG) JHF relay modules all use 24 V DC coils, an LED indicator for every relay, a transparent cover and a relay removal tool for quick replacement.

A relay module is the right choice when many outputs sit side by side on one card. For a single output, a slim plug-in relay on its own socket is often simpler — see the slim (ultra-thin) relays.

4, 16 or 32 channels: which relay module fits.

The JHF range covers three sizes. The 4-channel module is wired channel by channel; the 16- and 32-channel relay panels take one cable from the PLC output card:

JHF relay modules compared
JHF4TJHF16CJHF32C
Channels4 points (1a × 4)16 points (1a × 16)32 points
Coil rated voltage24 V DC24 V DC24 V DC
Coil side (to the PLC)Screw terminal blocks, 7.62 mm pitchMIL-C-83503 connector, 20 pinsMIL-C-83503 connector, 40 pins
Contact side (to the loads)Screw terminal blocks, 7.62 mm pitch20 screw terminals, 7.62 mm pitch40 screw terminals, 7.62 mm pitch
Contact commonIndividual COM per channelOne COM per 8 points (COM1, COM2)One COM per 8 points (COM1–COM4)
Input versionIndividual coil supply per channelNPN (+COM) or PNP (−COM)NPN (+COM) or PNP (−COM)
Fitted relayHF49FD-type / PA1a-type (24 V DC)HF49FD-type / PA1a-type (24 V DC)HF49FD-type / PA1a-type (24 V DC)

“1a” means one normally open contact per relay. Pick JHF4T for a few outputs, or when every load needs its own separate circuit: each channel has its own coil supply and its own COM, and two 4-pole shorting clips let you common the coil or the contact side when you want to. Pick JHF16C for a 16-point output card and JHF32C for 32 points — the JHF32C has the largest number of points in the range, and connection cables for various PLCs and controllers can be supplied. On both, the PCB and parts are fully enclosed, which protects against electric shock and malfunction, and the flame-retardant housing snaps onto a DIN rail with a release lever.

NPN (+COM) or PNP (−COM): matching the relay panel to the PLC output.

JHF16C and JHF32C are ordered for one type of PLC output. The rule is the same as for any load on a transistor output — background in NPN vs PNP: how to wire a tower light or beacon to a PLC:

NPN and PNP versions of the JHF16C and JHF32C
NS version — NPN (+COM)PS version — PNP (−COM)
PLC output typeSinking: the output switches the 0 V sideSourcing: the output supplies +24 V
Relay coils share+24 V0 V
Ordering code (16 channels)JHF16C-NS-HF / JHF16C-NS-PA1AJHF16C-PS-HF / JHF16C-PS-PA1A
Ordering code (32 channels)JHF32C-NS-HF / JHF32C-NS-PA1AJHF32C-PS-HF / JHF32C-PS-PA1A

The last part of the code selects the fitted relay: HF = HF49FD-type, PA1A = PA1a-type, both with 24 V DC coils. The relays are supplied fitted. The JHF4T is ordered only by relay type (JHF4T-HF or JHF4T-PA1A), because each channel has its own + and − coil terminals.

How to wire a 16 or 32-channel relay module.

The wiring diagrams on the product pages show the connector pins, the supply terminals (+24V and −24G) and the outputs R1…R16 with their commons:

JHF16C 16-channel relay module wiring diagram, NPN (+COM) version
JHF16C, NPN (+COM) version: the relay coils share +24 V; COM1 serves R1–R8, COM2 serves R9–R16.
JHF16C 16-channel relay module wiring diagram, PNP (−COM) version
JHF16C, PNP (−COM) version: the relay coils share 0 V; the contact side is the same as on the NPN version.
  1. Check the PLC output card. Sinking (NPN) outputs need the NS version, sourcing (PNP) outputs the PS version.
  2. Mount the module on the DIN rail; the release lever takes it off again.
  3. Connect the 24 V DC supply to the +24V and −24G terminals. The diagram also shows these linked to pins 1–4 of the connector, so compare it with the pin assignment of your PLC card and cable.
  4. Plug in the cable from the PLC output card: 20 pins for JHF16C, 40 pins for JHF32C.
  5. Wire the loads on the contact side: one end of each load to its output terminal (R1, R2 …), the load supply to the COM of its group of 8. Use wires up to 1.25 mm² with suitable crimp terminals (shown on the product page) and tighten the M3 screws to 1.2 N·m.
  6. Test each channel. Switch the PLC outputs one by one and check that the matching LED lights and the relay switches its load.

Wiring the 4-channel JHF4T relay terminal block.

On the JHF4T every input has its own − and + terminal (1–4 and 5–8) and every output its own pair of contact terminals (9–12 and 13–16), as the internal wiring diagram shows. That makes it a flexible relay terminal block: use a shorting clip to tie all + coil terminals to +24 V for NPN outputs, or all − coil terminals to 0 V for PNP outputs, and leave the contacts separate or common them with the second clip.

Relay module selection checklist
QuestionIf yes
Only a few outputs, or separate circuits per load?JHF4T, 4 channels, screw terminals both sides
16-point output card, one cable wanted?JHF16C, 20-pin connector
32-point output card, one cable wanted?JHF32C, 40-pin connector
PLC outputs sinking?NS version, NPN (+COM)
PLC outputs sourcing?PS version, PNP (−COM)

FAQ

Is a relay module the same as a relay panel or relay board?

Yes — the terms are used for the same product: several relays on one board with terminals for coils and contacts. ZJWZJH calls the JHF series relay modules or relay panels. For a single output, compare interface and slim relays.

Which version do I need, NPN or PNP?

It depends on the PLC output. For outputs that switch the 0 V side (NPN, sinking) choose NS: the relay coils share +24 V. For outputs that supply +24 V (PNP, sourcing) choose PS: the relay coils share 0 V.

What coil voltage do JHF relay modules use?

All JHF relay modules have 24 V DC relay coils, so they run from the same 24 V supply as the PLC outputs. On the JHF16C and JHF32C, connect that supply to the +24V and −24G terminals.

Can I replace a single relay?

Yes. The relays plug in, and a relay removal tool is supplied with every module, so a worn relay can be changed without rewiring. To confirm that a relay has failed before you change it, see how to test a relay.

Which wire size can be connected?

On JHF16C and JHF32C up to 1.25 mm², with M3 terminal screws tightened to 1.2 N·m. Suitable crimp terminals are shown on each product page. Use the crimp terminal shown for the exact module and check that each conductor is held firmly.

Need help choosing industrial control components?

Send the model or application, panel dimensions, circuit requirements and quantity. Our team can help you find the relevant product information.

Contact ZJWZJH (JINHONG)