Troubleshooting
S7-1200 MX2 Modbus link completes but the motor will not start
Short answer
Busy-to-done on MB_MASTER only proves the Modbus transaction completed. Write the MX2 run coil with MODE 1, DATA_ADDR 0001 and DATA_LEN 1, set A002 (run command) and A001 (frequency reference) to the ModBus network selection, then confirm the write with a readback. A completed read, a wrong coil address or a drive still on terminal control each leave the motor stopped.

On this page
- What busy-to-done proves and what it does not
- Capture one transaction before changing anything
- Match the serial link and the slave address
- Worked example: writing MX2 run coil 0001 from MB_MASTER
- Set A002 and A001 to the network before the coil matters
- Give the drive a usable frequency reference
- Turn the working single write into PLC logic
- The decision for each case
- Questions asked
The flash from busy to done on your MB_MASTER instance proves one thing only: the S7-1200 sent a valid frame through the CB1241 and got a valid frame back. It does not prove the drive received a run command. In practice the MX2 stays stopped for one of three reasons: the write landed on the wrong coil or carried the wrong value, the drive still takes its run command from the terminals, or the frequency reference never received a usable value. Work through them in that order, with one write you can verify, and you will find which one it is within minutes.
What busy-to-done proves and what it does not #
DONE says the requested operation completed according to the instruction: a frame went out, a frame came back, and no exception was returned. A register read, a write of zero, or a write to a coil the drive ignores all complete normally too. So a flashing done narrows the fault to the application layer: the address you targeted, the value you sent, or the command source the drive is listening to. Treat a clean completion as "the transaction worked", never as "the motor should run".
Capture one transaction before changing anything #
Do not begin by swapping RS485 conductors or changing several inverter parameters at once. Establish what one request actually did:
- Arrange the test so an unexpected motor start cannot endanger anyone. The MX2 manual warns that the run command can restart the drive, so keep the machine's lock-out in place and retain every safety function.
- Trigger MB_MASTER once instead of cyclically, so a single failure cannot hide behind the next request.
- Watch REQ, BUSY, DONE, ERROR and STATUS together, and record them, because the online watch table hides a short error pulse. If you do catch an error, the STATUS value tells you what the instruction complained about; why MB_MASTER on an S7-1200 returns an error status but no data covers decoding that value.
- Write down the operation, the destination, the length and the buffer contents that were actually sent, before you change anything.
One completed request with its payload recorded is the baseline for every check that follows.
Match the serial link and the slave address #
If the captured request reports a communication error, resolve the link before working on the run coil. Set the same baud rate, parity and stop bits in the CB1241 port configuration and in the MX2 serial communication parameters, which live in the drive's C parameter group. Make the station address in the request match the address set in the drive. Do not trust terminal letter labels across manufacturers: check conductor polarity against both wiring diagrams, and terminate the bus at both ends. The fastest link test is a repeatable read of a documented register, not a motor-start attempt, because a read separates communications from drive permissives.
Worked example: writing MX2 run coil 0001 from MB_MASTER #
Inputs, and where each comes from: MODE = 1, the write-coils operation of the installed instruction (confirm it in the instruction help for your TIA version); DATA_ADDR = 0001, the MX2 run-command coil documented in the drive's communication chapter; DATA_LEN = 1, one coil; DATA_PTR = a BOOL buffer whose first element is TRUE; and the drive station address, set to 1 in the drive and 1 in the request.
The rule in words: Siemens MB_MASTER numbers coils from 1, while the single-coil write frame carries a zero-based reference, so the reference on the wire is DATA_ADDR minus 1.
The arithmetic: 0001 − 1 = 0000, so the frame targets wire reference 0, which is coil 0001 in one-based terms. The single-coil function carries FF00 hex as its ON constant, and the drive sees bit 0 of its run-command location set.
The result: one completed single-coil write of ON to the MX2 run coil. On a drive with communication selected as its command source, the drive display now shows RUN.
The decision: if DONE arrives and the drive still stands still, the coil path is proven and the fault has moved to the command-source parameters in the next section. If ERROR arrives instead, stop and fix the link or the address; do not try to solve it by firing more writes. The one-based offset between DATA_ADDR and the wire reference is a common trap on any platform, and why a Modbus TCP coil write lands one address off the map shows the same offset on Ethernet.
Set A002 and A001 to the network before the coil matters #
A correct coil write does nothing while the drive listens elsewhere. On the MX2, parameter A002 selects the run command source and A001 selects the frequency reference source; the MX2 parameter lists show 02 as the ModBus network selection for both. Set them and record the values you found, because they tell you what the drive was doing before. Note that the two selections are independent: a drive can run from the network while still taking its reference from a terminal potentiometer, and then it starts and sits at zero speed.
Give the drive a usable frequency reference #
With A001 on the network, the reference comes from the register the MX2 communication map defines. That register expects the value in its own scale, not in hertz; the map states the scale, so convert your target speed to register counts before you write it, and keep the word order straight if your buffer spans two registers. After the write, check the reference the drive displays against what you intended to send, and remember that output frequency and measured shaft speed are different quantities when you later wire feedback into the logic.
Turn the working single write into PLC logic #
A manual test proves the command path; it does not repair application logic that overwrites the buffer between requests, sends a stop immediately after the run, or interleaves requests the port cannot sequence. Integrate the verified transaction unchanged into the normal communication sequence, hold the request parameters and write data stable while BUSY is active, and sequence the next request only after DONE or ERROR. The same discipline applies to the commissioning download side of the project; if the block will not go into the CPU after your edits, the guide on resolving the TIA Portal loading preconditions error covers that failure.
The decision for each case #
| What you see | Where the fault is | The fix |
|---|---|---|
| DONE arrives, coil write proven, no motion | Drive takes its run command from the terminals | Set A002 to the ModBus network selection (02) and repeat one write |
| DONE arrives, drive starts and immediately stops | Logic overwrites the buffer or sends a stop after the run | Sequence the requests and hold the buffer while BUSY is active |
| ERROR on every request | Serial link or station address | Match framing, address and wiring, then test with one read |
| DONE, drive runs at the wrong speed | Reference source or scale mismatch | Set A001 to the network selection and convert the value to the map's scale |
For the framing and permissive checks behind the third row, why a VFD ignores Modbus RTU start commands from a PLC walks the same steps on a different drive. Worked in this order, one documented write, then the command sources, then the reference, separates a dead link from a deaf drive, and you will know which one you have before you touch the wiring.
Questions asked
How do I read the drive status back over the same CB1241 link?
Use the read operation of the same MB_MASTER instruction, which issues Modbus function code 03. Set MODE to the read-holding-registers value in your installed instruction, DATA_LEN to the number of registers you want, and DATA_ADDR to a register in the monitor area of the MX2 communication map. Compare what comes back with the value shown on the drive display; if the two disagree, the addressing convention is wrong, not the drive.
Can a holding-register write start the MX2 instead of a coil write?
Yes, if you write the full run-command register from the MX2 communication map, but it is the harder path. A register write carries a whole 16-bit word, so you must build the command word correctly and keep word order straight whenever the buffer spans more than one register. The single-coil write with one bit set avoids word packing entirely, which is why it makes the better first test.
Why does done flash most of the time but the drive still faults now and then?
Repetitive triggering hides single failures. The instruction re-arms and the display shows done again before you notice one error event. Latch the ERROR and STATUS outputs on the first fault, or log every completion code for a minute, then read the captured values. Intermittent completions with occasional errors point at the serial link, such as termination, shielding or a framing mismatch, not at the run coil.


