
Chapter 3
MMS and Your Coprocessor
3-9
Address:
MMS Data Type:
T4:15
STRUCTURE of type TIMER
T4:3,10
ARRAY of 10 TIMER STRUCTURES
T4:1.DN
BOOLEAN
T4:1.TT
BOOLEAN
T4:1.EN
BOOLEAN
T4:0.ACC
INTEGER
T4:13.PRE
INTEGER
T4:0.DN,4
ARRAY of 4 BOOLEANS (This specifies 4 done bit members of TIMERS 0 to 3.
This also applies to TT and EN members.)
T4:0.ACC,50
ARRAY of 50 INTEGERS (This example specifies 50 accumulator members of
TIMERs 0 to 49. This also applies to PRE.)
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.
Counter (C) Mappings
The following is the format of a counter structure as viewed by MMS:
BOOLEAN
UN
BOOLEAN
OV
BOOLEAN
DN
BOOLEAN
CD
BOOLEAN
CU
INTEGER
PRE (16 bits)
INTEGER
ACC (16 bits)
Important: Refer to your PLC–5 Programming Reference Manual for
descriptions of the individual fields in data type structures.
The following table contains samples of mapping counter data types.
Address:
MMS Data Type:
C5:15
STRUCTURE of type COUNTER
C5:3,10
ARRAY of 10 COUNTER STRUCTURES
C5:3.UN
BOOLEAN
C5:1.OV
BOOLEAN
Содержание 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...