dennisg Posted June 28, 2012 Share Posted June 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. Link to comment Share on other sites More sharing options...
Sina.Sattari Posted June 28, 2012 Share Posted June 28, 2012 dennisg, Please check the , under section titled: "Acc28E Status Data Structure Elements".http://forums.deltatau.com/filedepot/download.php?f=Power%20PMAC/Manuals/Power%20PMAC%20Software%20Reference%20Manual.pdf [FILE REMOVED] In order to read an analog input, you don't have to assign it to a motor. You can either read the Acc28E.AdcSdata[j] or Acc28E.AdcUdata[j] directly, or you can define your own custom name for it: #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 , under the section titled: "Setting Up the Encoder Conversion Table". You should use entry Type 1: Single-Register Parallel Read.http://forums.deltatau.com/filedepot/download.php?f=Power%20PMAC/Manuals/Power%20PMAC%20User [FILE REMOVED] Link to comment Share on other sites More sharing options...
dennisg Posted June 28, 2012 Author Share Posted June 28, 2012 dennisg, Please check the , under section titled: "Acc28E Status Data Structure Elements".http://forums.deltatau.com/filedepot/download.php?f=Power%20PMAC/Manuals/Power%20PMAC%20Software%20Reference%20Manual.pdf [FILE REMOVED] In order to read an analog input, you don't have to assign it to a motor. You can either read the Acc28E.AdcSdata[j] or Acc28E.AdcUdata[j] directly, or you can define your own custom name for it: #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 , under the section titled: "Setting Up the Encoder Conversion Table". You should use entry Type 1: Single-Register Parallel Read.http://forums.deltatau.com/filedepot/download.php?f=Power%20PMAC/Manuals/Power%20PMAC%20User [FILE REMOVED] 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). Link to comment Share on other sites More sharing options...
Sina.Sattari Posted June 28, 2012 Share Posted June 28, 2012 Are you sure you have a 4 channel version of ACC-28E and not a 2 channel one? Link to comment Share on other sites More sharing options...
dennisg Posted June 28, 2012 Author Share Posted June 28, 2012 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. Link to comment Share on other sites More sharing options...
Recommended Posts