Unicornai Posted April 6 Share Posted April 6 I'm using the PDK link library in C# now, and then I want to use the rotation buffer, is there any function that can directly send the motion program for him to run directly? I want to send the motion program directly through the HMI interface for him to execute line by line, is there such a function? Quote Link to comment Share on other sites More sharing options...
steve.milici Posted April 9 Share Posted April 9 There are no rotary buffer functions in the PDK at this time. Quote Link to comment Share on other sites More sharing options...
Unicornai Posted April 11 Author Share Posted April 11 On 4/10/2024 at 5:53 AM, steve.milici said: 目前 PDK 中没有旋转缓冲器功能。 Is there a way to directly send it to PMAC line by line for him to execute the program? Quote Link to comment Share on other sites More sharing options...
steve.milici Posted April 11 Share Posted April 11 I have attached an application note on this topic. Also see the “Power PMAC User’s Manual” in the chapter “Writing and Executing Script Programs in the Power PMAC” starting on page 610.Rotary Motion Program Buffers in Power PMAC.pdf Quote Link to comment Share on other sites More sharing options...
Unicornai Posted April 23 Author Share Posted April 23 On 4/12/2024 at 12:26 AM, steve.milici said: I have attached an application note on this topic. Also see the “Power PMAC User’s Manual” in the chapter “Writing and Executing Script Programs in the Power PMAC” starting on page 610.Rotary Motion Program Buffers in Power PMAC.pdf hello i used this and When I send the second part of the program, my program header is "open rotary" but it says "error buffer in used", what can I do to make it not prompt this so that my program can be entered,please Quote Link to comment Share on other sites More sharing options...
steve.milici Posted April 23 Share Posted April 23 The description of your issue is somewhat vague. The error #33, “BUFFER IN USE” indicates the command being sent may be trying to “modify” a rotary buffer that is currently in “use”. Please describe in detail what is being sent to PMAC and how it is being sent and the exact PMAC responses that you get. Quote Link to comment Share on other sites More sharing options...
Unicornai Posted Thursday at 12:17 AM Author Share Posted Thursday at 12:17 AM Thank you I know how to solve this problem, but I have encountered a new problem, that is, when I send the program to go in, if the rotation buffer is not executing the motion program, that is, it is only opening the rotation buffer to receive, in fact, it is not rotating in the open state? Quote Link to comment Share on other sites More sharing options...
steve.milici Posted Thursday at 03:33 PM Share Posted Thursday at 03:33 PM You must send a run command “r” to the rotary buffer pointed to a CS by the begin command “b” as in: “&1b0r”. You can also send the run command “r” while the buffer is open – this would make it “live” for any motion content sent. This is documented in the application note provided. Quote Link to comment Share on other sites More sharing options...
Unicornai Posted yesterday at 01:01 PM Author Share Posted yesterday at 01:01 PM On 4/25/2024 at 11:33 PM, steve.milici said: You must send a run command “r” to the rotary buffer pointed to a CS by the begin command “b” as in: “&1b0r”. You can also send the run command “r” while the buffer is open – this would make it “live” for any motion content sent. This is documented in the application note provided. thanks,i will try this,and i use &1delete rotary &1 define rotary 20000 &1 open rotary close &1b0r &1 open rotary x..z..c.. and i continue to input coordinate information if rotary buffer is full,it will the coordinate information I input next be overwritten from scratch? then ,i have other question,if i want to execute the motion, but there is only one motor in the coordinate system,actully,ihaving done it,but i used two coordinate,one only have z-axis,anther only have x-axis,but the F command only Only effective on the Z-axis ,Z means &1#2, X means &3#1,I don't know how to make the F command work on the X-axis, I just mentioned it separately in a separate coordinate system. Their X-axis and Z-axis are originally in the first coordinate system. When they are together, even if they move separately, the F value will not fluctuate significantly. However, if the X-axis is mentioned separately in the third coordinate system, the F command seems to be ineffective and its fluctuations will increase. I searched for an explanation but did not get a detailed explanation. Please help me, thank you! Quote Link to comment Share on other sites More sharing options...
leandro.martins Posted 11 hours ago Share Posted 11 hours ago 20 hours ago, Unicornai said: then ,i have other question,if i want to execute the motion, but there is only one motor in the coordinate system,actully,ihaving done it,but i used two coordinate,one only have z-axis,anther only have x-axis,but the F command only Only effective on the Z-axis ,Z means &1#2, X means &3#1,I don't know how to make the F command work on the X-axis, I just mentioned it separately in a separate coordinate system. Their X-axis and Z-axis are originally in the first coordinate system. When they are together, even if they move separately, the F value will not fluctuate significantly. However, if the X-axis is mentioned separately in the third coordinate system, the F command seems to be ineffective and its fluctuations will increase. I searched for an explanation but did not get a detailed explanation. Please help me, thank you! Some things can interfere in F command (vector feedrate): Axis not within the axes defined by the frax - If you haven't defined anything, you might be okay with that, since by default the axes X, Y and Z are defined. Limitation by Coord[x].MaxFeedRate Limitation by Motor[x].MaxSpeed Have a look at "F{data}" section in the Software Reference Manual. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.