HMI Pad Forums Main Forums ScadaMobile Support Modbus adressing HR Bit

This topic contains 1 reply, has 1 voice, and was last updated by  mmuehr 6 years, 3 months ago. This post has been viewed 723 times

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #19543

    mmuehr
    Member

      Hi all,
      I tried to address a bool in an HR like HR12288.1 on a WAGO PLC
      like:

      BOOLValue0_0,BOOL,HR12288.1,"ord:=209; section:=""COILS"" ; write_access:=9; label:=""Labeled Button BOOL""; style:=""button""; button_label:=""STOPP"" ;"

      but it says: "Modbus Data address not supported or beyond the linits ( modbus exception 02)".

      How can I access bit on an Holding-Register

      Michael,…,

      #19544

      John
      Keymaster

        Hi, this is not an issue for accessing a bit because the bit is extracted after reading the register.

        The message you get means that the controller responded with an error message for that Register (regardless of bit). Please verify you are using the right address mapping. I recall that on Wago controllers actual modbus addresses start at 40000, but I am not copletely sure. Also I believe there is a different mapping for reads and writes, though writable addresses are also readable. Possibly you are accessing a register that is beyond the memory of the controller.

        I hope this helps to narrow the issue. You may also look at the example files provided by Wago you will find in our site.

        Thanks.

      Viewing 2 posts - 1 through 2 (of 2 total)

      You must be logged in to reply to this topic.

      Copyright © SweetWilliam, S.L 2009-2013. All rights reserved.
      Science and Technology Park of the University of Girona, Emili Grahit, 91 (NarcĂ­s Monturiol building, Office P3-B03) 17003-Girona. Phone +34972183244