IMDHMIControls LibraryShop main store

Troubleshooting

Why a CB1241-driven V20 takes no HMI speed entry

Drives and motion Published 8 min read

Short answer

The dead speed entry and the fast CB1241 flash are two separate faults. After a CM 1241-to-CB1241 swap, first re-select the serial hardware identifier on every legacy USS instruction, then confirm the PLC and the V20 run the same USS or Modbus RTU protocol and set the drive's command and setpoint sources to the serial link; only then retest the HMI field.

On this page
  1. Two paths, two faults
  2. Fix the hardware identifier first
  3. Put one protocol on the wire
  4. Check the RS-485 wiring and termination
  5. Set the drive's command and setpoint sources
  6. Test the HMI speed entry last
  7. Scale the entered speed correctly
  8. The fix order
  9. Questions asked

You swapped a CB1241 in place of the example project's CM 1241 and a KTP400 in place of its KTP 600, and now the speed entry is dead while the CB1241 flashes rapidly. Treat those as two faults on two separate paths: the panel-to-PLC write path, and the PLC-to-drive serial link over RS-485. After a module-to-board swap like this, the first suspect is not the panel — it is the hardware identifier on the serial instructions, which still points at the module you deleted. Re-select it on every serial instruction, confirm the program and the drive run the same one protocol, then set the V20's command and setpoint sources to the serial link. Test the HMI field last; with the link healthy, a dead entry field is an ordinary screen-configuration fault.

Two paths, two faults #

A speed entry crosses two links. The panel writes a PLC tag, and the program scales that tag and hands the result to the drive over RS-485. The CB1241's rapid flash lives entirely on the second link, and serial activity is not a diagnosis: the same fast flash fits a healthy exchange, unanswered requests, or bytes nobody can decode. Neither observation clears the other, so log the two paths separately from the first minute.

If the PLC tag never changes when you type a value, the fault is the write path, and the checks in tracing an HMI command that never reaches the PLC output apply directly. If the tag changes and the drive ignores it, the fault is downstream of the tag — the write-arrives-but-nothing-happens pattern covered for missing setpoint and control-word writes to a PROFIBUS drive, transplanted onto a serial board.

There is a third architecture — let the panel master the drive's serial registers itself and drop the PLC write path entirely; that build is covered step by step in setting up a Modbus RTU link between an HMI and a drive, while the rest of this article keeps the PLC as the writer.

Fix the hardware identifier first #

The example project configures a CM 1241 and binds its serial instructions to that interface through a hardware identifier, the project-side reference that ties an instruction to one configured port. Delete the module and add the CB 1241 (RS-485) communication board, and every instruction still holding the old identifier references hardware that is no longer in the station. Read the replacement's identifier from device configuration; never carry the example project's value over.

This is the instruction set documented as legacy USS communication for CM/CB 1241 only. USS_DRV builds each request message and interprets the drive's response, and the port instruction beside it paces the exchanges. Every block in the family carries the interface reference, so one missed re-selection keeps the whole link dead.

Work it in this order:

  • Open device configuration and confirm the configured CPU and the CB1241 match the installed hardware.
  • Open each USS instruction in the program and re-select its interface from the CB1241's entry.
  • Compile hardware and software together and clear every unresolved device-reference error before downloading.
  • Go online, confirm the station matches the project, and watch the status and error outputs on the instructions.

Do this before anything else. No protocol check or drive setting means anything while the instructions address a port that does not exist.

Put one protocol on the wire #

The example application covers both USS and Modbus RTU, and the two are not interchangeable: different message formats, different command handling, regardless of matching baud and parity. A program executing USS blocks against a drive configured for Modbus RTU, or the reverse, produces exactly this picture — the board transmits, the drive never answers, the flash continues.

Both ends must agree on four things:

  • Protocol: the instruction family the program actually executes, against the V20's serial protocol selection in its serial parameter group.
  • Slave address: the drive address the instructions target.
  • Baud rate.
  • Parity and stop bits.

The PLC side of those settings lives in the CB1241's interface configuration in device configuration. The drive side lives in the V20's serial protocol parameters, readable at the keypad or from the drive's parameter documentation. Confirm which variant you actually downloaded, too — a project half adapted from each variant fails the same way.

Read the drive's protocol setting first, then make the program match the drive or the drive match the program. Do not leave one link running two protocols.

Check the RS-485 wiring and termination #

A swapped RS-485 polarity gives the same picture as a protocol mismatch: continuous activity, no valid answers. Match signal functions between the CB1241's terminal assignment and the V20's RS-485 terminals using each device's wiring documentation; conductor colors and similar-looking terminal names prove nothing. Terminate the bus segment the way the board and drive documentation require, and keep the reference connection and shield arrangement as drawn. Isolate the equipment before touching conductors, and hold every later setpoint test with the drive inhibited so a stray value cannot move the machine.

Once identifier, protocol and framing are right and the drive still never answers, the wiring itself is the remaining suspect on the wire.

Set the drive's command and setpoint sources #

A V20 can answer every poll and still refuse to run: if its command source selects the terminals or the keypad, the serial control word is ignored while the link looks healthy. The same trap is worked through for a PowerFlex 70 that ignored commands despite good comms. Two settings on the V20 matter here: the one that chooses where run and stop commands come from, and the one that chooses where the speed reference comes from. A drive whose reference source still points at the analog input accepts every serial write and runs at the potentiometer's value anyway.

Set both sources to the serial protocol's selection, then read them back after the download. The value that survives in the drive is the one that counts.

Test the HMI speed entry last #

