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

Pages: 1 [2] 3 4 ... 14
16
Open Discussion / Re: S7 1200 Modbus and Floating Point Numbers
« on: October 15, 2020, 02:29:28 PM »
You can always add code to behave the way you want, but then you can get into trouble is your PLC provides numeric data in a format like 1,234.67 which will get it complicated.

17
Support Questions / Re: Slow responce to AHMI from SLC 5/05
« on: September 02, 2020, 02:26:17 PM »
I suggest you to not use Excel with .Net, as is not really required. I have had issues over time with Excel not closing correctly and becoming unresponsive after some time. Use better alternative as EPPlus, much lighter, better solution, no need to install additional software in the end PC.

https://github.com/JanKallman/EPPlus

I emailed you screen shots of the tasks running on the IPC. However I think I discovered what the issue was. I had a section of code for writing to a CSV file in a certain instance and Excel was not present on that machine yet, I think it was bogging down the AHMI solution. After installing Excel, and running the AHMI on the BEckhoff IPC, there is no more delay.

18
Open Discussion / Re: B & R PLC Project
« on: July 30, 2020, 05:45:45 PM »
If your PLC is an AB, you can use the trial version of the programming software (RSLogix 500 or Studio 5000, depending on the PLC type you have), and it will work for 21 days. Also, there are ways to reset the trial period if you need a little more time.

19
Hello, I leave the link with the siemens driver using snap7, in front of any doubt I will try to help as much as I can since I am not an expert in .net programming, I do what I can. I have tested it with snap7's own simulator and with an S7-1500 PLC. (sorry my english is translated)

https://drive.google.com/open?id=1qkjWns0W4z6uQtiWrUeaWBJl4oHMxAaC

Is this intended to be used with Advanced HMI?

20
Open Discussion / Re: Future .NET Standard support (.Net Core)?
« on: March 09, 2020, 05:39:10 PM »
Hi,

I realize this is several years old now, but I was wondering if the stand-alone driver was ever ported to .NET core? I'm looking for exactly this: a .NET core Rockwell driver.

You mean this one?

https://www.advancedhmi.com/index.php?main_page=product_info&cPath=3&products_id=14

21
Nice work! I've seen those ADAM modules long time before, but always wondered how they work with no real time OS like windows. Are you polling data from it, of so at what rate? Do you use a background worker for this?

Asking because this is something I want to learn to do (multi thread and background workers), there are many applications I could use it.

AHMI has helped me a lot with its already made controls that does not require to write code for these, but now I was looking for do it myself in other drivers like for Siemens.

So from my main thread I call an initialization Function and check to make sure the Adam module , Camera and Laser can be reached by Ethernet.  From each check I start a background worker thread for each device where I continuously loop untill the main thread closes the worker threads. 

I'm polling the Adam module at 25ms interval and the Keyence at 100ms. I created a class for an input device which contains name, port, bit, state etc and I loop through and check/set all the inputs on the Adam.  Then I write to the Outputs in a similar fashion.

I also have a Auto Process thread which uses the input values and can also set the output states for the I/O conditionally.  I'd be happy to give you the code if you want.  It can use some improvement but it's a start.

Thanks everyone for your compliments!

Very nice! Sounds like it is exactly what I need to understand background workers. I'll take your word, I just sent you a PM.

22
Nice work! I've seen those ADAM modules long time before, but always wondered how they work with no real time OS like windows. Are you polling data from it, of so at what rate? Do you use a background worker for this?

Asking because this is something I want to learn to do (multi thread and background workers), there are many applications I could use it.

AHMI has helped me a lot with its already made controls that does not require to write code for these, but now I was looking for do it myself in other drivers like for Siemens.

23
Open Discussion / Re: Question about DH+ driver
« on: January 30, 2020, 05:10:45 PM »
You can still try with the RTA Net ENI, as is not that expensive as it is the SLC 505.

24
Open Discussion / Re: Question about DH+ driver
« on: January 30, 2020, 10:32:34 AM »
Ok, thanks for the response. My rs232 port is currently being used to go to an AB 1761-Net-ENI DF1 to Ethernet/IP converter for data acquisition. May be a silly question but is it possible to put a switch in right after that and go back through the converter EthernetIP to rs232 for the Advanced HMI?

