This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

UTA UTEK MODBUS
#1
Hi, 

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

Thanks

Peppe

Attached Files
.docx   Modbus ita evo.docx (Size: 197.43 KB / Downloads: 6)
.json   UTA-UTEK.json (Size: 1.36 KB / Downloads: 2)
Reply
#2
The field is called writable not writeble
Reply
#3
Sorry for the simple mistake.

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

Attached Files
.json   UTA-UTEK.json (Size: 1.36 KB / Downloads: 1)
Reply
#4
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
Reply
#5
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)
Reply
#6
Try disabling the timeout function on the Modbus device.
Reply
#7
(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!
Reply
#8
Read the device manual - "Conn . to (s) 10sec" part.
Reply
#9
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....
Reply
#10
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.
Reply
#11
(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
Reply


Forum Jump: