Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - DBTechServ

Pages: [1]
1
I am trying to use the up/down buttons on TempController.vb to raise/lower the property "PLCAddressValueSP" value without having to create plc tags and logic for increase and decrease which would then be associated with "PLCAddressClick3" and "PLCAddressClick4" properties. Is there an easy way to do this in the TempControl.vb code?
Maybe by using an inc/dec value set in the properties?


2
Support Questions / Keypad min and max value "not a valid value" error
« on: September 16, 2014, 04:35:55 PM »
Hi all, hope someone can help point me in the right direction -

Using DigitalPanelMeterA to read and write value to CompactLogix tag. Everything works great until I try to use the keypad min and max entry limit tags from the plc. I can't even enter the tag without getting error :"....  not a valid value for Double".
I have tried referencing it from the code

  Private Sub DigitalPanelMeterA1_Click(sender As System.Object, e As System.EventArgs) Handles DigitalPanelMeterA1.Click
        Dim TO_HMI_Drop_Time_Max As Int16
        Dim TO_HMI_Drop_Time_Min As Int16

        Dim dblMin As Double = CDbl(TO_HMI_Drop_Time_Min)
        Dim dblMax As Double = CDbl(TO_HMI_Drop_Time_Max)
       
        DigitalPanelMeterA1.KeypadMinValue = dblMin
        DigitalPanelMeterA1.KeypadMaxValue = dblMax
    End Sub

Pages: [1]