With the serial link running, the entry field becomes an ordinary screen test — and the panel swap is not the suspect it looks like, because a smaller panel changes resolution and screen layout, not write logic. One connection between your two symptoms is real, though: some screen templates enable an input only while drive status bits report communication, so a dead serial link greys the field out. If that is your template, fixing the link returns the field.

What you see Check Expected result
No input opens Object input mode, enable and visibility conditions, operator authorization Entry permitted in the intended operating state
Entry rejected Data type and configured limits on the field A value inside the limits is accepted
PLC tag never changes HMI connection and external tag mapping The PLC tag follows the entry
Tag takes the value, then snaps back Cross-references on the tag in the PLC program No cyclic write overwrites the operator's value
Tag correct, drive ignores it Sections above: identifier, protocol, command source Drive follows the serial reference

Then prove the chain end to end, with the drive still inhibited: enter a permitted value, watch the PLC tag online, watch it arrive at the setpoint input of the USS_DRV block, and watch the drive's output frequency follow. That sequence, from tag to block to shaft, is your commissioning evidence.

If the field stays dead while the drive runs from the serial link, the fault is inside the screen object or its tag, and it is a small local fix.

Scale the entered speed correctly #

The HMI tag stays in engineering units, a Real in Hz. The USS setpoint the drive expects is a normalized integer in which 4000 hex, 16384 decimal, means 100 percent of the drive's reference frequency. Keep exactly one conversion in the program, written against the drive's actual reference-frequency setting.

Worked example, taking the reference frequency as 50.0 Hz and the operator's entry as 25.0 Hz:

  • Fraction of reference: 25.0 ÷ 50.0 = 0.500
  • Normalized integer: 0.500 × 16384 = 8192
  • Wire format: 8192 decimal = 2000 hex
  • Reverse check: 8192 received back decodes to 8192 ÷ 16384 = 0.500 of the base, the entry you sent

What moves the number is the base: raise the reference frequency to 60.0 Hz and the same entry produces 50 ÷ 60, about 0.83, times the integer. A wrong base runs the drive at the wrong speed across its whole range — a scaling fault that shows up as motion, not silence. On the Modbus RTU variant the register scaling comes from the drive's register documentation instead; apply the same one-conversion rule there.

The fix order #

  1. Match device configuration to the installed hardware: the CPU and the CB 1241 (RS-485) communication board.
  2. Re-select the hardware identifier on every serial instruction, compile hardware and software, download.
  3. Put one protocol on both ends with slave address, baud rate, parity and stop bits agreed.
  4. Verify RS-485 polarity, reference and termination against the wiring documentation.
  5. Set the V20's command source and setpoint source to the serial link and read both back after download.
  6. With the drive following the serial reference, test the entry field under the inhibited condition.

For the case as reported — a downloaded example project, a CB1241 swapped for a CM 1241, no speed entry, fast flash — start at step 2. The removed module's identifier on the serial instructions is the cause that fits both symptoms, and the panel does not become a suspect until steps 1 through 5 pass clean.

Questions asked

Why does the CB1241 LED keep flashing fast even with the drive powered down?

A rapid flash shows the board is transmitting on its RS-485 port; with no answer it keeps retrying, so the blink alone proves nothing about protocol, wiring or address. Judge the link from the status and error outputs of the legacy USS instructions instead, and read the LED's documented meaning in the board manual before treating any pattern as a diagnosis.

What integer goes on the wire for 25 Hz when the reference frequency is 60 Hz?

USS setpoints are normalized, with 4000 hex, 16384 decimal, equal to 100 percent of the reference frequency. At 60 Hz: 16384 × 25 ÷ 60 = 6826.7, rounded to 6827 decimal, which is 1AAB hex. Every entry is multiplied by 16384 and divided by the configured reference, so recompute rather than reusing numbers derived from a 50 Hz base.

Can the KTP400 simply replace the KTP 600 without touching the screens?

No. Re-select the HMI device, recompile the screens for the smaller display, and check the project connection points at the configured CPU. A resolution change does not remove the entry field or block the tag, though: after a clean recompile with the serial link healthy, a field that still cannot be entered is an object-configuration or write-path fault, not a panel-size fault.

Should a new S7-1200 to V20 link use USS or Modbus RTU?

On a CM or CB 1241 the documented serial drive instruction set is the legacy USS family, so USS with USS_DRV is the direct pairing and the one the example application uses. Pick Modbus RTU when the V20 joins an existing Modbus RTU bus, when the master is not an S7-1200 with one of these serial boards, or when a panel masters the drive directly. Either way, one protocol at both ends.

Can the panel write the speed reference to the V20 directly and skip the PLC?

Yes. Run the panel as a Modbus RTU master against the drive, hold the reference in a panel tag, and the PLC write path disappears. Keep the PLC in that path when you need interlocks, sequencing or alarms around the drive, and never let two masters write the same reference registers at once — one writer per register group.

Keep reading

  • Comparison

    Choosing how a CLICK PLC commands VFD speed safely

    Keep the proven RS-485 link as the speed reference and let the drive's acceleration and deceleration ramps enforce the motion limit, with the encoder supervising. A 0-10 V analog reference is an equally safe alternative; a pulse train is only a frequency reference and is unconfirmed on this drive. None of the three is a personnel-safety function.

    Drives and motion

  • How-to

    Control a PowerFlex 525 drive from two PLC controllers

    Yes — add the PowerFlex 525 to the Logix controller's Ethernet tree and its command tags appear, but a cyclic drive connection has exactly one owner. Give the Logix controller that ownership, read the MicroLogix machine's request into it, and let one rung select the command the drive follows. Never let two controllers write the speed reference.

    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