Jump to content
OMRON Forums

horacevan

Members
  • Posts

    7
  • Joined

  • Last visited

horacevan's Achievements

Rookie

Rookie (2/14)

  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In
  • First Post

Recent Badges

0

Reputation

  1. Thanks Sina and Curt. The replies did the trick, but the real winner is the new User's Manual (and Software Manual). I didn't know there had been a total revolution in the Power PMAC manual world. If I had had these last week I could probably have figured out how to do it myself. They seem to be a great improvement over the old, preliminary manual pieces. Thanks again, Bill
  2. I need to read values from an Acc24E3, and perhaps write to them, from a background C program. I have spent several hours trying things, but nothing seems to get me the right data. I cannot find in the doc that I have read anything on how to do this. I can access other boards using pointers, but not this one. Could someone please explain how to do this and also where it is located in the documentation? Right now I am trying to read SerialEncDataA, but later will need to read some other values. An example would be greatly appreciated! Thanks, Bill
  3. Hi Sini, Thanks for this info. Where can I find it in the manuals? It would be very useful to have documentation that explains the use of the serial encoder feature of the Acc24E3. I have tried using this, but no success so far. Here is what I have done from the IDE: Acc24E3[0].SerialEncCtrl=$f400003 Acc24E3[0].Chan[0].SerialEncCmd=$71025 Acc24E3[0].Chan[0].SerialEncEna=1 I used the $f4 in the Ctrl value, since that was the default value that was in the system when I started. I also tried just $3 that you had in your reply, but then there would be no clock divider. I have put a scope on the clock output, and see nothing, either way. Should I see a clock signal coming out all the time? I also tried setting up the Encoder Conversion Table like in your example. I didn't set up a motor, as I am not going to use this encoder for feedback. If I am not going to use it with a motor, do I have to do the ECT entries? The encoder I am trying to use is an Heidenhain ROQ 437, which has 25 bits per turn, and 12 turns. This is an EnDat 2.2 encoder. Is that a problem, since everything I see for the 24E3 says EnDat 2.1? I am trying to get the encoder value from Acc24E3[0].Chan[0].SerialEncDataA.a and B. Is that the right place? Is there anything else I need to do besides set these 3 values? I have tried it with motor[0] both disabled and enabled, with no difference. Please, any help on this will be welcomed. Thanks again for anyone who can help me figure out how to read an EnDat encoder. Bill
  4. I'm sorry for posting this twice, but I see that my initial post went into Manuals and Documentation, and it probably won't get seen as much there. I'm just starting to hook up a Heidenhain EnDat encoder to an ACC-24E3 channel that already has a quadrature encoder. It looks like the serial encoder strobe signal uses the same connector pins as the quadrature encoder's index signal. The Heidenhain doesn't have a strobe signal. Is this going to cause a problem with being able to use the quadrature encoder's index? Is there some way to switch which encoder gets to use the pins? In the ACC-24E3 hardware reference, on page 30, there is very little information on setting up a serial encoder. It says to refer to the Software Reference Manual. I can't find a Software Reference Manual for the ACC-24E3, and none of the sections of the main Software Reference Manual seem to refer to setting up serial encoders. Where do I find this information? If anyone has set up a Heidenhain EnDat encoder and has all the secret codes, I'd be very happy to receive them. Thanks!
  5. [quote='laaguirre' pid='1876' dateline='1305827119'] Is there an application note for the CAPI? Maybe something similar to the program command specification: ftp://support.deltatau.com/DT-USA/Power%20PMAC%20Documentation/PDFs/Software%20Reference/Power%20PMAC%20Program%20Command%20Specification%202011-01.pdf [/quote] I was searching for C API documentation when I came across your post. While I haven't found a Users Manual yet, I have come across something which I think will help. I found the C API help text in C:\Program Files\Delta Tau Data Systems Inc\2.0\Power PMAC Suite\PowerPMACHelp\PowerPMACCLanguageManual.chm. There is also a .hxs file there. Since this .chm file is identified as type compiled html help, I thought that maybe I could open it in a browser. No luck, but FireFox copied it to the desktop. I clicked the icon, and it opened in a help application. Having the help file outside of the IDE environment is potentially very helpful. First, it is in an independent window I can keep open. Second is that I can search through the help, and I can get an index, which I couldn't do in Visual Studio. But, before I figured out that I could search the help, I copied most of the entries to a Word document, so I could search there. What I left out is the Macro stuff, since we won't be using it. If you want this file, just let me know. It's 76 pages long. I've printed it for my binders, and it's really all I've got on the C API, so I think a few hours work will probably be productive.
  6. [quote='bradp' pid='1877' dateline='1305829307'] There is the IDE Help and two sample projects that get installed with the IDE. The sample projects contain examples of most API calls. I say most since the API might have updates not part of the IDE installation you use. [/quote] First, I can't find the sample projects in my IDE. Can you explain where to find them? I have version 2011-04-18, 1.3.1.46. Second, is there a way to search this help? Search seems to only work for the Visual Studio itself. Third, is there a way to extract all this help so I can put it into a single file that I can search, edit, and print? Fourth, is there anything written up that provides a general explanation of using the C API? Thanks for any help on this!
  7. I just received my Power PMAC, and have spent a few days playing with it. However, I can't get it to run a motor. I have an ACC24E3 board with analog amp and am trying to run a simple brush DC motor with a quadrature encoder. I never see anything coming out the DAC output. So far I have figured out how to enable the motor (Motor[1].ServoCtrl = 1), and disable the limits (Motor[1].pLimits = 0). Turning the motor shaft gets me encoder readings. When I do an "enable" and then a "j=0", I get "Closed loop" and "AmpEna" in the Status window showing true. If I turn the motor shaft, I get following error warning and then fatal. I am sure there is some obscure setup item I am missing. Is there anyplace in the documentation where this is explained in a straightforward, step-by-step fashion? I have used the ACC24E3 manual and think I have everything there. I have used random chapters of the hardware and software manuals, but there is nothing coherent and I have probably missed something. Thanks for any help!
×
×
  • Create New...