![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#1 |
Member
![]() ![]() Join Date: Nov 2016
Location: Fields of corn
Posts: 2,537
|
AOI Development work flow
Hello,
I have a couple of projects where it makes sense to get an AOI developed, but am really struggling with having to download over and over to the PLC. I know I can make another version, but that entails exporting, modifying in an offline project, importing back into the online project with a different name. However, I'm wondering what's everyone's workflow or if you just accept that AOI's are damn near useless because of this. Not trying to start a war, I've made it clear before that Rockwell is not on my preference list when it comes to automation platforms, but needs must and I'm more interested in learning the steps you take to do it. |
![]() |
![]() |
#2 |
Member
![]() ![]() Join Date: Feb 2012
Location: Bay of Plenty
Posts: 1,461
|
As predominantly a Schneider Control Expert user, the fact that you can edit their AOI equivalent (DFB) online, has saved me countless hours when a client changes their mind, or you find a bug. I've found minor issues in DFBs I wrote years prior (motor status tag for HMI animation didn't show as expected with an unusual combination of interlock, fault and auto status bits)... whoops, 60 second fix and update across 100 motors. Thats the whole point, in my opinion.
I guess the only recourse for you, other than the rename approach, is to spend more time on the initial development, and then run thorough simultations offline from the real world process where downloads aren't an issue. I've started doing more and more software FAT with clients, and allow time to write simulation logic as well. It was initially a PITA but I've found that site commissioning takes much less time now. I do only work with a small number of different processes so it may just be experience, rather than technique. Not a really useful answer for you, sorry. Will be watching this thread with interest though. |
![]() |
![]() |
#3 |
Member
|
If it's possible, you should put the AOI version in the name of the AOI itself. You can do online imports for new AOI and update the code later. Not very clean, but at least a workaround.
Another cleaner way is to not use AOIs, but rather SBRs to individual routines. This gives full functionality in my opinion, and is extremely underutilized.
__________________
Ask not what your PLC can do for you, ask what you can do for your PLC. ![]() |
![]() |
![]() |
#4 | |||
Member
![]() ![]() Join Date: Nov 2016
Location: Fields of corn
Posts: 2,537
|
Quote:
Quote:
Quote:
Thanks for the feedback! ![]() |
|||
![]() |
![]() |
#5 | |
Member
|
Quote:
Yet, in the PLC realm, we make functions(SBR), only so that we can double click them from the controller organizer and not have any value in using them in multiple locations. I think this roots in the optics of the code rather than the content(Still important, as we optically debug PLC logic) I think they just serve a purpose - production doesn't need to stop with usages like this.
__________________
Ask not what your PLC can do for you, ask what you can do for your PLC. ![]() |
|
![]() |
![]() |
#6 |
Member
![]() ![]() Join Date: Nov 2016
Location: Fields of corn
Posts: 2,537
|
the main dislike is that the SBR doesn't have a memory space of its own and enforce silly things like variable types. Nothing stops you throwing a bool into a REAL parameter between the JSR call and the Subroutine itself. And then, if you need variables that are internal to that "function", they're not internal as such, they'll be at the minimum program scoped which is quite a lot more than a function.
And like you say, there's the debugging element which requires a bit of forethought to throw in any errors into a variable/UDT to allow whoever to understand what happened. I guess I've let myself think that it can't be as bad as I thought it could, but sure enough Rockwell never disappoints. One thing I'm fairly pleased though is the alarm manager and the @AlarmSet structure it pulls in. Very interesting stuff. |
![]() |
![]() |
#7 |
Member
![]() ![]() Join Date: Jul 2015
Location: MKE
Posts: 38
|
I had a higher-level Rockwell guy tell me years ago, around f/w rev 16 or so, that on-line editing of AOIs was "in the works, coming soon", etc., etc., etc. I have given up hope that it will appear anytime within my remaining working years.
Fortunately for me, the industry I work in has long lead times between concept, go-ahead approval and commissioning. We are able to test and validate AOIs on the bench well before production begins. Indeed, today I need to write one that won't be needed until late 2023 or 2024. For anything spur of the moment we'll write a subroutine. So that, unfortunately for the OP and us in the Rockwell world, is the workflow: make it perfect on the bench before needed for production. |
![]() |
![]() |
#8 |
Lifetime Supporting Member
![]() ![]() Join Date: Feb 2007
Location: Melbourne,Victoria,Australia
Posts: 953
|
Could you not create a subroutine for the test code, get that working properly and then put that subroutine code into the AOI.
|
![]() |
![]() |
#9 | |
Member
![]() ![]() Join Date: Nov 2016
Location: Fields of corn
Posts: 2,537
|
Quote:
It's a workaround... like with everything in Rockwell world it seems. Maybe they should change their name to Rockworkaround, or Allen Workaround. |
|
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Studio 5000 Program Parameter Connections | theColonel26 | LIVE PLC Questions And Answers | 7 | October 25th, 2019 09:55 AM |
Setting up a MSG in an AOI | pierrer | LIVE PLC Questions And Answers | 7 | November 22nd, 2018 04:37 PM |
2 PID loops for one control variable | rta53 | LIVE PLC Questions And Answers | 47 | January 20th, 2018 11:56 PM |
Out of my depth - Feed forward, Cascade? | TheWaterboy | LIVE PLC Questions And Answers | 22 | August 31st, 2016 01:23 AM |
Boiler Fuel Feed Simulation for Bunker C | sjknight | LIVE PLC Questions And Answers | 1 | November 20th, 2005 05:42 PM |