Troubleshooting
Why C-More v9.0 Truncates a Decimal Inc/Dec Step
Short answer
C-More v9.0 truncates a floating-point inc/dec step to a whole number when you reopen the object's dialog, and clicking OK saves the truncated value. Retype the decimal before OK, then verify the step in the Property List and re-test on the panel.
On this page
- Why does the decimal disappear from my C-More inc/dec step?
- Is the floating-point control broken on the panel too?
- Where do I see the value the project actually stores?
- How much does one lost decimal move my setpoint?
- How do I enter a decimal step so it survives?
- What do I check before clicking OK on a reopened object?
- The truncation is already saved, so how do I recover it?
- Which versions and objects does this affect?
- Questions asked
C-More v9.0 truncates the decimal step of a floating-point increment/decrement control when you reopen the object's dialog in the editing software, and clicking OK commits the truncated whole number to the project. The first entry is safe: type 0.5, save, and the panel steps by 0.5. The loss happens on the round trip. Reopen the object and the step field shows only the whole-number part; accept the dialog and the decimal is gone from the stored project. The Property List keeps showing the correct value until that OK, which gives you a reliable place to verify. What follows separates the working runtime from the editor defect, shows what one lost decimal does to a setpoint with real arithmetic, and gives the entry, guard, and recovery procedures.
Why does the decimal disappear from my C-More inc/dec step? #
The v9.0 editor redisplays a floating-point inc/dec step as its whole-number part when the object dialog reopens, so 0.5 shows as 0 and 2.5 shows as 2; the stored value is only replaced when you click OK.
The observed round trip, in order:
- Configure the increment/decrement object as floating point with a decimal step and save. The decimal saves and the control works on the HMI.
- Leave the dialog closed and read the object in the Property List. The decimal is still there.
- Reopen the object's dialog in the editing software. The step field displays the whole number.
- Click OK. The truncated value replaces the decimal in the project.
Every stage before the last one is harmless. The destructive act is narrow and specific: accepting a reopened dialog whose step field has already lost its fraction.
Is the floating-point control broken on the panel too? #
No, the runtime is clean: a decimal step entered once saves correctly, downloads correctly, and moves the tag by the exact decimal amount on the HMI until an editor round trip overwrites it.
Nothing in the reported behavior points at panel-side math. The wrong whole number reaches the panel the ordinary way, as part of a project that was edited and downloaded. So before you audit scaling factors, tag data types, or PLC arithmetic, read the stored step in the Property List. The editor persistence is the part that fails.
The symptom shape confirms it. Floating-point storage cannot represent some decimals exactly, which is why float math can show artifacts like 0.30000000000000004, long tails of stray digits, never a clean 0 or a clean 2. Converting a float to an integer discards the fraction toward zero, and a whole number in the reopened field is exactly that conversion, not accumulated float error.
Where do I see the value the project actually stores? #
In the Property List for the object: it shows the true decimal step, and it keeps showing it while the reopened dialog sits on screen. The stored value changes only after OK is clicked.
That makes the Property List your single source of truth and the reopened dialog field untrustworthy. Build the habit around it: after any session that touched the object, read the step in the Property List before you trust the project, save, or download. If the list still shows the decimal, the project is intact no matter what the dialog displayed.
How much does one lost decimal move my setpoint? #
All of it, in the worst case: a step below 1.0 truncates to 0 and the button stops moving the value at all, while a step above 1.0 keeps only its integer part and under-steps by the lost fraction on every press.
Worked example with illustrative numbers: a pressure setpoint tag held as floating point, with an initial value of 45.0 psi and an intended step of 0.5 psi.
| Case | Step in effect | Four presses of + | Result |
|---|---|---|---|
| Project intact | 0.5 psi | 45.0 + 4 × 0.5 | 47.0 psi |
| After truncation | 0 psi | 45.0 + 4 × 0 | 45.0 psi |
The truncated control is not subtly wrong, it is dead, and the operator sees a button that does nothing. With a step of 2.5 psi instead, truncation to 2 gives 45.0 + 4 × 2 = 53.0 psi against an intended 55.0 psi: a working-looking control that drifts 4 × (2.5 − 2) = 2.0 psi low over four presses. Run the press test with the process in a state where an unintended setpoint change can cause no harm.
How do I enter a decimal step so it survives? #
Enter it once, save, verify it in the Property List, and test it on the panel before anyone reopens the object dialog. That sequence leaves the correct decimal in the project and proves the runtime works.
- Set the increment/decrement object to floating point and type the decimal step.
- Save the project and download it to the panel.
- Read the step in the object's Property List and confirm the decimal is intact.
- On the panel, press + and − a few times and confirm the tag moves by exactly the decimal amount in both directions.
- Close the project and treat that object as fragile: from here on, any reopen goes through the guard below.
What do I check before clicking OK on a reopened object? #
Look at the inc/dec step field the moment the dialog opens: if the decimal is missing, retype the exact value before you click OK, because OK saves what the field shows, not what the project had.
The check is unconditional, because the reason you reopened the object is irrelevant to the defect:
- You may have opened the dialog to change a color, a tag, or limits; the truncated step rides along with whatever you accept.
- Retype the decimal step even when the field reads zero. That zero is the truncation, not a cleared default.
- After OK, read the step in the Property List. If the decimal is gone, run the recovery below before you download anything.
The truncation is already saved, so how do I recover it? #
Reopen the object, retype the decimal step, click OK, confirm the Property List shows the decimal again, then download the project to the panel and re-test the presses. A re-typed entry saves exactly like a first entry.
- Reopen the increment/decrement object; the step field shows the whole number now stored.
- Type the decimal step back in.
- Click OK.
- Read the step in the Property List; the decimal must be back before you go on.
- Download the project, then verify the HMI project version running on the panel so you know the panel received the fixed project and not a stale one.
- Press + and − on the panel and confirm the decimal step in both directions.
Which versions and objects does this affect? #
The confirmed scope is C-More v9.0 with a floating-point increment/decrement control and a decimal step; no evidence covers other versions or other entry objects, so apply the same check to any decimal field you reopen.
The v9-generation programming software comes from AutomationDirect's site, and the report ties the defect to that editor rather than to one panel model. On the EA9 panels the entry objects include numeric entry, increment/decrement, thumbwheel and slider, so the same editor handles several decimal-bearing objects, and only the increment/decrement control is confirmed affected. Treat the guard as permanent until a vendor release note names this item as fixed; that documented correction is the point where the reopen check can be retired.
Questions asked
Does a whole-number inc/dec step lose anything to this?
No. A step of 2 or 10 has no fractional part, so truncation leaves it identical, which is why integer-only projects never see the symptom. Only decimal steps such as 0.1, 0.25, 0.5 and 1.5 are at risk.
Is clicking Cancel on the reopened dialog safe?
The reported loss is tied specifically to clicking OK, so Cancel is the better reflex when you only looked. The habit that settles it is reading the step in the Property List after any dialog session. Two seconds, and the stored value is confirmed either way.
My panel still steps by the decimal after editing. Is the project clean?
Not proven. The panel runs the last project downloaded to it, so it keeps the old correct step even after the project on your engineering station has been truncated. Judge the project from its Property List, not from panel behavior, before downloading again.
Will re-downloading the project put the decimal back?
No. A download sends what the project stores, and after OK the project stores the whole number, so re-downloading spreads the truncation to the panel instead of curing it. Retype the decimal, confirm it in the Property List, then download.
Do numeric entry or other objects lose decimals the same way?
The report covers the increment/decrement control only; numeric entry, thumbwheel and slider objects are untested against this defect. The verification costs seconds, so read any decimal field after reopening its dialog in v9.0 rather than assuming it held.