
Chapter
5
5-1
Additional and Advanced Programming
Techniques
This chapter contains additional programming techniques. In it, we cover
the following topics:
sending unsolicited variable information (the UINFO command)
sending unsolicited status information (the USTAT command)
reading and writing data (using the MOVE command)
obtaining status on a connection (using CSTAT)
specifying the data type of an MMS named variable (using DTYPE)
defining scopes of MMS named variables (using DEFVAR)
deleting MMS named variables of a particular scope (using DELVAR)
specifying the scope of an MMS named variable within the SET and
MOVE command lines
specifying the scope of an MMS named variable within the UINFO
command line
Note that we consider many of these topics as advanced programming
techniques. We assume you have thorough knowledge of the MMS
protocol. Refer to Chapter 4 of this manual for basic programming
information.
You can send unsolicited variable status using the UINFO command. This
command has the following syntax:
UINFO <source> TO <connection>
The following table defines each part of the UINFO command line.
Where:
Is:
UINFO
the command that specifies sending an unsolicited report to a connection. You
can abbreviate to two characters and use upper or lower case letters. Leave at
least one space in between each field in the command line.
<source>
the location where the requested information is stored. This must be a local
MMS named variable or local address, followed by the TO qualifier.
TO
the qualifier that specifies where the information is being sent; you can
abbreviated as T.
<connection>
the communication link established between one application and another. This
will be the connection identifier :C followed by an integer from 1 to 9999.
Chapter Objectives
Sending Unsolicited Variable
Information (The UINFO
Command)
Содержание 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...