You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Reply
 
Thread Tools Display Modes
Old October 16th, 2020, 05:25 PM   #1
ExSilver
Member
United Kingdom

ExSilver is offline
 
Join Date: Oct 2020
Location: Wirral
Posts: 2
Unhappy Indirectly Addressing Powerflex 525

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
  Reply With Quote
Old October 17th, 2020, 02:20 PM   #2
rajy2r
Member
Canada

rajy2r is offline
 
rajy2r's Avatar
 
Join Date: Nov 2006
Location: Canada
Posts: 159
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.
  Reply With Quote
Old October 17th, 2020, 02:38 PM   #3
ExSilver
Member
United Kingdom

ExSilver is offline
 
Join Date: Oct 2020
Location: Wirral
Posts: 2
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!
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
PowerFlex 525 will not start thru Ethernet. Have a Ready signal in Controller Tags Cydog LIVE PLC Questions And Answers 17 November 18th, 2018 07:24 PM
Powerflex 525 PID Controll for a Pump in a Hot Water Set travisroberts88 LIVE PLC Questions And Answers 18 November 10th, 2017 07:24 PM
RSLogix 5000 and Powerflex 525. Elcan LIVE PLC Questions And Answers 4 October 28th, 2014 11:38 AM
Powerflex 525 Multidrive issues Teglaco LIVE PLC Questions And Answers 2 July 14th, 2014 12:57 PM
PowerFlex 525 Open Loop Metering Pump Control Help shiftedbits LIVE PLC Questions And Answers 5 February 1st, 2014 02:15 PM


All times are GMT -4. The time now is 02:38 AM.


.