Home

User Manual - Sütron electronic GmbH

image

Contents

1. 1 22 1 7 4 Cable DeviceNet 5 Pin Male Connector Strip 1 22 1 8 Error Messages A YR hen 1 23 1 9 E 1 24 1 9 1 OMRON DRM 21 1 1 24 1 9 2 0 1 24 1 9 3 Rockwell RS Logix 5555 1756 1 25 1 9 4 Rockwell SLC 505 1747 5 1 25 S cc TRECE A 1 ii 6 SUTRON ELECTRONIC GMBH DeviceNet 1 DeviceNet The operating device is incorporated into the DeviceNet netvvork as a DeviceNet slave The communication between a controller master or scanner and the operat ing device slave is based on the Predefined Master Slave Connection Set Explicit Message Connections and Poll I O Connections are used as Connection In stances 1 1 Explicit Message Explicit Messages are used to exchange data betvveen the operating device and the controller This requires you to create a function block in the controller which assem bles the payload into Explicit Messages 1 1 1 Storing Data All data displayed by the operating device are stored in the operating device s data memory The size of the data memory is 2500 vvords The data memory is vvord oriented The addresses are alvvays vvord addresses both from the operating device s and the controller s perspective 1 1 2
2. 1 22 D 1 1 Explicit 1 1 Format e 1 16 Module network status 1 6 Object definitions 1 10 Poll VO connection 1 4 P Pin assignment 1 19 1 20 Protocol parameters DeviceNet eee 1 6 V 1 9 6 SUTRON ELECTRONIC GMBH ndex A 2 ELECTRONIC GMBH 6 SUTRON ELECTRONIC GMBH S tron electronic GmbH Kurze Stra e 29 D 70794 Filderstadt Phone 0049 711 77098 0 Fax 0049 711 77098 60 E mail doku suetron de Internet www suetron com 6 SUTRON ELECTRONIC GMBH
3. D SUB D SUB male connector female connector 9 pin 9 pin Both ends of the shield are connected to the metallic housing gt Contrary to the recommendations made in the CiA Draft Standard 102 the cable is only equipped with the wires needed to meet the current communication require menis 1 7 4 Cable DeviceNet 5 Pin Male Connector Strip Operating device Next DeviceNet participant o gt 2 sE B z m o o o gt gt 2 1 DRAIN ES SINE GNYE 2 DRAIN Male connector Female connector 5 pin 5 pin Both ends of the shield are connected to pin 3 gt to the recommendations made in the CIA Draft Standard 102 the cable is only equipped with the wires needed to meet the current communication require ments i S sutron ELECTRONIC GMBH DeviceNet 1 8 Error Messages Error messages are displayed on the operating device along vvith a code and sub code Error messages are composed as follovvs Communication Error Code XXXXX Subcode XXXXX Retries XXXXX Table 1 42 DeviceNet error messages controller Code Subcode Error Type Possible Cause 50 Hardvvare error 1 CAN controller error stuff error 2 CAN controller error form error 3 CAN controller error acknovvledge error Device is not connected to the bus 4 CAN controller error bit 1 Error Short circuit between the CAN L
4. User Manual Connection to DeviceNet Part Number 80 860 642 Version 1 Date 12 07 2005 Valid for TSwin net 4 0x S sutron ELECTRONIC GMBH Version Date Modifications 1 12 07 2005 First edition This manual including all illustrations contained herein is copyright protected Use of this manual by any third party in departure from the copyright provision is forbidden No part of this manual may be reproduced trans lated or electronically or photographically archived or altered without the express written consent from S tron electronic GmbH Violations shall be cause for damage liability S tron electronic reserves the right to make any changes that contribute to technical improvement 6 SUTRON ELECTRONIC GMBH Overall Table of Contents Overall Table of Contents 1 P 1 1 1 1 Explicit Message erii tene een pepe REZA EP Rudd 1 1 1 1 1 1 1 1 1 2 Exchanging Data He ee ea 1 1 1 1 3 Data 1 2 1 1 4 Read Serice u a een 1 2 1 1 5 Write Service c ada d b ida 1 3 1 1 6 Fragmentai 1 4 1 2 Poll O G nnectlon ea Amal 1 4 1 2 1 Receive Data of the Operating Device Consumed Data 1 4 1 2 2 Transmit Data of the Operating Device Produced Data 1 4 1 2 2 1 Byte 1 Initialization u nen eret te
5. 15 DeviceNet Format of the Explicit Message Table 1 37 Format of the Explicit Message Class ID Service ID nstance ID Service Data Service Name 1B 575 Attribute ID Data 1 Byte n Byte 0x01 OxOE Get 0x01 0x01 Vendor ID Get Attribute Single Identity Vendor ID Igel 0x02 Product Type Get Attribute Single Product Type 0x03 Product Get Attribute Single Code Product Code 0x04 Vendor Get Attribute Single Revision Vendor Revision 0x05 ID Status Get Attribute Single ID Status 0x06 Serial Get Attribute Single Number Serial Number 0x07 Product Get Attribute Single Name Product Name 0x05 0x01 N A or 0x01 RESET 0x03 OxOE Get 0x01 0x01 MAC ID Get Attribute Single MAC ID 75 0x02 Baud Rate Get Attribute Single Net Ob Baud Rat ject aud Rate 0x05 Allocation Get Attribute Single Information Allocation Information 0x04 OxOE Get 0x64 IN DATA IN DATA Assem I 0x0E Get 0x65 OUT DATA OUT DATA bly Ob ject 1 16 6 SUTRON ELECTRONIC GMBH DeviceNet Table 1 37 Format of the Explicit Message Class ID Service ID nstance ID Service Data Service Name 55 du 1 Byte Attribute ID Data 1 Byte n Byte 0x05 OxOE Get 0x01 Explicit 0x01 State Get Attribute Single State Connec Message tion Ob 0x02 Polled 0x02 77 7 7 Single ject Vo ype nstance Type 0x03 Transpo
6. Connection Object Service ID Service Name Description OxOE Get Attribute Single Read Attribute 0x10 Set_Attribute_Single Write Attribute 1 4 5 BT Object 1 4 5 1 Instance Service of the BT Object Table 1 28 Instance Service of the BT Object Service ID Service Name Description 0x33 Block StringN Read Read Data by Each Data Unit 0x35 Block StringN Write Write Data by Each Data Unit Service ID 0x33 Block StringN Read Table 1 29 Request without Attribute parameter Byte Designation 1 MAC ID 2 Service ID 0x33 3 Class ID 0x8A 4 Instance ID 0x01 5 Word Address Low Byte 6 Word Address High Byte 7 Word Number of Bytes Low Byte 8 Word Number of Bytes High Byte Table 1 30 Response without Attribute parameter Byte Designation 1 MAC ID 2 Service ID 0xB3 3 1st Data Word Low Byte 1 13 6 SUTRON ELECTRONIC GMBH DeviceNet Service ID 0x35 Block StringN Vvrite Table 1 30 Response vvithout Attribute parameter Byte Designation 4 1st Data Word High Byte 5 2nd Data Word Low Byte 6 2nd Data Word High Byte Table 1 31 Request with Attribute parameter Byte Designation 1 MAC ID 2 Service ID 0x33 3 Class ID 0x8A 4 Instance ID 0x01 5 Attribute 0x01 6 Word Address Low Byte 7 Word Address High Byte 8 Word Number of Bytes Low Byte 9 Word Number of Bytes High Byte Table
7. Exchanging Data You need to create a program function block in the controller which is used to es tablish a data exchange betvveen the operating device and the controller by means of Explicit Messages For this make sure that the data on both devices are consis tent Nevv data in the controller has to be transferred to the operating device by Explicit Messages The controller is informed about new data in the operating device by I O Poll Telegram The controller has to read the data from the operating device by Ex plicit Message Operating Unit DeviceNet Slave Controller PLC N Explicit Message read write read write pode Data DeviceNet 4 DeviceNet v Controller Puit Master Unit Unit Slave read Figure 1 1 Data exchange DeviceNet S sutron ELECTRONIC GMBH DeviceNet 1 1 3 The data memory in the operating device is referred to as the Memory Object Data Memory The Memory Obiect Address has the follovving values Table 1 1 Memory obiect addresses Address Name Comment 0x8A Class ID 0x01 Instance ID 0x01 Attribute Not Required The service for a read access is 0x33 and for a write access is 0x35 1 1 4 The following table illustrates the structure of the Explicit Message for the Read ser Read Service vice
8. of the DeviceNet Object Attribute ID Attribute Name Access Rule Data Size Byte Attribute Value 0x01 MAC ID Get 1 5 5 3 0x02 BaudRate Get 1 5 5 3 0x05 Allocation Get 1 5 5 3 Information 1 4 2 3 Instance Service of the DeviceNet Object Table 1 21 Instance Service of the DeviceNet Object Service ID Service Name Description OxOE Get Attribute Single Read attribute 0 4 Allocation Master Slave Request to use predefined master slave connection set Connection Set 0x4C Release Group 2 Identifier Release desired connection Set 6 SUTRON ELECTRONIC GMBH DeviceNet 1 4 3 1 4 3 1 Assembly Object Class Attribute of the Assembly Object Table 1 22 Class Attribute of the Assembly Object Attribute ID Attribute Name Access Rule Data Size Byte Attribute Value 0x01 Revision Get 1 0x02 1 4 3 2 Instance 1 Attribute Static Input of the Assembly Object Table 1 23 Instance 1 Attribute Static Input of the Assembly Object Attribute ID Attribute Name Access Rule Data Size Byte Attribute Value 0x03 Set Data Get 5 1 4 3 3 Instance 2 Attribute Static Output of the Assembly Object Table 1 24 Instance 2 Attribute Static Output of the Assembly Object Attribute ID Attribute Name Access Rule Data Size Byte Attribute Value 0x03 Set Data Get 2 1 4 4 Connection Object 1 4 4 1 Class Attribute of the Connection Object Table 1 25 C
9. 0 in the Consumed Data differ bit 0 in the Consumed Data must be set to the same value as that of bit 0 in the Produced Data If no bit synchronization takes place the operating device displays the error message Timeout Error Code 60 Subcode1 Bit 1 to bit 7 Bits 1 to 7 are reserved 1 2 2 3 Byte 3 and Byte 4 Word Address Bytes 3 and 4 in the Produced Data contain the word address starting from which a variable has changed The variable can be several bytes long The controller uses this word address to selectively read the changed variable from the data memory of the operating device S sutron m ELECTRONIC GMBH DeviceNet 1 2 2 4 Byte 5 Number of Bytes Byte 5 in the Produced Data contains the number of bytes as the size information for the changed variable 1 2 3 Module Netvvork Status The operating devices are not equipped vvith diagnostic LEDs for DeviceNet status indication To indicate the module network status use the system variable ComBaudrateA in stead See chapter ComBaudrateA on page 1 9 1 3 Programming 1 3 1 Protocol Parameters With the protocol parameters you can adapt the communication of the controller used 1 3 1 1 Baud Rate This parameter specifies the communication rate Table 1 6 Baud rate Configurable Values Default Value kBaud 125 x 250 500 1 3 1 2 Node Number Use the node number to set the MAC ID for the operating devi
10. 1 32 Response with Attribute parameter Byte Designation 1 MAC ID 2 Service ID 0xB3 3 1st Data Word Low Byte 4 1st Data Word High Byte 5 2nd Data Word Low Byte 6 2nd Data Word High Byte Table 1 33 Request without Attribute parameter Byte Designation 1 MAC ID 2 Service ID 0x35 3 Class ID 0x8A 4 nstance ID 0x01 5 Word Address Low Byte 6 Word Address High Byte 7 1st Data Word Low Byte 6 SUTRON ELECTRONIC GMBH DeviceNet Table 1 33 Request without Attribute parameter Byte Designation 8 1st Data Word High Byte 9 2nd Data Word Low Byte 10 2nd Data Word High Byte Table 1 34 Response without Attribute parameter Byte Designation 1 MAC ID 2 Service ID 0xB5 Table 1 35 Request vvith Attribute parameter Byte Designation 1 MAC ID 2 Service ID 0x35 3 Class ID 0x8A 4 nstance ID 0x01 5 Attribute 0x01 6 VVord Address Lovv Byte 7 Word Address High Byte 8 1st Data Word Low Byte 9 1st Data Word High Byte 10 2nd Data Word Low Byte 11 2nd Data Word High Byte Table 1 36 Response with Attribute parameter Byte Designation 1 MAC ID 2 Service ID 0xB5 Depends on the protocol parameter Byte Order for Address Length Depends on the protocol parameter Byte Order for Data 6 SUTRON ELECTRONIC GMBH 1
11. Attribute Name Access Rule Data Size Byte Attribute Value 0x01 Revision Get 2 6 2 2 0x01 1 4 1 2 Instance Attribute of the Identity Object Table 1 17 Instance Attribute of the Identity Object Attribute ID Attribute Name Access Rule Data Size Byte Attribute Value 0x01 Vendor ID Get 2 6 2 2 0x238 0x02 Device Type Get 2 0x00 0x03 Product Code Get 2 0x01 0x04 Revision Get 2 0x0101 1 001 1 10 6 SUTRON ELECTRONIC GMBH DeviceNet Table 1 17 Instance Attribute of the Identity Object Attribute ID Attribute Name Access Rule Data Size Byte Attribute Value 0x05 Status Get 2 0x06 Serial Number Get 4 0x01 0x07 Product Name Get 32 DeviceNet For BT Series 1 4 1 3 Instance Service of the Identity Object Table 1 18 Instance Service of the Identity Object Service ID Service Name Description OxOE Get Attribute Single Returns the Contents of the Specific Attribute 0x05 Reset Invoke the Reset Service in the BT 1 4 1 4 This object is n 1 4 2 1 4 2 1 CI Message Router Object ot supported DeviceNet Object ass Attribute of the DeviceNet Object Table 1 19 Class Attribute of the DeviceNet Object Attribute ID Attribute Name Access Rule Data Size Byte Attribute Value 0x01 Revision ID Get 1 5 5 3 0x02 1 4 2 2 Instance Attribute of the DeviceNet Object Table 1 20 Instance Attribute
12. Each field of the telegram is one byte long Table 1 2 Structure of the Explicit Message for the Read service Byte Request Telegram Response Telegram 1 MAC ID MAC ID 2 Service ID Service ID 0x33 OxB3 3 Class ID 1st Data Word Ox8A Low Byte 4 Instance ID 1st Data Word 0x01 High Byte 5 Word Address 2nd Data Word Low Byte Low Byte 6 Word Address 2nd Data Word High Byte High Byte 7 Number of Bytes Low Byte 8 Number of Bytes High Byte The word address corresponds to the offset within the data memory in the operating device 6 SUTRON ELECTRONIC GMBH DeviceNet The byte order for the address number of bytes and data word can be specified in the communication parameters See chapter Byte Order on page 1 7 1 1 5 VVrite Service The follovving table illustrates the structure of the Explicit Message for the VVrite ser vice Each field of the telegram is one byte long Table 1 3 Structure of the Explicit Message for the VVrite service Byte Request Telegram Response Telegram 1 MAC ID MAC ID 2 Service ID Service ID 0x35 0 5 3 Class ID 0x8A 4 Instance ID 0x01 5 Word Address Low Byte 6 Word Address High Byte 7 1st Data Word Low Byte 8 1st Data Word High Byte 9 2nd Data Word Low Byte 10 2nd Data Word High Byte The word address corresponds to the offset within the data memory i
13. SAGE Explicit Message contains the parameter Attribute Byte order C Address Length Low High Data Low High Address Length High Low Data High Low Figure 1 7 Protocol parameters for Rexroth PPC sutron ELECTRONIC GMBH DeviceNet 1 9 3 Rockvvell RS Logix 5555 1756 DNB Baud rate 125 kBaud Delay unti connection set up Is 5 Maximum waiting time for response ms 500 Node number 0 Memory access via EXPLICIT MESSAGE Expicit Message contains the parameter Attribute Byteorder Address Length Low High Data Low High Address Length High Low O Data High Low Figure 1 8 DeviceNet for Rockwell RS Logix 5555 1756 DNB 1 9 4 Rockwell SLC 505 1747 SDN B Protocol parameters DeviceNet ET OK Baud rate 125 kBaud vi Delay until connection set up s Cancel Help Maximum waiting time for response ms 25501 Node number Default dadi Memory access via EXPLICIT MESSAGE Explicit Message contains the parameter Attribute Byte order Address Length Low High Data Low High Address Length High Low Data High Low Figure 1 9 DeviceNet for Rockvvell SLC 505 1747 SDN B sutron 7 ELECTRONIC GMBH DeviceNet S sutron ELECTRONIC GMBH ndex A Index Cable DeviceNet 5 pin male connector strip 1 22 DeviceNet 9 pin D SUB
14. The connectors on the operating device and the cable connectors for the connection to the DeviceNet bus must comply with the DeviceNet connector profile Table 1 38 D SUB connector profile for DeviceNet Parameter Specification Male Connector Strip X2 1 Number of Pins 9 Tension Nut None Rotation None Standards D SUB DIN41652 CECC 75301 802 Contact Assignment CAN 7 CAN L 2 DRAIN Housing Male Connector Strip X2 2 Number of Female Connec 9 tors Tension Nut None Rotation None Standards D SUB DIN41652 CECC 75301 802 Contact Assignment CAN 7 CAN L 2 DRAIN Housing Physical Properties Contact Surface Gold plated Copper alloy or Gold plated Palladium Nickel Lifetime of Contacts gt 500 Plug in Cycles Electrical Properties Operating Voltage gt 25 V Current Carrying Capacity gt 5A Contact Resistance Nominal lt 10 mOhm Maximum 20 mOhm IEC 60512 Test 2A Millivolt Level Method Ambient Conditions 6 SUTRON ELECTRONIC GMBH DeviceNet Table 1 38 D SUB connector profile for DeviceNet Parameter Specification VVater Resistance No Information Provided Oil Resistance No Information Provided Ambient Temperature 55 C to 105 C Operation Ambient Temperature 55 C to 105 C Storage 1 7 1 1 Pin Assignment 5 1 9 6 Figure 1 4 9 pin D SUB femal
15. and CAN H line 5 CAN controller error bit 0 error Short circuit between the CAN L and CAN H line 6 Error from CAN controller CRC error 60 Data exchange error 1 Toggle bit in the control byte is not processed by the If the controller detects that controller or the DeviceNet master the toggle bit inthe Produced Data and the toggle bit in the Consumed Data differ the toggle bit in the Consumed Data must be set to the same value as that of the toggle bit in the Produced Data 2 Changed data in the operating device is not read by 1 Although transferred by Poll I O the controller does not read from the assigned address 6 SUTRON ELECTRONIC GMBH 1 23 DeviceNet 1 9 Applications 1 9 1 OMRON DRM 21 V1 Protocol parameters DeviceNet OK Baud rate 125 kBaud Delay until connection set up s Cancel Help Maximum waiting time for response ms 500 Node number Default 141 Memory access via EXPLICIT MESSAGE Explicit Message contains the parameter Attribute Byte order C Address Length Low High Data Low High Address Length High Low Data High Low Figure 1 6 DeviceNet for OMRON DRM 21 V1 1 9 2 Rexroth PPC Protocol parameters DeviceNet OK Baud rate 500 kBaud 4 Delay until connection set up s Cancel Help Maximum waiting time for response ms 500 Node number Default H Memory access via EXPLICIT MES
16. ce Table 1 7 Node number Configurable Values Default Value 0 to 63 0 6 SUTRON ELECTRONIC GMBH DeviceNet 1 3 1 3 Delay until Connection Set Up Specify this value to set the period of time the operating device waits before it sends the first Duplicate MAC ID Check Request Message Messages arriving before this time has elapsed are not evaluated Table 1 8 Delay until connection set up Configurable Values Default Value 5sto 255s 5s 1 3 1 4 Waiting Time for Response Specify a waiting time for the Produced Data toggle bit monitoring Table 1 9 Waiting time for response Configurable Values Default Value 0 ms 50 ms to 500 ms 65000 ms See chapter Byte 2 Control Byte on page 1 5 1 3 1 5 Attribute The Attribute parameter is not required in the Explicit Message to access the Memory Object Some controllers do however force and transfer the Attribute parameter to generate an Explicit Message In this case select the check box Explicit Message Contains the Parameter At tribute Table 1 10 Explicit Message contains the Attribute parameter Configurable Values Default Value OFF ON X 1 3 1 6 Byte Order The byte order for the DeviceNet protocol is Low High See Appendix J in Volume 1 of the DeviceNet Specification The experience of some users has shown that some controllers do not use this byte order In the
17. ch Palladium Nickel Minimum Over 50 Micro Inch Nickel All Gold Must be 24 Karat Lifetime of Contacts 100 Insertion Extractions Electrical Properties Operating Voltage 25 Volt Minimum Current Carrying Capacity 8 Ampere Minimum Contact Resistance Nominal Less than 1 mOhm Maximum 5 mOhm Over Life Ambient Conditions VVater Resistance None Oil Resistance Nne Ambient Temperature Operation 40 C to 70 C Full Power With Linear Derating to 0 Ampere at 80 C Ambient Temperature Storage 40 C to 85 C 1 7 2 1 Ops s cogo Pin Assignment i Figure 1 5 5 pin connector m sutron ELECTRONIC GMBH DeviceNet Connector in the operating terminal 5 pin male connector strip Table 1 41 Pin assignment CAN Pin Designation Function 1 nc Not Connected 2 CAN L CAN L Bus Line Dominant LOVV 3 Drain Shield 4 CAN H CAN H Bus Line Dominant HIGH 5 nc Not Connected gt gt For the connection use 5 pin connector vvith gold plated contacts A suitable con nector can be obtained directly from S tron electronic S sutron m ELECTRONIC GMBH DeviceNet 1 7 3 Cable DeviceNet 9 Pin D SUB Operating device Next DeviceNet participant o o gt 2 x I N nn o o gt gt m r z b dg CAN GND GNYE 1 GNYE 2
18. e connector strip Connector in the terminal 9 pin D SUB female connector strip Table 1 39 Pin assignment CAN Pin Designation Function 1 nc Not Connected 2 CAN L CAN L Bus Line Dominant LOVV 3 CAN GND CAN Ground 4 nc Not Connected 5 nc Not Connected 6 CAN GND CAN Ground 7 CAN H CAN H Bus Line Dominant HIGH 8 nc Not Connected 9 nc Not Connected 1 7 2 DeviceNet 5 Pin Male Connector Strip The connectors on the operating device and the cable connectors for the connection to the DeviceNet bus must compiy vvith the DeviceNet connector profile Table 1 40 5 pin male connector strip profile for DeviceNet Parameter Specification Male Connector Strip Number of Pins 5 Tension Nut None Rotation None Standards Figure on Inquiry S sutron m ELECTRONIC GMBH Table 1 40 5 pin male connector strip profile for DeviceNet Parameter Specification Contact Assignment nc 1 Not Connected CAN L 2 Drain 3 CAN H 4 nc 5 Not Connected Female Connector Strip Number of Pins 5 Tension Nut None Rotation None Standards Figure on Inquiry Contact Assignment nc 1 Not Connected CAN 2 Drain 3 CAN H 4 nc 5 Not Connected Physical Properties Contact Surface 30 Micro Inch Gold Minimum Over 50 Micro Inch Nickel Minimum or 5 Micro Inch Gold Minimim Over 20 Micro In
19. lass Attribute of the Connection Object Attribute ID Attribute Name Access Rule Data Size Byte Attribute Value 0x01 Revision Get 1 0x01 1 4 4 2 Instance Attribute of the Connection Object Table 1 26 Instance Attribute of the Connection Object Attribute ID Attribute Name Access Data Size Value Value Rule Byte Expl 10 Poll 0x01 State Get 1 0x02 Instance Type Get 1 0 1 0x03 TransportClass_ Trigger Get 1 0x38 0x82 0x04 Produced Connection ID Get 2 0x05 Consumer Connection ID Get 2 0x06 Initial Comm Characteristics Get 1 Ox21 0x01 0x07 Produced Connection Size Get 2 OxFFFF 5 0x08 Consumed Connection Size Get 2 OxFFFF 2 0x09 Expected Packed Rate Get Set 2 Default Default 0x0C Watchdog Timeout Action Get Set 1 Default Default 0x0D Produced Connection Path Length Get 2 0 6 1 12 6 SUTRON ELECTRONIC GMBH DeviceNet Table 1 26 Instance Attribute of the Connection Object Attribute ID Attribute Name Access Data Size Value Value Rule Byte Expl IO Poll OxOE Produced Connection Length Get 6 0 20 04 24 01 30 03 OxOF Consumed Connection Path Length Get 2 0 6 0x10 Consumed Connection Path Get 6 0 20 04 24 02 30 03 1 4 4 3 Instance Service of the Connection Object Table 1 27 Instance Service of the
20. n the operating device S sutron B ELECTRONIC GMBH DeviceNet The byte order for the word address number of bytes and data word can be specified in the communication parameters See chapter Byte Order on page 1 7 1 1 6 Fragmentation By means of fragmentation up to 384 bytes can be transferred in one explicit mes sage 1 2 Poll Connection On account of the EDS data the Poll I O Connection is installed automatically be tween the DeviceNet master and the operating device With this connection 2 bytes are transferred cyclically from the controller s OUT area to the operating device and 5 bytes are transferred from the operating device to the IN area of the controller 1 2 1 Receive Data of the Operating Device Consumed Data The Consumed Connection Size is 2 bytes Table 1 4 Structure of the Consumed Data Byte Designation 1 Initialization 2 Control Byte 1 2 2 Transmit Data of the Operating Device Produced Data The Produced Connection size is 5 bytes Table 1 5 Structure of the Produced Data Byte Designation 1 Initialization 2 Control Byte 3 Word Address Low Byte 4 Word Address High Byte 5 Number of Altered Bytes 6 SUTRON ELECTRONIC GMBH DeviceNet 1 2 2 1 Byte 1 Initialization During the boot process the operating device writes the value 0x00 into its Produced Data Thus the controller need
21. rt Get Attribute Single Class Trigger Transport Class Trigger 0x04 Produced Get Attribute Single Connection Produced Connection ID ID 0x05 Consumed Get Attribute Single Connection Consumed Connection ID ID 0x06 Initial Comm Get Attribute Single Characteris 1 Initial Comm Characteristics tics 0x07 Produced Get Attribute Single Connection Produced Connection Size Size 0x08 Consumed Get Attribute Single Connection Consumed Connection Size Size 0x09 Expected Get Attribute Single Packet Rate Packet Rate 0x0C Watchdog Get Attribute Single Timeout Watchdog Timeout Action Action 0x0D Produced Get Attribute Single Connection Produced Connection Path Path Length Length OxOE Produced Get Attribute Single Connection Produced Connection Path Path OxOF Consumed Get Attribute Single Connection Consumed Connection Path Path Length Length 0x10 Consumed Get Attribute Single Connection Consumed Connection Path Path Ox8A PT 0x33 0x1 Service Data Block String Read Object 0x1 Service Data Block String Write 0x33 0 1 0 0 Data Block String Read 0x35 x1 0x0 Data Block String Write Alternative depends on the communication parameter Attribute 6 SUTRON ELECTRONIC GMBH 1 17 DeviceNet 1 6 EDS File The EDS file ensures that the Poll Connection is automatically installed between the DeviceNet master and operating device 1 7 Physical Interfacing 1 7 1 DeviceNet 9 Pin D SUB
22. s to initialize the entire data memory in the operating device once nitialization means that all variable values in the data memory of the operating de vice are set the same as in the controller When this process is completed the con troller writes the value OxC3 into the Consumed Data The operating device acknowledges by writing the value OxC3 into the Produced Data After the boot process the operating device waits for the initialization to complete before it accesses the data memory If the initialization is not performed within the time period set for the Delay until Connection Setup the following message appears MEMORY OF VARIABLES 2 NO INITIALIZING BY PLC Figure 1 2 Message NO INITIALIZATION BY PLC To remove the message press OK the Help key or a key that calls up another screen 1 2 2 2 Byte 2 Control Byte During initialization the control byte is set to the value 0x00 Bit 0 Bit 0 is the toggle bit After you change a variable on the operating device bit 0 in the Produced Data tog gles If the controller detects that bit 0 in the Produced Data and bit 0 in the Consumed Data do not match the conroller has to read the changed data of the variable by Ex plicit Message Once the read operation is complete the controller sets the value of bit 0 in the Con sumed Data to the same value as that of bit 0 in the Produced Data If the controller detects that bit 0 in the Produced Data and bit
23. se cases a byte swap must be performed in the controller For ease of programming the user also has the option of swapping the byte order in the operat ing device S sutron ELECTRONIC GMBH DeviceNet Select tvvo selection fields depending on the actual byte order Table 1 11 Byte order Configurable Values Default Value Address Length Low X High Data Low High X Address Length High Low Data High Low m S sutron ELECTRONIC GMBH DeviceNet 1 3 2 Input Syntax The following image illustrates the structure of the input syntax for variables in the programming software 77 gt h Number Figure 1 3 Syntax diagram 1 3 3 Variables The variable addresses specify an offset in the data memory of the operating device Table 1 12 Addresses in the data memory of the operating device Variable Name Address Low Byte High Byte Word Access to Address 127 W 127 Word Access to the Highest Address W 2500 Double Word Access to Address 371 DW 371 Double Word Access to the Highest Address DW 2499 Bit Access to Bit 5 in Address 500 W 500 5 5 Bit Field Access to Bit 3 Bit 12 in Address 1500 W 1500 3 12 1 3 4 System Variables Since the operating devices do not have diagnostic LEDs you need to use system variables to indicate specific DeviceNet statuses You can create these system vari ables within any screen as ou
24. te of the DeviceNet Object 1 4 2 3 Instance Service of the DeviceNet 1 4 3 Assembly Object teet Pen a pee ek 1 4 3 1 Class Attribute of the Assembly 1 4 3 2 Instance 1 Attribute Static Input of the Assembly Object 1 12 1 4 3 3 Instance 2 Attribute Static Output of the Assembly Obiect 1 12 1 4 4 Connection Object Rei 1 12 1 4 4 1 Class Attribute of the Connection Object 1 12 1 4 4 2 Instance Attribute of the Connection 1 12 6 SUTRON ELECTRONIC GMBH Overall Table of Contents 1 4 4 3 Instance Service of the Connection Object sse 1 13 1 4 5 BT a en nennen 1 13 1 4 5 1 Instance Service of the BT 1 13 1 5 Format of the Explicit 1 16 1 6 EDS TRE qua 0 1 18 17 Physical Interfacing 1 18 1 7 1 DeviceNet 9 Pin D SUB aa 1 18 1 7 1 1 Pin ASSIQNMOM 1577702220 0000000000 1 19 1 7 2 DeviceNet 5 Pin Male Connector Strip 1 19 1 7 2 1 s ser erra ERE 1 20 1 7 3 Cable DeviceNet 9 Pin D SUB
25. tput variables To do so select the representation type Selection Text and link the variable with a text list containing a text string for each status 1 3 4 1 ComBaudrateA This system variable can be used to indicate the statuses of the module network LED Table 1 13 Statuses of the module network LED Value Text Meaning 0 LED Off 1 LED Green Device is Assigned 2 LED Flashes Green DUP 10 Test is Okay But a Connection is Not Esta blished 3 LED Flashes Red Connection Terminated After a Time Delay 4 LED Red BUS OFF Status 5 LED Flashes Red And Green DUP MAC D Error 6 SUTRON ELECTRONIC GMBH DeviceNet 1 3 4 2 ComHandshakeA This system variable allows you to indicate whether the data memory has been ini tialized by the master E See chapter Byte 1 Initialization on page 1 5 Table 1 14 Initialization states of the data memory Value Status 0 Not initialized 1 nitialized 1 4 Obiect Definitions Table 1 15 Object definitions Class ID Object Name 0x01 Identity Object 0x02 Message Router Not Supported 0x03 DeviceNet Object 0x04 Assembly Object Not Supported 0x05 Connection Object 0x8A BT Object 1 4 1 Identity Object 1 4 1 1 Class Attribute of Identity Object Table 1 16 Class Attribute of Identity Object Attribute ID
26. tte 1 2 2 2 Byte 2 Control Byte 1 2 2 3 Byte and Byte 4 Word Address eese nnne 1 5 1 2 2 4 Byte 5 Number of Bytes 1 2 8 Module Network Status 1 3 Programming tr tr ere Fe e eO ke 1 3 1 Protocol Parameters 1 3 1 1 Baud Rate EET 1 3 1 2 9 Recon EE o Ed 1 3 1 3 Delay until Connection 5 1 2 essent 1 7 1 3 1 4 Waiting Time for nn en nenne nenne 1 7 1 3 1 5 Attribute 1 3 1 6 Byte Order 1 3 2 Input Syntax ern 1 3 3 EC 1 3 4 A AAA nea una 1 3 4 1 GomBaudratea 1 3 4 2 GomblandshakeA eec esci den iiti o etc dap 1 4 Object enne 1 4 1 Identity Object cct e ehe ea 1 4 1 1 Class Attribute of Identity ene 1 4 1 2 Instance Attribute of the Identity 2 1 4 1 3 Instance Service of the Identity 1 4 1 4 Message Router nennen nennen 1 4 2 DeviceNet 2 2 4 0 0 0 000 tnnt nnne 1 4 2 1 Class Attribute of the DeviceNet 2 1 4 2 2 Instance Attribu

Download Pdf Manuals

image

Related Search

Related Contents

User manual v1.8  Pharmacia U2000  Samsung WF0752WJN/XZS Manual de Usuario  取扱説明書 - KDDI  un désensibilisant ingénieux et naturel qui agit en 5  "取扱説明書"  Samsung AWT18W1B User Manual  Frigorífico یخچال Hladilnik  SUNNY BOY 3500TL-JP / 4500TL-JP  FACIL : Moteur bras articulé 220v ou 24v (notice de  

Copyright © All rights reserved.
Failed to retrieve file