Semantic Error: '...' is inaccessible due to its protection level.
A POU contains an external call to the method mentioned in the error message which has the access specifier 'Private'. A private method, however, can only be called from inside the POU where the method is defined.
Double-clicking the error message opens the code of the calling POU and marks the invalid external method call. To edit the method, right-click the marked method instance and select 'Go to Implementation' from the context menu.
To fix the error, either set the access specifier of the called method to 'Public' or delete the invalid method call.
Further Info
Refer to the topic "Methods" for detailed information. |