MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › How do you control a VFD over communication with a Mitsubishi PLC?
HomeModels
Table of contents

On this page

PLC & Programming (100 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

How do you control a VFD over communication with a Mitsubishi PLC?

Controlling a VFD from a PLC over communication comes down to three things being in place at once: the physical layer wired correctly, the protocol chosen correctly, and command authority handed over. Many first attempts fail not because the program is wrong but because the VFD is still in panel control mode or the command authority was never switched to communication, so every frame the PLC sends is ignored. The sections below work through wiring, protocol, message format, data scaling and monitoring in that order.

1. Decide the physical layer and protocol first

The physical layer decides what cable to use, how far it can run and how many stations it can carry; the protocol decides what a message looks like and which instruction the PLC uses to send it. Common combinations are RS-485 with a manufacturer-specific VFD protocol or Modbus RTU, and newer equipment also offers Ethernet Modbus TCP. Before choosing, check which protocols the VFD supports and which communication ports or option modules the PLC offers; only what both sides support is a candidate. Distance and station count are hard constraints: RS-485 generally reaches tens to about a hundred metres and carries tens of stations on one segment, with the exact limit per the equipment manual.

2. RS-485 wiring and termination

A two-wire bus ties the positive and negative terminals of every station onto one twisted pair, with the shield earthed at one end only, routed away from power cables and not bundled in parallel with the VFD output cables. Fit a terminating resistor at each end of the bus, commonly in the 100 to 120 ohm range with the exact value per the specification or manual, and none on intermediate stations. On a Mitsubishi FX, the terminal strapping on the RS-485 option board follows the wiring diagram in the relevant module manual, and getting it the wrong way round usually means no communication at all rather than occasional errors. Every station on a multi-drop bus must have a unique station number; duplicates show up as random lost frames.

3. Hand command authority to communication

Mitsubishi FR-series VFDs have an operation-mode parameter and command-authority parameters, and both the run command and the frequency setpoint must be assigned to communication; other series are per their own manuals. Leave this unset and the PLC can be perfectly correct and still move nothing, usually with no obvious alarm - the symptom is communication working normally while the motor does not turn. After switching, a power cycle or the procedure given in the manual is normally needed for it to take effect. When the panel, the terminals and communication all contend for command authority on one VFD, the priority follows the manual, so decide before commissioning who is in charge.

4. Message format and data scaling

Frequency setpoints use a scale convention, commonly with 0.01 Hz or 0.01% as the least significant unit, so a written value of 5000 may mean 50.00 Hz; the exact mapping is per the VFD communication parameter table. Acceleration/deceleration times and current monitor values also carry their own scales and offsets, so look them up rather than guessing. Signed parameters need two's-complement handling. Baud rate, data bits, stop bits, parity and station number must match exactly between PLC and VFD; any single mismatch blocks communication and gives no targeted hint as to which one it is.

5. What to control and what to monitor

On the control side you need at least run and stop commands and the frequency setpoint, plus acceleration/deceleration times and alarm reset where required. On the monitoring side you need at least output frequency, output current, running status and fault code. A fault code read back should be translated against the manual into a readable message on the screen rather than left as a bare number for the operator. Both writes and reads need timeout and retry handling, and when the link drops the PLC should detect it and raise an alarm rather than silently sitting at the last frequency.

6. VFD control methods compared

Control methodWiringStrengthLimitationWhere it fits
Manufacturer-specific VFD protocolRS-485, two wireDirect read/write via same-brand PLC instructionsSame brand onlySingle-brand central control
Modbus RTURS-485, two wireWidely supported by most VFDsFrames and checksum built by handMixed-brand installations
Free-protocol RS instructionsRS-485Maximum flexibilityFrames hand-built, high maintenanceUnusual frame formats
CC-LinkDedicated busHigh speed, many stationsNeeds dedicated module and cableLarge point counts, many stations
CC-Link IE FieldEthernetHigh speed, easy networkingHigher costHigh-speed multi-axis and full lines
Analog controlTerminals, 0-10 V or 4-20 mASimple, no protocolFrequency only, no parameter accessSingle-drive simple speed control
Terminal multi-speed stepsDigital input terminalsNo communication load, fast responseLimited number of speed stepsA few fixed speeds
Ethernet Modbus TCPNetwork portHigh speed, easy to commissionRequires VFD supportNew equipment, distant control room
Combined communication and terminalsRS-485 plus terminalsStart/stop via terminals is more reliableWiring and logic both neededHigh reliability demands on start/stop
Local panel operation keptNo wiringUsable for on-site emergenciesCan conflict with communication commandsCommissioning and fault handling

7. Notes

A sensible commissioning order is single-drive communication first, reading one read-only parameter to confirm the link, then writing a frequency setpoint to see whether the motor follows, and only then start/stop and multiple stations. Each step then fails in a place you can pin down. When several VFDs share one bus, plan station numbers, response times and the polling cycle together; if the scan cycle is too short or the station count too high, responses time out, and widening the polling interval or reducing the data per station eases the problem.

8. References

The technical requirements for the Modbus communication protocol are given in the GB/T 19582 series. Electromagnetic compatibility for adjustable-speed electrical drive systems is covered by GB/T 12668.3 and IEC 61800-3. General requirements for programmable controllers and their communication interfaces follow GB/T 15969.2 and IEC 61131-2. The electrical connection, protection and earthing of industrial machinery follow GB 5226.1 and IEC 60204-1, and graphical symbols and terminal designations follow GB/T 4728. The exact parameter numbers, communication scales and wiring methods are per the manual for the specific VFD and PLC module.

9. Points to watch

⚠️ Three common traps:
(1) The VFD is still on panel or terminal control and command authority was never handed to communication, so the PLC frames are ignored and the fault gets blamed on the communication program;
(2) A missing terminating resistor on the RS-485 bus, or a shield earthed at both ends, gives a link that works over short distances and then drops frames intermittently once extended - the hardest kind of fault to chase;
(3) Misreading the frequency scale and writing a value as if it were 0.1 Hz when the VFD reads 0.01 Hz, so the setpoint is ten times too high and the motor overspeeds at once.

Wiring, terminating resistors and station numbers must all be set with the power off, and after any parameter change run the drive at low speed first to confirm direction and frequency before putting it into service. Safety functions such as emergency stop should be implemented through an independent safety circuit or terminal, not by communication commands alone.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL