Hi.
I want to send x,y,z,a,b,c coordinates to robot via serial port1.
G1:
......
CREAD(HANDLE,SR_T,MR_T,TIMEOUT,OFFSET,"%F",X)
P.X=X
CREAD(HANDLE,SR_T,MR_T,TIMEOUT,OFFSET,"%F",Y)
P.Y=Y
......
GOTO G1
I wrote cread commands for all of coordinates. After reading x, KRC doesn't read Y and others. Error is "Y Invalid Value".
I check transmission with telnet. For example, PC send Y coordinate. I see Y coordinate in robot telnet. But KRC doesn't read Y.
What must I do?
Thanks.