Power PMAC
Discussions about Power PMAC products (including UMAC Accessories, Power Brick products, Power Clipper, CK3x products, and more) along with their software, including Power PMAC IDE, NC16 HMI, and Power PMAC PDK.
Subforums
2,348 topics in this forum
-
- 9 replies
- 14.5k views
I have a number of organised pmh include files. It seems there is possibly some single-pass issue when they are processed relating to conditionals. Here is a condensed example: If I have "global definitions.pmh" #ifdef FOO global Bar; #endif and "more definitions.pmh" #define FOO I get errors referencing Bar in script or C code. If I rename the second file "another.pmh" it is fine. I am guessing there is an alphabetical order to the files. Can you confirm? Also is it possible to fix the next release so this is not an issue? Thanks, Dave
Last reply by daves, -
- 1 follower
- 2 replies
- 6.5k views
Looking at the Acc72e structure members accessible from script programs, there seems to be missing members for task params, task state and task info. Looking in the header file where this structure is defined, these items are covered by a member called unused2. Can these items be uncovered in a future release. I can set up ptr variables to point to the missing data, but I have to do a considerable amount of manipulation to unpack the data I require, and I'm not sure it's desirable to use a mixture of access methods to this hardware. mjm
Last reply by mjm, -
- 1 follower
- 2 replies
- 6k views
The following line in a motion program reports no errors in the IDE but will not download: Motor[1].HomeVel = -Motor[1].HomeVel; Is there something wrong with this syntactically? The error message is (unhelpfully) "Error : ( error #31) invalid parameter number in equation". The following similar lines work (the last one being how I get around the error): Motor[1].HomeVel = -100; Motor[1].HomeVel = -GlobalVar; Motor[1].HomeVel = -(Motor[1].HomeVel);
Last reply by Sina.Sattari, -
- 1 follower
- 1 reply
- 4.1k views
A quick question concerning something new I was taught off topic from another post. I like the concept of initialising global variables in my pmh file: global ThisIsOK = 100; global ThisIsImpossible(6) = (2,4,6,8,10,12); global ThisWorks(6); ThisWorks(0)=5; The first line is good. I cannot guess the syntax to make the second line work (does it exist? could it be included next release?) The last two lines will do the kind of thing I want but give me red squiggly line language service errors.
Last reply by Sina.Sattari, -
- 1 follower
- 3 replies
- 7.3k views
In UMAC I looked at bit 0 in the coordinate system status word to get the Program Running flag: coordSysStatus->X:$002040,0,16 programRunning->X:$002040,0,1 This address doesn't translate in the TP2PP program. 1: I found the Coord[1].ProgRunning parameter in the manual. Is this the new thing to look at and is it exactly the same? 2: Or should it be Coord[1].ProgActive? (Turbo talks of executing, not running/active) 3: Or should it be bit 16 in Coord[1].Status[0] labelled as TimerEnabled? 4: If it is one of the first two then how do I get that in a C program? They are not part of the pshm->Coord[] structure... Why? Thanks Dave
Last reply by daves, -
- 3 replies
- 7.9k views
How do I use the 'Libraries' folder under 'C Language'? I have chosen 'Add->Existing Item...' and the closest choice to a "C" library I guessed was 'Background C Source'. I removed the includes and main function as I guessed they were unnecessary background app stuff. I added one of my desired library functions. Building fails with: C:\ABD\PowerPMAC\SPMM\Centre\Centre\Centre.ppproj(146,5): Error : /usr/local/bin/../lib/gcc/powerpc-405-linux-gnu/4.2.2/../../../../powerpc-405-linux-gnu/bin/ld: cannot open output file ../../../Bin/Debug/: No such file or directory C:\ABD\PowerPMAC\SPMM\Centre\Centre\Centre.ppproj(146,5): Error : collect2: ld returned 1 exit sta…
Last reply by KEJR, -
- 1 follower
- 3 replies
- 7.6k views
Quick question: I'm trying to get an HMI program talking to the Power PMAC. I'm assuming that I need an equivalent to PcommServer (I have seen bits and pieces about a Power PMAC server somewhere on the forums). Where can I get a copy of Power PMAC server (and any documentation that comes with it)? Is it available on the FTP somewhere? -Steven
Last reply by Omron Forums Support, -
- 2 replies
- 5.1k views
We have an ACC24E2S card and connect a general purpose draw-wire encoder to give us some position readings. In Turbo PMAC the card was set up as follows: Base Address: Y:$079200 [ON-ON-OFF-ON-ON-ON] I7410=7 Encoder9->X:$079201,0,24,s This gave us simple access to x4 quadrature decode of the first channel on the card. I'm trying to get the same access to the counts on PowerPMAC. I have done the following: Base Address: $608000 [ON-ON-OFF-ON-ON-ON] Gate1[8].Chan[0].EncCtrl = 7; ptr Encoder9->i.io:$608004.0.32; I have tried various combinations of bits to look at at that address but the only value I seem to get is some sort of strange velocity or …
Last reply by daves, -
- 4 replies
- 15.3k views
while trying to install the new IDE I received a meesage from my Vipre anti-virus software that said "A known bad file was blocked from opening" "program: projea.rra" The installer reports "The following error occurred on the file 'C:\Program Files\Delta Tau Data Systems Inc\2.0\Power PMAC Suite\projpp.sfx.exe'." "Access is denied." I disabled my Vipre sw and started the installation again. During the install I recied a message that said "Cannot find one or more components. Please reinstall the application" After clicking on ok the install continued and finished. When I tried to start the IDE I received th same message again and the app shuts down. When try…
-
- 1 follower
- 7 replies
- 20.2k views
I cannot run Power PMAC IDE on Windows 7 64-Bit. My computer OS is windows 7 64-Bit.(Home Professional) I did install .Net Framework 4.0. X Cannot find one or more components. Please reinstall the application. <-- (POP-UP) I cannot reinstall or uninstall Power PMAC IDE because pop-up. How can I do this problem? Is this windows 7 problem? or Power PMAC IDE problem?
Last reply by JohnR, -
- 2 replies
- 5.8k views
what is it about the adaptive algorithm of the powerpmac ?is it LMS or LS?
Last reply by xiaomupeng2009, -
- 0 replies
- 3.3k views
Hello, I am having a difficult problem because we have a power PMAC system using Macro that does not appear to reset amp faults correctly. I have worked with a support engineer at our distributor and he is saying that the command works well with the *Turbo* PMAC for resetting errors on the copley amps over MACRO. The setup is a Macro master in the PowerPMAC rack that is hooked up to a Copley Controls Accelnet amplifier and a Sanyo Denki motor. The encoder is a single turn absolute, with a battery backed turns counter. At startup the amp issues a fault for the encoder battery that needs to be cleared when you are using the motor in a non battery application. In oth…
Last reply by KEJR, -
- 2 replies
- 6.1k views
Is there a way that I can delete files/folders that I am not using in the IDE? For example, in one project all of my code is under the 'C Language\Realtime Routines' folder. Is there a way to delete the 'Background Programs' and 'CPLCs' folders for clarity? I realize that the PPmac expects a well defined folder structure, but is there a way to hide these unused folders in the IDE?
Last reply by KEJR, -
- 1 follower
- 1 reply
- 4.3k views
The S{data} command causes Power PMAC to load the value in {data} into the local variable D53 for the coordinate system executing the program. If I want to use D53 in a PLC,how can I use it or where I can find it's value?
Last reply by Sina.Sattari, -
- 1 follower
- 1 reply
- 4.2k views
I have run across what appears to be a firmware bug involving coordinate system definition. I was able to recover by resetting the PPMAC, but it is somewhat worrisome that (seemingly innocuous) actions can result in failure. I am using 3 motors, #'s 4, 5, and 6. I set up 2 coordinate systems, 1 and 2. I put motor 4 into CS 1: &1#4->{scale factor}yy And then 5 and 6 into CS2: &2#5->{sf}xx &2#6->{sf}zz Then I tried moving the motors with axis commands: cx yy {value} cx xx {value} cx zz {value} moving the yy and xx axes worked fine, but when I tried moving zz, gpascii crashed with a segfault. Experimenting, trying to find something that worked, …
Last reply by Sina.Sattari, -
- 1 follower
- 4 replies
- 9.5k views
I have three ACC-72E cards with me. One of them is supposed to be a Profibus card, while the other two are CAN cards. However, they all look the same. How to tell one from the other?
Last reply by Sina.Sattari, -
- 1 follower
- 1 reply
- 4.3k views
How can I prevent C background programs from being executed after a build & download (or, for that matter, a reset or power up)? I know that running the background programs may be controlled by the run entry in the [LINUX_PROGRAMS] section of the pp_proj.ini file, but the IDE insists on constructing a new pp_proj.ini file each time it downloads, and it always sets the background programs to run. This newly constructed .ini file overwrites any modified file I may have on the PPMAC. I have been unable to find a way to tell the IDE to do otherwise.
Last reply by Sina.Sattari, -
- 10 replies
- 27.1k views
Can someone explain the meaning of this error, please ? It appears in the terminal window during initial connection. Building the project appears to work (is it the same sort of sync that occurs during build?) but some operations such as the motor setup report errors such as 'ppmaccommon.CreateMotorInterface does not exist' I am having numerous frustrating problems of this sort in attempting to set up the latest IDE version. For instance, I cannot save the project settings that include the window layout. It seems only the user who installed the IDE can do that - all others get a blank screen on startup and any changes are not saved. Addins did not appear …
Last reply by cmoncsko, -
- 1 follower
- 1 reply
- 4.7k views
Would there be any problems using the Power Pmac X coupled gantry servo algorithm with a single encoder and hall sensor for both motors, assuming the gantry is sufficiently stiff? The single encoder is used for commutation and position/velocity feedback on both motors and the hall sensor to establish phasing upon power up. Both motors are the same size linear motor. In theory it seems possible, but I want to make sure that I'm not missing something here. Thoughts... Thanks, Kevin
Last reply by Sina.Sattari, -
- 3 replies
- 6.9k views
I am attempting to use buffer lookahead but need to change the CS to add or remove motors from it. I am following the example in the "Power PMAC Move Mode Trajectories 2011-01.pdf" manual on Page 65 which shows the following: dwell 10 // Stop lookahead execution cmd "&1 delete lookahead" // Delete buffer cmd "&1 #4->100C" // Assign new motor to C. S. 1 cmd "&1 define lookahead 10000" // Redefine buffer dwell 10 I've enhanced this to wait for the command to complete and check the return status: open subprog disableLookahead if (LOOKAHEAD_BUFFERSIZE != 0) { Coord[PARTPROG_CS].LHDistance = 0; dwell 10; Ldata.CmdStatus=1; …
Last reply by bradp, -
- 3 replies
- 7.9k views
I would appreciate some help with a crash I'm seeing inside a gpascii terminal. I first saw the crash when running GetResponse inside a background C application, but I've reproduced it here just using a terminal window. I was actually testing what happens when buffer lookahead is set up to use 4 motors in a CS when there is actually only 3 defined in the CS. I was expecting an error, and I get this error, however I wasn't expecting a crash. Referring to the attached screen shot. I have a subprog which I use to reset the environment. I call this from the terminal with: cx ldata.coord=1; call ResetPartProgEnviron; In the adjacent unsolicited output window ar…
Last reply by bradp, -
- 2 followers
- 1 reply
- 5.1k views
Are there any examples for setting up the ACC-24E2S within the PPMAC system. I know that the IDE does not handle them so any configuration will have to be done through M vars ( I presume ). Is there a recomended Mvar list available ? Do I need to try to translate the Turbo address space to the PPMAC address space for these boards ? When will ACC-24E2S IDE support be available ? Thanks John
Last reply by Sina.Sattari, -
- 0 replies
- 3.3k views
According to (http://netcat.sourceforge.net/) Netcat is a featured networking utility which reads and writes data across network connections, using the TCP/IP protocol. It is designed to be a reliable "back-end" tool that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and exploration tool, since it can create almost any kind of connection you would need and has several interesting built-in capabilities. Since NetCat is included in the Ppmac feature set it can be used for Ppmac to Ppmac or in more general terms Ppmac to “Other Computer” communications as long as the “Other Computer” can also…
Last reply by bradp, -
- 1 follower
- 9 replies
- 19k views
Hello, This is probably a fundamental question, but I can't seem to find help on it anywhere. I've now got my motors in units of inches and I can Homez and then watch the position watch window and it matches the real world in those units. When I read the Motor[].ActPos register it appears to display the position since reset. Is there a way to zero this after I do my homing routine? I basically want to use this to read position in inches, or another similar method. I'm not doing any of the canned home routines, but a custom homing prog based on torque limit and hardstop. Obviously there is a way to do it since the position watch window is displaying positio…
-
- 1 follower
- 0 replies
- 3.6k views
I need to transfer large set of data ( ~1KB ) to the PPMAC for trajectory following. In the past, using PMAC, I used ping pong buffers in DPRam. My questions are: 1) What are my option to transfer data to PPMAC from a host PC ? 2) is GPASCII the ony means to transfer this data ? 3) What kind of transfer rate can I expect using ASCII vs binary transfer. Thanks John
Last reply by JohnR,