Posts: 8
Threads: 5
Joined: Dec 2018
My c program receives a message from an HMI and creates a motion program using the Command() function.
is there anyway to read the motion program after it was created from the IDE or any other way?
Posts: 1,198
Threads: 5
Joined: Oct 2008
Use the on-line "list {program buffer}" command to report the contents of the program buffer.
Posts: 188
Threads: 0
Joined: Oct 2016
Posts: 18
Threads: 4
Joined: Sep 2015
(05-23-2019, 04:43 PM)Eric Hotchkiss Wrote: example:
Hello again,
is it possible to read the program contents also in C?
If not, what would be the best way to get it?
We send trajectories in a simple protocol to the PMAC.
its always a tupel of 3:
[movetime, axis1 endposition, axis2 endposition]
somebody wanted the possibility to readout a trajectory (although they have to send it first, so they should know what they have sent...)
So I'm facing either "parse the output of 'list prog x'" or perhaps there exists and easier way.
I would rather not parse strings ;)
Greetings,
Georg
Posts: 38
Threads: 19
Joined: Feb 2012
you can gather curves,record trajectory ,you can try