RoboDK Forum
Insert Code after Movement- Printable Version

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+--- Forum: General questions about RoboDK (//www.sinclairbody.com/forum/Forum-General-questions-about-RoboDK)
+--- Thread: Insert Code after Movement (/Thread-Insert-Code-after-Movement)



Insert Code after Movement-HerMer-09-22-2022

Hi Guys,

I do have a delicate Problem.
We perform lasercutting with a kuka KR30 and a fiber laser (plus Head of course).
We inlcude a PV correction (if Robot slow then decrease Power) which is useful for cutting tight corners.

The thing is...before each cutting process the laser "drills" a starting hole and then starts with the actual cutting geometry...which means, that the starting speed is zero and therefore the cutting power is zero (but of course it should start with max. Power).

So I would need the PP to identify the first actual cutting movement.

One method would be to wait for the "laser on" function call and thenpass one movement(都不重要如果林,保监会等等)和inst code after that.

How can that be achieved?


RE: Insert Code after Movement-Sam-09-28-2022

If you are using a machining project in RoboDK, you can find program events to which you can perform additional / custom commands.

More info here://www.sinclairbody.com/doc/en/Robot-Machining-Program-Events.html