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 - andrew_pj

Pages: [1] 2
1
Support Questions / DataChangedCallBack Error
« on: November 17, 2015, 11:17:07 PM »
Hi,

I use V399a, and OpcDaCom communication.
I got error (DataChangedCallBack) everytime calling Application.exit()
I already put try catch statement though but doesn't stop the error.

Please advise regarding this, refer to attachment for details.
Thank you.

Best regards,
Andrew

2
Support Questions / Preloading Components
« on: November 09, 2015, 05:16:35 AM »
Hi,

Is there any preloading technique at startup that includes all pages in one Application?
I found out when using OpcDaCom, the data is quite slow to be retrieved at the first time opening page.
So, I am thinking to put this loading time in the beginning of Application instead of when opening the particular page.
Thank you.

Best regards,
Andrew

3
Support Questions / ModbusBase OnComError - InvalidOperationException
« on: October 07, 2015, 01:33:34 AM »
I am using V399a, got error when pressing BasicButton while Modbus comm not established.
The BasicButton has the following script to reset value after releasing the click:
Code: [Select]
Private Sub OPEN_BTN_MouseUp(sender As Object, e As EventArgs) Handles OPEN_BTN.MouseUp
        Try
            ModbusTCPCom1.Write(OPEN_BTN.PLCAddressClick, "0")
        Catch ex As Exception

        End Try
    End Sub

Already put try catch statement, but if I click the BasicButton few times,
the application will become slow, then InvalidOperationException occurs (refer to attachment).
Please advise regarding this, Thank you.

Best regards,
Andrew

4
Support Questions / Indicator PLCAddressVisible in FALSE state
« on: October 02, 2015, 03:18:54 AM »
Is there any built-in property to make indicator visible in False state instead of True?
Thank you.

Best regards,
Andrew

5
Feature Request / BasicDataLogger OverwriteEnabled
« on: September 08, 2015, 02:04:32 AM »
Dear Archie,

Is it possible to add OverwriteEnabled property in BasicDataLogger?
Currently it only can write up to MaximumPoints, it would be nice for datalogging to have this option.

In addition, for BasicDataLogger2, it would be very good if there is 'label' property when declaring PLCAddressValueItems.
And these labels will be printed in the first line of datalog result.

The 2nd feature ('label') is not very important, but the OverwriteEnabled might be very helpful.
Thank you.

Best regards,
Andrew

6
Support Questions / Form Exit Suddenly
« on: August 24, 2015, 05:15:32 AM »
I am using AHMI-V398t, I have 2 forms: form 1 and form 2.
Form 1 has FormChangeButton component to navigate to Form 2.
Form 2 has FormChangeButton component to navigate to Form 1.

I try navigating continuously from Form 1->Form 2->Form 1->Form 2->etc...
This works fine if I let to have some delay in between (about 1 second).
But if I rapidly navigate, the Form will exit automatically.
No error message, nothing.

Please advise a solution regarding this.
Thank you.

Best regards,
Andrew

7
Support Questions / OpcDaCom Issue - AHMI_V398t
« on: July 24, 2015, 05:14:38 AM »
Currently I have issue with OpcDaCom.
I have developed using OpcDaCom since 6 months ago and worked properly in my laptop.
Now, I run the same program in new installed computer, but unable to work.

The error message appears in BasicLabel:
"CoCreateInstaceEx Access is Denied"
This error comes out only once, then the following error message appears continuously:
"Object reference not set to an instance of an object"

This is strange because I run the program at the same time in my laptop, but no error message.
The OPCServer indicates correct value in both computer and laptop, but unable to read with AHMI in computer.

Please help to advise regarding this issue.
Refer to attachment for the OpcDaCom Properties (it works in laptop, but not in new computer).
Thank you.

Best regards,
Andrew


8
Support Questions / InvalidComObjectException - OpcDaCom
« on: June 09, 2015, 02:03:42 AM »
Dear Archie,

