Delta Tau Forums
Help understanding ACC-28E inputs - Printable Version

+- Delta Tau Forums (http://forums.deltatau.com)
+-- Forum: Delta Tau Data Systems (http://forums.deltatau.com/forumdisplay.php?fid=1)
+--- Forum: Power PMAC (http://forums.deltatau.com/forumdisplay.php?fid=2)
+--- Thread: Help understanding ACC-28E inputs (/showthread.php?tid=944)



Help understanding ACC-28E inputs - dennisg - 06-28-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.


RE: Help understanding ACC-28E inputs - Sina - 06-28-2012

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.


RE: Help understanding ACC-28E inputs - dennisg - 06-28-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).


RE: Help understanding ACC-28E inputs - Sina - 06-28-2012

Are you sure you have a 4 channel version of ACC-28E and not a 2 channel one?


RE: Help understanding ACC-28E inputs - dennisg - 06-28-2012

(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.