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