
Chapter 5
Additional and Advanced
Programming Techniques
5-5
Here are more examples of using the MOVE command to read:
MOVE FROM :C9’PLATFORM_3’ TO ’BAY_44’
m t ”n12:1” f :c34’station_16’
mov fr C:7”n34:2” to ”n12:9”
Using the MOVE Command to Write Data
The syntax for using MOVE to write data is:
MOVE FROM <source> TO <connection><destination>
You can also switch the placement of the qualifiers within the command
line:
MOVE TO <connection><destination> FROM <source>
The following table defines each part of the MOVE command line.
This:
Is:
MOVE
the command that requests the data transfer. You can abbreviate to one
character, upper or lower case. Leave at least one space between each field
in the command line.
FROM
the qualifier that allows you to specify the source of the data transfer. You can
abbreviate to one character and use upper or lower case letters.
<source>
the location where the requested information is stored. This could be a local
MMS named variable (in single quotes) or a local address (in double quotes).
TO
the qualifier that allows you specify the destination of the data transfer. You
can abbreviate as T and use upper or lower case letters.
<connection>
the communication link established between two points. You label
connections using the connection symbol :C followed by an integer from 0 to
9999.
<destination>
the location where the requested information is going to be placed. This could
be a remote MMS named variable (in single quotes) or a remote address (in
double quotes). A connection identifier (:C) must precede the destination, and
both must directly follow the FROM qualifier.
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...