109
10. Appendix D: DeviceNet Objects
10.11. I/O Data Output Mapping Object (Class 16#A1)
The “I/O Data Output 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 output area. The only attribute (Attribute ID = 16#01)
of the instance from this object is associated with the “Output1” area. This output area gathers all the memory
locations whose values are transmitted to the Modbus slaves via Modbus queries.
Attributes of class 16#A1
ID Access Name Need Type Value Description
16#01 Get Revision Optional UINT 1 Revision index of “I/O Data Output Mapping Object” class.
16#64 Get / Set Output1 offset Optional USINT 16#0000 Relative starting address of output area no. 1. (1)
16#6E Ge t / Set Output1 length Op tiona l US INT 16#002 0 Size, exp resse d in byt es, of outpu t area no. 1. (1)
(1) These 2 attributes correspond to the “Param18” and “Param19” 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 output 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 Output
Mapping Object” (size of the data). This attribute is not created if the size of the gateway’s output area is
null. The “Output1 offset” attribute corresponds to an offset from the start of the memory area reserved for
the output data (16#0200).
The values located in the “Value” column correspond to the LUFP9 gateway’s default configuration
(“Output1” area located at address 16#0200 and made up of 32 bytes).
Services in class 16#A1
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#A1
ID Access Name Need Type Value
16#01 Get / Set Data Optional USINT […] (output area no.1)
This attribute corresponds to the gateway’s “Output1” area. Reading it gives access to the values of all the data
located in this area, and writing it allows to change them. These values take 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#96 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.2 Output Data Memory Area, page 85.
Services of instance 16#01 of class 16#A1
Service code Name of the service Need Description
16#0E Get_Attribute_Single Optional This service allows to read the arra y of values corresponding to the
sole attribute of the single instance from “I/O Data Output Mapping
Object.”
16#10 Set_Attribute_Single Required This service allows to write/change all the values corresponding to
the sole attribute of the single instance from “I/O Data Output
Mapping Object.”