🚧 Under construction — VoTechWorks is being built. A free tech program — complimentary, as our commitment to get America working.
voTechWorksGrade 13 · a vocational technology learning center, by urbanicity
newSchoolWorks.com › VoTechWorks › Manufacturing & Marine › Robotics / Mechatronics › Motor Drives: AC/DC Motors, Variable-Frequency Drives, and Motion Control › Lesson 7
MFG-MECH15-05 · Lesson 7 · 12 clock hours · lab

4–20 mA Speed Reference Signals and Drive-to-PLC Integration

Objective. Students will wire a 4–20 mA current-loop signal as a VFD speed reference, apply the linear scaling formula to calculate expected frequency at any mA value, and verify the result with a clamp ammeter and drive display.

⚠ Pending professional review

This lesson, its worked examples and its practice questions has not yet been verified by a licensed engineer or certified journey-level tradesperson or by a certification or approval body. It is a study draft and may contain errors. Do not use it as instructions for work on a job site or on live equipment. Always follow your instructor, your supervising professional, and current official references and regulations.

VoTechWorks program approval and accreditation are still in progress. Credentials are issued only by the certifying bodies named in each program, after their own exams.

Why Current Loops Instead of Voltage?

A variable-frequency drive (VFD) can accept an analog speed reference as either a voltage signal (typically 0–10 V) or a current signal (typically 4–20 mA). Current loops are preferred in industrial environments because current does not drop across long cable runs the way voltage does. A 4–20 mA loop maintains the same current at both ends of the wire regardless of lead resistance, making it far more noise-immune and accurate over distances of hundreds of feet. Most industrial PLC analog output modules, sensors, and process controllers use 4–20 mA as the standard.

The signal range starts at 4 mA, not 0 mA. That offset is intentional: a live zero of 4 mA lets the system distinguish between a commanded zero-speed condition and a broken wire or failed transmitter (which would produce 0 mA). A reading below 3.6 mA typically triggers a fault in the drive, alerting maintenance before a process problem occurs.

The Linear Scaling Formula

Because 4–20 mA maps linearly to output frequency, you can calculate the expected drive output frequency for any current value using:

Output frequency = [(mA − 4) / 16] × (f_max − f_min) + f_min

At 4 mA the formula yields f_min. At 20 mA it yields f_max. At any value in between, the result is proportional. This is the same scaling concept used throughout process instrumentation and is worth memorizing.

Drive Parameter Setup

