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
-
- 218
- posts
2,397 topics in this forum
-
Hi all, I'm pretty new to PowerPMAC so this might be an easy question to you. I would like to print a simple debug message "Hello World" to the Terminal at the end of one of the motion programs (*.pmc file). Any suggestions are welcomed. Thanks.
Last reply by DaveBarnett, -
- 1 follower
- 1 reply
- 337 views
I want to know more about the rules of CCR, the instructions in the manual can't solve my problem, sometimes I will prompt CCLeadOutMoveError when I use it, sometimes it will directly lose power and crash PMAC down, I read the manual, except how to use there are no detailed instructions, so I want to ask for advice on how CCR can make my program run without error or down, thank you.
Last reply by steve.milici, -
- 2 followers
- 2 replies
- 459 views
I just downloaded the power PMAC IDE in my computer (Win 10, AMD 5000 7th) and tried to connect with the CK3M controller avaible at my lab but the ping fails every time. Using CMD, it also fails both the ping and telnet test. I know the device is working as it was previously connected to a different laptop.
Last reply by steve.milici, -
- 1 follower
- 4 replies
- 395 views
I was searching for mutex lock support in the PMAC Script Language and stumbled across the Sys.Lock[i] variable in the user's manual. Per the "Power PMAC User’s Manual" version published May 15, 2019, it builds a case for the use of Sys.Lock[i] as a way to avoid incorrect register writes when two tasks occur concurrently operating at different priority levels (i.e. background PLC vs realtime PLC). In general, the example in the manual makes sense and appears to be working using some cursory tests. However, I'm trying to determine if there's a risk of deadlocks when tasks running at different priorities reference the same Sys.Lock[i]. Here would be the scenario:…
Last reply by steve.milici, -
- 2 followers
- 9 replies
- 780 views
I am trying to use the C routine CaptCompISR to process position-compare triggers but the C code refuses to run. My general program structure works as follows: Run a oneshot script PLC InitPLC, including an instruction cmd"UserAlgo.CaptCompISR=1"; Start script PLCs for reporting current values (position, velocity, ...) to the host program watch for emergency stop situations handle action requests from the host program I prepare the trigger points for the position compare in Sys.Idata starting at 65536, with the factor 4096 multiplied in but no home offset applied. One action request is handled in a motion script program inclu…
Last reply by steve.milici, -
When I am using Matlab2020b software, I use the MATLAB/SIMULINK TARGET FOR POWER PMAC chapter in the User Manual file for code generation Successfully generated code files similar to these 6 But no. pmh file was generated for the subsequent operation variables: May I ask, what is causing this?
Last reply by leandro.martins, -
- 2 followers
- 2 replies
- 438 views
I am pulling this out of my thread "Using CaptCompISR" (https://forums.automation.omron.com/topic/10121-using-captcompisr/) A minimal test version of that function is this: #include "usrcode.h" #define _PPScriptMode_ #include "../Include/pp_proj.h" void CaptCompISR(void) { volatile GateArray3 *MyGate3; int *CompDebug; MyGate3 = GetGate3MemPtr(0); MyGate3->IntCtrl = 0x20; CompDebug = (int *)pushm + 65524; (*CompDebug)++; } It should increase the counter Sys.Idata[65524] by 1 when called and thus prove that it has been called. It does not do this. I do provide a legitimate trigger …
Last reply by steve.milici, -
- 1 reply
- 496 views
Hello All, I am very much new to PMAC & Delta-Tau Products Right now, I am using Omron 1S Drive (Absolute Multiturn Encoder) along with CK3E Controller firmware version 2.7. 0.0 I need to understand how to do Absolute homing. Can you please help me with some project examples? This would be great support. I will wait for reply.
Last reply by Omron Forums Support, -
Hi, I've set up a network folder on my PowerPMAC and when I try to write files to it via BGCPLC, the controller goes into WatchDog. I did a more simplistic test, outside the PMAC environment, by creating a C program and compiling it in the controller's Linux environment. When running, the same problem occurs (the controller goes into WatchDog). Here is the program used: #include <stdio.h> int main(int argc, char *argv[]) { FILE *fp; int i = 0; fp = fopen("/mnt/data/test.csv", "w"); printf("Ok 0\n"); if (fp == NULL) { printf("Fail\n"); return 0; } printf("Ok 1\n"); for (i = 0; i < 1000000; i++) { …
Last reply by RafaelFalcaro, -
- 1 follower
- 4 replies
- 538 views
Hi, when we run "ecat reset" in the terminal, it reports an error: error#20: illegal cmd: ecat 3 Could you give us some insights in the error?
Last reply by Omron Forums Support, -
- 1 follower
- 2 replies
- 555 views
Hello, Is there a straightforward way of disabling telnet on PowerPMAC products? We are looking to increase the cybersecurity of our units. I understand that the IDE and its tools all use ssh, so we wouldn't lose any functionality if telnet wasn't available? Thanks, James
Last reply by DLS_James, -
- 1 follower
- 2 replies
- 567 views
The CK3M reports the Sys.RtIntErrorCtr error on startup. This error cannot be cleared with $$$***. The software manual doesn't discuss the possible cause for this error. Please advice on how to clear it, and what are the possible reasons? Thanks!
Last reply by wbzhong, -
- 1 follower
- 5 replies
- 540 views
We have an older model of PowerPMAC (Linux powerpmac 2.6.30.3) running firmware 1.6.1.181 We are able to interact with it using a modern version of PowerPMAC IDE (4.6.2.15), to read and change variables for example, but we are unable to use the Gather tool. The tool window will open and the first step of running the gather appears to work. However, when we attempt the next step of uploading the gathered data, the program just hangs indefinitely. On older versions of the IDE (eg 2.0.0.25) the Gather tool window opens, but then immediately closes. Is this problem known about and is there a solution? Thanks for any help, James
Last reply by DLS_James, -
- 1 follower
- 2 replies
- 501 views
I have the need for a continuous gather recording. What's the best way to get this stream to a computer, on the network? I was thinking of writing a C program to read from the gather circular buffer, then passing that to a circular buffer in the C program (I would like more buffer time that the memory available to gather can accommodate), in chunks, then sending chunks from there to the host computer, via TCP/IP. If the client on host computer isn't connected, then they just get dropped. Is this a sane approach? Is there an "easy" way that I'm not aware of?
Last reply by Brandon Irwin, -
- 1 reply
- 411 views
Is there a UMAC accessory module to input temperature sensors to UMAC? Want to measure air temperature from 15 to 25 degrees C, probably with a thermistor.
Last reply by Alex Anikstein, -
- 2 followers
- 1 reply
- 532 views
In position-compare triggering, I need to handle a range of 300 mm worth of quadrature encoder counts of 0.1 micron, i.e., 3 million. The trigger positions need to be stuffed into Gate3[0].Chan[1].CompA and .CompB for the leading and trailing edges of the TTL pulses. The units of CompA and CompB are 1/4096th of an encoder count, leaving a range of 20 bits for the full encoder counts, or about 1 million. With the Turbo PMAC family, I had 24 bits for a full range of 16 million plus. My encoder settings are Gate3[0].Chan[j].EncCtrl=3 or 7 (j=0, 1). Now the Power PMAC Software Reference Manual says this, under Gate3[i].Chan[j].CompA (last paragraph): In the Scri…
Last reply by steve.milici, -
- 1 follower
- 3 replies
- 489 views
I am trying add an acc-11e I/O board to my Power Pmac Umac style Rack. When I install the acc-11e it is not recognized by the system even after $$$***. I tried with an ACC-65E picked up perfectly but the ACC11e was not recognized. using the current version of the power PMAC IDE Any Thoughts?
Last reply by steve.milici, -
- 1 reply
- 418 views
Hello. I want to setup Tamagawa absolute encoder (TS5966N20) with CK3W-AX1515N. Encoder link : 23bit バッテリーレス Absエンコーダ A4チラシ (tamagawa-seiki.co.jp) Do you have any examples about it?
Last reply by Omron Forums Support, -
- 2 followers
- 8 replies
- 3.3k views
I am trying to get triggering on hardware position converted from Turbo PMAC to Power PMAC. On Turbo PMAC I use the 24-bit full encoder counts registers M108 or M208. This gives me a range of 16,000,000+ encoder counts, sufficient for 300 mm of counts at 0.1 micron/count. I do not bother with the fractional counts in M188 and M288. Now, if I understand the Power PMAC User Manual correctly, I have to put my trigger position into Gate3[0].Chan[j].CompA in units of 1/4096 encoder counts and am thus limited to just over 1,000,000 full encoder counts range (20 bits rather than Turbo's 24). So I essentially write CompA = (myTrigPosition + HomeOffset) * 4096 ; …
Last reply by HJTrost, -
- 1 follower
- 7 replies
- 830 views
Hello, I'm trying to use PowerPMAC as a high frequency pulse generator through PFM. I'm using a custom servo loop, where I monitor the positioning error of my motor and calculate what the PFM output frequency should be so that enough pulses are generated for it to reach the desired position in the next servo cycle, saturating at 5 MHz. Here is the code: double custom_pfm(struct MotorData *Mptr) { // Auxiliar variables double servo_out, servo_period, pfm_clk_freq, pos_error; unsigned int pfm_clock_div; volatile GateArray3 *Gate3; // If closed loop is enabled if (Mptr->ClosedLoop == 1) { // Calculates position error relativ…
Last reply by MoMo, -
- 2 replies
- 441 views
Hi Does anyone have experience to hook up a Oriental EtherCAT Drive with CK3E? I have tried to use the "Scan EtherCAT Network " but it responded cannot find any node.
Last reply by MoMo, -
- 2 followers
- 1 reply
- 398 views
Last reply by steve.milici, -
- 1 follower
- 1 reply
- 394 views
it is possible to use the READ command to send parameters to subroutines. For example G04 X10.5 can be used to create a Dwell by creating a program 1000 with a line 4000. G04 in the main program jumps to the that subprogram line then using a READ(X) command that will assign D27=10.5 then do a DWELL(D27*1000) to create a 10.5 second dwell. This is Great but I want to use a T value but the default function of T is to call subprogram 1004. This works OK when you are using T to define a Tool Pocket but not so well when T defines a Tool Number between 1-999. It is not practical to create a subprogram with entries for all 1000 possible tool numbers when practically only …
Last reply by steve.milici, -
- 1 follower
- 4 replies
- 412 views
The manual for the 14E board hardly mentions how to use it in the Power PMAC system. Is there a manual or reference material available specifically for using this card in the Power system?
Last reply by steve.milici, -
- 2 followers
- 6 replies
- 698 views
I am working on converting my Turbo PMAC software to Power PMAC and have made some good progress. My application program starts, initialized the 3-stage system (Cartesian x, y z) and makes abs-linear moves, abs-rapid moves and velocity jog oves just fine. Homing is also under control. My problem is that as soon as I take a 1 minute break before asking for the next move, the controller does not respond any longer - actually, no command goes through to the controller. I have a Power PMAC Clipper 465. My control program sits on a Windows 10 laptop. I use the libssh2 implementation from Observatory Sciences to let my control program talk to the PMAC. OF the man…
Last reply by steve.milici,