
Chapter 4
Basic Programming Techniques
4-5
The following sections provide a brief introduction to programming your
OSI coprocessor. This includes:
the Allen–Bradley programming commands
the
qualifiers
general rules for using MMS named variables
general rules for using address strings (MMS unnamed variables)
important information on outstanding network messages
If you are already familiar with these topics, you can skip ahead to the
individual command sections later in this chapter.
The Allen-Bradley Commands
The following table contains the programming software commands you
can use to program the OSI coprocessor. The table also shows the related
MMS service functions for each command.
Command:
Related MMS Service:
Description:
OPEN
Initiate
Initiates a connection with a remote node.
CLOSE
Conclude
Concludes a connection that was opened
with a remote node.
ABORT
Abort
Aborts a connection.
DEFVAR
DefineNamedVariable
Defines an MMS named variable.
DELVAR
DeleteVariableAccess
Deletes an MMS named variable.
SET
Read/Write
Transfers data across the MAP network.
There are other commands you can use to program the coprocessor. Refer
to Chapter 5, Additional Programming Techniques, for more information.
Qualifiers
A qualifier is a word used to specify the details of data transfer. The
qualifiers for PLC–5 programming software are:
This qualifier:
Allows you to specify:
TO
the destination of the data transfer
FROM
the source of the data being transferred
What You Should Know
Before You Program
Содержание 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...