Troubleshooting
Why a PROFIBUS analog input value sticks at 32735
Short answer
The word is not misread: the drive's transmit representation for analog input 1 saturates at 32735 counts. At the observed slope that corresponds to about 2.0 V, and a 0–10 V span would need roughly 163675 counts, beyond a signed 16-bit word. Select a transmit representation that covers 0–10 V; no PLC multiplier can recover values lost above saturation.
On this page
The third PZD word is not being misread by the PLC: the drive's transmit representation of analog input 1 saturates. At the observed slope of 32735 counts over 2.0 V, a full 0–10 V span would need about 163675 counts, which a signed 16-bit word cannot carry, so the value clips at 32735 from the saturation point upward. Because r752 keeps tracking the real voltage while the transmitted word does not, the fault sits between the drive's analog measurement and its PROFIBUS transmit buffer. The fix is to select or re-range the drive's transmit analog representation so it covers the applied span; changing PLC scaling cannot help.
Separate the three stages before touching anything #
The symptom looks like one bad number, but the path has three distinct stages, and only the middle one is wrong:
- Drive measurement. Analog input 1 is applied the full span, and r752 follows it across the whole range. This stage works.
- Transmit representation. The drive converts that measured quantity into the signed 16-bit value it places in the third PZD word. This representation reaches its maximum near the saturation voltage and clips. This stage is the fault.
- PLC reception and scaling. The S7-300 copies the word into its process image and scales it. It faithfully reproduces what the drive sent.
Once saturated, the transmitted word carries the same number for every voltage above the ceiling, so no later arithmetic can undo the loss.
The arithmetic that identifies the fault #
Below the ceiling, the word rises linearly from 0 to 32735 counts as the input rises over the confirmed linear region. That slope is:
32735 counts ÷ 2.0 V = 16367.5 counts per volt
Extending that slope to the full applied span:
16367.5 counts per volt × 10 V = 163675 counts
A signed 16-bit integer tops out at 32767, so the representation cannot express even half the span. The drive's transmit conversion reaches 32735, just under the positive limit, at the saturation voltage and holds there. Check it the other way: 32735 counts ÷ 16367.5 counts per volt = the saturation voltage, exactly where the stick begins. This is a range mismatch in the drive's transmit configuration, not noise, not a wiring fault and not a PLC addressing error.
Worked example: with the input at 1.0 V, the representation carries 16367.5 × 1.0 V = 16368 counts and the PLC reads a value that scales cleanly. With the input at 5.0 V the true value would be 16367.5 × 5.0 V = 81838 counts, which exceeds the signed 16-bit limit, so the drive clips it to 32735 and the PLC sees the same word it saw at 2.0 V.
Confirm the transmitted quantity and the reference value #
The PPO type selects how many process data words (PZD) and parameter words are exchanged; PPO4 fixes the word count but does not tell you what the third word represents. The drive's transmit assignment does. Before changing anything, record the drive identification, the selected PPO type, the configured PLC input start address, and the signal assigned to the third transmit word.
- Confirm the assignment resolves to analog input 1 or to a documented representation derived from it, not to a setpoint or status quantity.
- Read the documented units, reference value, signedness and limiting behavior of that assigned representation. The reference value is the setting that determines where the ceiling lands; with the reference set near 2 V for a 0–10 V signal, saturation near 2 V is the expected result.
- Monitor the transmitted quantity in the drive while raising the input above the clip point. After re-ranging to cover the full span, the transmit monitor must keep changing across the whole range before you trust the PLC word again.
Treat 32735 as this installation's observed clip point, not as a universal full-scale constant: a correctly configured normalized 16-bit representation has its own documented reference, and a different signal would clip at a different count.
Verify the S7-300 receive path #
Only after the drive side is corrected, confirm the PLC actually receives the whole record as one dataset. Where the configured slave module requires it, read the process data with SFC 14, the documented system function for reading consistent data from a DP standard slave, and write outputs with SFC 15. Consistent access means all PZD words of one record update together; it does not alter the values themselves, so a consistent read of a saturated word still returns 32735.
- Compare the configured slave input start address and length with your receive logic, so the third PZD word lands in the variable you actually monitor. If the word you watch is offset by one, the fault mimics a scaling problem. The same mapping discipline applies when a gateway slave answers but the image reads empty; see fixing an S7-300 PROFIBUS gateway that is detected but returns no I/O data.
- Watch the raw receive word before any conversion or limiting in your logic. It must follow the drive's transmit monitor through the whole voltage sweep.
- Check communication diagnostics for failed reads. A retained receive buffer after a failed read can make a live signal look frozen.
Adding an output write with SFC 15, or any PLC-side change, does not correct a transmit-range error.
Rescale after the range is fixed #
Once the transmit representation covers 0–10 V, convert the verified raw word with its documented endpoints:
V = V_low + (raw − raw_low) × (V_high − V_low) ÷ (raw_high − raw_low)
Interpret the word as signed 16-bit so positive voltages stay positive. Prove the conversion with the endpoints: raw_low must produce 0.0 V and raw_high must produce 10.0 V, and a mid-range input such as 5.0 V must land at half the span. If you also move analog values between drives and controllers of mixed origins, the same reference-value discipline applies to word-level fieldbus data as described in the ABB IRC5 PROFINET byte-swap fix.
The decision for each case #
- r752 changes, third PZD word clips near 2 V: the transmit representation is under-ranged. Re-range it, or select the documented representation that covers the applied span, and verify the transmit monitor tracks the full range before rescaling the PLC.
- Third word changes in the drive monitor but the PLC word does not: the receive path is wrong. Fix the input start address and length, and use SFC 14 where consistent access is required.
- PLC raw word changes but your displayed value freezes: your own scaling, substitution or limiting logic clips. Correct the conversion, not the drive.
One safety note: an analog input that appears frozen may be feeding a control loop that is still running. Verify the true signal at the drive before trusting the value in any interlock or control decision.
If the drive's parameter documentation does not document a transmit representation covering the required span, the correct move is to select a different documented signal or representation for that PZD word — not to guess a reference value from the observed clip point.
Questions asked
Why does r752 keep changing while the PZD word stays at 32735?
r752 is the drive's own observation of the applied analog input voltage, so it tracks the real signal across the full applied span. The third PZD word carries a normalized transmit representation with a smaller reference range, so that representation reaches its maximum count near 2 V and clips there. The measurement is alive; the transmitted copy of it is saturated.
Can I multiply the PLC value to get the correct volts?
No. Every voltage above the saturation point arrives as the same number, 32735, so the information that distinguishes 2 V from 10 V was lost inside the drive before transmission. A multiplier can only reshape the linear region below the ceiling. Fix the drive's transmit range or reference setting, then rescale the PLC side.
Do I need SFC 14 and SFC 15 to read this value?
If the configured slave module requires consistent access on your S7-300, read the process data with SFC 14 and write outputs with SFC 15. That guarantees all PZD words in one record update together. Consistency does not change the value itself: a coherent read of a saturated word still returns 32735.