
Chapter 5
Addditional and Advanced
Programming Techniques
5-12
The following example shows how to specify AA–specific scope:
DEFVAR :C78’/AA/TIMER’ TO ”N7: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.
Defining Domain Scope
You can define MMS named variables with domain scope. You should
keep a record of them to ensure you specify their scopes correctly in future
applications. After defining the variables’ scopes, you must specify the
scopes correctly within command lines or you will receive an error code.
Important: Domain variable scope is only supported by the OSI
coprocessor as a client, not a server.
You specify domain scope by placing /domain, followed by the domain
name, and another /. All of this precedes the MMS named variable and is
within the single quotes.
The following example shows how to specify domain–specific scope.
The MMS named variable is LEVEL, DOMAIN is the scope, and
PAINT is the domain name, and all are within single quotes.
DEFVAR :C1’/DOMAIN:PAINT/LEVEL’ TO ”abc123”
Variable address in
another vendor's MAP
device.
In the example above, DOMAIN is the scope and PAINT is the domain
name. A colon must separate the domain name and the word DOMAIN.
Note that we show the sample address ”abc123” to designate the address of
another vendor’s MAP device, because specifying domain scope is only
supported by your OSI coprocessor as a client, not as a server.
Summary of Contents for PLC-5 MAP/OSI
Page 1: ...PLC 5 MAP OSI Software User Manual Cat No 1785 OSI AB Parts...
Page 4: ...Table of Contents iii OSI Layer Management E 1...
Page 57: ...Chapter 4 Basic Programming Techniques 4 7 For example B7 6 10 AB Parts...
Page 91: ...Mapping MMS Data Types onto PLC 5 40 5 60 File Types Appendix A A 2 T ACC D 16 AB Parts...