Not a silly question. I did something similar, but depending on the amount of connetions you use on the Ethernet side (the Net-ENI has a very limited amount of input connection, I think they are only two), you may be able to do it. If you type the Net-ENI IP address in your web browser you will be able to see some data like the actual connections to have a idea. Or you can just try with a sample app that reads a variable from your PLC, and see what happens.

There is another option I ended using, another interface like the Net-ENI but from a third party RTA Automation
https://www.rtautomation.com/product/515rtaeni-n34/
It has a larger amount of connections available, and has some other useful features not present in AB's. Downside, is that did not work well with an Ingear communication driver we tried to use with. It did not work with AHMI at the beginning but as usual Archie responded with a great support and made changes that fixed it. I think he added the patch to main beta.

Anyway, I think using the Ethernet connection will be the correct route for you.

I only need 1 more connection really for the AHMI communication. At that point would the EthernetIP for SLC driver work, or would I need to use something else?


I just checked and I used the driver "EthernetIPforSLCMicroCom1" to connect with the RTA Net-ENI, but it was the same used for the AB Net-ENI.

Edit: See Attached

25
Open Discussion / Re: Question about DH+ driver
« on: January 30, 2020, 10:26:20 AM »
Could an RS232/DF1 cable splitter be used at the PLC? One side goes out to the ENI, one is dedicated to the AHMI?

Never used one myself, could not tell.

26
Open Discussion / Re: Question about DH+ driver
« on: January 30, 2020, 10:25:51 AM »
I tried that with no luck. I've matched the IP to the ENI, and I get a "Write Failed!No response from PLC during write" error.

Did you try disconecting the HMI and connecting the Ethernet cable directly to your PC? To make sure there is no other connection interfering. Put the IP address of the Net-Eni in the driver configuration. Try restarting the Net-ENI, I had bad experiences with it at it seems to keep the connections alive for some time thus blocking new connections for a while.

27
Open Discussion / Re: Question about DH+ driver
« on: January 29, 2020, 06:35:49 PM »
We have a micrologix PLC with the Net-Eni, so I would conclude that you need the SLC Ethernet driver.

28
Open Discussion / Re: Question about DH+ driver
« on: January 29, 2020, 12:12:32 PM »
Found that old post with the RTA Automation Net-ENI troubleshooting, just in case you are interested.

https://www.advancedhmi.com/forum/index.php?topic=2300.msg13425#msg13425

29
Open Discussion / Re: Question about DH+ driver
« on: January 29, 2020, 12:08:41 PM »
Not sure, but I think the basice modules can be used with DF1, that you could add to your rack and communicate using the a serial port.

Please anyone can correct me if I'm wrong.

30
Open Discussion / Re: Question about DH+ driver
« on: January 29, 2020, 12:06:41 PM »
Ok, thanks for the response. My rs232 port is currently being used to go to an AB 1761-Net-ENI DF1 to Ethernet/IP converter for data acquisition. May be a silly question but is it possible to put a switch in right after that and go back through the converter EthernetIP to rs232 for the Advanced HMI?

Not a silly question. I did something similar, but depending on the amount of connetions you use on the Ethernet side (the Net-ENI has a very limited amount of input connection, I think they are only two), you may be able to do it. If you type the Net-ENI IP address in your web browser you will be able to see some data like the actual connections to have a idea. Or you can just try with a sample app that reads a variable from your PLC, and see what happens.

There is another option I ended using, another interface like the Net-ENI but from a third party RTA Automation
https://www.rtautomation.com/product/515rtaeni-n34/
It has a larger amount of connections available, and has some other useful features not present in AB's. Downside, is that did not work well with an Ingear communication driver we tried to use with. It did not work with AHMI at the beginning but as usual Archie responded with a great support and made changes that fixed it. I think he added the patch to main beta.

Anyway, I think using the Ethernet connection will be the correct route for you.

Pages: 1 [2] 3 4 ... 14