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.

ModBus Idegis DOM-24 can´t write
#1
Hello, i have a problem with An Idegis equipment DOM-24. I can read all without problem but it is imposible to write to it.

This is the mapping
{
  "manufacturer": "Idegis",
  "description": "Dom-24",
  "mapping": [
    { "name": "Alarma Caudal", "bus_datatype": "bool", "type": "discreteinput", "address": 16 },
    { "name": "Alarma Baja salinidad", "bus_datatype": "bool", "type": "discreteinput", "address": 17 },
    { "name": "Alarma Alta salinidad", "bus_datatype": "bool", "type": "discreteinput", "address": 18 },
    { "name": "Alarma Celula de electrolisis", "bus_datatype": "bool", "type": "discreteinput", "address": 19 },
    { "name": "Alarma pH bajo", "bus_datatype": "bool", "type": "discreteinput", "address": 20 },
    { "name": "Alarma pH alto", "bus_datatype": "bool", "type": "discreteinput", "address": 21 },
    { "name": "Alarma Sobredosis min pH", "bus_datatype": "bool", "type": "discreteinput", "address": 23 },
    { "name": "Alarma Valor ORP bajo", "bus_datatype": "bool", "type": "discreteinput", "address": 24 },
    { "name": "Alarma Valor ORP alto", "bus_datatype": "bool", "type": "discreteinput", "address": 25 },
    { "name": "Alarma Valor Cloro bajo", "bus_datatype": "bool", "type": "discreteinput", "address": 26 },
    { "name": "Alarma Valor Cloro alto", "bus_datatype": "bool", "type": "discreteinput", "address": 27 },
    { "name": "Producción de Cloro", "bus_datatype": "uint16", "type": "inputregister", "address": 5, "units": "g/h" },
    { "name": "Producción", "bus_datatype": "uint16", "type": "inputregister", "address": 6, "units": "%" },
    { "name": "Consigna Producción", "bus_datatype": "uint16", "type": "inputregister", "address": 7, "units": "%" },
    { "name": "Resulta test de sal", "bus_datatype": "uint16", "type": "inputregister", "address": 8, "units": "mV" },
    { "name": "Consigna producción W", "bus_datatype": "uint16", "type": "register", "address": 38, "writeable":true, "write_multiple":true}

   

  ]
}
The last line is where is the problem. I don`t know what is wrong?

the desciption of the Idegis only allows to write multiple coil and multiple register.
.pdf   IDEGIS modbus v1.3.0 ES.pdf (Size: 408.31 KB / Downloads: 6)
Reply
#2
Incorrect spelling: field name must be writable not writeable
Reply
#3
(04.12.2023, 12:54)admin Wrote: Incorrect spelling: field name must be writable not writeable

Uffff, sorry...Thankyou,,but do the same...imposible to write...some idea?

{
  "manufacturer": "Idegis",
  "description": "Dom-24",
  "mapping": [
    { "name": "Alarma Caudal", "bus_datatype": "bool", "type": "discreteinput", "address": 16 },
    { "name": "Alarma Baja salinidad", "bus_datatype": "bool", "type": "discreteinput", "address": 17 },
    { "name": "Alarma Alta salinidad", "bus_datatype": "bool", "type": "discreteinput", "address": 18 },
    { "name": "Alarma Celula de electrolisis", "bus_datatype": "bool", "type": "discreteinput", "address": 19 },
    { "name": "Alarma pH bajo", "bus_datatype": "bool", "type": "discreteinput", "address": 20 },
    { "name": "Alarma pH alto", "bus_datatype": "bool", "type": "discreteinput", "address": 21 },
    { "name": "Alarma Sobredosis min pH", "bus_datatype": "bool", "type": "discreteinput", "address": 23 },
    { "name": "Alarma Valor ORP bajo", "bus_datatype": "bool", "type": "discreteinput", "address": 24 },
    { "name": "Alarma Valor ORP alto", "bus_datatype": "bool", "type": "discreteinput", "address": 25 },
    { "name": "Alarma Valor Cloro bajo", "bus_datatype": "bool", "type": "discreteinput", "address": 26 },
    { "name": "Alarma Valor Cloro alto", "bus_datatype": "bool", "type": "discreteinput", "address": 27 },
    { "name": "Producción de Cloro", "bus_datatype": "uint16", "type": "inputregister", "address": 5, "units": "g/h" },
    { "name": "Producción", "bus_datatype": "uint16", "type": "inputregister", "address": 6, "units": "%" },
    { "name": "Consigna Producción", "bus_datatype": "uint16", "type": "inputregister", "address": 7, "units": "%" },
    { "name": "Resulta test de sal", "bus_datatype": "uint16", "type": "inputregister", "address": 8, "units": "mV" },
    { "name": "Consigna producción W", "bus_datatype": "uint16", "type": "register", "address": 38, "writable":true, "write_multiple":true}
   
  ]
}
Reply
#4
Did you delete device and add it again after uploading new profile?
------------------------------
Ctrl+F5
Reply
#5
(13.12.2023, 13:09)Daniel Wrote: Did you delete device and add it again after uploading new profile?

Yes. i do.
Reply
#6
Can't really check manuals as they in Spanish, are sure write multiple is necessary?
------------------------------
Ctrl+F5
Reply
#7
(13.12.2023, 13:55)Daniel Wrote: Can't really check manuals as they in Spanish, are sure write multiple is necessary?

i translate the manual. In the  Supported Features it is only posible to write multiple.

Attached Files
.pdf   IDEGIS modbus v1.3.0 EN.pdf (Size: 1.24 MB / Downloads: 5)
Reply
#8
Can you read this register correctly?
------------------------------
Ctrl+F5
Reply
#9
Yes the read funtion is correct
Reply
#10
You didn't specify datatype, try uint16
------------------------------
Ctrl+F5
Reply
#11
Yes it was the problem, now work correctly. Thank you very much..
Reply


Forum Jump: