
Chapter 3
MMS and Your Coprocessor
3-7
The sections that follow provide sample mappings of each PLC controller
data table category listed above. We use the following conventions in our
examples:
This:
Means:
B3:0,n
a bit-string of length n starting at bit 0 of the specified word.
B3:0/x,n
a bit-string of length n starting at bit x (octal) of the specified word.
The following sections show some mappings that form structures. In these
cases, we have also included examples of the structure format as it is
viewed by MMS. For the mappings that are not structures, this is not
necessary.
You can use both upper and lower case letters when mapping MMS data
types onto PLC controller data files; the use of a semi–colon (;) in place of
a colon (:) is also allowed.
ASCII (A) Mappings
The following table contains samples of mapping ASCII data types.
Address:
MMS Data Type:
a10:0
VISIBLE STRING (1 byte)
a10:0,10
VISIBLE STRING (10 bytes)
Alternate mappings are available, see the section titled Additional
Information on Using Data Types, later in this chapter, and Appendix A of
this manual for more information on mapping MMS data types onto
PLC–5 data files.
Binary (B) Mappings
The following table contains samples of mapping binary data types.
Address:
MMS Data Type:
B3:0
BIT STRING (16 bits)
B3:0,25
BIT STRING (25 bits)
B3:0/0
BOOLEAN
B3:0/3,5
BIT STRING (5 bits)
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...