Author Topic: AB Logix Driver Updates for 1 Scan  (Read 2349 times)

StephenSDH

  • Newbie
  • *
  • Posts: 36
    • View Profile
AB Logix Driver Updates for 1 Scan
« on: June 23, 2015, 08:10:59 PM »
There is an issue with the AB Logix driver on the latest version v398.  I can't pin it down, but it has to do with the number of tags or objects on a driver.  Instead of the driver running slow it just updates for the first scan and stops.  I don't get any exceptions.  I can delete 1 object and it will work.  I duplicate a working object with a valid address it breaks.  It does it both with discrete and analog tags.  It does work if I split the tags up on 2 drivers pointing at the same PLC.  I have a test PLC set up if you want to connect in.  I did test on 2 different compactlogix controllers and they both behave the same.

My Project:
https://www.dropbox.com/sh/bvmeu88kdzdr1uf/AACtFl8sCv_fANkYSh-tjl4Ta?dl=0

Steve

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: AB Logix Driver Updates for 1 Scan
« Reply #1 on: June 23, 2015, 08:30:53 PM »
Can you send me a RSLogix file with the tags. You can delete all of the logic. I just need the tags that I can load in my test PLC so I can run the app.

StephenSDH

  • Newbie
  • *
  • Posts: 36
    • View Profile
Re: AB Logix Driver Updates for 1 Scan
« Reply #2 on: June 23, 2015, 08:44:06 PM »

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: AB Logix Driver Updates for 1 Scan
« Reply #3 on: June 23, 2015, 09:24:01 PM »
- Edit EthernetIPforCLXCom.vb
- Go to Line 1096 and change the 6 to a 7

                        (TotalNameLength + (g(i).TagName.Length + 7)) < (m_CIPConnectionSize - 100) AndAlso _


- Go to line 1105 and change that 6 to 7

                        TotalNameLength += (g(i).TagName.Length + 7)

StephenSDH

  • Newbie
  • *
  • Posts: 36
    • View Profile
Re: AB Logix Driver Updates for 1 Scan
« Reply #4 on: June 23, 2015, 09:42:29 PM »
That worked.  Thanks