Free engineering calculators and unit convertersceo@instrumentationblog.in
Cheat Sheets · Free PDF

PLC I/O and Signals Cheat Sheet

PLC input and output essentials on one page: digital wiring logic, analog scaling and resolution, response timing, encoders and number codes.

One page A4Print ready PDFFree, no sign up

Download

PLC I/O and Signals Cheat Sheet PDF preview

A one page A4 sheet to print, pin up in the workshop or keep on your phone. Everything on it is also shown below.

Download PDF A4 · 84 KB

Digital I/O

SensorOutput switchesPLC input
PNP (sourcing)+24 V to loadSinking
NPN (sinking)Load to 0 VSourcing
Dry contactEitherEither

Test: PNP output reads about +24 V to 0 V when active.

NAMUR sensor (EN 60947-5-6)

Supplyabout 8.2 V via 1 kΩ
Off≤ 1.2 mA
On≥ 2.1 mA

Analog scaling

ValueLRV + (raw − rawmin) ÷ (rawmax − rawmin) × span
Siemens S70 to 27648 = 0 to 100 %
CurrentI = 4 + 16 × %
Square rootvalue = LRV + span × √%
Advertisement

ADC resolution (0 to 20 mA)

BitsStepsStep size
1240964.9 µA
1416,3841.2 µA
1665,5360.31 µA

Timing

Worst case responsetin + 2 × tscan + tout
Digital filtery = yprev + (x − yprev) × Ts ÷ (τ + Ts)
63 % responseafter one time constant τ

Encoders

SpeedRPM = f × 60 ÷ PPR
Quadratureup to 4 counts per pulse
Example1024 PPR at 25.6 kHz = 1500 RPM

Number codes

Gray from binaryG = B XOR (B ≫ 1)
BCD4 bits per digit: 0001 0010 0101 = 125
Hex0x1234 = 4660 decimal

24 V DC power

  • Size supplies for 22 mA per analog loop.
  • Add 20 to 30 % margin.
  • Separate supplies for field and system loads where possible.

Related Calculators and Tools

Advertisement

Frequently Asked Questions

Can I connect a PNP sensor to a sourcing input?

No, both would supply current; use a sinking input or an interface relay.

How many bits do I need?

Enough that one step is well below the accuracy needed; 12 bits is often enough, 16 bits is common.

Why 27648?

Siemens leaves headroom above 100 % for overrange detection.

You May Also Like

Learn more on the blog

Why 24 volts is used in PLC systems

A practical guide on instrumentationblog.in that explains the theory behind this cheat sheet.

Read Full Article

More Cheat Sheets