
Chapter 5
Additional and Advanced
Programming Techniques
5-3
You can send unsolicited status information using the USTAT command
(this will be the same status as in the MMS Status Response in server
mode). This command has the following syntax:
USTAT TO <connection>
The following table defines each part of the USTAT command line.
Where:
Is:
USTAT
the command that specifies sending status to a connection. You can abbreviate
to two characters and use upper or lower case letters. Leave at least one space
between each field in the command line.
TO
the qualifier that specifies where the status will be sent; you can abbreviate as T.
You must specify the TO qualifier, and it must directly follow the USTAT
command.
<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.
Here are examples of using the USTAT command:
USTAT TO :C33
US TO :C9
The related MMS service for USTAT is UnsolicitedStatus.
Like the SET command, the MOVE command transfers (reads or writes)
an element, a contiguous block of elements, or an MMS structure to or
from a node on the MAP network. With MOVE, however, you also need
to use the TO and FROM qualifiers. We recommend using SET, simply
because it is shorter to type in (see Chapter 4 for information on the SET
command).
The syntax for using the MOVE command to read is different from using it
to write. The following sections address each case individually in the
following order:
using the MOVE command to read data
using the MOVE command to write data
using the MOVE command read/write data from/to your local PLC–5
controller (on :C0)
The related MMS service for MOVE is Read/Write.
Using the MOVE Command to Read Data
The syntax for using MOVE to read data is:
Sending Unsolicited Status
Information (The USTAT
Command)
Reading and Writing Data
(Using the MOVE 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...