I am using V398m, and OpcDACom communication protocol.
I got this InvalidComObjectException error 'sometimes', right after I execute Application.Exit()
It's actually not a major problem as in this case User wants to exit anyway.
But, it would be better if it's not happening at all.

Code: [Select]
Try
   Application.Exit()
Catch ex As Exception

End Try

Please advise if you have explanation or trick to prevent this error.
Thank you.

Best regards,
Andrew

9
Support Questions / ModbusTCP WriteValue Bit 15 - OverflowException
« on: June 04, 2015, 03:52:00 AM »
Dear Archie,

I am using V398g, ModbusTCP, and got an OverflowException when trying to WriteValue with Button.
Basically I have 16 Buttons, the first 15 works fine. Writing value to address 40001:
Button0 = 1
Button1 = 2
Button2 = 4
Button3 = 8
Button4 = 16
....
Button14 = 16384
Button15 = 32768

Got an error when pressing Button15 (32768), refer to attachment.
Please advise the solution.
Thank you.

Best regards,
Andrew


10
Feature Request / PLCAddressMaxValue for BarLevel
« on: May 12, 2015, 01:39:39 AM »
Dear Archie,

BarLevel component has PLCAddressValue which displays present value of the address.
In some cases, it is required to dynamically change the Bar's maximum value.
Please advise if possible to implement PLCAddressMaxValue.
Thank you.

Best regards,
Andrew

11
Support Questions / ObjectDisposedException
« on: May 06, 2015, 04:15:10 AM »
I am using AdvancedHMIBetaV398g, and communication with ModbusTCP.
Scenario:
I have GraphicIndicator. Clicking this indicator, showing form.
Code: [Select]
Private Sub GraphicIndicator1_Click_1(sender As Object, e As EventArgs) Handles GraphicIndicator1.Click
        AdvancedHMI.BAV01.Show()
    End Sub

The form contains BasicButton. Clicking button, it writes 1 to 412288.
Function works fine. But after closing the form, ObjectDisposedException occur.
Please advise the solution.
Thank you.

Best regards,
Andrew

12
Support Questions / Microsoft Visual Basic 2010 Express
« on: April 30, 2015, 02:56:42 AM »
Dear Archie,

Just downloaded AdvancedHMIBetaV398g.
But it can't be opened with Microsoft Visual Basic 2010 Express.

The last version I used AdvancedHMIBetaV397e, can be opened with MV Basic 2010 express.
Any plan to downgrade?
Thank you.


Best regards,
Andrew

13
Support Questions / OpcDaCom - InvalidCastException
« on: February 12, 2015, 12:43:05 AM »
Dear Archie,

I am using AHMI version 3.97e.
Got an error "InvalidCastException" on OpcDaCom.vb (Refer to attachment for details)
This occurs when I close the program by calling Application.Exit()
Please advise, Thank you.


Best regards,
Andrew

14
Support Questions / Modbus Ethernet OPC Server
« on: February 11, 2015, 10:02:01 PM »
Dear all,

Have anyone ever used AdvancedHMI with ICONICS Modbus Ethernet OPC Server 3.53?
I am using WAGO PLC and trying to use OpcDaCom in AHMI.

Basically, with ICONICS Graphics software, this is already working properly.
However, I want to try using AHMI, but not familiar on how to implement with OpcDaCom.
Please refer to attachment for details.
Thank you.


Best regards,
Andrew

15
Support Questions / DOUBLE WORD - WAGO PLC Modbus TCP
« on: February 02, 2015, 10:37:22 PM »
Dear all,

Does anyone know how to handle DOUBLE WORD (%MD)?
I am using version AHMI 3.97e and WAGO 750-881.
I am able to communicate + read & write data between WAGO and AHMI.

However, when using %MD, unexpected result occurs.
It will show very large data, described in the following scenario:

I modify value of %MD1200 = 1
Then, in AHMI, the value is showing 16256 at address 414690.
I expect to get 1 in AHMI, which is the case when I modify %MW1000 = 1
In AHMI, the value is showing 1 at address 413289.

Please refer to attachment for more details.
Thank you.


Best regards,
Andrew

Pages: [1] 2