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

Pages: [1]
1
Support Questions / C# - EthernetIPforCLXComm.BeginWrite Cycles
« on: May 29, 2018, 09:30:18 PM »
How does Write vs BeginWrite compare in regards to performance (Write cycles to plc) when writing to a PLC internally? Or does BeginWrite just use Write as well?

The reason I ask is because I want to consolidate a bunch of Write commands into a single PLC cycle.

2
Support Questions / Handle onChange of button state
« on: June 28, 2017, 07:31:06 PM »
How can I generate an event for the AdvancedHMIControls when the state of the button changes? Not when the button is clicked but when it changes on the PLC side and updates. Without it triggering twice when the btn.Click handle is also used.

3
Support Questions / Hide number field from keypad
« on: March 26, 2017, 09:34:38 PM »
Hi,

How can I hide the number field from the keypad or make it display **** instead of the numbers. I have attached an image to illustrate what I want to do.

4
When the BasicButton is clicked and the PLCAddressClick is not empty, and the PLC is defined but not available. The program will crash on the BasicButton.vb line 366 with exception.

Code: [Select]
An unhandled exception of type 'System.NullReferenceException' occurred in MfgControl.AdvancedHMI.Drivers.dll

Additional information: Object reference not set to an instance of an object.

I am using AdvancedHMI version 399s and the AdvancedHMIDrivers.EthernetIPforCLXCom class.

Should I disable the button from being clicked if it cannot connect to the PLC or is there something I can add to get rid of this error.

5
Support Questions / ChartByArray Column Graph
« on: February 09, 2017, 02:09:25 AM »
Hi I'm having difficulties understanding how the PLC addresses are processed with this to populate a chart area with data for either a stacked column or column chart.

In excel I have deconstructed the data in the tag and illustrated how I would like it to look in vb.net ChartByArray.



How can I use ChartByArray with a PLC tag that looks like ...TestCase[0-3].Accum[0-24] to populate the Chart with a column graph?

6
Support Questions / C# - EthernetIPforCLXComm.WriteData Saturation
« on: February 06, 2017, 09:39:46 PM »
Hi,

With the C# EthernetIPforCLXComm.WriteData(...) function there are times where it will hang without throwing an exception when we have moments of sustained data writing from the HMI to the PLC.

The PLC remains operational during this period without blocking or faulting, but on the C# HMI side it will hang indefinitely if it reaches this state.

What can I do to mitigate this issue to ensure reliability on the WriteData(...)? Or is this a bug in the EthernetIPforCLXComm driver?

7
Support Questions / ChartBySampling X Axis Formatting
« on: January 16, 2017, 10:28:46 PM »
I am having difficulties setting up the chart with an X axis that will follow the active data points streaming into the chart, while also maintaining a fixed chart width. (I would like the chart to show 20 data points even if they are empty at one time without the X axis scaling or growing as it fills.)

Right now as data streams in the chart grows to the max active point scale and then the chart stops scrolling with the data and the points go out of screen. In addition to this the X axis values do not update if it overrides when time is used.

What parameters to I need to use for a line series and chart area to achieve what I described above.


Img: Line moving right

Version: 399s

Off Topic: With MessageDisplayByBit is it intentional to have to use another ClXCom port. (It seems to stop the other components from polling the PLC if MDBB is on the same Com Component.) This component will also not work unless PLCAddress... is defined in the designer to a random value. (I usually set all components in code on ini.)

Pages: [1]