
Chapter 5
Addditional and Advanced
Programming Techniques
5-18
Specifying AA–specific Scope Within the MOVE Command Line
This is an example of specifying AA–specific scope:
move from :C51’/aa/timer’ t ”N9:0”
The MMS named variable is TIMER and is in single quotes. By
placing /AA/ just before the variable, we are specifying
application association scope.
Specifying Domain–specific Scope Within the MOVE Command Line
This is an example of specifying domain–specific scope:
mo to :C100’/DOMAIN:PAINT/LEVEL’ fr ’/aa/station_9’
The MMS named variable is LEVEL and is in single quotes. DOMAIN is the scope
and PAINT is the domain name. A colon must separate the domain name and the
word DOMAIN (or an abbreviation).
Here are examples for specifying MMS named variables within the MOVE
command line:
move from :c11’robot_4’ to ’/aa/robot_17’
m t ’machine_67’ f :c8’/dom:P5/transfer_4’
move f :C90’/vmd/press_19’ to ’/aa/press_1’
When you are defining MMS named variables and their scopes, it is a good
idea to keep a record of the variables and their associated scope types. If
you specify the wrong domain for a given MMS named variable, you will
receive an error code.
You can specify the scope of the variable within the UINFO command line.
To do this, enter the scope within the slash marks (/) and within the MMS
named variable’s single quotes. For example:
UINFO ’/AA/MACHINE_44’ TO :C7
The same rules apply for specifying scopes within the DEFVAR, DELVAR
and SET commands as they do for specifying scopes in the UINFO
command. Refer to the previous sections of this chapter for more details.
Specifying MMS Named
Variable Scope Within
UINFO
Содержание PLC-5 MAP/OSI
Страница 1: ...PLC 5 MAP OSI Software User Manual Cat No 1785 OSI AB Parts...
Страница 4: ...Table of Contents iii OSI Layer Management E 1...
Страница 57: ...Chapter 4 Basic Programming Techniques 4 7 For example B7 6 10 AB Parts...
Страница 91: ...Mapping MMS Data Types onto PLC 5 40 5 60 File Types Appendix A A 2 T ACC D 16 AB Parts...