Author Topic: v3.99d Failed to get processor type - Line 429  (Read 1090 times)

lwciak

  • Newbie
  • *
  • Posts: 19
    • View Profile
v3.99d Failed to get processor type - Line 429
« on: March 30, 2016, 04:37:09 AM »

Try this work around that bypasses the process of fetching the processor type

Sir Arthur & Members of the Court 
Two issues:
  • I get the above error when I try and run the "MotorControlAppMicroLogix" listed in the documents section.
  • In the MOV instruction, same document, RUNG 0001, I enter the Destination address as shown(O:0.3), but get the error "Address must be specified to the word level"

I have followed the directions you gave me in a previous older post as listed below:

1) Under the AdvancedHMIDrivers project in Solution Explorer, open AllenBradletPCCC.vb
2) go to line 429
3) Insert the line of code "Return &H58" as shown below:
Code: [Select]

    Public Function GetProcessorType() As Integer
        Return &H58

        If m_ProcessorType <> 0 Then

When I follow the above instructions, that code doesn't exist. Am I not doing it right?

Would you please verify or explain the MOV issue I described?
TIA
Larry C aka maltmaster, lwciak

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: v3.99d Failed to get processor type - Line 429
« Reply #1 on: March 30, 2016, 07:46:33 AM »
Look in AllenBradleySLCMicro.vb at line 1329, you will see this code:
Code: [Select]
#Region "Data Reading"
    '* Retreives the processor code by using the get status command
    Public Function GetProcessorType() As Integer
        '* Uncomment the following to bypass this check
        'Return &H78
        If m_ProcessorType <> 0 Then