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
-
- 1 reply
- 327 views
I have a setup with two Power PMACs. Both PMACs have an acc5e3. I want to configure the PMACs so that we have one master that communicates via the acc5e3 to the other acc5e3 on the second slave PMAC to control the various other cards on the slave PMAC. I have an ACC59E3 card on the slave and I want to read the inputs from this card and process them on the Master PMAC. What is the best way of achieving this? I have tried using the I/O nodes but I can't seem to get the right data sent even with the right bit shift and masking.
Last reply by Khalil_yaz, -
- 3 replies
- 427 views
When using the ecatregreadwrite command like this: L0=ecatregreadwrite(0,0,1,$134,0,2);L0 I dont face any issues. But when I enable the ethercat bus (ECAT[0].Enable=1) and after dissabeling the bus. I always get the value 'nan'. The only workaround for this is resetting the ethercat but (ecat reset). Why is ecatregreadwrite( ) not working after enabeling the ethercat bus and why does it work after resetting the ethercat bus? (acontis stack & ide version 4.5.2.9) regards, Wouter
Last reply by Wouter, -
- 1 follower
- 2 replies
- 354 views
I would like to learn how the desired trajectory is coded as part of the jog command. Any idea how to get access to the jog source code on PMAC? Thanks.
Last reply by moha_sa, -
- 0 replies
- 362 views
Under prior versions of the firmware we were able to map to a shared folder on our PC by adding the following lines to the end of fstab: //192.168.0.100/share /mnt/win cifs credentials=/etc/credentials 0 1 //192.168.0.100/FTS /mnt/FTS cifs credentials=/etc/credentials 0 1 This has worked well for all revisions up to 2.6.0.1, however in the latest FW, 2.6.1.0, the first mount fails and only the second is successful. Adding the _netdev directive to the lines has no effect, however by duplicating the first line to: //192.168.0.100/share /mnt/win cifs credentials=/etc/credentials 0 0 //192.168.0.100/share /mnt/win cifs credentials=/etc/credentials 0 0 //1…
Last reply by JeffLowe, -
- 0 replies
- 410 views
Hi, the acc 65E manual does not mention the output behaviou at power on. We are using the outputs to control some safety functions, which require determinstic behaviour at power on.
Last reply by wbzhong, -
- 1 follower
- 5 replies
- 540 views
Hello, I'm implementing a Custom User Servo Algorithm, that's been sucessful until now. For modularity purposes, I'm trying to declare a function in a folder inside the "Libraries". I declared my function "test" in "test.c" file, and in the "test.h" I made all the includes contained in usrcode.h #ifdef __KERNEL__ #include <linux/module.h> #else #define EXPORT_SYMBOL(x) #define KERN_ALERT #define printk printf #include <gplib.h> #endif #include <RtGpShm.h> #include <rtpmacapi.h> double test(struct MotorData *Mptr); EXPORT_SYMBOL(test); I also included the path to "test.h" in the "usrcode.c" #include "../Libraries…
Last reply by leandro.martins, -
- 1 follower
- 8 replies
- 1.4k views
Hello, I am unsuccessful trying to trigger data gather from a C background program. I wrote the following program (capp1.c) to debug the problem: /*For more information see notes.txt in the Documentation folder */ #include <gplib.h> #define _PPScriptMode_ // for enum mode, replace this with #define _EnumMode_ #include "../../Include/pp_proj.h" int main(void) { InitLibrary(); // Required for accessing Power PMAC library pshm->Gather.Enable=2; CloseLibrary(); return 0; } Then I built, downloaded and save the project. After that I restarted the controller with $$$ on IDE terminal and run my background program via SSH connection (./capp1.out). T…
Last reply by george.kontogiorgos, -
- 1 follower
- 1 reply
- 317 views
Hello. Do you have a plan to fix a bug in Gate3 Position Compare Function.
Last reply by Eric Hotchkiss, -
- 1 follower
- 1 reply
- 288 views
Hello I know that we already have the execution of CaptCompISR function when position matches to the preset value. I would like to set the interrupt source not as position but as some GPIO, User Flag, Hall input or some other hardware IO. In my point of view the ISR is an elegant solution when compared to polling some input, which is the way I'm thinking to run a program when some input is triggered. Thanks in advance, George
Last reply by steve.milici, -
- 2 followers
- 1 reply
- 335 views
Hi, I am using the PowerPMAC IDE 4.5.2.9. I think it doesn’t allow me to do the Point-to-point tuning (Trapezoidal Tuning) with the message requires New Tuning Package. Do you have any idea?
Last reply by Eric Hotchkiss, -
- 1 follower
- 2 replies
- 460 views
I aim to update the desired position of Motor#n in a user-defined servoCtrl externally via a background C program. Unfortunately, as soon as I enable motor by Motor[n].ServoCtrl=1 command in terminal, the desired value of Motor[n].DesPos on watch window resets to zero. How can I avoid it? My goal is to update the value of Motor[n].DesPos in user-defined servo from a background C program.
Last reply by JeffLowe, -
Hi, I am receiving this error "implicit declaration of function 'malloc' " when using servoData = (char *)malloc(CHAR_BUF_SIZE_3*sizeof(unsigned char)); in a user-defined ServoCtrl algorithm in the Realtime Routines folder in the IDE. My goal is to use sprintf and send commands to be able to print a float variable to the unsolicited message window and monitor its value as below: char *servoData; servoData = (char *)malloc(CHAR_BUF_SIZE_3*sizeof(unsigned char)); sprintf(servoData,"desired position is %f \n", 230.5); Send(SEND1_PORT,servoData); Any idea how I can still use "malloc" without the error to run the "Send" command? Thanks.
Last reply by Eric Hotchkiss, -
- 1 follower
- 2 replies
- 564 views
I'm not a controls programmer, just someone who knows a little programming and am in charge of adding some functionality to a home-built system. Base machines with Delta Tau controllers have a base project. Different shops have added various tech to them and so base control project can't be the one used on our own franken-machine. We have a guy who had done a lot of the controls programming but isn't always available to help so I'm going to risk being the oblivious annoying newbie on here and reach out to some experts as well. We have a camera lens cover, pneumatics/solenoid all in place. Not sure which Acc65E data reg. output it is associated with, but not quite …
Last reply by JillianW, -
- 1 follower
- 1 reply
- 316 views
Anyone knows how to directly call a motor's servo-control routine in the Realtime Routine folder from the background C program? We would rather not to use jogging command, but its servo subroutine to expedite our process. Thanks.
Last reply by Eric Hotchkiss, -
- 1 follower
- 3 replies
- 577 views
I am implementing a servo algorithm in C and it's necessary a sign function: sgn(x)=-1, if x<0 sgn(x)=0, if x=0 sgn(x)=1, if x>0 Since this logic is used in the ServoCtrl algorithm in the Kfff gain, is there any better manner than an if-else statement? Thanks in advance
Last reply by Curt Wilson, -
- 1 follower
- 8 replies
- 802 views
Hello, I'm doing some experiments with data gather system and I relized that the gather program missed some samples. The pointer Sys.PhaseSamples presented a more samples number than line numbers on the gather text file. The difference is about 20 samples but it is not repetitive for every gather. The gather setup was did on IDE Terminal as follows: Gather.PhaseEnable=0 Gather.PhaseAddr[0]=Sys.PhaseCount.a Gather.PhaseItems=1 Gather.PhasePeriod=1 Gather.PhaseEnable=1 Gather.PhaseEnable=0 Gather.PhaseMaxSamples=500000 After I issued the gather program with wait option on Linux: ./gather_csv -p -w > /var/ftp/gather/test1.txt Triggered the rot…
Last reply by george.kontogiorgos, -
- 1 follower
- 1 reply
- 601 views
Hello, greetings. I would like to report a bug and provide some information regarding usage of version 4.5.1.3 of the Powerpmac IDE, and also to request for some help in resolving this bug, which is causing some difficulties for many collaborators while using this IDE here at the Sirius Synchroton facility. The bug: While using the IDE to connect to and operate a Powerpmac controller and visualize data about a system, I observed that the IDE freezes after issuing some commands on the terminal (any commands. In the example below I’m using position report commands such as “#xp”, Where x denotes the motor index.). More specifically, after issuing a series of…
Last reply by Eric Hotchkiss, -
- 1 follower
- 9 replies
- 1.6k views
once I interface MATLAB with PMAC by the generated c-code package from MATLAB, it includes math.h, as I am using sinus block input in the Simulink. However, I am not sure what would be the best way to include the required math.h or any general static library into PMAC IDE. I tried to manually include a math.h file, but once I compile the PMAC IDE it still gives me error (see attachment). Does anyone know how to fix this?
Last reply by leandro.martins, -
- 2 followers
- 2 replies
- 559 views
Hey guys, I am developing an application where I need to control a power pmac controller through a computer using labview. I would like to know if there are other ways to make the controller communicate with the computer other than SSH + gpascii Thanks!
Last reply by RafaelFalcaro, -
- 1 follower
- 1 reply
- 1.4k views
I am new to automation systems and devices and I just want to know how to connect two HMI's (each one would control different things) to one PLC using Sysmac Studio and NB-Designer via Ethernet. The model of the PLC is NX1029020 and the HMI's are NB10W-TW01B and NB7W-TW01B. I searched for info about this topic online but I couldn't find anything that worked for me, I saw an article from OMRON where they connect two NB's to the CP series, but in my case, NB designer doesn't allow me to insert more than one HMI in the same project, I also found something similar on a youtube video that gave me an idea about how to connect multiple HMIs exporting the pks file and import…
Last reply by steve.milici, -
- 1 follower
- 4 replies
- 1.1k views
Hi All, According to PMAC IDE page 394 (shown in the attachment too), when we use MATLAB to generate C code, in particular when we want to set up a tunable parameter as shown in the attachment, after clicking on *create files* button it is expected to see that “…_MATLAB_definitions.pmh” is being generated where ... is the name of a Simulink model, but this file is not created. I am using MATLAB R2021b and I see the following error appearing on MATLAB workspace as soon as I click that *create files* button. Error using Simulink.BlockDiagram.createVarStruct Too many output arguments. Error in CreateStructuredModel Error in PPMAC_param3 Error in gui_mainf…
Last reply by leandro.martins, -
- 1 follower
- 4 replies
- 667 views
I am trying to setup two motors on these PWM drivers using the AX1313N. Neither motor type seems to be able to be configured by the wizard. The wizard does a terrible time with the Phase scaling calculation and seems to not use the brake properly. First motor is a linear motor with 3 cycles in 2 mm of travel with a linear encoder with 0.0001 mm resolution. It is a 3->1 UVW transition for the hall sensors. I hence set -170.6667 for AbsPhasePosSf. PhasePosSf is found to be about 0.0019999. This gives me good plots of UVW vs phase position when hand pushing the motor. This these settings it can get through the voltage 6 step test but fails out on the current loo…
Last reply by bprall, -
- 1 follower
- 6 replies
- 3.5k views
First of all, thank you for your help. I'm reviewing quadrature encoder specifications. As i know, line receiver specification is 10MHz. So, when I use quadrature encoder of 0.1 micrometer per pulse, I can use 4m/s at max speed. Is that correct?
Last reply by Eric Hotchkiss, -
- 1 follower
- 1 reply
- 389 views
Hi, everyone. I'm dealing with some data gather things manually, but I got error when I specify as follow: Gather.Addr[1] = Sys.Time.a the error is: stdin:31:17: error #70: Struct Write Data Error: Gather.Addr[1] = Sys.Time.a And I check Sys.Time.a in IDE terminal, i got that as: Sys.Time.a=2699.7344698400002 it seems like that ".a" can not get the address of Sys.Time. Does any one know the reason?
Last reply by Eric Hotchkiss, -
- 2 followers
- 6 replies
- 784 views
Power PMAC saves upto 5 latest projects on its flash (usrflash.1 to usrflash.5). It loads usrflash.1 upon power on. Is there any command to load other projeccts after power on?
Last reply by wbzhong,