Logic Machine Forum
UTA UTEK MODBUS - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: UTA UTEK MODBUS (/showthread.php?tid=5737)



UTA UTEK MODBUS - gdimaria - 12.11.2024

Hi, 

I can't write on this UTA (register 0 and 19)... I just can read.
What is wrong?

Thanks

Peppe


RE: UTA UTEK MODBUS - admin - 12.11.2024

The field is called writable not writeble


RE: UTA UTEK MODBUS - gdimaria - 12.11.2024

Sorry for the simple mistake.

I corrected it, but it still doesn't write. Huh


RE: UTA UTEK MODBUS - admin - 12.11.2024

Did you create the device again from scratch after updating the profile?
Check what you have in Modbus Error log. Setpoint bus_datatype should be set to float16


RE: UTA UTEK MODBUS - gdimaria - 12.11.2024

iI made everytihing from scratch, but still doesn't work.

   

maybe that "Fuction code 06" is the problem?

I tried both with float16 and uint16.... and I have no errors on modbus log

I just write 21 °C (in example) and a the first polling it returns on the previous value (22)


RE: UTA UTEK MODBUS - admin - 12.11.2024

Try disabling the timeout function on the Modbus device.


RE: UTA UTEK MODBUS - gdimaria - 12.11.2024

(12.11.2024, 12:01)admin Wrote: Try disabling the timeout function on the Modbus device.

   

how I can do that?

ah ok... you mean on device side... I'll try!


RE: UTA UTEK MODBUS - admin - 12.11.2024

Read the device manual - "Conn . to (s) 10sec" part.


RE: UTA UTEK MODBUS - gdimaria - 12.11.2024

I can't disable timeout on the device. The minimun allowed is 10 sec.

anyway, we can write with a modbus scanner tool in it without problem....


RE: UTA UTEK MODBUS - admin - 12.11.2024

You need to set the timeout value to max (65535) to disable it. As stated in the documentation:
TEMPO DI SCONNESSIONE
DEFAULT=10 SEC.
65535 DISABILITA LA SCONNESSIONE IN CASO DI MANCATA LETTURA DEI REGISTRI

Alternatively you can set poll interval to be lower than the timeout. But then the value reset will still happen if LM is rebooted and the timeout is reached.


RE: UTA UTEK MODBUS - gdimaria - 12.11.2024

(12.11.2024, 12:43)admin Wrote: You need to set the timeout value to max (65535) to disable it. As stated in the documentation:
TEMPO DI SCONNESSIONE
DEFAULT=10 SEC.
65535 DISABILITA LA SCONNESSIONE IN CASO DI MANCATA LETTURA DEI REGISTRI

Alternatively you can set poll interval to be lower than the timeout. But then the value reset will still happen if LM is rebooted and the timeout is reached.

We contacted device assistance and they said to set to NEVER a register to avoid to the automatic refresh to default values.

Now it works, thank so much.

Peppe