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

Pages: [1] 2 3 4
1
Support Questions / UDTs?
« on: July 04, 2017, 10:18:20 PM »
Will the current AdvancedHMI Controllogix driver read UDT Tag values? For example if I have a Motor AOI Named "P_2201" will it read:

P_2201.Running (Boolean)
P_2201.Status (String)
P_2201.Mode (Dint)
P_2201.FeedbackTime (Real)

2
Support Questions / Opto22
« on: July 24, 2014, 12:18:16 PM »
I have a Snap-Pac Opto22 system connected to my computer and as far as i know the ethernet protocol on it is just TCP/IP is there a driver on here that will work for OPTOs?

3
Support Questions / Siemens S7-1500
« on: July 23, 2014, 11:05:00 AM »
Does anyone know if any of the drivers in advanced hmi will work with siemens s7-1200 or 1500s? I've recently been considering switch from AB to Siemens.

4
Application Showcase / Re: sms messaging
« on: July 03, 2014, 02:22:56 PM »
Could you post some of the code? I'm wondering how to log data into a csv file.

5
Support Questions / Subscribing Data question
« on: May 02, 2014, 05:31:35 PM »
I noticed on this topic - ( http://advancedhmi.com/forum/index.php?topic=238.0 ) thats subscribing data instead of reading data on a timer is a much better way to go because its mores responsive due to running on a background thread. But in the example of the subscription code Archie responded that you need to save of the subsciption IDs so you can unsubscribe to them when the form closes.

So my question...
If I have a tag in my controllogix called Furnace_Name  (the tag would be in the controller scope)

How would the code look to subscribe the String data in that tag and put it in a variable, then when the form closes unsubscribe that?

6
Application Showcase / Re: Heat Treat Batching
« on: April 28, 2014, 10:27:11 PM »
.

7
Application Showcase / Re: Heat Treat Batching
« on: April 28, 2014, 10:26:43 PM »
.

8
Application Showcase / Re: Heat Treat Batching
« on: April 28, 2014, 10:25:41 PM »
.

9
Application Showcase / Re: Heat Treat Batching
« on: April 28, 2014, 10:25:03 PM »
.

10
Application Showcase / Re: Heat Treat Batching
« on: April 28, 2014, 10:24:19 PM »
.

11
Application Showcase / Re: Heat Treat Batching
« on: April 28, 2014, 08:29:52 PM »
Sorry, work computer isn't allowing me to attach photos. I will post some in a few hours

12
Application Showcase / Heat Treat Batching
« on: April 28, 2014, 08:27:19 PM »
A program for operators to create recipes for heat treating furnaces, these recipes are made in steps and each step has a value, there can be up to 40 steps. Its also stores the recipes to a data base on our server and allows users to print their recipes as well. There is also a lot of code in the background for catching operator mistakes. Such as if any step is heat the value can not be over 2000 degrees, or if carbon potential is above 0.01 the last step before it with a heat instruction must have a value of 1400 degrees or more, and many others as well. That way we don't have a bomb on our hands :p.

This hmi is outside of our furnace room and it talks to 5 of our main heat treating furnaces. Furnace 'A' has a SLC 500, and furnaces 'B' through 'E' are controllogix. It is talking to all of them via Ethernet on our plant network.

Thanks for the great product Archie! Even though I mostly only used the drivers, I'll try to use more of your controls on my next project!

13
Support Questions / Re: Communication speed
« on: February 06, 2014, 07:08:01 PM »
If you want one control on a form to get information faster than the others than you could possibly have 2 modbus drivers and for the control you want to read faster(countdown clock) assign modbus driver2 to its comm property and adjust its pollrate to be faster than the default value and for all other labels use the modbus driver1.

this is just a thought, no idea if it would work.

14
Support Questions / Re: Communication speed
« on: February 04, 2014, 04:26:51 PM »
I never use the modbus driver so i'm not too familiar with it, is there a pollrate propertie?

15
if you don't want to use code
1.) grab whatever driver you want for the slc and drop onto form
2.) Define parameters of that driver in the properties window ( IP address, etc.)
3.) drop a basic label onto the form and in its properties make sure that driver is the comm component
4.) if you want to read string ST14 in the PLCAddressvalue propertie enter ST14:0
5.) if you want to write to it set PLCaddressKeypad value to ST14:0 that will bring up a keypad whent the label is clicked(you can use keyboard to type words into it) that will send whatever you type to that address

If you want to use code to read and write at certain events use a textbox

Code: [Select]
Private Sub btnSend_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSend.Click

'To read from PLC
dim plcString1 as String
plcString1 = EthernetIPforPLCSLCMicroCom1.Read("ST14:0")
TextBox1.Text = plcString1

''''''  OR ''''''''
 
'To write to PLC
plcString1 = TextBox1.Text
EthernetIPforPLCSLCMicroCom1.Write("ST14:0", plcString1)

End Sub


And for the ASCII, what are you trying to do? Decode the ASCII to and integer?

Pages: [1] 2 3 4