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
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.
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"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
Last edit: nozomi 2020-03-11
more posts ...
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"