uminded

Codesys - Updating Unused Variables

2 posts in this topic

Is there a setting somewhere to get the UI to update unused variables? For example, I just need to troubleshoot an Ethernet/IP device I load up an empty project, setup the EDS and I want to view the data.

The bit mapping never updates unless I include it in logic.

The yellow highlighted items are not used in my program so they do not update. They may be diagnostics or error codes though that I want to see but not use.

Capture.PNG

Share this post


Link to post
Share on other sites

SOLVED! : In the IO Mapping in the bottom right corner set “Always Update Variables”: Enabled 2 (always in bus cycle task)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now