Documente Academic
Documente Profesional
Documente Cultură
Overview:
This tech note covers an example of Alias Topic Switching 'On Command' using RSLinx Classic and
RSView SE and possible problems and error messages when implementing other approaches to do the
same.
Equipment Used:
2 ControlLogix processors (f/w 12.29)
Computer with RSView SE V3.1 and RSLinx Classic V2.42 installed
Alternate Method:
A different command may be used on the command button for the 'release action' - "memory_tag = {::
https://rockwellautomation.custhelp.com/app/answers/detail/a_id/31003 10/12/2018
31003 - RSView SE and RSLinx Classic Alias Topic Switching 'On Command' Page 2 of 3
[path_se]@switchtopic()}". This forces looking for the item directly from the dataserver using the alias
topic "path_se".
Invalid Syntax Example #2 - If the command button's 'release' action is changed (by removing "area1"
from the command, which forces looking for the item in just the root '/' of the SE application, rather than
the 'area1' folder) to "memory_tag = /::[path_se]@switchtopic()", the following error message appears:
The item '/::[path_se]@switchtopic()' does not exist on any server
The tag '/::[path_se]@switchtopic()' has not been activated
Invalid Syntax Example #3 - If the command button's 'release' action is changed (by removing
"/area1" from the command) to "memory_tag = ::[path_se]@switchtopic()", the following error
messages appears:
Invalid expression: '::[path_se]@switchtopic()': Reason: Error at line 1, column 2: Invalid
character in expression
Invalid Syntax Example #4 - If the command button's 'release' action is changed (by removing
"/area1::" from the command) to "memory_tag = [path_se]@switchtopic()", the following error
messages appears:
Invalid expression: '[path_se]@switchtopic()': Reason: Error at line 1, column 2: Invalid
character in expression
Valid Syntax (Set HMI Tag to HMI Tag Approach) - If a device string tag (called "device_tag") with
the address "[path_se]@switchtopic()" or with the address "/area1::[path_se]@switchtopic()" (both of
which are valid syntax addresses) is created in the SE application, and the command issued on the
command button is changed to "memory_tag = device_tag", then when the button is pressed more than
once, the OPC topic will only switch once and never again.
DISCLAIMER
This knowledge base web site is intended to provide general technical information on a particular
subject or subjects and is not an exhaustive treatment of such subjects. Accordingly, the information in
this web site is not intended to constitute application, design, software or other professional engineering
advice or services. Before making any decision or taking any action, which might affect your equipment,
you should consult a qualified professional advisor.
https://rockwellautomation.custhelp.com/app/answers/detail/a_id/31003 10/12/2018
31003 - RSView SE and RSLinx Classic Alias Topic Switching 'On Command' Page 3 of 3
This page is best viewed in Internet Explorer 11, Edge, Firefox 41, Chrome 46, Safari 9 or newer.
https://rockwellautomation.custhelp.com/app/answers/detail/a_id/31003 10/12/2018