cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

ctrlX PLC - EtherCat / Motion synchronous task

AndreasL
Established Member

ctrlX PLC - EtherCat / Motion synchronous task

Hello,

In the MLC, there was a possiblility to define a task to run as EVENT_OP_MODE_MOTION_CYCLIC or EVENT_OP_MODE_SERCOS_CYCLIC or EVENT_OP_MODE_ETHERCAT_CYCLIC.

How do you do the same thing in ctrlX PLC?

 

6 REPLIES 6
Jochen_Mueller
Community Moderator

Re: ctrlX PLC - EtherCat / Motion synchronous task

The scheduler of the trlX CORE provides a predifined PLC trigger signal which will be synchronised to the ethercat.

Jochen_Mueller_0-1654235434952.png

 

This signal can be used as an external task trigger at the PLC engineering

Jochen_Mueller_1-1654235510740.png

Regards

Jochen

 

JochenK
New Poster

Re: ctrlX PLC - EtherCat / Motion synchronous task

Hello,

there is no callable under the 'plcEvent07'-task in my project. So i'm trying to add the callable 'plc-external-event' manually but the error 'DL_SUBMODULE_FAILURE' comes up. I tried to add it in every different state (Operation, Service, Setup).

JochenK_0-1667828707266.png

Can you please help?

CodeShepherd
Community Moderator

Re: ctrlX PLC - EtherCat / Motion synchronous task

As it was only implemented for showing purposes the preset callable for an external event for the PLC will be gone and needs to be added by hand.

You have to choose the event number you like to use in the ctrlX CORE WebUI under "Settings --> Scheduler":

ctrlX CORE WebUI add external PLC eventctrlX CORE WebUI add external PLC event

ericvergara
Long-established Member

Re: ctrlX PLC - EtherCat / Motion synchronous task

Hello,

When I try to add this manually this error happens:

ericvergara_0-1669100958518.png

 

How can this be solved?

CodeShepherd
Community Moderator

Re: ctrlX PLC - EtherCat / Motion synchronous task

ericvergara
Long-established Member

Re: ctrlX PLC - EtherCat / Motion synchronous task

True,

Sorry for that 😅

Thanks for the help!

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