Add On Instructions

Hi guys, just reaching out as I'm looking at creating a library of useful Add On Instructions to use within Studio5000.
I'm particularly interested in AOI's for various brands / models of VSD's with Ethernet/IP control. If anyone is keen to share that would be awesome!
 
Yeah that is a good point, I thought the AOI might look a bit cleaner and more compact if I had one for each of the more popular brands/models of VSD's. That would be great if you could send something through later though Mark much appreciated

Cheers, Harry
 
You don't necessarily need a different AOI for each brand/model of VSD.

You could make one AOI which does them all.

I have one AOI for a VSD and just use and 'unused' tag for anything I don't need.

I will post a couple later today.

Cheers

Mark
This is a "feature" of RA that annoys me. The AOIs try to encompass every possible scenario and end up extremely bloated. If they implemented a way to utilize inheritance, you could simply create your base motor control block and extend that as needed for VFDs. Interfaces make it easier yet, but gets a bit foreign to debug in a PLC environment. Makes it much easier to maintain base code functionality with simply different implementations at the VFD level.
 
I don't think anything has to be bloated.

In the OP's first post he has said that the control will be done over ethernet. I'm willing to bet that most VSD's controlled over ethernet all have the same sort of control.

Run Forward, Run Backwards, Speed, Tripped etc etc.

Cheers

Mark
 
I don't think anything has to be bloated.

In the OP's first post he has said that the control will be done over ethernet. I'm willing to bet that most VSD's controlled over ethernet all have the same sort of control.

Run Forward, Run Backwards, Speed, Tripped etc etc.

Cheers

Mark
They don't have to be, but many end up that way.

Most simple scalar control is similar, though some differ in their implementation of the control word with some being 2-wire style control and others being 3.

Doesn't change my statement though that the way you control a VFD motor inherits the same control for a simple starter.
 
If they implemented a way to utilize inheritance, you could simply create your base motor control block and extend that as needed for VFDs.

This wouldn't solve the issue at hand, because you'd have one block per VFD with the inherited methods/properties being different across the board.

I'd solve this by having a VFD agnostic block that spits out a command UDT and receives a feedback UDT (again standardised). I'd then either have a mapping AOI per VFD type using those UDts that simply maps data to the right registers in the HW tree, or have an exported subroutine with the correct mapping before and after calling the AOI that does all the mapping.

If you look at PlantPAx that's the methodology used and it's not all that bad. A subroutine, despite its shortcomings can also be a module or developed as one.
 
This wouldn't solve the issue at hand, because you'd have one block per VFD with the inherited methods/properties being different across the board.

I'd solve this by having a VFD agnostic block that spits out a command UDT and receives a feedback UDT (again standardised). I'd then either have a mapping AOI per VFD type using those UDts that simply maps data to the right registers in the HW tree, or have an exported subroutine with the correct mapping before and after calling the AOI that does all the mapping.

If you look at PlantPAx that's the methodology used and it's not all that bad. A subroutine, despite its shortcomings can also be a module or developed as one.

Pretty much what I do outside of AOIs. I have a specific motor UDT, and then map the elements to each specific drive in a mapping routine. Not to start any arguments, to each their own, but I detest AOIs. I can copy, paste, find and replace a standard routine and if I need a specific function tailored to one motor I'm not making bloatware by expanding an AOI for accommodating one particular nuance. Coupled with not being able to change them online, and being the most inefficient data structure known to man when interfacing to ignition (will drag the IO server to its knees), I give up a little expediency for flexibility and performance.
 
I can copy, paste, find and replace a standard routine and if I need a specific function tailored to one motor I'm not making bloatware by expanding an AOI for accommodating one particular nuance.
This was my point, instead of bloating every instance, you only need to extend that base to implement unique cases.

Copy Paste Find Replace works fine if you have no plans to change it in the future.
Coupled with not being able to change them online
A point that is partially negated by this...
 
This wouldn't solve the issue at hand, because you'd have one block per VFD with the inherited methods/properties being different across the board.

I'd solve this by having a VFD agnostic block that spits out a command UDT and receives a feedback UDT (again standardised). I'd then either have a mapping AOI per VFD type using those UDts that simply maps data to the right registers in the HW tree, or have an exported subroutine with the correct mapping before and after calling the AOI that does all the mapping.

If you look at PlantPAx that's the methodology used and it's not all that bad. A subroutine, despite its shortcomings can also be a module or developed as one.
You'd have a base block that would be uniform with a standard interface. The methods implemented in that interface would vary, which is the point, but I'm not following how that's less desirable than having separate mapping routines outside the AOI that then require manual maintenance per device?
 

Similar Topics

In RSLogix5000 I am attempting to create an add-on instruction called "SWAP" which simply swaps the values of two integer tags. Here is what the...
5
Replies
3,111
Views
Hello everyone, Currently I am translating my Siemens program (SCL) to Allen Bradley (ST) and i am having a little trouble using the Add-On...
2
Replies
2,366
Views
Hi Everyone, I am working on project that the customer require no ADI. The standard project we have uses ADI everywhere. I am just wondering...
11
Replies
3,442
Views
hi all, can you guys please explain the why we use AOIs? My understanding is that they can be used like templates, so we create them once, and...
4
Replies
3,765
Views
Hello everybody, From user manual "ControlLogix SIL2 System Configuration", SIL2 Add-on Instructions is required to configure SIL 2 PLC...
0
Replies
1,851
Views
Top