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

Pages: [1] 2
1
Support Questions / Omron Ethernet
« on: October 27, 2017, 02:21:20 PM »
Hi,
Just did a quick test on this.
All good once I changed by test environment config to the omron defaults.

Is there any plans to expose the UDP port in the driver (assuming UDP is used?)
When using multiple PLC's, we have found with other IO Servers that the PLC comms are sequenced.
If one is offline, then this delays the others.
So, we make them separate UDP ports to overcome this.

2
Support Questions / Re: application fails to load...
« on: October 10, 2016, 01:35:37 PM »
Ok, thanks.
I sort of recognized it.

But back to my issue, I am also writing to the settings on a product change (not regularly).
Since all the products are stored in a file on the HMI, I use the settings to keep track of it by name.

By copying the complete application to another directory does not indicate file corruption though, maybe a permissions issue?

I have been contemplating a re-write of the application, as have been adding & adding to it & thing could be better. (as always).

3
Support Questions / Re: application fails to load...
« on: September 25, 2016, 10:26:12 AM »
Not explicitly using XCOPY, rather standard windoze copy with ctrl+c/ctrl+v etc.

4
Support Questions / Re: application fails to load...
« on: September 25, 2016, 12:00:53 AM »
So suggestion is to change to an INI file or similar?
And the reason for the original post was due to the moving to different directory solved it.
So is likely that using the settings was/is he cause?

5
Support Questions / Re: application fails to load...
« on: September 24, 2016, 03:30:04 AM »
Using the 'settings' feature..
Going to assume by your question of a file (INI or similar) that maybe a file is better?

6
Support Questions / Re: application fails to load...
« on: September 14, 2016, 02:52:31 AM »
That is the preferred method of deployment. In that case, it should not be using anything in any other directory unless your program explicitly saves settings.

The next time you get an error, see if it lets you show more details that may point to a certain line of code, then post what you get.
The program does save settings explicitly.
So if this is the cause, is there a fix?
I could look at modifying program so the settings that saved are read from PLC, but requires a bunch of rework most likely.

7
Support Questions / Re: application fails to load...
« on: August 26, 2016, 05:26:29 AM »
Just by copying the entire VS application project, then creating a shortcut to the .exe under the BIN folder.
My assumption was that this was the preffered method to conform with the GPU thing..?

8
Support Questions / application fails to load...
« on: August 25, 2016, 03:05:24 PM »
Hi

Of the xx applications we have out there, occasionally we get an error that the application will not start.
The most recent one was 'root element' not found.
Move the complete application folder to a different directory/path & it works without any issue.
I used to think this was a windoze thing, but now not so sure..

Any ideas on what this could be?


from the error, it looks like the app is using the 'C:\Users\7 User\AppData\Local\' directory, even though where i have the app is in a different location.
I can provide the complete error if need be?



9
A mixture:
On a basic label, I have the click as B3:15/5, with the colour2 the same. But the Colour 3 is B3:15/2
Each label as a different primary word (way project was structured)

There are also references to N26:xx etc

10
Have tried with the latest version, the shut down of application is much faster & smoother, but the intermittent blinks are still there.
I am using the Basic Indicator for most, in some instances using the 'PLCAddressClick' and 'PLCAddressSelectColor2' properties.
Should I be using more?
I do have a screen capture showing it happening, will that help for diagnosis to understand?

When the application closes, we do get the 'NullReferenceException'

11
It did appear to make a difference.
Closing the application is much faster too!!

I have numerous other applications, utilizing the Micrologix driver, which I think pre-dates a major release.
These applications are reasonable in function, incorporating DataSets etc.
I am using the DataSubscriber predominantly for reading & writing in this application.

Can I update the driver only, or is it best to start with the latest build & import?

12
Why are you not using the ControlLogix driver?

13
Hi,
So I have used the basic label in various places throughout a recent project.
I have various setups, some have 3x address's (one for 'Click', one for 'Colour 1' & another for 'Colour 2'), some just have the 'Colour 1' animation.

What we are noticing, is that periodically (Say every 4-5 sec), the indicators display their off state, only for 100ms or so.
I cannot see any Poll settings specific to the indicator, so not sure whether it is something we have done, or not?
There are about 15 or so of these components, it does not appear to be happening to all of them.

Is there something in the way I have it setup that could be causing this? I initially thought it may of been to do with reading actual IO, rather than internal registers.
PLC is a ML1400.


EDIT:
We are using version 3.975(?) by look of it. Have downloaded latest, so will try that.


14
As I understand, you should be able to use FINS.
But, you will need to ensure that you have FINS style addressing setup/enabled in the NJ.

Note: I have not done this, just based on discussions.
I do have access to a NJ, but could be a week or 2 before I get a chance to test if you are struggling.

15
How to do so?
It looks like it can be done, but I cannot get the syntax correct.

MBTCP.Write("40201","55") works.

However, if I do this, then it works, but I have to declare each element after the 'New String'
  Dim d2w() As String
        d2w = New String() {Data2Write(0), Data2Write(1)}
        sts = MainForm.MBTCP_S71200.Write(TagName, d2w, Count)

There must be a more dynamic way?


Pages: [1] 2