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.


Messages - HMT

Pages: [1]
1
Support Questions / Reading Multiple registers
« on: October 15, 2014, 12:05:27 AM »
Hi, I have a HMI now created in AdvancedHMI using the modbus TCP driver.  My customer is requesting that it datalogs a set of 100 registers to xml.  I can write the XML in VB no problem but how do I use the Modbus TCP driver to gather a block of 100 registers?  If possible I would like to read the 100 registers into a byte array then I can use to code to store the data in XML.

Alternatively I could write a separate executable to go on the HMI and datalog using a modbus TCP driver, but would this conflict with the AdvancedHMI comms?

Thanks
Heather

2
Support Questions / Re: multiple crashes on copying components
« on: September 24, 2014, 02:53:54 PM »
Hi Archie,  thank you very much for your quick reply.  I'm just trying that now.  I have been playing with it today and realised that the crashing is design time and I can get the project to build by closing and reopening it.  I dont mind this so long as I can produce an HMI that is stable when its with the customer.

One other thing I have been struggling with a little is the addressing.  Im using Advanced HMI with 2 PLCs that are customers own design on Modbus TCP.  I have managed to get the components to read the holding register by putting the digit 4 in front of the address, but I cant seem to get it to read coils.  So for address 1600, putting 41600 gets the data into the component but putting 1600 or 11600 does not.  Any ideas? At the moment Im fudging it by using whole registers for digital IO but would be nice to read single bits.

Regards,
Heather


3
Support Questions / multiple crashes on copying components
« on: September 24, 2014, 04:26:10 AM »
Hi,  I have just started using Advanced HMI and have been very impressed with playing with it so I have decided to use it for a HMI design for a customer in a real application.  Unfortunately I'm now getting a lot of errors when I'm copying components.  I have several components on a Tab control which I've laid out on Tab 1, if I copy to tab 2 it builds OK but if I copy again to tab 3 the Advanced HMI controls start throwing unhandled exceptions and crash the design environment.

The exceptions are "Object reference not set to instance of an object" for several controls, the controls then get disabled and I need to close Visual Studio and reopen the project to access my design.

I would like to continue to use it but I have a deadline and need to decide whether to persevere of start writing the HMI code myself.  Is this a known bug and can it be resolved?

Pages: [1]