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 - David Bartel

Pages: [1]
1
Open Discussion / Re: EthernetIPforCLXcom - Timeout
« on: October 03, 2013, 11:07:55 AM »
Archie -

You hit the nail on the head! That's pretty cool that I can adjust individual buttons like that. I my case I will have only one button that needs to be greater than 3 seconds.

Thank you for your support. I know you must be extremely busy.

2
Open Discussion / EthernetIPforCLXcom - Timeout
« on: October 03, 2013, 09:56:50 AM »
I have a button on my form that is used to start a machine. The standard procedure is currently to press and hold the button for 5 seconds, during which time a startup warning horn goes off. Releasing the button will abort the start up procedure.

My problem is that after exactly 3 seconds I loose the input from the button on the form. I don't get any error message or anything, it just stops writing the data to the tag.

I should point out that I am a long time PLC programmer (over 30 years) and a very short time Visual Basic programmer (I'm only on chapter 3 of Beginning Visual Basic 2012).

Does anyone have any Ideas on what might be going on?

3
Support Questions / Re: Read String Data
« on: October 03, 2013, 09:44:59 AM »
Thank you for the code. I will give it a try a little later. I have kind of a Band-Aid fix working at the moment by making sure the string types in the PLC are all default length definitions.

4
Support Questions / Re: Read String Data
« on: October 02, 2013, 11:10:22 AM »
Archie -

I just tried a little experiment. Rather than use a string tag that has a custom length I just used a generic string (I think the default is 82 characters) and it worked exactly like you said it would!

Rather than try to figure out how to determine the "custom" string length definition, I think I can alter my PLC program to just use the default string length.

Thank You for your help.

David

5
Support Questions / Re: Read String Data
« on: October 02, 2013, 10:54:46 AM »
All my tags are scoped as Controller (makes it easy for me). When I put the address in (for example) STR2.data, All I get is the ASCII equivalent value for the first character.

If I try it simply as STR2 I get "Arithmetic operation resulted in an overflow" error message.

What I want to do is read the string from the PLC and show it (as a string) on the form. It's looks to me like I might need to write a little function to do something like this, but maybe I'm missing something?

6
Support Questions / Read String Data
« on: October 01, 2013, 07:49:28 PM »
I have just started using Advanced HMI and was wondering if there is a way to read a string tag from a Compact Logix PLC

Pages: [1]