Resolving element references
Factory Talk Design Studio resolves references by searching available scopes to identify the referenced element by name. If the referenced element is not found,
FactoryTalk Design Studio
displays an unresolved error on the Errors
tab of the Messages
pane.All element references in
FactoryTalk Design Studio
are resolved by name regardless of case. When resolving an element reference, FactoryTalk Design Studio
searches scopes available to the element. For example, a routine instruction may reference a controller application scoped tag. FactoryTalk Design Studio
looks first at the tags and parameters of the routine, then the program that owns the routine, and then the owner of the program. If there are two or more elements that have the same name,
FactoryTalk Design Studio
always uses the most local scope element. For example, a controller scoped tag and a routine parameter may both have the same name. For a reference from a routine, FactoryTalk Design Studio
resolves to the routine parameter.
TIP:
Where there are two more elements such as tags and parameters that have the same name within the same available scopes,
FactoryTalk Design Studio
displays a warning on the Errors
tab. The warning indicates that one element name at the inner most scope is hiding other element names within the available scopes.Provide Feedback