IAE Academy

FOR CORE AND IT JOBS · CHAPTER 7 OF 7

Industrial networks, drives and safety

A connected machine needs a data link to its devices, speed control for its motors and a stop that works when a part fails. This chapter covers the common field networks, how a PLC commands a variable frequency drive and why that saves energy, and hard-wired emergency stops.

Updated 30 Oct 2026

What you will be able to do

You will be able to say how a PLC talks to field devices over Modbus, Profibus, Profinet, EtherNet/IP and HART, and work out how long a Modbus poll takes. You will explain why slowing a fan or pump saves far more energy than the speed drop suggests, and how a PLC commands the drive. You will describe an emergency stop circuit that stops the machine even when a wire breaks.

Before you start

  1. Chapter 6, SCADA, DCS and HMI

  2. A PLC input or output bit, a ladder rung and a 4-20 mA analog signal

  3. The induction motor: stator, poles, flux per pole and the EMF equation

  4. Boolean AND and OR

  5. Bits and bytes: one byte is 8 bits

  6. Ratios and powers, such as

  7. The integral of a sine over one whole cycle

Industrial networks in outline

Modbus is the simplest: a master asks, a slave answers, and a slave never speaks first. A slave holds four kinds of data: a coil is a read/write bit, a discrete input a read-only bit, an input register a read-only 16-bit word and a holding register a read/write 16-bit word.

Modbus RTU sends binary frames over RS-485, one twisted pair shared by many devices, at a baud rate in bits per second. A frame is slave address, function code, data and a CRC-16: a 2-byte check value the receiver recomputes to catch corrupted bytes. Modbus TCP carries the same request over Ethernet and calls the master the client and the slave the server. It drops the CRC, since TCP checks for errors itself. In the table below, cyclic means each device's inputs and outputs are exchanged on a fixed, repeating schedule.

POLL TIME OF ONE MODBUS RTU READ

Holds for function 03 (read holding registers), ignoring the slave's turnaround delay and the 3.5-byte silent gap after each frame. is the number of registers, in s. Request: 8 bytes (address, function, 2 start, 2 count, 2 CRC). Reply: address, function, byte count, data, 2 CRC. Each byte is 11 bits: start, 8 data, parity, stop.

Network

Medium

Style

Typical use

Modbus RTU

RS-485 serial

Master polls one slave at a time

Meters, drives, small PLC links

Modbus TCP

Ethernet

Client asks, server answers

The same data over a plant LAN

Profibus DP

RS-485 serial

Master exchanges each slave's I/O in turn, cyclic

Remote I/O and drives

Profinet

Ethernet

Cyclic I/O exchange at a set update time

PLC to remote I/O and drives

EtherNet/IP

Ethernet

Producer and consumer: a device sends once, and every device that needs the data reads it

PLC to remote I/O and drives

HART

4-20 mA wire pair

Digital tones added to the analog loop

Setting up and reading smart transmitters

WHY HART BARELY DISTURBS THE LOOP CURRENT

Holds over one whole cycle of a tone. HART sends tones of peak mA on the loop current: 1200 Hz for 1, 2200 Hz for 0. is the tone period in s, in rad/s, in s. An input that filters out the tones averages over many cycles and reads the 4-20 mA value almost unchanged.

WORKED EXAMPLE

A master reads 10 holding registers from one slave over Modbus RTU at 9600 baud. Find the poll time, then the time to poll 20 such slaves one after another. Ignore turnaround and the gaps between frames.

Solution
  1. The request is 8 bytes. The reply is bytes, because each register is 2 bytes. Together 33 bytes.

  2. Each byte is sent as 11 bits, so the line carries bits.

  3. At 9600 bit/s, s, which is 37.8 ms.

  4. The line is shared and the master waits for each reply before the next request, so the 20 polls add: ms.

Answer: 37.8 ms per slave and about 756 ms for all 20, so each value is refreshed only about every 0.76 s, and less often once gaps and turnaround are added.

Variable frequency drives

With a damper or valve, a fan or pump keeps full speed and the extra pressure is lost across the restriction, so input power falls only a little as flow drops. A variable frequency drive lowers the supply frequency instead. The shaft runs a little below the synchronous speed rev/min ( in Hz, the number of poles), so speed follows nearly in proportion. To keep the flux per pole steady, the drive lowers the phase voltage along with .

V/F CONTROL

Holds while the stator resistance drop is small next to ; at low frequency it is not, so drives add a voltage boost. the effective turns per phase, in Wb. Constant flux keeps the torque available at rated current constant. Above rated frequency cannot rise, so falls.

FAN AND PUMP POWER LAW

Holds for a fan or pump with no static head, the same fluid and constant efficiency, so flow and head . Shaft power ( in kg/m³, in m/s², in m³/s, in m, the efficiency) gives . in W; in any one speed unit.

