Indirectly Addressing Powerflex 525

ExSilver

Member
Join Date
Oct 2020
Location
Wirral
Posts
2
Hello All, I wonder if anyone can help me?
I'm working for a company within a sector that has virtually zero standards of work so i've started creating template routines, tag structures etc.

However, i have a query. I don't want to use direct Inputs/Outputs from hardware etc, and i've built a UDT with all the System tags associated with individual drives. (We use multiple Powerflex in a single system)
The Tag Structure from the Powerflex comes in as:
Integer
15 x Booleans
Integer
For both Inputs and Outputs

Now i've built a UDT Containing
Drive Inputs (UDT with the same structure as above)
Drive Outputs (UDT with the same structure as above)
Random System Booleans
Random Reals
Random HMI Inputs

The problem is that cannot move the Raw Inputs/Outputs that are created when adding a drive to the IO configuration into my Drive Tag. (Built as above) because the CPS command expects the element length to be of the same data type. i.e 3 dints etc.

Has anyone got any advice on the best way to deal with this as i dont want to have to manually move the 15 Booleans and the 2x integers separately.

I Hope i've explained this enough. I can provide my UDT for anyone interested. I've normally only dealt with SEWs etc that come in as arrays of Dints. Burning my head out! haha

Thanks in Advance 🤞🏻
 
You can always create an AOI that does that for you if you have multiple instances.

Generally I would create UDT for the motor structure and read/write the drive tags to/from the UDT as required.

FYI, you posted in the practice section and not form section.
 
Thank you for your response.
I was thinking of an AOI but wanted to keep it simpler. I would have thought that with it being an AB product and them knowing indirect addressing is common in most industries that there would have been an instruction im not aware of to handle this.
Its crazy..
I'll sort the AOI tomorrow.
Thanks again!
 

Similar Topics

Anyway to indirectly address I/O based on slot # instead of having to first map each point to a secondary tag? Prefer to be able to address based...
Replies
14
Views
3,989
Hi Does anyone know how I can indirectly address a byte within an indirectly addressed Data Block? Here's the code so far... L MW 8...
Replies
9
Views
5,649
Per title, I have an example string array Foo of datatype STRING[10] and index Bar of type DINT EQU('False',Foo[Bar]) works functionally but on...
Replies
8
Views
2,932
Hi all, I'm looking through some software that has LOTS of FCs that are 'orphaned' in the Program Structure (they have a cross through the box as...
Replies
5
Views
2,357
Maybe stupid question, but.. :huh: I need to read external status from Danfoss vlt, which is connected to S7/300 via profibus. I have done my...
Replies
1
Views
1,192
Back
Top Bottom