
Chapter 5
Additional and Advanced
Programming Techniques
5-13
Rules for Specifying Domain–specific Scopes
When specifying domain scope, keep the following rules in mind:
you can abbreviate DOMAIN to one or more characters, upper or lower
case
a colon must separate DOMAIN (or its abbreviation) and the domain
name, with no spaces between them
you
must specify the domain name
the domain name can be up to 32 characters long and can contain the
following characters: A to Z (either upper or lower case), numerals 0
through 9, an underscore (_), and a dollar sign ($). It cannot start with a
numeral.
Within the DELVAR command line, you have the opportunity to specify
the scope of the variable you are deleting. If you do not specify the scope
of the MMS named variable you are deleting, it is assumed that variable
has VMD–specific scope.
Important: Domain variable scope is only supported by the OSI
coprocessor as a client, not a server. Therefore, you can specify all three
domain types in client–type applications, but only VMD and AA scope
will be accepted by server applications. For example, you can
define/delete MMS named variables with VMD–specific and AA scope in
the OSI coprocessor, but not domain scope. You can, however,
define/delete MMS named variables with domain scope for other vendors’
devices (if supported by those devices).
Important: If you have defined an MMS named variable with either
application association (AA) or domain scope, you must specify its scope
within the DELVAR command line (see previous section). By not entering
a scope, it is assumed the variable has VMD–specific scope.
If the variable you are deleting has, for example, application association
scope (AA), you must specify it within the command line, for example:
DELVAR :C9’/AA/COUNTER_6’
If we had not specified AA scope for the variable COUNTER_6, then it
would be assumed that it had VMD–specific scope. If there was no
variable called COUNTER_6 with VMD–specific scope, no variable
would be deleted. If there was another variable called COUNTER_6 that
had VMD–specific scope, that variable would have been deleted.
The following is an example of deleting a variable with domain scope:
DELVAR :C1’/DOMAIN:PAINT/LEVEL’
Deleting MMS Named
Variable of a Particular
Scope (Using DELVAR)
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...