Menu

ModbusRTUCom1 Warning

Help
B W
2015-09-13
2015-09-14
  • B W

    B W - 2015-09-13

    Testing the latest Version 3.98 ModbusRTUCom1 on an Automation Direct Click PLC.
    C logic bits displays an illegal data.
    C1 Modbus 984 address 16385.

    I get the warning:
    Warning Could not find rule set file "Migrated rules for AdvancedHMI.ruleset". AdvancedHMI

     
  • Archie

    Archie - 2015-09-14

    The AdvancedHMI driver uses the first digit to translate to a function code. So for any address in the address picker showing a function code of 1 will need a leading 0. The address you need to use for the counter is 016385

     

    Last edit: Archie 2015-09-14
  • Archie

    Archie - 2015-09-14

    You may want to see this post for some helpful tips on the Modbus driver:

    http://advancedhmi.com/forum/index.php?topic=765.0

     
  • B W

    B W - 2015-09-14

    That fixed the logic bits. All is working fine thanks.
    Both the Modbus RTU & AB DF1 are working, but I still heve the warning in both.
    Any ideas why?
    I am using the latest Microsoft Community edition 2015.

     
  • Archie

    Archie - 2015-09-14

    You can get rid of that warning by doing this:

    • Right Click the AdvancedHMI project in Solution Explorer and select properties
    • Select the Code Analysis tab
    • Under "Run this rule set:", change it to Microsoft Managed Recommended Rules
    • Build the project
     

Log in to post a comment.