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

Variables Configuration - VAR_CONFIG for variable with incomplete address

Variables Configuration - VAR_CONFIG for variable with incomplete address

Zeugwerker
Member

Hi,

I'm trying to generate a variables configuration as explained in codesys help for variable with incomplete address.https://help.codesys.com/api-content/2/codesys/3.5.12.0/en/_cds_variables_configuration/#id1 .

But when I click on Declarations > Add all instance paths (Step 6), I get the error

Zeugwerker_0-1646564306520.png


When I try to compile the program now I get the error that there is no VAR_CONFIG for the variables with incomplete address.

Zeugwerker_1-1646564425887.png

I seems to be a chicken-and-egg situation. 

I have many function blocks with variables with incomplete adresses, has somebody an idea how to generate the variables configuration?

thx in advance

 

 

1 REPLY 1

Jochen_Mueller
Community Moderator
Community Moderator

Hello

Problem: per default we can't make a "build" only anmore. and with the "generate code" we run into the descriped problem.

Workaround: Add the "build" only button to the menue again.

  • open customize dialog unter Tools

     Jochen_Mueller_0-1646649768253.png

 

  • open Build tree and select an empty node
  • press "Add Command"
  • Select Build
  • press Ok

Jochen_Mueller_1-1646649914445.png

After this the build only button is available again and the descriped procedure works.

Jochen_Mueller_2-1646650145976.png

Regards

Jochen

 

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