Troubleshooting
Why your VFD ignores Modbus RTU start commands from a PLC
Short answer
A VFD that ignores Modbus RTU start commands almost never needs a secret start register. Prove one read transaction with matching serial formats, translate the register address correctly, then set the drive's command-source and setpoint-source selections to the serial link and apply the documented control-word enable sequence. Work that order and each symptom points to one cause.
On this page
- Work the fault in this order
- Make both serial ports speak the same frame
- Prove the bus with one read before any write
- Translate the register number before blaming the drive
- Hand the command and the setpoint to the serial link
- Follow the enable sequence the manual defines
- Worked example: a V20 that answers nothing at 9600 8-N-1
- What each symptom decides
- Questions asked
A VFD that answers nothing, or answers reads and then ignores your start bit, is not missing a start register. The fault sits in one of five places, and only the last of them is the control word itself: serial format, wiring and termination, address and register translation, command-source and setpoint-source selection, then the enable sequence. Get a read-only status transaction working first. Once the PLC can read the drive reliably, a start that still does nothing points at source selection, not communications. Work the list below in order and each symptom names its own cause.
Work the fault in this order #
- Match the serial format on both ends - baud, data bits, parity, stop bits - and confirm the slave address the PLC targets.
- Verify wiring and termination: the differential pair per the polarity each manual defines, the shield per the drawing, termination at the two physical bus ends only.
- Prove the bus with one read-only status or actual-value transaction and nothing else.
- Translate the manual's register number into the address your PLC instruction actually wants.
- Set the drive's command source and its speed-setpoint source to the serial link.
- Apply the drive manual's control-word enable sequence in the documented order, then run a low-speed test.
Make both serial ports speak the same frame #
A SINAMICS V20 defaults its Modbus RTU port to 19200 baud, 8 data bits, even parity and 1 stop bit - 8-E-1. If the PLC port sits at any other format, the drive hears nothing usable: a format mismatch produces silence or framing garbage, never a clean error message. That silence is why this is check one. Confirm the drive's Modbus slave-address setting matches the address in the PLC instruction, and remember that some drives apply communication-parameter changes only after a restart, so power-cycle the drive and confirm the active value on its display before blaming the cable.
A parity mismatch looks identical from the master's side, and the case of a DL05 slave that answered only with odd parity is the same fault seen from the slave's end. Format matched and still silence means wiring: use the terminal polarity each manual defines rather than the letters printed on the case, because vendors label the pair differently. Terminate at the two physical ends of the bus only; a resistor at every device loads the pair down. Keep the RS-485 pair away from motor cables, and land the shield per the drawing rather than improvising a bond to protective earth.
Prove the bus with one read before any write #
Before any write, read one documented status or actual-value register. A successful read proves the drive received a recognizable request and returned a response the PLC accepted, which is more than a blinking transmit LED will ever tell you. Run one transaction at a time and wait for its completion or error; overlapping requests on a serial port make a correct configuration look unreliable. Set the first-test timeout to 1 s. Once reads succeed, tighten it to a value above the transaction time you actually measured. Sort every result into one of three cases:
| What you see | What it means | Where to look next |
|---|---|---|
| Timeout, no response | Nothing usable reached the master | Serial format, wiring, termination, slave address, drive protocol selection |
| Exception response | The drive heard you and rejected the request | Function code, register address, access rights, requested length |
| A value that looks wrong | Transport is fine, interpretation is not | Register selection, scaling, word order |
Translate the register number before blaming the drive #
Manuals print register numbers; instructions take protocol addresses, and the two differ by convention. The common Modbus convention displays the first holding register as 40101, and some masters want 100 for it, others want 101. Determine your master's convention with one read: an exception on a known-valid register points at the offset, while a plausible-but-wrong value points at length or word order. A read that straddles a gap in the drive's register map returns exception 02, which is a precise clue rather than a fault; the register-gap case behind Modbus exception 02 walks through reading it that way.
Hand the command and the setpoint to the serial link #
Communication proven does not mean serial command granted. A VFD takes its start and stop from one configured source and its speed from another, and both must be selected onto the serial link before a control word does anything. If the command source still points at the keypad or the control terminals, the start bit lands in a register the drive reads and discards: reads keep working and the motor never moves. Set the command-source and setpoint-source selections to the drive's serial fieldbus option, and check for a source override from a digital-input junction while you are there. The source-selection idea is the same on every drive family, as the comparison of five ways a PLC controls a VFD shows.
Follow the enable sequence the manual defines #
Start commands travel in a control word: a register whose individual bits request on, off, fault reset and the transitions between. Drives gate those bits through a state sequence - the drive must reach its ready state before a run bit does anything, and most drives discard a run word written from a state that cannot accept it. Never write a guessed integer to an assumed start register, because unrelated bits in the same word request stops, direction changes or resets. Read the manual's state diagram and control-word bit definitions, then write the sequence it shows, one step at a time, watching the status word you are already reading. If writes reach the drive but the state machine will not advance, the missing-setpoint case on a PROFIBUS drive is the same diagnosis on a different wire. A Modbus stop command is an operating command, not a safety function: keep the hardwired stop and emergency stop active throughout commissioning.
Worked example: a V20 that answers nothing at 9600 8-N-1 #
Inputs for the case: the drive port as shipped, at 19200 baud, 8 data bits, even parity, 1 stop bit, the V20's documented Modbus RTU default and the same drive-side setup the Siemens application note for a V20 over Modbus RTU from an S7-1200 works through; the PLC port as found, at 9600 baud, 8 data bits, no parity, 1 stop bit - the case's given; an illustrative test frame of an 8-byte read request and an 8-byte response; and the Modbus RTU rule that master and slave share one format, that a mismatch yields silence, and that frames are separated by at least 3.5 character times of idle line.
The arithmetic: at 19200 baud with parity, one RTU character is 11 bits on the wire (1 start, 8 data, 1 parity, 1 stop), so 11 / 19200 = 0.573 ms per character. The 16-character round trip costs 16 x 0.573 ms, about 9.2 ms, plus slave processing, so a 1 s timeout leaves roughly a hundredfold margin. At the PLC's 9600 setting, each character is clocked at 11 / 9600 = 1.15 ms and the master expects no parity bit where the drive sends one; framing never lines up and every request ends in a timeout, not an error.
Result: set the PLC port to the drive's format, restart the drive if its port applies settings at power-up, and the first status read completes. The decision it leads to: a read that still times out at matched formats moves the fault to wiring and termination; a read that completes while a start write does nothing leaves communications entirely behind, and the command-source selection plus the enable sequence are the fault - no register value fixes them.
What each symptom decides #
- Silence or a timeout on every request: serial format first, then wiring, termination and slave address.
- An exception response: the drive hears you - fix the function code, register address, access rights or requested length.
- Reads succeed, start write ignored: communications are done; set the command and setpoint sources to the serial link and follow the enable sequence.
- The run starts, then trips or runs away: the setpoint scaling or word order is wrong; read the received-reference value back and compare it against what you sent.
Questions asked
The PLC reads the drive fine but the start write changes nothing - where is the fault?
Communications are proven, so the fault is on the command side. Confirm that the drive's command-source setting and its speed-setpoint setting both point at the serial link, then apply the control-word sequence from the drive manual in its documented order, one step at a time while watching the status word. A run bit written from a state that cannot accept it is discarded, so a wrong sequence looks exactly like a wrong register.
How fast can the PLC poll a drive on Modbus RTU?
Each transaction costs its frame time plus the drive's processing time, and on a single serial port the master issues requests strictly one after another, so a write waits behind every read ahead of it. Do not trust a calculated cycle time: measure it with your real poll plus a queued write. If it is too slow, cut the number of registers per read before you cut the poll interval.
If I change the serial settings away from the defaults, what must change with them?
Every device on the bus must share one baud rate, parity and frame format, so change the master and every slave together, and restart any device that applies communication settings only at power-up. Record the active settings from each device's display rather than trusting edited values, because an edited-but-inactive parameter produces silence that looks exactly like a wiring fault.
Can a Modbus stop command replace the hardwired stop circuit?
No. A Modbus stop is an operating command that depends on the controller, the network and a running program, and any of those can fail exactly when you need it. The emergency stop and any other safety function stay hardwired as the machine's risk assessment requires, and they remain active throughout commissioning, including during low-speed tests from the serial link.