
Rockwell Automation Publication 871FM-UM002A-EN-P - April 2017
79
Appendix
D
Explicit Messaging Examples
Although the parameters are configured within the Add-on Profile (AOP), it is
possible to read and write parameters via Explicit Messaging. Use the device
index table to establish the index number and its properties.
details of Service Codes that are used in Explicit Messaging, these
codes along with the Index and Subindex numbers are used in the
configuration of the MSG instruction.
This appendix also gives index read/write examples (
and
) and
sub index read/write examples (
).
Service Codes
Table 6 - Service Codes
Service Code Hex
(Dec)
Need in Implementation
Service Name
Description
Class
Instance
4b (75)
Required
Required
Read Subindex
Read a parameter value from the IO-Link device
4c (76)
—
Required
Write Subindex
Write a parameter value from the IO-Link device
4e (78)
Required
Required
Read Index
Read an entire index (all parameters within an index) from the IO-Link
device
4d (77)
—
Required
Write Index
Writes an entire index (all parameters within an index) from the IO-Link
device
Table 7 - Ladder Logic Rules
(1)
Instruction
Message Configuration
Array[0]
Array[1]
Source Length [bytes]
Service Code
Attribute ID
Write
4IOL
Channel#
value
4IOL
index value 1
4e
0
8IOL
Channel#
value
8IOL
index value 1
4e
0
Instruction
Message Configuration
Array[0]
Array[1]
Source Length [bytes]
Service Code
Attribute ID
Read
4IOL
Channel#
4IOL
1
4d
0
8IOL
Channel#
8IOL
1
4d
0
(1) For more information about Service Codes, see Appendix A.
Содержание Allen-Bradley 871FM-M10BA30-x
Страница 6: ...6 Rockwell Automation Publication 871FM UM002A EN P April 2017 Table of Contents Notes...
Страница 8: ...8 Rockwell Automation Publication 871FM UM002A EN P April 2017 Preface Notes...
Страница 12: ...12 Rockwell Automation Publication 871FM UM002A EN P April 2017 Chapter 1 Product Overview Notes...
Страница 28: ...28 Rockwell Automation Publication 871FM UM002A EN P April 2017 Chapter 5 Create a Project Notes...
Страница 46: ...46 Rockwell Automation Publication 871FM UM002A EN P April 2017 Chapter 8 Register the 871FM IODD Notes...
Страница 66: ...66 Rockwell Automation Publication 871FM UM002A EN P April 2017 Chapter 11 Troubleshooting Notes...
Страница 84: ...84 Rockwell Automation Publication 871FM UM002A EN P April 2017 Appendix D Explicit Messaging Examples Notes...
Страница 88: ...88 Rockwell Automation Publication 871FM UM002A EN P April 2017 Index Notes...
Страница 89: ......