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
- mA is the actual loop current you are commanding.
- 4 is subtracted to normalize the signal to start at zero.
- 16 is the full usable span (20 − 4 = 16 mA).
- f_max and f_min are the programmed maximum and minimum output frequencies in the drive parameters (commonly 60 Hz and 0 Hz, but they can be set differently).
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:
- Lockout/tagout (LOTO): Verify the drive and PLC are de-energized under OSHA 29 CFR 1910.147 before opening enclosures or connecting wiring. Attach your personal lock. Test — do not assume.
- Residual charge: VFD DC bus capacitors can hold lethal voltage for several minutes after power is removed. Wait the time listed in the drive manual (often 5 minutes or more), then verify with a DMM set to DC voltage before touching internal terminals.
- Electrical PPE: Per NFPA 70E, wear appropriately rated PPE. For low-voltage control wiring with the drive confirmed de-energized, safety glasses and insulated hand tools are the minimum. Verify absence of voltage with a properly rated meter before contact.
- Machine guarding: Per OSHA 1910.212, ensure all guards are in place before running a connected motor. Confirm the test area is clear before enabling the drive output.
- Never work inside a live drive cabinet unless you are qualified, the work is justified, and an energized-work permit is in place per NFPA 70E.
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:
- EtherNet/IP (Common Industrial Protocol over standard Ethernet) is widely used in Rockwell/Allen-Bradley systems.
- PROFINET is the standard in Siemens environments.
- Modbus RTU is a legacy serial protocol still common on smaller drives.
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?
- Identify the known values: mA = 8, f_min = 0 Hz, f_max = 60 Hz.
- Subtract the live zero: 8 − 4 = 4 mA above minimum.
- Divide by the full span: 4 / 16 = 0.25 (25% of full scale).
- Multiply by the frequency span: 0.25 × (60 − 0) = 0.25 × 60 = 15 Hz.
- 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.
- Identify the known values: mA = 12, f_min = 0 Hz, f_max = 60 Hz.
- Subtract the live zero: 12 − 4 = 8 mA above minimum.
- Divide by the full span: 8 / 16 = 0.50 (50% of full scale).
- Multiply by the frequency span: 0.50 × 60 = 30 Hz.
- 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?
- Identify the known values: mA = 16, f_min = 10 Hz, f_max = 60 Hz.
- Subtract the live zero: 16 − 4 = 12 mA above minimum.
- Divide by the full span: 12 / 16 = 0.75 (75% of full scale).
- Multiply by the frequency span: 0.75 × (60 − 10) = 0.75 × 50 = 37.5 Hz.
- 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?
- Identify the known values: mA = 9.6, f_min = 0 Hz, f_max = 60 Hz.
- Subtract the live zero: 9.6 − 4 = 5.6 mA above minimum.
- Divide by the full span: 5.6 / 16 = 0.35.
- Multiply by the frequency span: 0.35 × 60 = 21 Hz.
- Add f_min: 21 + 0 = 21 Hz (calculated).
- 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
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.
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.