10. Appendix D: DeviceNet Objects
10.10. I/O Data Input Mapping Object (Class 16#A0)
The “I/O Data Input Mapping Object” has only one instance (Instance ID = 16#01) and is specific to the LUFP9 gateway. It contains all the data from the gateway’s unique input area. The only attribute (Attribute ID = 16#01) of the instance from this object is associated with the “Input1” area. This input area gathers all the memory locations receiving data from a Modbus response.
Attributes of class 16#A0
ID | Access | Name | Need | Type | Value | Description |
16#01 | Get | Revision | Optional | UINT | 1 | Revision index of “I/O Data Input Mapping Object” class. |
16#64 | Get / Set | Input1 offset | Optional | USINT | 16#0000 | Relative starting address of input area no. 1. (1) |
16#6E | Get / Set | Input1 length | Optional | USINT | 16#0020 | Size, expressed in bytes, of input area no. 1. (1) |
(1)These 2 attributes correspond to the “Param6” and “Param7” parameters referenced by the EDS file supplied with the gateway. Write access to them (Access = Set) is reserved for DeviceNet configuration tools, since it allows you to change the location or the size of this input data area. So the “Set_Attribute_Single” service should not be used with these attributes. Changing any one of these two attributes has direct consequences on the attribute 16#01 of instance 16#01 from the “I/O Data Input Mapping Object” (size of the data). This attribute is not created if the size of the gateway’s input area is null. The “Input1 offset” attribute corresponds to an offset from the start of the memory area reserved for the input data (16#0000).
The values located in the “Value” column correspond to the LUFP9 gateway’s default configuration (“Input1” area located at address 16#0000 and made up of 32 bytes).
Services in class 16#A0
Service code | Name of the service | Need | Description |
16#0E | Get_Attribute_Single | Required | This service allows to read the value of one of the class attributes. |
Attributes of instance 16#01 of class 16#A0
ID | Access | Name | Need | Type | Value |
16#01 | Get | Data | Optional | USINT […] | (input area no.1) |
This attribute corresponds to the gateway’s “Input1” area. Reading it gives access to the values of all the data located in this area in the form of an array of bytes whose size corresponds to the size of the area. This very same attribute is also involved when using instance 16#64 of the Assembly Objects (Class 16#04) described in chapter 10.7 (voir page 98).
N.B. With the default configuration, attribute 16#01 corresponds to an array of 32 bytes whose content is described in chapter 8.2.1 Input Data Memory Area, page 84.
Services of instance 16#01 of class 16#A0
Service code | Name of the service | Need | Description |
16#0E | Get_Attribute_Single | Required | This service allows to read the array of values corresponding to the |
|
|
| sole attribute of the single instance from “I/O Data Input Mapping |
|
|
| Object”. |
108