IMDHMIControls LibraryShop main store

Troubleshooting

Why your Productivity PLC writes the wrong bit to a drive control word

Drives and motion Published 6 min read By IMDHMI controls team

Short answer

A Productivity 2000 write to a drive control word that succeeds but enables nothing usually means the PLC set the wrong bit: Productivity numbers word bits starting at 1, so drive bit 9 is Productivity bit 10. The drive must also be in remote with its command source assigned to Modbus.

On this page
  1. Why does my write succeed but the drive ignore the control word?
  2. Which Productivity bit matches drive control-word bit 9?
  3. What should the control word value actually be?
  4. Is the drive allowed to take commands from Modbus?
  5. What does the drive status word tell me after the write?
  6. Where should the Modbus write rung sit in the scan?
  7. How do I verify the fix safely, end to end?
  8. Questions asked

When a Productivity 2000 write to a drive control word completes without an error but the drive does not enable, the two causes to check first are bit indexing and command ownership: Productivity numbers word bits starting at 1, so drive bit 9 must be driven by Productivity bit 10, and the drive must be in remote with its command source assigned to the Modbus network. A clean communications status proves the transport; it does not prove the right bit reached the drive.

Why does my write succeed but the drive ignore the control word? #

A write that returns no error only says the PLC transmitted a word and the drive accepted the transaction; it says nothing about which bit inside that word the drive acted on, or whether the drive is allowed to act on network commands at all. Split the problem into three independent checks: the bit mapping, the command source, and the resulting drive state.

Work through them in this order, one change at a time:

  • Confirm the bit mapping by comparing the outgoing word value with the drive manual's numeric example.
  • Confirm the drive's command channel is set to Modbus and the unit is in remote, not local or terminal control.
  • Confirm the state change by reading the status word before and after one controlled write.

Do not copy a suggested slave node or unit identifier from a forum note; use the value the drive and PLC documentation require.

Which Productivity bit matches drive control-word bit 9? #

Drive control words number their least significant bit as bit 0; Productivity words number their least significant bit as bit 1. The offset is exactly one position across the whole word, so drive bit N is Productivity bit N plus 1. That is why bit 9 on the drive side must be driven by bit 10 in the PLC.

The message that bit 0 was not a valid bit number was the convention announcing itself: Productivity simply has no bit 0. Translate every bit number in the drive's register documentation by adding one before you write the rung, and do the same in reverse when decoding a status word.

What should the control word value actually be? #

Drive bit 9 has a binary weight of 2 raised to the 9th power, which is 512, so the control word for that single command is 512, written 0x0200 in hexadecimal. In Productivity logic, the tag bit that carries 512 is bit 10, because bit 10 in a one-based word sits at position 9 and holds 2 to the 9th.

Worked example, using the control word the program builds in the tag the original application called dmControl:

  • Start with the word value 0.
  • Turn on Productivity bit 10: word becomes 2 to the 9th, which is 512 decimal, or 0x0200.
  • Turn on a second command at drive bit 8, which is Productivity bit 9: add 2 to the 8th, which is 256, so the word becomes 512 plus 256, or 768 decimal, 0x0300.
  • Watch the outgoing integer online and check it equals the manual's documented mask for the intended command combination before you energize anything.

If the word value matches the manual's example but the drive does not move, the mapping is right and the fault lies in command ownership or drive state, not in the bit math.

Is the drive allowed to take commands from Modbus? #

A drive can communicate happily over Modbus while its run authority remains assigned to the keypad or the digital inputs. Check two settings in the drive: the command channel selection, which assigns start, stop and enable to the network instead of the terminal strip or panel, and the local or remote selector, which must be set to remote for network commands to act. Both are set with the drive's configuration software; for the Schneider Altivar family, SoMove exposes the command and reference channel assignments, and the drive must be power-cycled after communication changes take effect.

Fieldbus on the drive side and Ethernet/IP versus Modbus TCP are not interchangeable labels either: read the exact drive model's communication chapter and set the protocol the manual documents for the register map you are using, then match the PLC's device configuration to it. A working position and velocity read proves some path is active; align the configured protocol for all words, command ones included.

For the transport itself, the register data is identical whether the drive is reached over serial or over TCP, so a write pattern that works on a serial link carries over unchanged, as covered in the article on Modbus RTU versus TCP transport and register data.

What does the drive status word tell me after the write? #

The status word is the drive's own report of which state it is in, and it settles whether the command reached the drive at all. Read it in the same grouped transaction as the write, and record it before and after one controlled command change. The first three bits distinguish the basic operating states; decode them with the exact model's status-word table rather than from memory.

