Gaudz (Customer) asked a question.

Viewmarq Communication with Ignition

Hi Guys, I'm Currently working with Ignition to communicate with my viewmarq product.

When I use variable everythings works well but on my case it's limitated way to use the product.

Actually communication works well but for some reason when i'm trying to send a string command to the Modbus addresses 411000 and I add the end string with "$0D", nothings appears on the screen.

There is somethings I pass ?


  • FACTS_AdamC (AutomationDirect)

    Check to see if you are sending the character 0x0D (1 character) and not an ascii encoded "$0D" (3 characters.

     

    If you want a safer option, make sure the register after the command string is 0x0D0D (2 characters)

     

     

  • Gaudz (Customer)

    I'm looking futher and that not looks OK.

     

    This is how I put the variable in ignition

     

    <ID 1><CLR><WIN 0 0 287 31><POS 0 0><LJ><BL N><CS 0><GRN><T>M40: </T><RED><T>223</T><GRN><T> </T><AMB><T>Ft</T> 0x0D0D   

     

    My variable is configured like that : ns=1;s=[M40_Afficheur]HRS11000:200

    Expand Post
  • FACTS_AdamC (AutomationDirect)

    try replacing your "0x0D0D" at the end with "\r\r"

  • Gaudz (Customer)

    That not looks working

     

    <ID 0><CLR><WIN 0 0 287 31><POS 0 0><LJ><BL N><CS 0><GRN><T>M40: </T><RED><T>223</T><GRN><T> </T><AMB><T>Ft</T> \r\r

  • Gaudz (Customer)

    There is somethings i forgot or somethings i'm doing badly ?

     

  • OkiePC (Customer)

    Is your Modbus driver in Ignition set up as zero or one based addressing? Are you using the correct nomenclature for the Ignition driver?

     

    Typically, Modbus Holding Register 411000 would be addressed as HR11000 in Ignition.

     

    https://docs.inductiveautomation.com/display/DOC80/Modbus+Addressing

     

    Also, I am assuming you are using Modbus TCP, is that correct?

    Expand Post