Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
41
Support Questions / Re: RE: Make Global Object
« Last post by zach_a_ary on March 01, 2024, 09:55:21 PM »
continued
42
Support Questions / Re: RE: Make Global Object
« Last post by zach_a_ary on March 01, 2024, 09:51:58 PM »
continued
43
Support Questions / Re: RE: Make Global Object
« Last post by zach_a_ary on March 01, 2024, 09:46:59 PM »
i deleted the basic label and added the basic indicator. Here are some screenshots I took. I might have missed a step somewhere. 192.168.70.10 is the ip i need.
44
Support Questions / Re: How to Avoid PLC and PC timeouts
« Last post by Archie on February 29, 2024, 02:14:26 PM »
You should be able to do a PLCAddress of PaintPart[0] and NumberOfElements of 65 (or greater). Then use e.Values(x) to access each array element,
45
Support Questions / Re: How to Avoid PLC and PC timeouts
« Last post by paintman on February 29, 2024, 11:18:57 AM »
Awesome, for my situation with the array, it may be Paintpart[23] and the associated elements, or [65] depending on the carrier number at the station. With the data subscriber it looks like I can only call specific tags and not have a variablized tag. Would I need to just call the base name Paintpart then specific the actual tag location later in the code?

ps sorry for asking so many questions
46
Support Questions / Re: How to Avoid PLC and PC timeouts
« Last post by Archie on February 29, 2024, 10:36:16 AM »
The DataSubscriber2 allows you to setup multiple tags in a single DataSubscriber2. It will fire on changes in both directions.
47
Support Questions / Re: How to Avoid PLC and PC timeouts
« Last post by paintman on February 29, 2024, 10:02:39 AM »
Does the datasubscriber work for multiple PLC tags or is it for a single tag per subscriber? Currently the most important one I am trying to read is an array of tags with 8 elements to each tag.

Or would it be best to just setup the data subscriber to read the stop release bit and then run the full sequence of code?

Also does the datasubscriber read two way changes? Like if the bit changes from 0 to 1 it runs the sequence then when it changes back from 1 to 0 it reads again?
48
Support Questions / Re: How to Avoid PLC and PC timeouts
« Last post by Archie on February 29, 2024, 09:19:33 AM »
BeginRead is an asynchronous command which takes a lot more overhead to use. I would only use it if you need non-blocking code.

If you are just monitoring values for change, I would use the DataSubscriber

49
Support Questions / Re: How to Avoid PLC and PC timeouts
« Last post by paintman on February 29, 2024, 08:42:38 AM »
Are you using v3.99x or 3.99y ?

How are you reading data in the code? Read or BeginRead? How frequently are you reading?

I am using 3.99y, as for reading the data im not utilizing either of those (im fairly new to vb in general). I am just using the mydriver.read/write to pull the information from the plc. So it just reads during each scan cycle. Would begin read be better?

Currently in the operation when it sees a release bit it goes through a few nested if loops then will write the data to a text file which is linked to a list view and it its a part number its never seen before itll write the information to the PLC array
50
Support Questions / Re: How to Avoid PLC and PC timeouts
« Last post by Archie on February 28, 2024, 04:08:32 PM »
Are you using v3.99x or 3.99y ?

How are you reading data in the code? Read or BeginRead? How frequently are you reading?
Pages: 1 ... 3 4 [5] 6 7 ... 10