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

Set up a ctrlX PLC project to publish variables to the ctrlX Data Layer

Set up a ctrlX PLC project to publish variables to the ctrlX Data Layer

koern_dawg
Member

⚠️ Moved from how-to area by admin  ⚠️

I am using a virtual core with ctrlX Works v1.20.10.

I installed the PLC application onto the virtual core, and followed the steps shown here.

The odd thing I have seen is that I don't have the option of adding "Symbol Configuration" in the program tree:

rkoerner_0-1710764868005.png

 

When I go to look into the datalayer I see this:

rkoerner_0-1710764036916.png

I figure this is because I do not have a Symbol configured to have the data be moved into the Datalayer.

I have tried adding: "{attribute 'symbol' := 'readwrite'}" into the GVL, but this hasn't changed anything. I have also added the "Link always" into the GVL and Program which also showed no change.

Any help or direction is greatly appreciated.

 

6 REPLIES 6

AndreasL
Long-established Member

It looks like you're online when trying to add the Symbol Configuration, then its not avaiable.

The attribute stuff does nothing if there's no symbol configuration.

Also when i create a new project, in this case in 1.20.8 i do get the symbol configuration as default:

AndreasL_0-1710835051097.png

 

It is the same if I'm online or not it is like the symbol configuration doesn't exist.

This is a fresh project:

koern_dawg_0-1710877615072.png

 

It reacts the same if I create a GVL as well:

koern_dawg_1-1710877894465.png

 

I am wondering if it is a versioning issue because I am sure the tutorial was not made on this version.

It will be hard for me to downgrade to check this because my work computer is pretty locked down with Threatlocker.

Could you please do a repair installation of the ctrlX WORKS? Or if this does not help uninstall and install it again.

The how to is created with a older version of the ctrlX OS apps but the mechanism is still the same.

Thank you! The software version is different than what I have installed. (v1.20.12 now)

koern_dawg_0-1710936389170.png

The new version follows a slightly different sequence so I recommend updating the documentation.

See that the Symbol Configuration is not an option for the "Add Object" menu item.

koern_dawg_1-1710936884649.png

But following step "7a" will work, just step "4" is a bit inaccurate now.

Thanks again!

 

 

As mentioned from @AndreasL the symbol configuration is, like also visible on your last screenshot, already part of the project and cannot be added a second time. So that's why it is not available. 

I reworked the how to slightly and hope that it is clearer now.

I see what you were saying now, it won't pop up on that menu if it is already in the project.

Fewer steps than before is always good!

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