Before the current loop will work, two drive parameters must be configured correctly (exact parameter numbers differ by manufacturer — always consult the drive's parameter manual):

1. Reference source selection — Set the analog input type to current (4–20 mA). Many drives have a physical DIP switch on the control board that must also match; both the switch and the parameter must agree or the input will not read correctly.

2. Analog input scaling — Confirm that the drive maps 4 mA to f_min and 20 mA to f_max, or enter the values you need. Some drives allow you to invert the relationship (20 mA = f_min) for specific process applications.

Record every parameter change in a drive commissioning log. This practice is expected in industrial workplaces and is essential for troubleshooting.

Wiring a Current-Loop Circuit

A basic 4–20 mA reference circuit has three key points: a source (the PLC analog output module or current-loop simulator), the VFD current input terminal, and a common reference terminal. Wire the positive output of the source to the designated current input terminal (often labeled AI1 or AIN+) and the negative return to the common terminal (AIN− or AGND). Keep analog signal wiring away from power conductors; use shielded twisted-pair cable and connect the shield at one end only (typically the drive end) to prevent ground loops.

Safety — Before You Touch Any Terminal

Follow these steps every time:

Measuring Loop Current with a Clamp Ammeter

A standard clamp ammeter measures AC current magnetically and cannot measure a DC 4–20 mA signal correctly. For this lab, use a true DC clamp ammeter or, preferably, place your DMM in series with the loop (set to DC milliamps, 200 mA range) to measure the actual loop current precisely. Compare your measured value to your commanded value and your calculated frequency to the drive display. Tolerance for this lab is ±1 Hz.

Drive-to-PLC Integration and Network Alternatives

The 4–20 mA analog method is simple and reliable but provides only one speed command and no feedback data. Modern installations increasingly use industrial networks that pass multiple variables over a single cable:

Networked drives can report output frequency, motor current, fault codes, and drive temperature back to the PLC in real time — information that a simple analog loop cannot provide. Understanding when analog control is sufficient and when a network interface adds value is an important technician judgment.

Connecting to the Bigger Picture

The scaling formula you practice today appears throughout mechatronics: pressure transmitters, flow meters, temperature sensors, and valve positioners all use 4–20 mA. Mastering one application gives you a transferable skill for every analog instrument you will encounter on the job.

Key terms8

4–20 mA current loopA two-wire analog signal standard in which 4 mA represents the minimum process value and 20 mA represents the maximum; preferred over voltage signals for noise immunity over long cable runs.
live zeroThe intentional use of 4 mA (rather than 0 mA) as the minimum signal so that a broken wire or failed source, which produces 0 mA, can be detected as a fault condition.
linear scaling formulaThe equation Output frequency = [(mA − 4) / 16] × (f_max − f_min) + f_min, which converts any current value in the 4–20 mA range to the corresponding VFD output frequency.
variable-frequency drive (VFD)An electronic device that controls AC motor speed by varying the frequency and voltage supplied to the motor; accepts analog or network speed reference signals.
analog input reference source parameterA drive configuration parameter that selects which input (keypad, analog voltage, analog current, or network) the drive uses as its speed command.
DC bus capacitor residual voltageStored charge remaining in VFD internal capacitors after power is removed; can be lethal and requires a mandatory wait period and voltage verification before work begins inside the drive.
EtherNet/IPAn industrial network protocol that carries the Common Industrial Protocol (CIP) over standard Ethernet hardware; allows a PLC to send speed commands and receive drive status data over a single network cable.
shielded twisted-pair cableSignal cable in which the conductor pair is twisted to cancel induced noise and wrapped in a foil or braid shield; required for reliable 4–20 mA wiring in electrically noisy industrial environments.

Worked examples4

1. The VFD is programmed with f_min = 0 Hz and f_max = 60 Hz. The PLC analog output module commands 8 mA. What output frequency should the drive display?
  1. Identify the known values: mA = 8, f_min = 0 Hz, f_max = 60 Hz.
  2. Subtract the live zero: 8 − 4 = 4 mA above minimum.
  3. Divide by the full span: 4 / 16 = 0.25 (25% of full scale).
  4. Multiply by the frequency span: 0.25 × (60 − 0) = 0.25 × 60 = 15 Hz.
  5. Add f_min: 15 + 0 = 15 Hz.
Answer: The drive should display 15 Hz.
2. Same drive settings (f_min = 0 Hz, f_max = 60 Hz). The commanded current is 12 mA. Calculate the expected output frequency.
  1. Identify the known values: mA = 12, f_min = 0 Hz, f_max = 60 Hz.
  2. Subtract the live zero: 12 − 4 = 8 mA above minimum.
  3. Divide by the full span: 8 / 16 = 0.50 (50% of full scale).
  4. Multiply by the frequency span: 0.50 × 60 = 30 Hz.
  5. Add f_min: 30 + 0 = 30 Hz.
Answer: The drive should display 30 Hz.
3. A drive is configured with f_min = 10 Hz and f_max = 60 Hz. The commanded current is 16 mA. What output frequency is expected?
  1. Identify the known values: mA = 16, f_min = 10 Hz, f_max = 60 Hz.
  2. Subtract the live zero: 16 − 4 = 12 mA above minimum.
  3. Divide by the full span: 12 / 16 = 0.75 (75% of full scale).
  4. Multiply by the frequency span: 0.75 × (60 − 10) = 0.75 × 50 = 37.5 Hz.
  5. Add f_min: 37.5 + 10 = 47.5 Hz.
Answer: The drive should display 47.5 Hz.
4. A technician measures 9.6 mA in the loop. The drive is set to f_min = 0 Hz and f_max = 60 Hz. The drive display shows 21 Hz. Is the drive within the ±1 Hz lab tolerance?
  1. Identify the known values: mA = 9.6, f_min = 0 Hz, f_max = 60 Hz.
  2. Subtract the live zero: 9.6 − 4 = 5.6 mA above minimum.
  3. Divide by the full span: 5.6 / 16 = 0.35.
  4. Multiply by the frequency span: 0.35 × 60 = 21 Hz.
  5. Add f_min: 21 + 0 = 21 Hz (calculated).
  6. Compare: drive displays 21 Hz; calculated value is 21 Hz; difference = 0 Hz, which is within ±1 Hz.
Answer: Calculated frequency is 21 Hz; the drive reads 21 Hz; difference is 0 Hz — within tolerance. Pass.

The math in this lesson2

Learners compute drive frequency from 4–20 mA commands, including a 10–60 Hz offset range.
F-LE.1N-Q.3
Brush up in the math halls at newSchoolWorks.com:
In class: Lecture segment: derive 4–20 mA scaling — output frequency = [(mA − 4) / 16] × (fmax − fmin) + fmin; students work three example calculations on the whiteboard for given mA values. · Lab: wire a current-loop simulator (or PLC analog output module) to VFD current input terminal; set drive parameter to select current reference; at four commanded mA values (4, 8, 12, 20 mA) record drive display frequency, measure loop current with clamp ammeter, and compare to calculated value. · Extension: students modify a simple PLC ladder-diagram analog output rung (from course 2 knowledge) to command three speed steps via 4–20 mA and log the drive response; discuss industrial network alternatives (EtherNet/IP, PROFINET, Modbus RTU) as a group.
Materials: VFD training units, PLC trainer with analog output module (or current-loop simulator), clamp ammeter, DMM, scaling worksheet, drive parameter manual, EtherNet/IP reference sheet, IEC 61131-3 ladder diagram quick-reference
Check: Scaling calculations graded for correct formula application; measured vs. calculated frequency within ±1 Hz at all four points. Pass = 80% on calculations and all measured values within tolerance.

Practice check8

Answer each question, then check it. Nothing is recorded; this is your own practice.

PMMI Mechatronics — Motor and Motor Controls
1. A VFD is programmed with f_min = 0 Hz and f_max = 60 Hz. The current-loop signal is commanded to 20 mA. What output frequency should the drive produce?
PMMI Mechatronics — Industrial Electricity
2. What does a current reading of 0 mA on a 4–20 mA control loop most likely indicate?
PMMI Mechatronics — Motor and Motor Controls
3. A VFD is set to f_min = 0 Hz and f_max = 60 Hz. The PLC commands 12 mA. A technician measures 12 mA in the loop but the drive displays 15 Hz instead of the calculated 30 Hz. What is the MOST likely cause?
Siemens SMSCP L1 — Electrical Safety / PMMI Industrial Electricity
4. Before opening a VFD enclosure to connect control wiring, a technician turns off the disconnect and waits the required time. What additional step is required by NFPA 70E before touching internal terminals?
PMMI Mechatronics — Motor and Motor Controls
5. The 4–20 mA scaling formula is: Output frequency = [(mA − 4) / 16] × (f_max − f_min) + f_min. A drive with f_min = 0 Hz and f_max = 60 Hz receives 4 mA. What is the output frequency?
PMMI Mechatronics — Industrial Electricity
6. Which instrument is CORRECT for measuring a DC 4–20 mA control signal accurately in the field?
PMMI Mechatronics — Programmable Logic Controllers / FANUC CERT integration awareness
7. An engineer wants a PLC to send speed commands to a VFD AND receive motor current, output frequency, and fault code data back in real time over a single cable. Which solution is BEST suited to meet all of these requirements?
PMMI Mechatronics — Motor and Motor Controls
8. A VFD is programmed with f_min = 0 Hz and f_max = 60 Hz. The PLC ladder program commands the analog output module to produce a signal corresponding to 16 mA. Using the scaling formula, what is the calculated output frequency?
Record this lesson on my transcript. Sign in with your key and enrollment email to record lessons (enroll free if you have no key). This page stays open to read and practise.