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,347 topics in this forum
-
- 1 reply
- 5.5k views
I am having issues in using my ACC-11E 24In/24Out card. I have mapped ptr vars to the bits by using the suggested m var definitions document, but I can't get an LED to turn on on my outputs (simple test to see if I'm addressing the board properly...). Here is how my card is configured: E1 (ON) E2-E4 (OFF) E5 (2-3) E6A-E6H (1-2) On a turbo system this would start at: Y:$078C00 I believe. For lack of any other documentation (That I am aware of) I assigned the suggested mvar definitions for IO card 0, such as: "ptr IoCard0Pt00->u.io:$A00000.8.1; // I/O Card 0 I/O00" Now using the terminal I'm trying to write 1 to the different addresses and nothing see…
Last reply by KEJR, -
- 1 follower
- 2 replies
- 5.9k views
Who know how to set up PPmac's External Time-Base Signal for electronic Cams for detail? Since I know only the parameter of Coord[x].pDesTimeBase. Marry Christmas
Last reply by Sina.Sattari, -
- 2 replies
- 5.8k views
I know this is probably a silly question, but I've hunted high and low and can't find an answer. How do I automatically have the Ppmac run a script PLC at startup? In the Turbo there was an i-variable to do this, so I assumed there would be something in the Sys data structure to set script PLC startup behavior. Ideally what I'd like is to automatically start one script PLC, and have that start all the other script PLCs I need for our process. I don't necessarily want to start all PLCs when the processor is reset or powered up. Thanks
Last reply by kmonroe023, -
- 3 replies
- 8.9k views
I've created an HMI application in VB 2008 that connects with a Power Pmac using the ComLib. I'm creating multible connection objects on multiple HMI computers and if I run the multiple apps at the same time, then some connections fail. But individually they work ok. Is there a limit to the number of connection objects that I can create? We also have multiple developers writing code in the IDE. Does that effect the number of ComLib connection objects? Thanks, Rick
Last reply by bradp, -
- 7 replies
- 14k views
I'm using VB 2008 to communicate with a Power Pmac. I declare an object to the PowerPmacComLib library, and open an asynchronous connection. I created a function for getting variable values, and a sub for setting variable values on the Power Pmac, which use the same connection. When using the SetVariable sub, it should return a null string when the GetResponse method succeeds. But about 1 out of 10 times(and it varies), I will get the results of a GetVariable function call which apparenty is being issued at the same time. So instead of a null string, I get a string of variable values seperated by a delimiter. The SetVariable/GetVariable calls are being made from…
Last reply by RickJames, -
- 1 follower
- 2 replies
- 6.3k views
I am trying to set up a Kollmorgen AKM11C motor with a PPMAC/ACC-24E3/U042. I can do it manually, but when I try to use Tools->MotorSetup I get the following error: 12/8/2010 :3:17 PM - 192.168.0.200, Module - Global Clock : Master Gate Not Found 12/8/2010 :3:17 PM - 192.168.0.200, Module - Global Clock : Can Not CalculateServoPeriod! No MasterGate All my PMAC components are new and I am running with the latest firmware (1.2.1.5). Any help is appreciated. Thanks, Erik
Last reply by erikj, -
- 0 replies
- 3.2k views
Power PMAC uses a customized version of Debian Xenomai. Any software that runs on Debian should run on Power PMAC.
Last reply by StephenJ, -
- 1 reply
- 5.1k views
[b]Question:[/b] I am having trouble getting the PPMAC IDE to run. I am getting the following pop-up message when I start the IDE (see below). Any help you can give me is appreciated. I am using Win7 Pro running in a VMWare Virtual Machine on a Linux workstation. All my other Win7 apps run fine. Any help you can give me is appreciated. I am basically stuck until I can get this to work. [attachment=1415:name] [b]Solution:[/b] Unfortunately in Windows Vista and Windows 7 you must run the IDE as an administrator. If the customer didn't run the IDE as an administrator for the first time, they have to uninstall the IDE and reinstall it since there are special procedur…
Last reply by erikj, -
- 7 replies
- 15.4k views
Hi, I am unable to telnet into my PPMAC host -- I get a connection refused error. PPMAC board is set to default IP address of 192.168.0.200. I can reach it via ping, so I am confused as to what is wrong. Please see output below. I am running under linux from the command line. The IP addtress of the linux host is 192.168.0.100 and I have a direct connection using a crossover cable to the PPMAC board. The connection refused response comes back immediately, there is no delay. Any help you can give me is appreciated. Thanks, Erik [erikj@laplace erikj]$ ping -c 5 192.168.0.200 PING 192.168.0.200 (192.168.0.200) 56(84) bytes of data. 64 bytes from 192.168.0.200: i…
Last reply by erikj, -
- 0 replies
- 4.1k views
What happens with a blended move sequence of let's say move 1 and move 2? When move 1 blends to move 2 it will use the ta and ts of move two for the blending. When ta1 + ts1 = ta2 + ts2. Here is an example program and plot. open prog 6 home 1..2 p2=1 Gather.Enable=2 dwell1 inc linear frax (x,z) tm(0) ts(0) ta(15) ts(5) td(35) // when Coord[].SegMoveTime = 0 to blend into next move td + ts of this move must be >= ta + ts of following move // even though the ta + ts of the following move is used in the blending // Note when Coord[].SegMoveTime > 0 this constraint is relaxed z-2000 ta(30) ts(10) td(10) // to blend…
Last reply by bradp, -
- 1 reply
- 4.7k views
Is there a way to do a J+ or J- in a CPlc? All I found was the JogPosition() function which is the equivalent of J=.
Last reply by bradp, -
my routine realtimeinterrupt_plcc() only runs once when I set UserAlgo.Rticplc=1. Each time I set UserAlgo.Rticplc=1 it will run just once and stop. What do I need to do to have it run continually?
Last reply by bradp, -
- 10 replies
- 20.2k views
How do you access an M variable from a C PLC (user_plcc())?
Last reply by KEJR, -
- 1 follower
- 0 replies
- 3.8k views
If you have an ACC-24E3, you need to know what each mezzanine board is. The following PDF explains the Gate3[i].PartOptX associated with each mezzanine board and their numbering scheme. [attachment=1409:name]
Last reply by Sina.Sattari, -
- 1 reply
- 4.3k views
Hello, Do you guys have any issues with the compile time on the IDE? I have a Pentium 4 (D) 2.8GHz machine and it takes at least a minute to compile and download a very minimal C application. I know this is an older machine, but on linux a GCC session normally compiles in less than a dozen seconds. I don't know if this is my machine or if the IDE is that slow. My other applications seem to run at a decent speed. My IDE version is 7/22/2010 and the version is 1.1.0.26 Thanks, KEJR
Last reply by bradp, -
- 1 follower
- 1 reply
- 4.9k views
1. I have written a Windows program to communicate with the Power PMAC via Telnet. I can connect and I get the response "OK" after connecting, but there is no prompt to enter username or password. Do I have to do any "do, don't, will, won't" telnet handshaking? Or am I missing something else? 2. I used to use the PMAC.DLL to access the PMACGetResponseA function for my HMI. What is the equivalent and in which DLL for PowerPMAC? 3. Where is the communication library I see reference to on the forum?
Last reply by Sina.Sattari, -
- 1 follower
- 4 replies
- 9k views
I have found that having a script PLC disable itself fails when using symbolic names. Please help, I was looking forward to never giving PLCs numbers ever again! example code that works as a one shot deal: open plc 1 send 1 "Starting Init PLC ...1" disable plc 1 close The following code executes continuously (rather nasty without a delay in there...) open plc InitPLC send 1 "Starting Init PLC ...1" disable plc InitPLC close Am I doing anything wrong, or is this a bug? KEJR
Last reply by KEJR, -
- 0 replies
- 5.8k views
I haven't prettied up this code yet, but I thought I'd post it as it could be real useful for someone doing general purpose Xenomai programming that just needs to create a bunch of periodic threads. I found that there weren't alot of Xenomai example programs that were simple and used the POSIX skin. This code gives the following: - C routine for getting time in seconds (same result as in script languages) - "Sendf()" ... DT's "Send()" meets "Printf()" - CreateThread() routine that deals with the nasty POSIX calls for you Any feedback is welcome as I would like to improve my code if there are mistakes. To use this code copy it into your "Background Program…
Last reply by KEJR, -
- 1 follower
- 3 replies
- 7k views
I just upgraded with Firmware PPmac 1.2.1.5 and IDE 1.1.2.45 + SP2 (32bits) I simply create a new projet in the IDE with the template: "PowerPmac" When i build it, i got 73 error messages : "Error :Reside in x:\cygwin\bin, where 'x' is the drive on which you have" in file:PowerPmac1.ppproj line:106 column: 6 I don't success to fix it ? (Same errors with all my old projects)
Last reply by sbrun, -
- 2 replies
- 5.6k views
I've created a series of ptr statements in a global definitions.pmh file formatted as follows: ptr hmi_do_WH1UprGripRelease->u.user:$108.31.1; The Byte Offsets are sequential and compile up to the previous statement. But when I increment up to the next Byte Offset like: ptr hmi_do_WH1LwrGripRelease->u.user:$112.0.1; It generates a compile error. If I change the 112 to a 0, then it compiles to up to the next byte offset over 108. If I keep changing the over 108 numbers to lower numbers, the error contiues to move down the list. Is 108 the limit for the byte offset for unsigned user data? Rick
Last reply by bradp, -
- 1 follower
- 6 replies
- 10.6k views
I've declared a series of pointers to Sys.Idata and Sys.Fdata variables. I've declared the pointers to the data in a specific order, but the type order mixed matched. When I issure a GetResponse block read, and reference a pointer (example. GetResponse(PointerName,100) ) as the starting point, it seems to return the values in the order that the pointers were declared. Is that always the case? Or would I be better to organize the Sys.Idata and Sys.Fdata seperately and read them as 2 GetResponse commands.
Last reply by RickJames, -
- 1 reply
- 4.6k views
Hello, Here is new PPMAC DEMO with Acc24e3 using Dac output,I know I have to set Gate3[0].Chan[0].OutputMode=3 if I want to output Dac,but why this paremeter can't be set to any other number except the default value zero. Who can tell me how to set the paremeter if I want to use Acc24e3 to output Dac? Thanks,
Last reply by Omron Forums Support, -
- 1 follower
- 1 reply
- 4.4k views
About the tab 'Kernel update' in the IDE, some questions : - Button KERNEL: When click it is proposed to save the OS on the PC in uImagebackup10222010.bin But it doesn't success ant it says 'File{0} transfer error' Do i have to add jumpers on the CPU board ? - Could you explain how to use the Kernel update possibilities ? (button Kernel, Boot, Install package) and what files to use. Do i have to connect under linux for the install of the files : usr.tar.gz, partition2.tar.gz and use those commands : cd /var/ftp/usrflash mount -o remount,rw / tar xfz usr.tar.gz cp -a usr / mount -o remount,ro / is it correct ? PS: I work with: Kernel ver…
Last reply by bradp, -
- 1 reply
- 4.5k views
How do I setup the RTI rate? I want it to interrupt every 10ms.
Last reply by Omron Forums Support, -
- 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,