Item:Number change is not updated in binding

Hello,

I have a simple item (type: Number) which is linked to Simatic thing channel. Channel type is chNumber (uint32). Link profile is default. No unit.

When I change value in PLC => item is updated in OpenHab.
When I change value on item (directly in semantic model UI) or in Widget (oh-button Action:command) => value in PLC is not updated. Only value in item itself is changed. What am I missing?

I have also another item with linked channel, but the type is Rollershutter. This works.

I checked source code for the binding and ThingHandler has a override for method handleCommand. First line is a debug message:

public void handleCommand(ChannelUID channelUID, Command command) {
        logger.debug("{} - Command {}({}) for channel {}", thing.getLabel(), command, command.getClass(), channelUID);

If this method is not called from OpenHab, no data will be written to PLC.

When I control Rollershutter in OpenHab, I can see this debug message in the OpenHab Log.
But when I try to change my item of type Number. The message is not there.

Why Number item does not send update to Binding?

I already tried to change item dimensions or add “Setpoint” tag or set Auto-Update to true/false but with no success.

Thanks for help.

I understand something about OpenHab wrong.

How is it possible, when I send REFRESH command to the Number item, I can see that Binding handling method is called:

But if I send DECIMAL command, then Openhab does not even bother to call binding with the new value:


(No DEBUG message from the binding is in the log)