Dear Dynamotion,
I have to check axis position while motion buffer is running , is it possible?
I have 2 or 3 trhead, running C program in kflop that check some input bit and axis position,
and i have to open,send move command to motion buffer ,close and execute buffer by script command from PC.
does it work ?
thank you
Tiziano F.
Running C program while open motion buffer from PC
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Running C program while open motion buffer from PC
Hi Tiziano,
Sorry for the delay somehow I missed this post.
Yes that should be possible. From a KFLOP C Program you can read the commanded Axis Destinations as chx->Dest or the actual measured positions as chx->Position (where x = axis number 0-7).
If you post some code we can check it for you.
Sorry for the delay somehow I missed this post.
Yes that should be possible. From a KFLOP C Program you can read the commanded Axis Destinations as chx->Dest or the actual measured positions as chx->Position (where x = axis number 0-7).
If you post some code we can check it for you.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Running C program while open motion buffer from PC
HI TomKerekes ,
thank you very much for reply.
Tiziano
thank you very much for reply.
Tiziano