Schneider Electric LUFP9 user manual Attributes of class 16#05, Services in class 16#05

Page 100

10. Appendix D: DeviceNet Objects

The “Change-of-State / Cyclic Connection” connection (Instance ID 16#04) allows the gateway to produce its data only when their values change or when a timer called “heartbeat rate” times out. A minimum time limit is intended to prevent the connection from monopolizing the DeviceNet network’s bandwidth, should the values of the data it produces change too often. Going into “Cyclic” mode allows the number of exchanges made via this connection to be reduced if the update time (sampling) for the data produced is slow. By adjusting the connection’s cycle time to the value of this time, the produced data corresponds exactly to the data samples, without losing or repeating any sample.

Attributes of class 16#05

ID

Access

Name

Need

Type

Value

Description

 

 

 

 

 

16#01

Get

Revision

Optional

UINT

1

Revision index of the “Connection Object” class.

 

16#64

Get / Set

Polled production

Optional

USINT

0

Index of the input area used

by the gateway

for

 

 

 

 

 

 

production

on

its

“Polled

Command/Response”

 

 

 

 

 

 

connection. (1)

 

 

 

 

16#65

Get / Set

Polled consumption

Optional

USINT

0

Index of the output area used

by the gateway

for

 

 

 

 

 

 

consumption

on

its

“Polled

Command/Response”

 

 

 

 

 

 

connection. (1)

 

 

 

 

16#66

Get / Set

Strobed production

Optional

USINT

0

Index of the input area used

by the gateway

for

 

 

 

 

 

 

production on its “Bit Strobed

Command/Response”

 

 

 

 

 

 

connection. (1)

 

 

 

 

16#67

Get / Set

Strobed consumption

Optional

USINT

0

Index of the output area used

by the gateway

for

 

 

 

 

 

 

consumption on its “Bit Strobed

Command/Response”

 

 

 

 

 

 

connection. (1)

 

 

 

 

16#68

Get / Set

COS production

Optional

USINT

0

Index of the input area used

by the gateway

for

 

 

 

 

 

 

production on its “Bit Strobed

Command/Response”

 

 

 

 

 

 

connection. (1)

 

 

 

 

(1)All these 5 attributes relate to the first 5 parameters referenced by the EDS file supplied with the gateway. Write access to them (Access = Set) is reserved for DeviceNet configuration tools. You should not use the “Set_Attribute_Single” service with these attributes. An area’s index is necessarily equal to 0 and corresponds to the “Input1” area of the gateway, that is to say to its only one input data area.

Services in class 16#05

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#05: Explicit Connection

ID

Access

Name

Need

Type

Value

16#01

Get

State

Required

USINT

0 to 5

This attribute represents the status of the “Explicit Connection” object. The LUFP9 gateway supports the following values: 0 (non-existent), 1 (in the process of being configured), 3 (connection established), 4 (timed out) and 5 (deferred deletion). Please see figures 5.16 and 7.4 in volume I of the DeviceNet specifications for further information on this subject.

16#02

Get

Instance type

Required

USINT

0

This attribute defines the instance’s connection type: Messaging connection (0) or I/O connection (1).

100

Image 100
Contents LUFP9 Page LUFP9 Page Table of contents Introduction Introduction to the user guideTerminology Introduction to the LUFP9 GatewayAltistart Notational Conventions Additional DocumentationModbus Modbus VW33-A48Downstream network no.3 Modbus Downstream network no.1Principle Used to Configure and Operate the LUFP9 Gateway ABC Configurator Modbus networkLUFP9 gateway RSNetWorxRSLogix 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 Connecting the Gateway to the Modbus Network Examples of Modbus connection topologiesLUFP9 gateway TSXCSA00 Pin outs120 Ω Wiring recommendations for the Modbus networkHubs, drops, taps, and line terminations Connecting the LUFP9 gateway to the DeviceNet network Wire colourCables PinConfiguring DeviceNet Communication Features Selector Switches DeviceNet speed 3 4 5 6 7Speed Address Mac ID Selector DeviceNet Switches Address 3 4 5 6 7Encoding the Gateway Address Signalling Software Implementation of the Gateway IntroductionSystem 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 Selecting and Adding the Gateway to the DeviceNet Network Editing gateway parametersSoftware Implementation of the Gateway Configuring the DeviceNet Scanner Configuring Inputs from the Gateway Service PLC input DescriptionI1.1 I1.2Configuring Outputs Intended for the Gateway Service PLC output DescriptionO1.1 O1.2Output Value Meaning MSB + LSB Description of Services Assigned to Gateway Inputs/OutputsInput Value Meaning MSB + LSB Transferring the DeviceNet Scanner Configuration Developing a DeviceNet ApplicationGateway Initialization and Diagnostics Full ManagementSummary Control/Status Byte field Sub-chapterFbdu Modbus exchange startup Fbhssend New DeviceNet master command wordBits Description Bits Description Abchssend New gateway diagnostic 11EC Error code associated with the Modbus networkED Error data item associated with the Modbus network Gateway Status WordDescription of the error Diagnostic only DeviceNet Master Command Word Simplified Operation Configuring the Gateway Connecting the Gateway to the Configuration PCLUFP9 Configuration Female RJ45 RS-232 link protocolMale RJ45 PC COM Male 9 point SUB-DInstalling AbcConf Importing the Gateway ConfigurationTransferring a Configuration to the Gateway Monitoring the Content of the Gateway’s MemoryConfiguring the Gateway Procedure for deleting a Modbus slave Deleting a Modbus SlaveCopying a previously configured Modbus slave Adding a Modbus SlaveAdding a new type of Modbus slave Keyboard shortcut CtrlImporting/exporting a Modbus slave configuration Changing the Periodic Data Exchanged With a Modbus Slave Replacing a Periodic Input Data ElementReplacing an Output Periodic Data Element Increasing the Amount of Periodic Input Data Configuring the Gateway Configuring the Gateway I1.17 I1.18I1.19 I1.20Configuring the Gateway Configuring the Gateway Configuring the Gateway O1.17 O1.18Deleting Aperiodic Parameter Data Configuring the Gateway Changing a Modbus slave Configuration Changing the Name of a Modbus SlaveChanging the Address of a Modbus Slave Adding and Setting Up a Modbus Command Name of the Modbus command Modbus queryWith TeSys U Motor Starters Modbus responseWith a Generic Modbus Slave Configuring the Gateway DeviceNet Configuring the Query Configuration Description ElementConfiguring the Gateway Default communication mode. The query is transmitted Configuring the Response Configuring the Content of the Query Frame Field Size Description FrameSize FieldFrame Mode. The default value, CRC, should not be changed Configuring the Content of the Response FrameAdding a Special Modbus Command Modbus Commands Based on Standard CommandsModbus Commands which Can Be Completely Changed by the User Configuring the General Characteristics of the Gateway Fieldbus elementABC Element Sub-Network Element Configuring the Gateway Adding a Broadcaster Node Communication Characteristics Appendix a Technical CharacteristicsEnvironment Inputs Input data areaOutputs General dataOutput data area General data areaAppendix B Default Configuration Configuring Modbus exchanges16#10 16#06Content of the Gateway’s Dpram Memory Input Data Memory Area16#0200 Appendix C Practical Example RSLogix Main Program LAD 2 MAINLUFP9Address Symbol Description ScanvalidationCmdreset Module Address Symbol DisplayAppendix C Practical Example RSLogix Numparam Appendix C Practical Example RSLogix Wrrunning Address Symbol Display Reserves relating to the RSLogix 500 exampleAppendix D DeviceNet Objects Introduction to the Gateway’s DeviceNet ObjectsList of the Gateway’s DeviceNet Objects Class Required Instances InterfacesGraphical Representation of the Gateway’s DeviceNet Objects Identity Object class 16#01Services of instance 16#01 of class 16#01 Attributes of instance 16#01 of class 16#01Message Router Object class 16#02 DeviceNet Object class 16#03Assembly Objects Class 16#04 Services of instance 16#01 of class 16#03Services in class 16#04 Revision index of the Assembly Object classServices of instances 16#64 and 16#96 of class 16#04 Connection Object Class 16#05Attributes of instance 16#64 of class 16#04 Modbus Inputs Attributes of instance 16#96 of class 16#04 Modbus OutputsServices in class 16#05 Attributes of class 16#05Initial comm. characteristics Watchdog timeout action16#83 Produced connection IDAccess Name Type Value 16#01 Get StateGet / Set Produced connection path Type Value16# 20 04 24 64 30 Type Value 16#07 Get / Set Produced connection size Type Value 16#04 Get / Set Produced connection ID #0 xxServices in class 16#2B Acknowledge Handler Object class 16#2BAttributes 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 in class 16#A0 Services of instance 16#01 of class 16#A010.10. I/O Data Input Mapping Object Class 16#A0 Attributes of class 16#A0Services in class 16#A1 Services of instance 16#01 of class 16#A110.11. I/O Data Output Mapping Object Class 16#A1 Attributes of class 16#A1Diagnostic Object Class 16#AA Services in class 16#AAAttributes of class 16#AA Attributes of instance 16#01 of class 16#AAAccess Name Need Type Value 16#09 Get LED status Module typeDeviceNet 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 Preset Multiple Registers Command 16#10 Modbus Protocol Exception ResponsesCode Name Description of the exception Exception Page User’s manual V1.0 2003-03