FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
10-23-2023 01:03 PM - edited 10-23-2023 03:18 PM
Hello,
is there a way to teach by program a product coordinate system (PCS), the goal is to get a function bloc like below in MLC World.
Thanks.
10-24-2023 10:08 AM
Beware that PCS groups and sets must only be added/changed while ctrlX MOTION is in configuration state. During runtime they can be switched on an off with command ML_KinPCSP. See online documentation "Kinematic command options".
There are two general ways to switch the motion state:
In the current version 2.02 of the ctrlX PLC Engineering you can find an import button to automatically create function blocks for accessing your self created flatbuffer.
As in 1.20 no function block is available to read or create PCS and including sets you will need to use the data layer API and wrap a function block around on your own. As an example for reading PCS sets see topic "CXA_DataLayer how to read flatbuffer type? Is there an example?".
10-24-2023 04:00 PM
Hello,
Thanks for your feedback,
wiriting manually Sets, requires us to determine XYZ and calculate the orientations! which could generate huge effort for the customer.
but to be clear, we're looking for the Function allowing us to teach and determine XYZ and orientation of a PCS with only 3 reference points exactly like ML_PCSTeachIn we have in MLC.
this function is mondatory in the robotic applications as it is quite complicated to determine PCS theorically.
10-26-2023 10:12 AM
Could you please confirm which version of ctrlX WORKS / ctrlX PLC Engineering is used on your side?
10-26-2023 10:14 AM
the Customer is using ctrlx Works 1.20.5.
11-03-2023 11:43 AM
I created an internal feature request for this topic.