Hi all!
I want to write program with receiving points from EthernetKrl and moving to them with approximation (C_PTP).
But I have some troubles.
Simplified part of my code:
Code
...
$ADVANCE=5
$APO.CPTP=100
LOOP
$FLAG[900]=FALSE
RET=EKI_Send("Cut",Feedback_next[])
WAIT FOR $FLAG[900]
RET=EKI_GetReal("Cut","Buffer/Axis/A1",POINTS1.A1)
RET=EKI_GetReal("Cut","Buffer/Axis/A2",POINTS1.A2)
RET=EKI_GetReal("Cut","Buffer/Axis/A3",POINTS1.A3)
RET=EKI_GetReal("Cut","Buffer/Axis/A4",POINTS1.A4)
RET=EKI_GetReal("Cut","Buffer/Axis/A5",POINTS1.A5)
RET=EKI_GetReal("Cut","Buffer/Axis/A6",POINTS1.A6)
PTP POINTS1 C_PTP
ENDLOOP
...
Display More
I have discrete motion with stop at all points. As I understand I can't do this way? I need to write points to array and then use it for moving?
Thank you for attention!