Schneider Electric LUFP9 user manual 10.11. I/O Data Output Mapping Object Class 16#A1

Page 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

Get / Set

Output1 length

Optional

USINT

16#0020

Size, expressed in bytes, of output 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 array 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.”

109

Image 109
Contents LUFP9 Page LUFP9 Page Table of contents Introduction to the user guide IntroductionTerminology Introduction to the LUFP9 GatewayAltistart Additional Documentation Notational ConventionsModbus VW33-A48 ModbusDownstream network no.3 Modbus Downstream network no.1Principle Used to Configure and Operate the LUFP9 Gateway Modbus network ABC ConfiguratorRSNetWorx LUFP9 gatewayRSLogix DeviceNet NetworkHardware Implementation of the LUFP9 Gateway Configuration Modbus RTUOn Receipt Mounting the Gateway on a DIN Rail Powering the gatewayMounting the gateway Dismounting the gateway Examples of Modbus connection topologies Connecting the Gateway to the Modbus NetworkLUFP9 gateway Pin outs TSXCSA00120 Ω Wiring recommendations for the Modbus networkHubs, drops, taps, and line terminations Wire colour Connecting the LUFP9 gateway to the DeviceNet networkCables PinSelector Switches DeviceNet speed 3 4 5 6 7 Configuring DeviceNet Communication FeaturesSpeed Address Mac ID Selector DeviceNet Switches Address 3 4 5 6 7Encoding the Gateway Address Signalling Introduction Software Implementation of the GatewaySystem Architecture DeviceNet Master PLC SLC500 DeviceNet upstream networkModbus cycle time Configuring the Motor StartersManaging degraded modes Installing the Gateway Description File Configuring the Gateway in RsNetWorxSelecting and adding the master PLC’s DeviceNet scanner Editing gateway parameters Selecting and Adding the Gateway to the DeviceNet NetworkSoftware Implementation of the Gateway Configuring the DeviceNet Scanner Service PLC input Description Configuring Inputs from the GatewayI1.1 I1.2Service PLC output Description Configuring Outputs Intended for the GatewayO1.1 O1.2Output Value Meaning MSB + LSB Description of Services Assigned to Gateway Inputs/OutputsInput Value Meaning MSB + LSB Developing a DeviceNet Application Transferring the DeviceNet Scanner ConfigurationFull Management Gateway Initialization and DiagnosticsSummary Control/Status Byte field Sub-chapterFbdu Modbus exchange startup Fbhssend New DeviceNet master command wordBits Description 11EC Error code associated with the Modbus network Bits Description Abchssend New gateway diagnosticED Error data item associated with the Modbus network Gateway Status WordDescription of the error Diagnostic only DeviceNet Master Command Word Simplified Operation Connecting the Gateway to the Configuration PC Configuring the GatewayRS-232 link protocol LUFP9 Configuration Female RJ45Male RJ45 PC COM Male 9 point SUB-DImporting the Gateway Configuration Installing AbcConfMonitoring the Content of the Gateway’s Memory Transferring a Configuration to the GatewayConfiguring the Gateway Deleting a Modbus Slave Procedure for deleting a Modbus slaveAdding a Modbus Slave Copying a previously configured Modbus slaveAdding a new type of Modbus slave Keyboard shortcut CtrlImporting/exporting a Modbus slave configuration Replacing a Periodic Input Data Element Changing the Periodic Data Exchanged With a Modbus SlaveReplacing an Output Periodic Data Element Increasing the Amount of Periodic Input Data Configuring the Gateway Configuring the Gateway I1.18 I1.17I1.19 I1.20Configuring the Gateway Configuring the Gateway Configuring the Gateway O1.18 O1.17Deleting Aperiodic Parameter Data Configuring the Gateway Changing the Name of a Modbus Slave Changing a Modbus slave ConfigurationChanging the Address of a Modbus Slave Name of the Modbus command Modbus query Adding and Setting Up a Modbus CommandWith TeSys U Motor Starters Modbus responseWith a Generic Modbus Slave Configuring the Gateway DeviceNet Configuration Description Element Configuring the QueryConfiguring the Gateway Default communication mode. The query is transmitted Configuring the Response Field Size Description Frame Configuring the Content of the Query FrameSize FieldFrame Configuring the Content of the Response Frame Mode. The default value, CRC, should not be changedModbus Commands Based on Standard Commands Adding a Special Modbus CommandModbus Commands which Can Be Completely Changed by the User Fieldbus element Configuring the General Characteristics of the GatewayABC Element Sub-Network Element Configuring the Gateway Adding a Broadcaster Node Communication Characteristics Appendix a Technical CharacteristicsEnvironment Input data area InputsGeneral data OutputsOutput data area General data areaConfiguring Modbus exchanges Appendix B Default Configuration16#10 16#06Input Data Memory Area Content of the Gateway’s Dpram Memory16#0200 Main Program LAD 2 MAINLUFP9 Appendix C Practical Example RSLogixScanvalidation Address Symbol DescriptionAddress Symbol Display Cmdreset ModuleAppendix C Practical Example RSLogix Numparam Appendix C Practical Example RSLogix Wrrunning Reserves relating to the RSLogix 500 example Address Symbol DisplayIntroduction to the Gateway’s DeviceNet Objects Appendix D DeviceNet ObjectsList of the Gateway’s DeviceNet Objects Class Required Instances InterfacesIdentity Object class 16#01 Graphical Representation of the Gateway’s DeviceNet ObjectsAttributes of instance 16#01 of class 16#01 Services of instance 16#01 of class 16#01DeviceNet Object class 16#03 Message Router Object class 16#02Services of instance 16#01 of class 16#03 Assembly Objects Class 16#04Services in class 16#04 Revision index of the Assembly Object classConnection Object Class 16#05 Services of instances 16#64 and 16#96 of class 16#04Attributes of instance 16#64 of class 16#04 Modbus Inputs Attributes of instance 16#96 of class 16#04 Modbus OutputsAttributes of class 16#05 Services in class 16#05Watchdog timeout action Initial comm. characteristics16#83 Produced connection IDType Value 16#01 Get State Access NameGet / Set Produced connection path Type Value16# 20 04 24 64 30 Type Value 16#07 Get / Set Produced connection size #0 xx Type Value 16#04 Get / Set Produced connection ID Acknowledge Handler Object class 16#2B Services in class 16#2B Attributes of instances 16#01 to 16#04 of class 16#05 Attributes of class 16#2BType Value 16#06 Get Data with ack path list size Services of instance 16#01 of class 16#2BData with ack path list Services of instance 16#01 of class 16#A0 Services in class 16#A010.10. I/O Data Input Mapping Object Class 16#A0 Attributes of class 16#A0Services of instance 16#01 of class 16#A1 Services in class 16#A110.11. I/O Data Output Mapping Object Class 16#A1 Attributes of class 16#A1Services in class 16#AA Diagnostic Object Class 16#AAAttributes of class 16#AA Attributes of instance 16#01 of class 16#AAModule type Access Name Need Type Value 16#09 Get LED statusDeviceNet module status Changed data fieldServices of instance 16#01 of class 16#AA Appendix E Modbus Commands Preset Single Register command 16#06 Read Holding Registers Command 16#03Frame Field Value or properties Modbus Protocol Exception Responses Preset Multiple Registers Command 16#10Code Name Description of the exception Exception Page User’s manual V1.0 2003-03