Author Topic: Still trying to find the registers used by my GE PLC, no luck  (Read 960 times)

pk

  • Newbie
  • *
  • Posts: 9
    • View Profile
Still trying to find the registers used by my GE PLC, no luck
« on: September 03, 2022, 04:17:51 PM »
We have this Versamax GE PLC which is connected to 2 nos Hakko HMIs by RS485
Trying to add another free :) HMI using Advanced HMI software
Do not have the modbus register details where the info is stored
It is a very basic program of Alarm inputs and displaying the alarms

I wrote this small very very very basic program to scan these addresses
No luck. Can someone suggest the mistake i an into and guide me

Thanks


\Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
        DigitalPanelMeter1.PLCAddressValue = DigitalPanelMeter1.PLCAddressValue + 1
        DigitalPanelMeter2.PLCAddressValue = DigitalPanelMeter2.PLCAddressValue + 1
        DigitalPanelMeter3.PLCAddressValue = DigitalPanelMeter3.PLCAddressValue + 1
        BasicLabel1.Text = DigitalPanelMeter1.PLCAddressValue
        BasicLabel2.Text = DigitalPanelMeter2.PLCAddressValue
        BasicLabel3.Text = DigitalPanelMeter3.PLCAddressValue

        If DigitalPanelMeter1.Value > 0 Then
            PilotLight1.Value = 1
            Timer1.Stop()
        Else
            PilotLight1.Value = 0
        End If
        If DigitalPanelMeter2.Value > 0 Then
            PilotLight2.Value = 1
            Timer1.Stop()
        Else
            PilotLight2.Value = 0
        End If
        If DigitalPanelMeter3.Value > 0 Then
            PilotLight3.Value = 1
            Timer1.Stop()
        Else
            PilotLight3.Value = 0
        End If

    End Sub

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Still trying to find the registers used by my GE PLC, no luck
« Reply #1 on: September 04, 2022, 11:28:11 AM »
The most common Modbus address is 40001. Have you tried that yet to see if it gives a value without an error?