jy77812 - 2025-06-04

Dear People

I’m trying to draw a circle using MC_MoveCircularAbsolute, but I keep encountering an error.
The error message is SMC_CP_CIRCLE_CENTER_NOT_ON_BISECTOR.

What I’m trying to do is simply draw a circle with a diameter of 20, starting from the point X=0, Y=0.
I’ve set CircMode to center. It seems like a simple task, but the error keeps occurring, and it’s giving me a headache.

I’d appreciate your help. I’ve also attached the program, so please provide any advice you can.
I want to use the mode as the center.
I've tried changing multiple coordinates and it won't run. Please help.

sample

stCirculAuxPoint.c.X := 20;
stCirculAuxPoint.c.Y := 10;

stCirculEndPoint.c.X := 20;
stCirculEndPoint.c.Y := 30;

fbMoveCircularAbsolute(
AxisGroup := AxisGroup,
Execute := xGroupCirculEx,
CircMode := SMC_CIRC_MODE.CENTER,
AuxPoint := stCirculAuxPoint,
EndPoint := stCirculEndPoint,
PathChoice := 0,
Velocity := 50,
Acceleration := 50,
Deceleration := 50,
Jerk := 50,
CoordSystem := SMC_COORD_SYSTEM.MCS,
BufferMode := 0,
TransitionMode := 0,
TransitionParameter := ,
OrientationMode := ,
VelFactor := ,
AccFactor := ,
JerkFactor := ,
TorqueFactor := ,
Name := ,
Done => ,
Busy => ,
Active => ,
CommandAborted => ,
CommandAccepted => ,
Error => ,
ErrorID => ,
MovementId =>
);

 

Last edit: jy77812 2025-06-04