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
-
- 2 replies
- 6.7k views
After power up on the Power PMAC, sometimes I have to rephase the motor using $* before any motion can take place and sometimes phasing is performed correctly/automatically on power up. Would placing #1 $* in the Startup.txt file solve this issue? If not, what will?
Last reply by JeffLowe, -
IDE won't connect
by Guest DavisG- 3 replies
- 8.4k views
Ok - kind of a weird one. Symptom - IDE will not connect, asks you to check password, but you can connect with telnet from a command prompt Clue - takes > 10 seconds to ask for password after typing the telnet command in command prompt Cause - The IDE is timing out waiting on the return from the telnet request. Root issue in this case was that the ETH1 device was set up in the /opt/etc/network/interfaces file but nothing was plugged in Fix - From telnet: mount -o remount,rw /opt #makes /opt read write edit the /opt/etc/network/interfaces file with vi to comment out the unused network save and exit copy the edited file to the /.readonly/…
-
- 5 replies
- 10.4k views
Is anybody using source code management with the PPMAC Suite ? I've struggled to use the built-in link to Source Safe, and in any case would like to understand the requirements of the IDE (which files should be saved, etc.) as I plan to move to Subversion. -adrian
Last reply by artag, -
Web Server
by bradp- 1 reply
- 4.7k views
Which web server are you using? Apache, Boa, GoAhead, thttpd, or something else? What provision for access control is there? We would not necessarily want just any system on the local subnet to be able to access it.[hr] Currently our WebServer is very basic and we use Xsp2 to serve it as the Web Site is written in C# and uses mono. Currently it is wide open for any one to use. You can modify the linux security setting if you want to restrict usage,
Last reply by hongchinlin_992x, -
- 4 replies
- 8.9k views
How do I go about creating a C/C++ class within a CPLC/Capp, or in a separate class that I can call [i]from[/i] a CPLC/Capp? I don't see the option in the Power PMAC IDE to add a "class" file to the project. I've tried adding the most basic class to a CPLC: [i]class TestClass { };[/i] But it reports a syntax error, and will not compile. I'm not sure why it will not compile, as this is standard C++ syntax.
Last reply by michaelthompson, -
- 1 follower
- 1 reply
- 4.3k views
We have a machine that is running software using a UMAC chassis with a MACRO CPU that is controlled by a Turbo PMAC Ultralite. We would like to experiment with transitioning the application to utilize the PPMAC but would like to maintain all of the UMAC wiring etc., so that the machine could be run as normal by switching control back to the MACRO CPU. Is it possible to alternately command the PPMAC or MACRO CPU to "dummy up" and not talk to the UMAC hardware so that we would not have to pull CPU cards to do that (while progressively developing the PPMAC application)?
Last reply by Sina.Sattari, -
- 1 follower
- 4 replies
- 9.2k views
My PowerPmac system has 5 linear motors with overtravel limit switches connected to ACC-24E2 axis expansion cards. DeltaTau GPL direct PWM drives are being used to drive the motors. I've use MotorSetup in the IDE to configure the motors, drives, and axis expansion cards. The motors run fine, but hitting an EOT sensor will not disable the drives. The motor[x].pLimits all appear to point to the correct gate channel. If I monitor the EOT switches in the Motor status window, they change state correctly and the LimitStop flag will go high when one is hit. But if I jog a motor onto the limits, the drive will not disable. I need to kill it manually from the termin…
Last reply by curtwilson, -
- 0 replies
- 3.6k views
The PPmac C-API has several functions to get or set data. Each function has advatages in ease-of-use and robustness and the tardeoff is usually with regards to speed. This is a chart giving some simple timing specifications for the common C-API function calls. [attachment=1423:name] The test code used to generate this data is: [code] void user_plcc() { char szdata[100]; double dAnswer; int i, j; pshm->P[1] = pshm->ClockSF*u64btod(fclock()); // start time for(i = 0; i < 1000; i++){ //j = GetPmacVar("MyVar", &dAnswer); // 940 usec //j = SetPmacVar("MyVar", 2.0); // 850 usec //dAnswer = pshm->P[MyVar]; // 23 usec //pshm->P[…
Last reply by bradp, -
- 3 replies
- 7.1k views
Our Power PMAC boots up in the Pacific (Los Angeles) time zone. We tried changing /etc/timezone, but that had no effect. We also tried running /usr/bin/tzselect, but that gives the following errors: [color=#FF0000] /usr/bin/tzselect: line 53: /usr/share/zoneinfo/iso3166.tab: No such file or directory /usr/bin/tzselect: time zone files are not set up correctly [/color] What method should we use in order to set the timezone?
Last reply by michaelthompson, -
- 1 follower
- 1 reply
- 5k views
Is there a unique serial number on the power PMAC and if so, which command do you use to access it?
Last reply by Sina.Sattari, -
- 0 replies
- 3.5k views
On a couple of systems we have found that the PPmac help files do not show up in the IDE. What we have have is that during the installation process one step is somehow failing. Until we find out why here is a manual fix. Go to the Help directory of the installation directory of the IDE. In a standard installation this would be: C:\Program Files\Delta Tau Data Systems Inc\2.0\Power PMAC Suite\PowerPMACHelp Make a copy of the file RegisterPowerPMACHelp2.bat and name it something easy like aaa.bat. Open this file in an editor and replace all occurances of VSIPC with VSCC. Repeat the procedure on the file UnRegisterPowerPMACHelp2.bat. Now run the file aaa.b…
Last reply by bradp, -
- 15 replies
- 32.1k views
We plan to write data capture files to an SD card.... and then shift them to the PC via samba or ftp. Do you have any recommendations as to which is better? Does samba work on a default installation or do we have to enable it?[hr] Samba is not used anymore and has been replaced by cifs which is in the installtion. Since cifs replaced samba all the samba still work. To use cifs all you have to do is mount the network drive. For example root@10.34.9.236:/opt/ppmac# mount -t cifs -o username=nick,password=foobar //cpu-nickw/shared /media/shared OR root@10.34.9.236:/opt/ppmac# mount -t smbfs -o username=nick,password=foobar //cpu-nickw/shared /media/shared T…
Last reply by michaelthompson, -
- 7 replies
- 11.9k views
I am trying to develop an HMI using VB.Net and have written a webservice that resides on the PPmac to call methods from the C library "libppmac.so" from a remote web application. What appears to be happening is that when I call a method (from a web app or directly from the service) the amount of memory used by the service increases. After a while the C library cannot initialize. Here is how I have written the calls: P/Invoke statements to call the C function from the library: Friend Declare Function _InitLibrary Lib "libppmac" Alias "InitLibrary" () As Integer Friend Declare Sub _CloseLibrary Lib "libppmac" Alias "CloseLibrary" () Friend Declare Ansi Function…
Last reply by KEJR, -
- 4 replies
- 9.8k views
I am trying to open a connection to the PowerPmacServer on the Delta Tau demo rack from a VB application. Here is the connection code: [i]bIsConnected = objPPMac.GPAsciiConnect("192.168.0.222", 8086, "root", "deltatau")[/i] All the parameters are correct. They work when I connect using Telnet with a port number of 23. I've also tried the sample C# Visual studio projects with the same results. Telnet opens, PowerPmacServer doesn't. How do I tell if the server is actually running on the PowerPmac? And is there some other code that I'm missing? It lookes pretty simple in the sample projects. Thanks for the help.
Last reply by RickJames, -
- 7 replies
- 11.7k views
Hello, Is there a way to define constants in the global definitions.pmh file? I want to refer to many things by name such as motor numbers, Coordinate systems, and motion/PLC Programs. I want access to these in script programs as well as C programs. I might be able to get by in my C programs by referring to the motion and PLC programs as strings and using the command interpreter. I'll need constants on the motors and C.S.'s though since I'll be accessing them through the data structures, function parameter passing, etc. Thanks, KEJR
Last reply by KEJR, -
- 1 follower
- 2 replies
- 7.5k views
How can we change coordinate system definition on-the-fly? It seems that commands like: &1#1->0 &2#1->2000X are not permitted from a PLC. We can of course change the scale factor with Motor[n].CoordSF but what about removing a motor from a coordinate system to put it on another coordinate system and how to change his name? It seems that we cannot write into Motor[n].Coord It seems that commands like: &1#1->0 &2#1->2000X are not permitted from a PLC. Thanks.
Last reply by bradp, -
- 5 replies
- 10.3k views
Hi Delta Tau Support, Most of our applications send individual commands to gpascii over an SSH connection. How can I notify the sender that a motor move is complete? I do not want to implement some kind of polling over the SSH link to check the in-position status bit of the motor. Is there an application that already exists to do this, or do I have to write a motion program to do the polling and then post a result from the motion program to the gpascii stdout stream? On another note: is there any documentation for the apps in /opt/ppmac? Most of the codes there do not support the standard unix usage output or support -help or -? options to indicate what the usage sh…
Last reply by bradp, -
- 3 replies
- 7.3k views
Hi Delta Tau support, We have an application where we would like to move a motor through a series of pre-defined positions. We would like the start of each move to occur either at a specified pre-defined time in the future or by indicating with an external hardware pulse. I have read the chapter of the user manual on synchronizing to external events, but the techniques described there seem to apply to very different applications. Questions: 1. Is it possible to have moves occur at pre-defined absolute times? (An ancillary question: is it possible to sync the system clock to either NTP or an external time reference for this purpose?). 2. An alternative would be to…
Last reply by bradp, -
- 1 follower
- 0 replies
- 3.5k views
[b]Question:[/b] How do I access Sys.Fdata memory from a bgcplc? What I specifically need to do is to read in data from an array in Sys.fdata memory. I don't want to declare pointers to every block in the array, just to increment a pointer. [b]Answer:[/b] Here is how to do it: (be careful if you decide to use double, since it is 64bit and it will use up the user shared memory in batches of 2 32bit locations at a time) [code] #include #include #include void user_plcc() { float *myfloat; myfloat = (float*)pushm; // setting the address from void pointer pushm casted as float pointer *myfloat=5.5; // equivalent of sys.fdata[0] – you can…
Last reply by Sina.Sattari, -
- 0 replies
- 3.3k views
I now have a Java interface to the PPMAC up and running that uses an SSH library to connect to the host and then opens a "session" to start a shell and execute the gpascii command. I have IOStreams for the stdin and stdout streams of the gpascii process and am successfully able to send commands and parse the responses. BTW: I am seeing command responses in the form: I have not yet tried a command that returns multiple data packets, but based on the above I would imagine it looks something like this: . . . It would be really nice if you guys could document this someplace (I haven't found it in any of the manuals yet). Also: I notice that the PPMAC IDE …
Last reply by bradp, -
- 1 follower
- 10 replies
- 16.7k views
Hello, I would like the ability to clear the contents of all IO boards in the system upon program start (in a C program). Is there anything provided for this, or is it as simple as doing a clear of memory for all possible cards in the "io" address space? Since am trying to provide this as a library call across various machines I don't want to assign M variables and "manually" clear each byte one by one. Assigning 0s to io space would only work if potential IO cards would respond to this in a safe way. We would do any "non default" initialization of the IO cards after they are cleared. Any ideas? Thank you, KEJR
Last reply by KEJR, -
- 0 replies
- 5.1k views
This is mostly an informational post for the benefit of other users. We were able to successfully modify /opt/etc/network/interfaces to use DHCP instead of static IP address setup (as identified in other posts on this forum). However, after reboot, we found that we could no longer communicate with the Power PMAC. The Power PMAC had been automatically assigned a new IP address (as we had hoped), but its hostname was not registered with our DNS servers. We were therefore unable to discover its IP address (which also meant that we could not communicate with it). Delta Tau support explained that we could use the serial port to observe the boot up process and, ultimatel…
Last reply by michaelthompson, -
- 2 followers
- 8 replies
- 16.9k views
While testing some code in the IDE I was able to get a sevoed motor( #2 ) to runaway and get a fatal following error. This occured when I had plc 1 ruinning a simple task of coying a value from global memory into a global variable. myvar_1=Sys.Udata[0]; this worked fine when from the teminal window I typed Sys.idata[0] = 1234 and the value of myvar_1 shown in the watch window is 1234 BUT when I typed sys.fdata=123.5667 all hell broke loose and the motor took off the value showing in the global var is myvar_1 P8192=1123492391 Why would a type mismatch cause the motor to falut out ? Also I can not close the loop on the motor until I assign…
Last reply by JohnR, -
- 2 replies
- 5.7k views
I am new to the world on Delta Tau and have been charged with writing an HMI in VB.NET. I have decided to run a web service on the PPmac and call the web service function from a separate web application. What is giving me grief is that I am unable to find documentation for available functions written for the PPmac. I have been able to use "InitLibrary()", "CloseLibrary()", and "GetResponse()" so far, but I only know they exist from reading this forum. It there documentation in the installed Delta Tau IDE that I am missing or do I just have to reference them all in a project and use the object browser in Visual Studio?
Last reply by shelinej, -
- 1 reply
- 6.3k views
[b]Problem:[/b] Delta Tau Add-Ins do not show in the IDE tools menu. This means Task Manager Plot Scope Motor Setup Etc Are not shown. [b]Solution:[/b] 1. The Add-Ins are installed in the folder My Documents. If My Documents is really a network drive then the Add-Ins will not work. 2.
Last reply by KEJR,