Posts: 36
Threads: 13
Joined: Jun 2012
I am adding an input (CH3) to our 4 channel ACC-28E A-D board. The only manual I can find references the UMAC-TURBO.
Where can I find the info I need to set this input up on Motor[6] so I can read it from a PLC ?
TIA.
Posts: 675
Threads: 50
Joined: Jun 2008
dennisg,
Please check the
Power PMAC Software Reference Manual, under section titled: "Acc28E[i] Status Data Structure Elements".
In order to read an analog input, you don't have to assign it to a motor. You can either read the Acc28E[i].AdcSdata[j] or Acc28E[i].AdcUdata[j] directly, or you can define your own custom name for it:
Code:
#define InputTemp Acc28E[0].AdcSdata[0]
If you want to read the analog feedback as an input to a motor servo loop, you should read the input using encoder conversion table, which is explained in the
Power PMAC User's Manual, under the section titled: "Setting Up the Encoder Conversion Table". You should use entry Type 1: Single-Register Parallel Read.
Sina Sattari
Hardware Engineering Manager
Delta Tau Data Systems, Inc.
Posts: 36
Threads: 13
Joined: Jun 2012
(06-28-2012, 07:53 AM)Sina Wrote: dennisg,
Please check the Power PMAC Software Reference Manual, under section titled: "Acc28E[i] Status Data Structure Elements".
In order to read an analog input, you don't have to assign it to a motor. You can either read the Acc28E[i].AdcSdata[j] or Acc28E[i].AdcUdata[j] directly, or you can define your own custom name for it:
Code:
#define InputTemp Acc28E[0].AdcSdata[0]
If you want to read the analog feedback as an input to a motor servo loop, you should read the input using encoder conversion table, which is explained in the Power PMAC User's Manual, under the section titled: "Setting Up the Encoder Conversion Table". You should use entry Type 1: Single-Register Parallel Read.
Thanks Sina, is there anything I have to do to specifically enable 3 & 4? I ask because I see the expected raw data on 1 & 2 (Acc28E[1].AdcUdata[0].a, Acc28E[1].AdcUdata[1].a) but not 3 (Acc28E[1].AdcUdata[2].a).
Posts: 675
Threads: 50
Joined: Jun 2008
Are you sure you have a 4 channel version of ACC-28E and not a 2 channel one?
Sina Sattari
Hardware Engineering Manager
Delta Tau Data Systems, Inc.
Posts: 36
Threads: 13
Joined: Jun 2012
06-28-2012, 01:06 PM
(This post was last modified: 07-02-2012, 08:51 AM by ***.)
(06-28-2012, 12:58 PM)Sina Wrote: Are you sure you have a 4 channel version of ACC-28E and not a 2 channel one?
Thanks to CharlesP there who was kind enough to send me a new unreleased draft version of the ACC-28 manual which I found easier to read, I was able to determine we did indeed only have a 2 channel board. I did some looking around here and found another 2 channel and brought it up for my 3rd channel.