Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

How can 'Update Referenced Pins' be clicked?

nozomi
2020-03-11
2020-03-11
  • nozomi - 2020-03-11

    Hi, everyone!
    How can menu 'Edit'- 'Refactoring' - 'Update Referenced Pins' be clicked?
    I did the belowing requirement in the online hlep.
    But still can't click this menu.
    Please refer to the attachment.

    Is there something misunderstanding?

    Requirement: The cursor is placed in the name of the block in the first line of the block declaration or in the device tree.

     
    πŸ‘
    1

    Last edit: nozomi 2020-03-11
  • i-campbell

    i-campbell - 2020-03-11

    This is a known bug. The command was removed in SP7 but the menu item and documentation was still available. You now should use the Refactoring "Add/Remove Variable".

    However it looks like you are trying to do this for the softmotion library, where you aren't adding your own variables to your own POU. For this I would find every instance of MC_Power in your project, right click on the Block in the Code Editor (not declaration editor) and "Update Parameters"

     

Log in to post a comment.