Save
Saving
  • N nikorun

    Hello v8dave,

    oour needs are exactly opposites : I want to write a single register (function 0x06) and my Mango instance only write multiple registers (0x16) and you want to writemultiple registers and your mango only writes one by one !!!

    :-)

    happy that ou found the solution but by the way how did you manage to write a single register ???

    posted in Modbus4J general discussion read more
  • N nikorun

    Why not trying to poll your slave withj a command line tool like "modpoll" ?

    once you'll be sure that everythning is allright with it, then switch back to Mango.

    Also use the log functionality in Mango (check the Log I/O Box in the modbus Data Source) and make a tail -f on the modbusIO-1.log file

    posted in Modbus4J general discussion read more
  • N nikorun

    Hi,

    I'm facing a problem. My slave doesn't support function 0x16 so I would prefer mango to use function 0x06 instead.
    i've notice that Mango uses it when writing a integer value to a register but uses 0x16 to write a "BIT" value (The Data point is declared as a holding Register, but a simple bit si addressed)?

    Does anybody knows why ?

    isn't it possible to force use of function 0x06 to when writing to only one register ?

    Thanks, i'm not good in java and i cannot imagine put my hand in the code ... :-(

    nico

    Examples :

    below I try to write value 1 to bit 1 of holding register 7 into slave 3

    2014/04/07-18:50:42,920 O 03160007fffd0002e23a
    2014/04/07-18:50:42,965 I 0396512f9c

    My slave responds with an error because it doesn't handle function 16

    Below when i try to write integer value 2 to same register 7 (my locator is then declared as a 2 byte integer value)

    2014/04/07-19:06:49,813 O 030600070002b828
    2014/04/07-19:06:49,848 I 030600070002b828

    ... Then it works

    posted in Modbus4J general discussion read more
  • N nikorun

    Hi,

    I'm facing a problem. My slave doesn't support function 0x16 so I would prefer mango to use function 0x06 instead.
    i've notice that Mango uses it when writing a integer value to a register but uses 0x16 to write a "BIT" value (The Data point is declared as a holding Register, but a simple bit si addressed)?

    Does anybody knows why ?

    isn't it possible to force use of function 0x06 to when writing to only one register ?

    Thanks, i'm not good in java and i cannot imagine put my hand in the code ... :-(

    nico

    Examples :

    below I try to write value 1 to bit 1 of holding register 7 into slave 3

    2014/04/07-18:50:42,920 O 03160007fffd0002e23a
    2014/04/07-18:50:42,965 I 0396512f9c

    My slave responds with an error because it doesn't handle function 16

    Below when i try to write integer value 2 to same register 7 (my locator is then declared as a 2 byte integer value)

    2014/04/07-19:06:49,813 O 030600070002b828
    2014/04/07-19:06:49,848 I 030600070002b828

    ... Then it works

    posted in Modbus4J general discussion read more
  • N nikorun

    HI !

    Did someone face the same problem than me concerning modbus logs ?
    I'm facing a lot of trouble with my modbus and logging would be very usefull...

    Bye

    posted in Modbus4J general discussion read more
  • N nikorun

    Hi,

    As mentionned in my previous post :

    I installed JAVA following the "official" procedure as I'm not very aware of it : aptitude install default-jre .

    After that, you just have to unzip the mango archive in the directory of your choice and launch the script ./bin/startup.sh

    That's all 8)

    PS : I will soon migrate to an ARM board, like Pi or BBB

    posted in Hardware read more
  • N nikorun

    Hi everybody,

    I have a very simple question : "how can I use prologue and epilogue" ?
    As far as I look in the online doc, I canno't figure out where I can write the " insert into systemSettings (settingName, settingValue) values ('httpdsPrologue', 'my prologue content')" sentence ...

    My real Goal is to use a response from Mango to send POINT STATUS back to the requester (Netio), so that I could see in which rel state my points are ...
    So even if I deal wth prologue, I will only have a confirmation that my request as been correctly sent and processed, but not that my pont has changed status (It could be blocked by another process)

    If you know another way to do this (with HTTP) ..let me know.

    Bye and Thanks

    posted in User help read more
  • N nikorun

    Hi everybody,

    I have a very simple question : "how can I use prologue and epilogue" ?
    As far as I look in the online doc, I canno't figure out where I can write the " insert into systemSettings (settingName, settingValue) values ('httpdsPrologue', 'my prologue content')" sentence ...

    My real Goal is to use a response from Mango to send POINT STATUS back to the requester (Netio), so that I could see in which rel state my points are ...
    So even if I deal wth prologue, I will only have a confirmation that my request as been correctly sent and processed, but not that my pont has changed status (It could be blocked by another process)

    If you know another way to do this (with HTTP) ..let me know.

    Bye and Thanks

    posted in User help read more
  • N nikorun

    Hi Phildunlap,

    In fact I on't realy know if my core is runnning in Free Mode ... I've just untar it and launched ./ma-start.sh ... and it works !
    I just hope It is not running in trial mode.

    Anyway thanks for the explanation, it sounds good.

    Nico

    posted in Mango Automation general Discussion read more
  • N nikorun

    Hello,

    I'm a lttle bit lost with the different type of Mango software that exists.
    I've started with Mango, one year ago, by downloading it on this page : http://forum.infiniteautomation.com/download.jsp
    It works well (despite some problems on Modbus but not blocking) but I guess that the modular version is adding intersting improvements so I decided to test it too. I downoloded it here : http://store.infiniteautomation.com/core

    As i intend to use it at home, with less than 3 adresses, I think i'm abble to use it without licensing, but I have a doubt concerning the modules : even if they have "a price" in theyr description, can I use them in my personal project ? Will they work forever ?

    Thanks for your clarifications, and once again "bravo" for this amazing project !!

    Nicolas

    posted in Mango Automation general Discussion read more