INVALID_ZERO_NEG_CONSTRAINT error while running 5 axis G code

Moderators: TomKerekes, dynomotion

Post Reply
AmitKumar171
Posts: 134
Joined: Tue Feb 20, 2018 7:35 am
Location: India

INVALID_ZERO_NEG_CONSTRAINT error while running 5 axis G code

Post by AmitKumar171 » Sat Dec 18, 2021 9:29 am

Hi Tom,

I am using Kflop+Konnect for my 5 Axis cnc machine.

I am facing strange problem (INVALID_ZERO_NEG_CONSTRAINT) while running attached g code.

I have attached the trajectory planner settings and G code in which i am facing the error. Even i tried increasing decimal in g code as well but still facing same error.

Please help me in finding the error and how to fix the same.

Waiting for kind reply.
Attachments
04_4EM_4decimal.txt
(742.23 KiB) Downloaded 103 times
04_4EM_3decimal.txt
(593.6 KiB) Downloaded 108 times
trajectory_planner.jpeg
error.jpeg
Thank You

AMIT KUMAR

User avatar
TomKerekes
Posts: 2677
Joined: Mon Dec 04, 2017 1:49 am

Re: INVALID_ZERO_NEG_CONSTRAINT error while running 5 axis G code

Post by TomKerekes » Sat Dec 18, 2021 10:22 pm

Hi Amit,

That error shouldn’t come from GCode. It indicates a Move command from a C Program with a Max Velocity of 0. The C Program causing error might be invoked by an MCode within the GCode.

What line of GCode causes the error?

What C Programs are being invoked?
Regards,

Tom Kerekes
Dynomotion, Inc.

AmitKumar171
Posts: 134
Joined: Tue Feb 20, 2018 7:35 am
Location: India

Re: INVALID_ZERO_NEG_CONSTRAINT error while running 5 axis G code

Post by AmitKumar171 » Mon Dec 20, 2021 7:20 am

Hi tom,

Thanks for the earlier reply.

Only INIT file is running in thread - 1 , which has soft limit program attached with it (Soft limit is defined in axis definition files and checkdistancetostop also running in infinite for loop).

So does that soft limit making that error?

Waiting for kind reply.
Thank You

AMIT KUMAR

User avatar
TomKerekes
Posts: 2677
Joined: Mon Dec 04, 2017 1:49 am

Re: INVALID_ZERO_NEG_CONSTRAINT error while running 5 axis G code

Post by TomKerekes » Mon Dec 20, 2021 6:56 pm

Hi Amit,

Please post your INIT C Program.

What line of GCode causes the error?
Regards,

Tom Kerekes
Dynomotion, Inc.

Post Reply