Author Topic: 3.98k and MicroLogix 1000 behind ENI (EthernetIPforPLCSLCMicroCom)  (Read 4833 times)

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: 3.98k and MicroLogix 1000 behind ENI (EthernetIPforPLCSLCMicroCom)
« Reply #15 on: June 02, 2015, 06:44:33 PM »
It still throws the exception but values have slightly changed:

ProcessorType: 132
FunctionNumber: 170
FilePosition: 0
i: 1
l: 0

Out of curiosity, could you let me know which value did "False" stand for?
« Last Edit: June 02, 2015, 06:56:50 PM by Godra »

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: 3.98k and MicroLogix 1000 behind ENI (EthernetIPforPLCSLCMicroCom)
« Reply #16 on: June 02, 2015, 07:02:37 PM »
Out of curiosity, could you let me know which value did "False" stand for?
The PLC5 uses a different function for reading. The processor code coming back from the ENI was mis-interpreted as a PLC5. The FALSE simply forced it to never use the PLC5 function code.

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: 3.98k and MicroLogix 1000 behind ENI (EthernetIPforPLCSLCMicroCom)
« Reply #17 on: June 02, 2015, 07:38:23 PM »
I added one more "False" to line 2043 (as it shows on my computer):
           
Code: [Select]
If False And MfgControl.AdvancedHMI.Drivers.PCCCAddress.IsPLC5(ProcessorType) Then
                DataSize -= 1
            End If

and now it works.