Troubleshooting
Fix missing setpoint and control word writes to a PROFIBUS drive
Short answer
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.
On this page
- What the working transmit direction already proves
- Check 1: the PLC writes the configured output words
- Check 2: confirm the words arrive in r2050
- Check 3: wire the receive side through free BICO
- Check 4: set control authority with control word bit 10
- Worked example: command 30 Hz from a VAT table
- Test each boundary in this order
- Questions asked
The transmit path works and the receive path does not: the PLC reads speed, frequency and torque over PROFIBUS, but nothing the PLC writes changes the drive's behavior. That combination almost always means the receive half of the telegram is unfinished, not that the bus is broken. Work four boundaries in order: the PLC must write to the configured peripheral output address, the words must arrive in the drive's receive buffer r2050 with a PZD length that matches both ends, the free-BICO receive connections must exist because telegram 999 wires nothing for you, and control-word bit 10 must be 1 before the drive accepts command from the fieldbus. Checking in that order keeps an address fault from being misread as a BICO fault, or a control-authority fault from being misread as a failed setpoint.
What the working transmit direction already proves #
Your STARTER project already connects r52 (status word) and r21 (actual frequency) to p2051, and those values appear in transmit PZD1 and PZD2 and then in the PLC input image. That proves the PROFIBUS cycle, the slave addressing and the configured PZD lengths are working, and that the transmit-side wiring is complete. It proves nothing about the receive side. Under telegram 999 every receive connection is made by hand, so a drive can report its status forever while ignoring every command if the contents of the receive buffer are never connected to a command input.
The four BICO terminal types decide what you can connect where:
| Terminal | Signal type | Role | Typical use in this setup |
|---|---|---|---|
| BI | Boolean in | consumes a command | control-word bit to a drive command input |
| BO | Boolean out | supplies a state | status bit to a transmit PZD word |
| CI | numerical in | consumes a value | setpoint word to a setpoint input |
| CO | numerical out | supplies a value | r52, r21 and similar to transmit PZD |
Your working transmit path uses BO and CO sources. Controlling the drive needs BI and CI targets fed from receive PZD, and that wiring is the missing half.
Check 1: the PLC writes the configured output words #
Open the hardware configuration and record three things: the drive's peripheral output start address, the peripheral input start address, and the configured PZD length in each direction. Commands and setpoints go to the output range, feedback comes from the input range. Writing to PIW or PID when the drive sits at PQW commands nothing, and input/output reversal is one of the two most common faults in this symptom.
For a VAT-table test, direct peripheral access to a single word is fine. For application code that moves the whole command area, use SFC15 for the PLC-to-drive write and SFC14 for the read-back, with the block length matched to the configured consistency so all PZD words arrive in the same bus cycle. The address and length contract is the same one you apply when you configure S7-300 PROFIBUS control for an MM420 drive (article:configuring-s7-300-profibus-control-for-an-mm420-drive), and the related failure where a configured module address lands outside the process image is covered in the S7-300 PROFIBUS gateway address fix (article:fix-an-s7-300-profibus-gateway-detected-but-reading-no-i-o-data).
Before testing, freeze any cyclic logic that writes those output words, or your test value is overwritten within one scan and the drive never sees it.
Check 2: confirm the words arrive in r2050 #
Watch the receive PZD buffer r2050 in STARTER while you write from the VAT table. Enter a recognizable pattern such as 16#AAAA in the first output word and a mid-range setpoint in the second, then read r2050. Every receive word under r2050 must mirror the corresponding PLC output word.
If r2050 does not change, the fault is the output address, the PZD length or the cyclic transfer, and no amount of BICO editing will fix it. The PZD length selected in the PLC hardware configuration must equal the length configured in the drive; a mismatch shows up exactly here, as a buffer that never updates or words that land shifted. Correct this boundary before touching BICO parameters.
Check 3: wire the receive side through free BICO #
Values visible in r2050 are communication data, not automatically active drive commands. With telegram 999 the interconnections are free, and they can only be changed while p0922 is set to 999, so confirm that first. Then connect the receive side by hand:
- Identify the binary receive-PZD source carrying the control word and connect each required command BI input to its bit.
- Identify the numerical receive-PZD source carrying the setpoint word and connect the active setpoint CI input to it.
- Select targets from STARTER's parameter list and BICO view rather than guessing; the exact target identifiers depend on the command and setpoint configuration selected in your drive.
- Run the drive's parameter-save operation afterward, because free BICO edits live in RAM until saved; a walkthrough of permanently saving free-BICO PZD settings in STARTER covers that step in detail.
Two wiring mistakes leave communication looking healthy while the command path stays open: routing a numerical setpoint through a binary terminal, and treating a status BO as a command input. Connect consumes-side terminals to receive-PZD sources only, and match the signal type.
Check 4: set control authority with control word bit 10 #
Bit 10 of the control word in receive PZD1 is the control-from-PLC condition and must be logic 1 before the drive accepts any command from the fieldbus. With bit 10 at 0, the drive shows perfect status data on the bus and ignores every write, which reads exactly like a broken setpoint. Confirm the same bit three places: the PLC output word, receive PZD1 under r2050, and the connected BI input. If it is true only in the VAT table, cyclic logic is overwriting the word or you are testing the wrong output address.
Worked example: command 30 Hz from a VAT table #
Assume a two-word output starting at PQW256, receive PZD1 wired to the command BI inputs and PZD2 wired to the setpoint CI, and a configured reference frequency of 50.0 Hz.
The setpoint word is a fraction of the reference, full scale 4000 hex (16384 decimal) at 100 percent:
- Fraction needed: 30 Hz / 50 Hz = 0.6
- Setpoint word: 0.6 x 16384 = 9830.4, write 9830 decimal = 16#2666
Stage the command with 16#047E in PQW256: bit 10 set for control from PLC, bits 1 through 6 set so OFF2, OFF3, pulse enable, ramp-inhibit cancel and setpoint conditions are inactive, and bit 0 (ON/OFF1) clear, so the drive is ready but stopped. Put 16#2666 in PQW258.
Verify: r2050 word 1 reads 16#047E and word 2 reads 16#2666. Then write 16#047F to PQW256, setting bit 0, and the drive ramps to 30 Hz.
One safety rule before that ON command: be certain the motor and load can safely turn, or decouple the machine, because the drive now genuinely executes what the PLC writes.
If r2050 tracks the VAT values but the connected command inputs do not move, the fault is the BICO layer, not the bus. If r2050 word 1 shows bit 10 at 0 while your source word has it set, the wrong output word is being written or cyclic code is overwriting it.
Test each boundary in this order #
- Output image: write the command and setpoint through PQW or SFC15 and confirm the values hold for the test.
- Bus delivery: read r2050 and confirm each receive word equals the PLC output word.
- BICO delivery: monitor the connected BI and CI targets and confirm bit 10 and the setpoint follow their receive-PZD sources.
- Control authority: confirm bit 10 reads true at the output, in r2050 and at the connected input.
- Drive response: apply the run sequence and confirm the status mapped through p2051 changes and the PLC reads it back.
The decision follows from where the chain first breaks. Receive buffer static: fix the output address, PZD length or transfer. Buffer live but inputs unmoved: complete the free-BICO receive wiring. Inputs live but no run: bit 10 is 0 somewhere between the VAT table and the drive. Transmit healthy and all four boundaries proven: the PLC now controls the drive, and any remaining behavior difference is drive configuration, not the PROFIBUS receive path.
Questions asked
How is the speed setpoint word scaled on a SINAMICS G120?
The setpoint word you send through receive PZD is a fraction of the drive's configured reference frequency: 4000 hex, which is 16384 decimal, means 100 percent and 0000 hex means 0 percent. With a 50.0 Hz reference, 4096 decimal means 12.5 Hz and 9830 decimal means about 30 Hz. A negative value reverses the direction reference. Verify the scaling of the specific setpoint CI input before assuming any other range.
Can I write the control word with a simple MOVE instead of SFC15?
For a single-word test, a MOVE to the peripheral output address is the simplest method and works fine. Once the transfer is more than one word, use SFC15 to write and SFC14 to read, with the block length matched to the consistency configured for the slave, so every PZD word arrives within the same bus cycle. Splitting the write across cycles leaves the drive briefly acting on a half-updated command word.
Do I have to use telegram 999 to get free BICO?
Telegram 999 gives a fully free telegram, and its BICO interconnection can only be changed while p0922 is set to 999. If you would rather keep the standard control-word and setpoint wiring intact, use standard telegram 1 and extend only the extra PZD words through BICO. The fixed telegrams also remove the risk of forgetting a receive-side connection.
Why do my BICO edits vanish after a power cycle?
BICO interconnections sit in volatile memory until you run the drive's parameter-save command. At power-up the drive reloads the saved set, so unsaved receive wiring disappears while the bus itself keeps working. Save after every BICO session, then cycle control power and confirm that the receive buffer still drives the connected command inputs.