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
- 8.8k views
When you want to start a CPLC from the IDE terminal you enter UserAlgo.RtiCplc = 1 and when you want to stop the execution you enter UserAlgo.RtiCplc = 0. The same is true for background by using the structure UserAlgo.BgCplc[n] where n is the plc number. If you want a script PLC to enable or disable a CPLC then you can directly use these structures in the script PLC as you use them in the terminal. If you want a CApp to enable or disable a CPLC then you must send these structures using the API GetResponse(), Command(), or SetPmacVar() so that it passes through the interpreter/parser. For example: Command("UserAlgo.RtiCplc=1"); In a CApp you are not allowed…
Last reply by bradp, -
- 1 follower
- 2 replies
- 10k views
To upgrade Power PMAC's firmware, you need to the file: - powerpmac.deb This file is usually accompanied with the latest version of the IDE which is accessible through Delta Tau's FTP website ([url=ftp://support.deltatau.com/DT-USA/Power%20PMAC%20Suite/Power%20PMAC%20Suite%20(IDE)/]Click Here[/url]) Once you have downloaded this file to your local drive (with write/read access) select the [b]Download Firmware[/b] from Configure under Delta Tau's menu in Power PMAC IDE. [attachment=1271:name] Click on Download Firmware button and follow the on-screen instructions to update the firmware. //----------------------------------------------------------- If for…
Last reply by Sina.Sattari, -
- 0 replies
- 3.8k views
Hello, I just received an ELO touch monitor that I will be using on a machine. I haven't even gotten to the touchscreen driver yet, but the monitor is not displaying the gnome login correctly - it appears to be the wrong video mode or timing. The PowerPMAC works when I hook it up to another monitor, and the Elo monitor works attached to my desktop PC running windows. AM I going to have to edit Xorg.conf file, or should I try to configure something else? Any ideas to try? Here is my log file output: ************* /var/log/Xorg.0.log ************ X.Org X Server 1.4.2 Release Date: 11 June 2008 X Protocol Version 11, Revision 0 Build Operating Syste…
Last reply by KEJR, -
- 3 replies
- 8.7k views
Here are two documents describing how to use ACC-59E and ACC-36E with Power PMAC. Since the two products are so similar, it is assumed that the reader will first read the ACC-59E document before reading the ACC-36E document, as there is much overlap. Please post any questions that remain if these documents are not sufficient. I will answer the questions and update the documents thereafter.
Last reply by Omron Forums Support, -
- 2 replies
- 6.3k views
Is there a quick easy way to verify that the Solution/Project that is open in the IDE matches the Solution/Project downloaded and running in the PPMAC? If there's no quick easy way, what's the best way. Checking the time/date stamp of every file seems a bit tedious. Is there one key file that could be compared?
Last reply by Studebaker, -
- 0 replies
- 3.9k views
If you are working with data from IO memory then use this method. void user_plcc() { int motorNumber; int status; unsigned offset; unsigned* pStatus; pshm->P[3]++; // debug counter motorNumber = (int) pshm->P[1]; offset = (unsigned) piom + (unsigned)pshm->Motor[motorNumber].pEncStatus - (unsigned)pshm->pRtiom; // calculate offset in user space since pEncStatus holds offset in RT space pStatus = offset; status = *pStatus; pshm->P[5] = (double) offset; // debug pshm->P[2] = (double) status; pshm->P[4]++; // debug counter pshm->UserAlgo.BgCplc[0] = 0; // only run once } If you want to do something equivalent to adding ".a" to a structure n…
Last reply by bradp, -
- 1 reply
- 4.4k views
I’m not sure if my amplifier fault is set up correctly in the PPMAC. Initially the Amp Fault pointer was set to 0. Now I’ve set it to what I believe is the default (see below): [attachment=1390:name] Initially the “AmpFaultBit” was set to the default value of 23. With that setting the “AmpFault” was always on. So I monitored the “Acc24E2A[4].Chan[0].Status” value. This is what I noticed: [attachment=1391:name] Bit 23 was always on. So I guessed that bit 15 was the bit I should be using. It’s the only bit that changes state when not faulted or faulted. So now the “AmpFault” bit’s never coming on: [attachment=1392:name] I clearly missing somethin…
Last reply by bradp, -
- 3 replies
- 6.7k views
I've been gathering and plotting data using the Quick Plot function. No matter what setting I use for sample period (between 1-10 [0.4-4.4 msec]), the time plotted on the X-axis is 2x the real elapsed time. I will set the system to gather 40 seconds of data, then monitor the time elapsed from hitting the "gather data" until the "upload data" button is available. The actual elapsed time is 20 seconds, but when I plot it 40 seconds of "data" is displayed. I'm commanding a 100 Hz tone, but it appears to be 50 Hz on the plot display. Any idea if this is a system clock issue or any advice on where to look for a problem? I'm running the July 15th 2010 IDE. Thanks, Sc…
Last reply by bradp, -
- 1 reply
- 5.1k views
Hello, We have purchased a video option PPMAC. I plugged in a monitor/keyboard/mouse yesterday and got to the graphical login screen just fine. When I logged in with a gnome session, however, it had failed since the /home folder is not writeable. This happened for both the "root" user as well as the "deltatau" user accounts. Doesn't it make sense to have the /home folders of each user be a separate partition? You could then leave it to the customer to mount it as read-only or read-write. As far as I can tell the /home folder is under the root partition as a part of /dev/sda2. I dont' feel comfortable mounting the root filesystem as read-write just for the desktop e…
Last reply by hbausley, -
- 0 replies
- 3.2k views
How many ACC-24E2S could PPmac most support if using ACC-R3,we know ACC-R3 has 18 slot,except the one PPmac CPU using,there are 17 slot,and one ACC-24E2S will only take one,so can we use 17 ACC-24E2S in rack with PPmac? So there will be 68 axis in a rack? Thanks
Last reply by dzrong, -
- 1 reply
- 7.5k views
Hello, First off, I changed my PPMAC to 192.168.169.200 address using the IDE. This seemed to work and "/etc/network/interfaces" looks OK. I had been experiencing the telnet "delay" problem yesterday and have added my Windows PC's IP address to /etc/hosts file (which worked). It would seem from my internet search on this issue that the problem is with DNS doing a reverse lookup of the IP address and timing out. The fix of adding my PC address to "/etc/hosts" is somewhat temporary, however, in that our PCs use DHCP to obtain their IP addresses and it could change any day. Today if I change my PCs address (using static IP) to any address *not* listed in "/etc/hos…
Last reply by hbausley, -
ACC-72E and profibus master
by Guest DavisG- 1 reply
- 5.8k views
If you have to set up a profibus master, the first thing to do is make sure that you have the appropriate .gsd, .gse, .gsf files for your device. Make sure they are in the correct Sycon directory - should be something like c:\Documents and Settings\All Users\Application Data\Hilscher\Sycon\Fieldbus\Profibus\gsd Then hook everything up and power up your network Start a new project in Sycon (Hilscher software) Insert a Master into the network, and click on that Master Save, then Online->Download Online->Automatic Network Scan Save Double click on the first slave device Manually remove all modules Manually insert ONLY the correct modules OK repeat for all slave …
Last reply by bradp, -
- 0 replies
- 3.2k views
When you use fopen in a Capp you must specify the entire path for the file. If you do not do this the the fopen will fail when you start the capp from the task manager or download because the default path is write protected. Will not work. fp = fopen("tmp.txt", "w"); if(fp == NULL) { return(0); } Will work. fp = fopen("/var/ftp/usrflash/Project/tmp.txt", "w"); if(fp == NULL) { return(0); }
Last reply by bradp, -
- 0 replies
- 3.5k views
Sometimes you need to calculate a number that should be used as the motor's position. To do this you can use the absolute position read feature of PPmac. Here is a quick example of the setup. //--- Motor Abs Position Setup --------------------- // Motor[x].AbsPosFormat consists of four byte fields. hexadecimal format $aabbccdd. // $dd specifies the number of the starting bit to be used. It can take a value from $00 to $1F (0 to 31). // $cc specifies the total number of bits to be used. a value of up to $20 (32) // $bb use data in subsequent registers. only used if the number of bits in $cc cannot be found in the first register. // $aa specifies how the Power PMA…
Last reply by bradp, -
- 1 reply
- 4.7k views
Is there an example C progrm that read from and write to the ACC-72E CANopen card? Thanks, HC
Last reply by bradp, -
- 0 replies
- 3.4k views
Firmware from 9/2/2010 has the new structure Sys.ClockSource which tells us which gate is making the master clock on PPmac. In the future this will be incorporated into the Task Manager, probably on the Tasks page as a permanent part of details window. It works as follows Sys.ClockSource retuns an integer which means the following: 63 to 48 -> Subtract 48 to get the Gate3 index of master 47 to 32 -> Subtract 32 to get the Gate2 index of master 19 to 4 -> Subtract 0 to get the Gate1 index of master returned value indicating problems: 0 -> No master -1 -> Multiple Masters found -4 to -19 -> ID chip setting and Gate1 clock source word do not agree. Number is…
Last reply by bradp, -
- 0 replies
- 3.9k views
The service pack for PowerPMAC IDE (July version) is released. 1 Power PMAC 32 Bit Service pack: ftp://support.deltatau.com/DT-USA/Power%20PMAC%20Suite/Power%20PMAC%20IDE%20(460%20CPU)/Release/July2010/English(1033)/ServicePack32Bit/ 2.Power PMAC 64 Bit Service pack: ftp://support.deltatau.com/DT-USA/Power%20PMAC%20Suite/Power%20PMAC%20IDE%20(460%20CPU)/Release/July2010/English(1033)/SericePack64Bit/ The prerequisite is JULY version of PowerPMAC-IDE Thanks, Atul
Last reply by Omron Forums Support, -
- 3 replies
- 6.9k views
After I installed the Power PMAC, my Help search of Visual Studio was changed to search under Power PMAC only. It does not search for other regular helps, such as C++. Any suggestion?
Last reply by bradp, -
- 1 follower
- 1 reply
- 5.6k views
Does Delta Tau offer the RS232 connector? Any one knows the Digikey part number for the matching socket connectors of the RS232 port of the CPU module? Would this one “C1AXG-1036M-ND” work?
Last reply by steve.milici, -
- 1 reply
- 5.1k views
I am trying to output a variable value from inside usrcode.c to the unsolicited messages window in the IDE. When using the "send" command as listed in the Program Command Specification manual, such as: send0,"Hello, World!"; I receive errors on compile, such as "send0 undeclared". Am I using the send command as intended, or is there a better way to evaluate variable values within the custom servo routine? Thanks, Scott
Last reply by bradp, -
- 2 replies
- 7.9k views
This is a sample setup for the Gate3 serial encoder interface. This was done with an EnDat 2.1 encoder // parts of Gate3[i].SerialEncCtrl #define ClockMDiv 0 // 31-24 100MHz = 100MHz/(SerialClockMDiv + 1) #define ClockNDiv 4 // 23-20 6.25MHz = 1MHz/(2^SerialClockNDiv) #define TrigClockSel 1 // 17 1=trigger on servo #define TrigEdgeSel 0 // 16 1=use falling edge to have more time since only used for power-on read #define TrigDelay 0 // 15-8 no delay #define Protocol 3 // 7-0 endat protocol // Gate3[i].SerialEncCtrl // establishes the protocol, clock frequency, and triggering Gate3[0].SerialEncCtrl =…
-
fixing probs w/ACC-24E2x > 2
by Guest DavisG- 1 reply
- 4.5k views
If using more than 2 ACC-24E2x cards in a single UMAC rack and having problems getting to the last card (power LED is never lit) Need to readdress cards using Switch 1-2 to increment. So: 1st card - all sw1 on 2nd card - sw1-2 only off 3d card - sw1-1 only off 4th card sw1-1 and sw1-2 off etc power up, $$$***, save, $$$ After comes up should have power LEDs on all acc24E2x cards. Thanks to Brad for figuring this out.
Last reply by bradp, -
downloading files
by Guest DavisG- 1 reply
- 4.4k views
Ok - stupid question - how can I download just the contents of one file? When trying the right click on the file from a new project in the solution explorer and pick download selected file (PLC) the IDE runs through and tries to download several files inder the Configuration, then programs under Motion Programs and Libraries, and generates errors and the file I WANT to download never gets done. Running IDE version date 7/22/2010, ver 1.1.0.26
Last reply by bradp, -
- 1 reply
- 4.7k views
Is there anyway to configure the IDE so it knows a particular axis wraps? We're using the Power PMAC to drive an antenna. On the azimuth axis, we have a 16 bit synchro-to-digital converter that represents 0-360 degrees. As our motion control program continuously rotates the antenna clockwise, the IDE displays a constantly increasing azimuth. This is inconvenient, but if we try to move the antenna using an absolute 'jog' command, the Power PMAC "unwinds" the position. Rather than traveling the shortest distance to 0, the Power PMAC will move the antenna counter-clockwise, multiple rotations, until it reaches the desired position.
Last reply by bradp, -
- 1 follower
- 2 replies
- 5.7k views
We've written a CPLC as part of our motion control system that uses the GetMotorStatus() function call. However, that function call doesn't seem to exist anymore, as of the July 2010 IDE/firmware release. I was able to find rtpmaccapi.h which defines other motion and motor related functions, but I don't see any replacement for GetMotorStatus(). (I didn't see this change mentioned in any release notes, but perhaps I didn't look in the right place.) Also, is there any documentation for using the function calls in rtpmaccapi.h ?
Last reply by Sina.Sattari,