Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important information on the platform change.

cancel
Showing results for 
Search instead for 
Did you mean: 

Teach Product Coordinate System [PCS] [Motion App]

Teach Product Coordinate System [PCS] [Motion App]

Yacine
Long-established Member

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.

Yacine_0-1698067065650.png

 

Thanks.

5 REPLIES 5

CodeShepherd
Community Moderator
Community Moderator

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:

  1. PLC: See topic "How to read motion operation mode node status?"
  2. REST: See topic "node-red: how to send commands, like booting motion, or move axis?"

 

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.

ctrlX PLC Engineering - import from flatbuffer filectrlX PLC Engineering - import from flatbuffer file

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?".

Yacine
Long-established Member

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.

 

 

Yacine_0-1698155640315.png

 

CodeShepherd
Community Moderator
Community Moderator

Could you please confirm which version of ctrlX WORKS / ctrlX PLC Engineering is used on your side?

Yacine
Long-established Member

the Customer is using ctrlx Works 1.20.5.

CodeShepherd
Community Moderator
Community Moderator

I created an internal feature request for this topic.

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist