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

Pages: [1]
1
Support Questions / Re: Ethernet Modbus write
« on: February 03, 2016, 07:29:43 AM »
That is more what I was looking for.  Let me do some experimenting.  Thanks!

2
Support Questions / Re: Ethernet Modbus write
« on: February 01, 2016, 01:16:50 PM »
That's more of what I'm looking for.  But instead of it having to match line by line, would there be a way to search for the variable in the configuration.txt file?  So that the line in the txt could be 'SettingUnit[0]=" minutes"'

3
Support Questions / Re: Ethernet Modbus write
« on: January 30, 2016, 01:47:55 PM »
I think I'm understanding, but let me give an example.  In the attached image "Setting00" is a variable string stored in the HMI that describes the setting, then you have the value which is a variable from the PLC then you have the units which is a variable string stored in the HMI.  So for setting 00 I need string SettingText[0], real Setting[0], and SettingUnit[0].

If I'm understanding the display message by value correctly then it wouldn't work unless I could have variable text for the setting value inside the txt file.

4
Support Questions / Re: Ethernet Modbus write
« on: January 30, 2016, 09:57:14 AM »
I've done some evaluating of this and I think you are right, this is a simpler approach.  How about the variable text?  I think I'm missing something simple such as setting up a simple text file that the text can be looked up based off of the same HOA index value.

5
Support Questions / Re: Ethernet Modbus write
« on: January 23, 2016, 12:19:38 PM »
Ok I'm starting to get the hang of this.  Next I'd like to reconstruct an HOA I use.  I have a functional HOA, now I would dress it up a little.  Attached is an image of my HOA. 

1.  I would like the text above the HOA to come from some central text location. 
2.  I would like the background color of the button which is currently selected.  If it is in hand, then the hand background is yellow and the others are the screen background color.  If it is in off, the the off background is blue and the others are the screen background color.  And if it is in auto the the auto background is green and the others are the screen background.
3.  Now is where my wish list may get too deep.  Let's say I have 16 outputs.  I only want to make one HOA screen.  And the next and previous buttons would increment and decrement an index number.  This index number would be used to lookup the text above the HOA, determine where the HOAs should write, etc.

What's your thoughts on being able to do this in the AdvancedHMI?

This is completely an experiment for learning based off of other HMIs I've done so if I am way off track on how this should be done in the AdvancedHMI let me know.

6
Support Questions / Re: Ethernet Modbus write
« on: January 22, 2016, 08:53:31 PM »
Hi Archie.  Sorry for the delay.  I'm still not sure I have the notifications setup right for your forum.  I tested your suggestions and they work great, but is there a way to simply click a button and change a value from 0 to 2?

7
Support Questions / Ethernet Modbus write
« on: January 21, 2016, 08:19:17 PM »
I think I've missed something simple.  I've mainly played with monitoring on some live control system until now but today I setup a test PLC to try to learn more and while I can read an address, 400400, over modbus.  I don't seem to be able to write to it.  I've tried a MultiStateSelector and a SelectorSwitch with no luck.  Is there something I need to do to enable writing?

8
Support Questions / Re: Reading common text from a variable
« on: January 03, 2016, 03:28:54 PM »
Thanks Archie

I think I want to expand this further but I'm about 10 years behind on Visual.  Let me brush up a little bit and continue converting one of my screens so I can fully identify these points.  Because we reuse much of our HMI code most of the text is dynamic.  I'll get back with you.  Thanks again.

9
Support Questions / Reading common text from a variable
« on: January 03, 2016, 09:45:25 AM »
I started playing with the AdvancedHMI last night and have been very impressed so far.  It was very easy to get started on and functioned very well with a PLC I was accessing over a cell modem.

One thing I'm sure it is capable of that has eluded me is how to have common text use the same variable.  For example "output 1" on that system is the "Trash Pump"  It is used on the HOA text, the output states text, etc.

So to start with we use a color coded MessageDisplayByValue for our HOAs with different text for each value as follows.
0 = Trash pump auto off
1 = Trash pump auto on
2 = Trash pump off
3 = Trash pump hand
4 = Trash pump faulted

What I would like to do is have a variable textoutput01 so that the text assignment would be something like...
0 = textoutput01 & "auto off"
1 = textoutput01 & "auto on"
2 = textoutput01 & "off"
3 = textoutput01 & "hand"
4 = textoutput01 & "faulted"

Then be able to change one instance of the text of textoutput01 and have it change everywhere.

Thoughts?  Thanks, TW

Pages: [1]