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
-
- 4 replies
- 9.5k views
I tried to use a synchronous assignment in a PLC program, but I couldn't get it to work. Here's what I tried: open plc 2 Ldata.Coord = 2; P4 = 0; //P4 == 1; yy (-0.2); while (!(Coord[2].DesVelZero && P4)){} disable plc 2 close What happens when I try to run this (with the sync assignment not commented out) is ... nothing, no errors, no motion. According to the Task Manager, the PLC runs for a hundred usec or so and then stops, but nothing happens. In fact, after running this, I can never again move any axis in CS 2 (with an axis move command, motor jog commands still work) until I reset ($$$) the PPMAC. (Axis move commands in other CSs do still work).…
Last reply by wfsteele, -
- 3 replies
- 8.4k views
We make use of the macros in the Turbo PMAC: @ON, @OFF, @SET_ON, @SET_OFF, @START_TIMER, @TIMER_RUNNING and so on. Is this functionality available in the PowerPMAC script language either directly, or as a VS add-on?
Last reply by MClement, -
- 0 replies
- 2.7k views
A bit of info in case anyone is going to install Delphi XE2 after installing PPMAC IDE. The Delphi XE2 install puts its own bin folder at the start of the PATH environment variable. The latest version includes a MAKE.EXE which then gets used by the PPMAC IDE and fails to build c programs (with not a very useful error message) I have put "C:\Program Files (x86)\Delta Tau Data Systems Inc\2.0\Power PMAC Suite\powerpc-460-linux-gnu\bin" back to the front of my PATH and this fixes PPMAC. I am concerned this fix will now break DXE2 cross-platform stuff but have not investigated... Could the IDE not be tied to its version of make.exe in a better way than being on th…
Last reply by daves, -
- 1 follower
- 3 replies
- 6k views
What options are available if one power PMAC doesn't have sufficient processing resources? Can we put 2 or more Power PMACs in one chassis? Can we plug in a PC 104 or similar board into the system?
Last reply by curtwilson, -
- 1 follower
- 1 reply
- 4.2k views
Hello, The hardware manual (for "Power PMAC UMAC CPU BOARD" -- is that the right one?) lists 2 USB ports on the board. Can these USB ports be used for device control?
Last reply by Sina.Sattari, -
- 2 replies
- 6.7k views
Hey guys, I need to declare a global structure so that it is accessible to background CPLCs and User Written phase code (just like how the Motor struct works), but I am not sure how to go about initializing the struct on powerup. I can define the struct type in usrcode.h, but where can I initialize a global struct? Example: In usrcode.h typedef struct MyStruct { int A; ... }; In some other piece of code: struct MyStruct *mine; In usrcode.c ... struct MyStruct *m = (*MyStruct)somepointer->mine m.A = 100; ... Any ideas? -Steven
Last reply by shansen, -
- 3 replies
- 8.6k views
Hello, I need to be able to read P variables from a "Background C application" with guaranteed Atomicity in the event that a higher priority thread (like a motion program) preempts me and writes to the same P variable halfway through the read. The C application is listed as a 32 bit Elf executable so it will read the 64 bit words as two 32 bit words and herein lies the problem. Right now I'm using the shared memory pointer (pshm->) to access the P variables from my C application. Any thoughts? KEJR
Last reply by KEJR, -
- 2 replies
- 6.7k views
Hello, I've asked our network admin to add our ppmac IPs to the DNS with human readable text names. This works for ping and ssh (PuTTY), but not from the PPMAC IDE. Am I doing something wrong, or is this really not possible yet? Thanks, ~Ken
Last reply by KEJR, -
- 8 replies
- 13.9k views
In Turbo we used to have PLCCs which had lines in like DISABLE PLCC 29 DISABLE PLCC 1..30 This could make a PLCC self-disabling or have control over other PLCCs. In PowerPMAC I have guessed the first line is now: Command((char *)"UserAlgo.BgCplc[29]=0"); which seems to work. Is this correct or is there a pshm-> entry for doing this properly? How do I do the second line? BTW: I tried: pshm->UserAlgo.BgCplcActive[2] = 0; pshm->UserAlgo.BgCplc[2] = enum_threadshutdown; The first line did not work. The second crashed the IDE on download "Object reference not set to an instance of an object" Dave
Last reply by KEJR, -
- 1 follower
- 1 reply
- 4.1k views
I am using ACC24E2A with PPmac CPU,and I have setting the parametres of clock as this: Gate1[4].PwmPeriod = 1636 Gate1[4].PhaseClockDiv = 2 Gate1[4].ServoClockDiv = 0 According to old manual, I should set Sys.ServoPeriod = 0.0832875569661. But According to new manual,I should set Sys.ServoPeriod =0.1665751139322( 0.0832875569661 X 2). Which is right? If I set ServoPeriod as the old manual,when I control the motor to jog,the real motor's actual speed was right,but Motor[].ActVel give twice value. If I set ServoPeriod as the new manual,when I control the motor to jog,the real motor's actual speed was as twice as the Motor[].JogSpeed commanded. The feedrate w…
Last reply by Sina.Sattari, -
- 4 replies
- 7.5k views
I plan to use Gather in rotary fashion (Gather.Enable = 3) and read out from the Gather buffer in a background program. Since this will be a "best effort" approach it is possible that if the background program doesn't get enough cycles it might miss reading samples from the buffer. Is there any indication back from the Gather hardware that an overflow has occurred ? Although there is not much you can do about it, it would be useful to be able to indicate that a loss in data has occurred. Thanks Graham
Last reply by gshort, -
- 1 follower
- 2 replies
- 5.2k views
I was wondering if there is any bug-tracking database for the Power PMAC firmware and OS. For the project on which I am working, we have to closely track 3rd party software/firmware for version identification, known issues, and control. For control of the software, the issue is quite easy using the backup utilities for the Power PMAC but, for issue tracking, the solution is not so clear. I also seem to have a problem when running a full backup of the Power PMAC. It reports "Unable to save version info. This may be a problem when restoring this configuration. Do you still want to backup configuration?" This can be a major problem later on when we want to ensure …
-
- 9 replies
- 19.2k views
Hello Everyone, There is a function in the machine,called 'run empty', I can use encode table to achieve it in Turbo,usually set command position of one axis in encode table,and set Ix05 of the axis equal to encode table ,and then open Ix06. Who know how to set that in PowerPmac? I mean how to set command position of one axis into encode table. Thanks
Last reply by dzrong, -
- 1 follower
- 7 replies
- 59.3k views
This is a sample C application which shows how use a few of the basic PPmac API functions. For a more complete example look into the two sample projects installed with the PPmac IDE. //-------------------------------------------------------------------------------- #include #include // Global Rt/Gp Shared memory pointers //------------------------------------------------------------- // The following is a projpp created file from the User defines //------------------------------------------------------------- #include "../../Include/pp_proj.h" #define CHAR_BUF_SIZE 0x10000 int main(void) { double dMtr1Kp, dSysDdata1, dPartNum, dGateIOData, PPm…
Last reply by Sina.Sattari, -
- 2 replies
- 8k views
The ACC5EP3 is being tested by a few people who might need to know the manual setup procedure for the second ECAT port. The file to change is /opt/etherlab/etc/sysconfig/ethercat To be able to do it, we have to make the partition /opt writable then modifiy this ethercat file and then make the partition /opt write protected again. 1. Connect to PPMAC using a Telnet, SSH, or Serial connection. 2. Make the partition writeable. Be carefule here because if you do not know what you are doing you can corrupt the PPmac files. Enter the command> mount -o remount,rw /opt 3. modify the file /opt/etherlab/etc/sysconfig/ethercat At this point there are t…
Last reply by hbausley, -
- 1 reply
- 5.2k views
In the Move Mode Trajectories manual I read the following: Cutter radius compensation is valid only in linear and circle move modes. The moves must be specified by F (feedrate), not tm (move time). Does this mean the Power Pmac will not support cutter comp in G93 mode? Jeff
Last reply by curtwilson, -
- 1 reply
- 4.7k views
In Power PMAC,Is there a command as the same function as prelude1 in Turbo? Because I want to using it to achieve a function called BLOCK SKIP in CNC. Any other good idea to achieve BLOCK SKIP? Thanks
Last reply by curtwilson, -
- 1 follower
- 2 replies
- 6.8k views
I am looking for the documentation for PPComm
Last reply by MClement, -
- 0 replies
- 3.3k views
I happened to notice the on Global Status page (which I do not have visible all the time) I was getting a ConfigLoadErr. I didn't know when this started or what it meant. The help says this means there is an error loading the user-saved configuration. I don't know exactly what this means. The procedure for finding the exact cause I used was starting from a blank project, build, download, save, quit IDE, cycle power, start IDE, check ConfigLoadErr. Then add in the files from the 'bad' project one by one until the error occurs. Doing this I found my pp_startup.txt was the start of the problem. Then the procedure is remove all lines, add each line back in, reboot as…
Last reply by daves, -
- 3 replies
- 9.8k views
Hi DT Support, I have an application where I want to synchronize a motor to an external hardware pulse train generated by a timing board. The goal is to control the speed and position of the motor very precisely using this external pulse train. The speed will be constant and needs to be very stable (we want to be able to measure instantaneous position error if we can as well). Once the motor is started it will run at the desired constant speed for long periods of time. We can easily program the pulse train so that we can have one pulse per encoder count so that the number of pulses per revolution matches the number of encoder counts per revolution of the motor. It appe…
Last reply by bradp, -
- 1 follower
- 1 reply
- 5.4k views
I want to use a high resolution sincos encoder with 1.6e6=2^21 lines and interpolation to 16,384=2^14 per line. That requires a dynamic range of 35 bits. 1. Does power PMAC have enough dynamic range in its servo calculations to support this? 2. What is the maximum input frequency for an ACC-24 or ACC-51 sincos input? 3. Is the maximum input frequency the same for a TTL quadrature encoder?
Last reply by Sina.Sattari, -
- 1 reply
- 4k views
I would like to have my own configuration file for a background program. In my case this would be an ASCII file that the background program would read at start-up that I could affect it's behaviour. Is it possible to add such a file to a Power PMAC project ? I've so far failed to find a way.
Last reply by bradp, -
- 1 follower
- 2 replies
- 6.6k views
Our cumtomer use Changing feedback on the fly by UMAC But they want to use PowerPMAC (Changing feedback on the fly feature) so, I read PDF file(Changing feedback on the fly document) but I don't know part of the PDF file (Power PMAC's addresses) PLease make to example file(*.pmc) on Power PMAC. (both case ACC24E2, ACC24E3).
Last reply by bradp, -
- 7 replies
- 13.6k views
I'm trying to start writing my own user-written phase code. However, for some reason I can't download the default (blank) 'usrcode.c' and 'usrcode.h' files. How to reproduce the issue: 1) Create a new PPmac solution 2) Right click on the project header in the solution explorer and click 'build and download all programs' (for some reason, this must be done before downloading Realtime routines, otherwise error occurs). 3) Wait until build/download process has completed successfully 4) Right click on 'Realtime Routines' folder and select 'Build and Download Realtime Routines' 5) Here is the error message I get: Please wait while uploading Libraries from Power P…
Last reply by Omron Forums Support, -
- 1 follower
- 1 reply
- 4k views
I am grateful you have implemented #define #ifdef #else #endif Firstly I would also like to see #if #elif defined to complete the conditional preprocessing to a C level. In particular I find I want to do things like: #if defined BUFSIZE && BUFSIZE >= 1024 #endif #if RIGNUMBER == 15 || RIGNUMBER == 14 #endif Secondly I would like the conditional directives to work inside the pmh files, for example: #define RIGHALF //#define RIGFULL #ifdef RIGHALF global gFourWheelsTrue = 0; #endif #ifdef RIGFULL global gFourWheelsTrue = 1; #endif This (only) warns of redefinition, i.e both lines are included after preprocessing.
Last reply by Sina.Sattari,