Three outcomes, three different next steps:

  • Write reports a timeout or exception: the fault is addressing or transport. Fix communications before touching drive settings.
  • Write succeeds and the status word does not change: the drive received a word it does not act on. Check command source, remote state, and bit indexing.
  • Status word changes but the motor stays stopped: follow the drive's indicated state and any fault code it reports instead of toggling the control word repeatedly.

Where should the Modbus write rung sit in the scan? #

Put the communication rung below the rungs that decide the start and stop command. If the write instruction executes before the logic that builds the control word, it transmits the value left over from the previous scan, and the drive receives a stale enable one scan behind the operator's input. Moving the write under the decision logic makes each scan send the current intended word.

For the wider pattern of keeping network writes to controller output registers predictable, the article on safe Modbus writes to PLC output registers from SCADA covers the same write-late principle from the supervisory side, and the article on commanding a PowerFlex 525 from a Productivity PLC over Modbus walks the equivalent setup for a different drive family.

How do I verify the fix safely, end to end? #

Verify one mapped item at a time, with the machine in a safe state under your site's operating procedure, and only re-energize after the drive reports the expected state:

  1. Note the current status word, command-channel selection, and local or remote state of the drive.
  2. Confirm the model's register map, control-word bit definitions, and required command and reference sources in its manual.
  3. Correct the bit mapping in logic: drive bit 9 becomes Productivity bit 10, adding one to every drive bit number.
  4. Watch the outgoing word value, the write diagnostics, and the status word through one command change; confirm the expected bit and state transition appear together.
  5. Only once the status shows the expected enabled state, check the speed reference and the drive response against the documented feedback.

Do not use a fault-reset bit as a substitute for a correct command source, and do not adopt a suggested node address you have not verified. Keep the before and after word and status values in the troubleshooting record.

The decision, in short: if the outgoing word value is wrong, add one to the drive's bit numbers and rebuild the mask; if the word value is right and the status word never changes, set the drive's command channel to Modbus and the unit to remote before anything else.

Questions asked

Why did the PLC tell me that bit 0 is not a valid bit number?

That message is the confirmation of the indexing convention. A Productivity word numbers its bits from 1 to 16, so there is no bit 0 to address. The least significant bit is bit 1 and carries a weight of 1; the highest bit is bit 16 with a weight of 32,768. When you translate a drive register definition that starts at bit 0, always add one to the drive's bit number.

Does this bit-numbering difference also apply to status words I read back from the drive?

Yes, in the opposite direction. When a drive manual says a status is reported in bit 3 of the status word, that condition appears in Productivity bit 4 of the word you read. Checking the raw word value against the manual's numeric example is the fastest way to confirm you are decoding the right position before you build alarm or interlock logic on top of it.

The write completes without an error and the bit mapping is correct, but the drive still does not run. What is left?

Check the drive's command-channel and reference-channel assignments and its local or remote state. A drive can exchange register data over Modbus while its run authority stays assigned to the terminal strip or the keypad. In the drive configuration software, set the command source to the Modbus network, set the unit to remote, power-cycle after communication changes, and read the status word to see which state the drive reports.

Can I keep the Modbus write rung at the top of the scan before my start and stop logic?

Put it after the logic that decides the command word. If the write instruction runs before the rungs that build the control word, the instruction can transmit the value from the previous scan, so the drive receives a stale enable. Placing the write below the decision logic sends the current intended word each scan and keeps the drive state consistent with the program.

Keep reading

  • How-to

    Control an ATV12 drive from a TM200 PLC over Modbus RTU

    The ATV12 takes start/stop from register 8601 (CMD) and speed from register 8602 (LFRD, in rpm) once you set Fr1 to Mdb in the CtL- menu and match address, baud, parity and stop bits at both ends. The ladder then writes both words cyclically, one request at a time, gated on completion. Start from the TVDA sample project in Machine Expert Basic.

    Drives and motion

  • Troubleshooting

    Fix missing setpoint and control word writes to a PROFIBUS drive

    A working transmit path proves the bus is fine; the receive half is unfinished. Verify the PLC writes the configured output words, the words arrive in the receive buffer with a matching PZD length, the free-BICO receive connections exist, and control-word bit 10 is 1. Check the boundaries in order so an address fault is not mistaken for a BICO or authority fault.

    Drives and motion

  • How-to

    Bridging a PLC-5/15 DH+ network to a Kinetix 300 servo drive

    Yes, a DH+-to-EtherNet/IP gateway exchanges command and feedback words between a PLC-5/15 and a Kinetix 300, but it only moves data: the drive must execute the motion profile locally. Replace the stepper controller, pulse expander, and encoder-counter functions with an eight-word map that carries a 32-bit position as two 16-bit words behind a data-valid handshake. If the machine needs trajectory points streamed per scan, migrate the controller instead of bridging it.

    Drives and motion