
Chapter 5
PCCC Commands
90
Rockwell Automation Publication 1756-PM020F-EN-P - January 2019
See also
The SLC commands use strictly a logical form of addressing (for example,
file/element/sub-element). For details about mapping the SLC files to
Logix 5000 Controllers Design Considerations
Logix handles
protected
and
unprotected
commands the same way, whether
the access for data is set to Read/Write, Read Only, or None.
Important:
For the SLC Typed Read and Typed Write commands, map the data files to Logix tags of types INT, DINT, or REAL only. Use an SLC or
MicroLogix file data type that matches the data type of the Logix tag.
For INT tags, use file type 85hex (Binary) or 89hex (Integer)
For DINT tags, use file type 91hex (Long
- MicroLogix only
)
For REAL tags, use file type 8Ahex (Float)
For more information on SLC file types, see the
DF1 Protocol and Command Set Reference Manual
SLC logical addressing has a limited number of logical address levels so
there are some special concerns.
In a
The element number is used as the
One-dimension array
Dimension index for addressing (data[elem])
Two-dimensional array
Index of the second dimension and the first dimension index is 0
(data[0][elem])
Three-dimensional array
Index of the third dimension and the first and second dimension indices are
both 0 (data[0][0][elem])
See also
SLC Protected Typed Logical Read with 3 Address Fields (CMD=0F,
SLC Protected Typed Logical Write with 3 Address Fields(CMD=0F,
SLC Protected Typed Logical Read with 2 Address Fields (CMD=0F,
SLC Protected Typed Logical Write with 2 Address Fields (CMD=0F,
The service is supported for compatibility with SLC modules. It reads data
from the logical address.
Request Format: [byte size][file number][file type][element number][sub-element number]
SLC Communication
Commands
SLC Protected Typed Logical
Read with 3 Address Fields
(CMD=0F, 4F; FNC=A2)