A PLC commands the drive with the three signals below. Addresses are in IEC style: %I0.0 is an input bit, %Q0.0 an output bit and %M0.0 a memory bit. Some PLC families write them differently.

  1. Start and stop: an output bit, %Q0.0, closes the drive's run input. The drive runs while it is 1.

  2. Speed: an analog output sends a 4-20 mA or 0-10 V reference, or a Modbus or Profinet word carries it.

  3. Feedback: ready, running and fault come back as inputs (fault on %I0.3, say) or as network registers.

SPEED REFERENCE FROM A 4-20 MA SIGNAL

Holds when the drive maps 4 mA to 0 Hz and 20 mA to linearly. is the loop current in mA; and are in Hz.

WORKED EXAMPLE

A fan draws 22 kW at full speed on 50 Hz. The process needs 80 percent of full flow, and the drive maps 4-20 mA to 0-50 Hz. Find the power with the drive, how much less it is than 22 kW, and the reference current the PLC must send. Assume no static head and constant efficiency.

Solution
  1. Flow is proportional to speed, so . Speed follows frequency, so Hz.

  2. Power follows the cube of speed: kW.

  3. The drop is kW, nearly half, for a 20 percent cut in flow, because the cube falls faster than speed.

  4. Invert the scaling to find the current: mA.

Answer: 11.26 kW with the drive, 10.74 kW less than at full speed, from a 16.8 mA reference.

Machine safety in outline

A standard PLC program can fail without showing it, so a stop that depends only on program logic is not safe. Here the stop runs through a hard-wired safety relay, built to fail toward stopping. Its input contacts are normally closed, so a cut wire acts like a pressed button. Each safety device below has one contact in each of two channels, and the relay cuts drive power when either channel opens.

  1. Emergency stop: two normally closed contacts, one in each of the relay's two channels.

  2. Guard interlock: a door switch with two normally closed contacts, one in series in each channel, so the machine cannot run with the door open.

  3. Safety relay: it energises only when both channels are closed and reset is pressed. A typical relay refuses to reset if the channels disagree, as when one contact has welded shut.

  4. Outputs: two safety contacts in series with the drive contactor coils. The contactors' normally closed auxiliary contacts feed the relay's feedback input, so a welded contactor also blocks reset.

  5. To the PLC: a relay status contact on %I0.2, which reads 1 while the relay is energised.

Rung

Element in order

Type

Address

Meaning

1

1, upper branch

NO contact

%I0.0

Start button pressed

1

1, lower branch (in parallel)

NO contact

%Q0.0

Seal-in: the run command holds itself on

1

2

NO contact

%I0.1

Stop button not pressed (wired normally closed)

1

3

NO contact

%I0.2

Safety relay energised

1

4

Coil

%Q0.0

Run command to the drive

RUN COMMAND WITH SAFETY FEEDBACK

Rung 1 in Boolean form: a plus is OR, a dot is AND. The %Q0.0 on the right is its value from the previous scan, which is how the seal-in holds. If the relay drops, %I0.2 = 0 and %Q0.0 falls to 0 and stays there: after the relay is reset, the drive restarts only when start is pressed again.

Check yourself

CHECK YOURSELF 1

A Modbus slave exposes a single-bit read/write point and a 16-bit read/write point. Which pair names them in that order?

  1. (A)

    Discrete input, input register

  2. (B)

    Coil, holding register

  3. (C)

    Holding register, coil

  4. (D)

    Input register, discrete input

Answer and solution

Answer: (B)

  1. A coil is a one-bit read/write point.

  2. A holding register is a 16-bit read/write word.

  3. Discrete inputs and input registers are read-only, so A and D are wrong, and C swaps the order.

CHECK YOURSELF 2

A Modbus RTU master reads 5 holding registers (function 03) at 19200 baud, with 11 bits per byte. Ignore turnaround and the gaps between frames. Find the poll time in milliseconds.

Answer and solution

Answer: (accepted range )

  1. Request is 8 bytes, reply is bytes, so 23 bytes.

  2. Bits: .

  3. s, which is 13.2 ms.

CHECK YOURSELF 3One or more options are correct

Which statements about HART are correct?

  1. (A)

    It sends digital data as tones on the 4-20 mA loop wires

  2. (B)

    It shifts the analog reading because the tones add a steady current

  3. (C)

    Each tone averages to zero over a whole cycle, so a filtered analog reading is almost unchanged

  4. (D)

    It needs a separate Ethernet cable to every device

Answer and solution

Answer: (A), (C)

  1. HART uses tones on the same wire pair, so A is true.

  2. A sine averages to zero over a whole cycle, and the input's filter averages over many cycles, so C is true and B is false.

  3. No Ethernet cable is used, so D is false.

CHECK YOURSELF 4

A pump draws 30 kW at full speed and runs under a drive at 0.6 of full speed. Assume no static head, the same fluid and constant efficiency. Find the power in kW.

Answer and solution

Answer: (accepted range )

  1. Power follows the cube of speed.

  2. .

  3. kW.

Used in these GATE topics