gefran SBI-DN Instruction Manual

Interface board devicenet
Table of Contents

Advertisement

Quick Links

Field bus interface card
SBI-DN
Interface Board
DeviceNet
Instruction manual
......

Advertisement

Table of Contents
loading

Summary of Contents for gefran SBI-DN

  • Page 1 Field bus interface card SBI-DN Interface Board DeviceNet Instruction manual ..
  • Page 2 Keep the manual in a safe place and at everyone’s disposal during the drive functioning period. GEFRAN S.p.A. is not responsible for those mistakes that may be found in this manual and for the damages that they may arouse. All rights reserved.
  • Page 3: Table Of Contents

    SBI-DN TABLE OF CONTENTS 1.0 INTRODUCTION ................7 1.1 THE MANUAL ..................7 1.2 DEVICENET GENERAL DESCRIPTION ............ 7 2.0 HARDWARE DESCRIPTION ............9 2.1 DIMENSIONS, WEIGHT, PROTECTION DEGREE ........9 2.2 INSTALLATION ................... 10 2.3 POWER SUPPLY ................. 12 2.4 CONNECTORS ..................13 2.5 DIP SWITCHES ...................
  • Page 4 GEFRAN 3.2.2.6.1 Write APC Parameter ................... 23 3.2.2.6.1.1 Write APC Parameter Request ..............23 3.2.2.6.1.2 Write APC parameter - Reply OK .............. 24 3.2.2.6.1.3 Write APC parameter - Reply Error ............24 3.2.1.6.2 Read APC Parameter ................... 24 3.2.1.6.2.1 Read APC Parameter Request ..............24 3.2.1.6.2.2 Read APC parameter - Reply OK ...............
  • Page 5 SBI-DN 4.2.6.2.4 Read Entire Polling M->S Configuration ............37 4.2.6.2.5 Read Entire Polling M->S Configuration - Reply OK........37 4.2.6.2.6 Read Entire Polling M->S Configuration - Reply Error ......... 38 5.0 SETTING OF VIRTUAL DIGITAL I/O ..........39 5.1 OBJECT CONFIGURATION VIRTUAL DIGITAL INPUTS ......39 5.1.1 Class code .....................
  • Page 6 GEFRAN 7.1 MAIN MENU STRUCTURE ..............54 7.1.2 Control of warning and error messages ..........54 7.2 OFFSET MENU ................... 54 7.2.1 Edit Offset ....................55 7.3 POLLING MENU.................. 55 7.3.1 Edit for Drive parameter assignment to the Polling I/O function ....56 7.4 VIRTUAL DIGITAL I/O MENU ...............
  • Page 7: Introduction

    SBI-DN 1.0 INTRODUCTION The manual describes the optional SBI-DN card for connecting of inverters and converters to DeviceNet networks. Drives belonging to TPD32-EV series can be connected in network through the SBI-DN board. This manual is intended for design engineeres and technicians responsible for the maintenance, commissioning and operation of DeviceNet systems.
  • Page 8 GEFRAN by the Slaves and writes the Slave reference data; the Baud Rate supported by the SBI board are: - 125 kbit - 250 kbit - 500 kbit . The physical support is given by the RS485 serial line; a maximum of 64 Slaves can be connected to the Bus.
  • Page 9: Hardware Description

    SBI-DN 2.0 HARDWARE DESCRIPTION 2.1 DIMENSIONS, WEIGHT, PROTECTION DEGREE PWR RST RUN OP AL0 AL1 AL2 157mm (6.18") 110mm 1 2 3 4 5 (4.33") Dimensions [mm/in.] 157/6.18” (H) x 110/4.33” (L) x 23/1” (P) Weight 200 g (7.1 oz) Protection degree IP00.
  • Page 10: Installation

    GEFRAN 2.2 INSTALLATION The SBI interface card is delivered with a kit including 6 standoffs (no.4 L=26.5 mm + no.2 L=10mm), 4 screws, washers the WARRANTY label and a 40-pole flat cable with connectors. Tools required (depending on models): 7x2 mm slotted-head screwdriver Torx ®...
  • Page 11 The flat cable is connected between the XO connector placed on the R-TPD32- EV card and SBI-DN card. In case there is the APC300 card, connect the flat cable from APC300 to XO connector on SBI-DN card. The Baud Rate of the SBI board is set via the Switches 7 and 8 of the Dipswi- tch S1.
  • Page 12: Power Supply

    GEFRAN Switch 8 Switch 7 Baud Rate 125 kBaud 250 kBaud 500 kBaud 125 KBaud DN21 The dip switch S1 determines the Slave address. The address “0” is reserved to the Master and it must not be used. The switches S1 -7 and S1-8 do not determine any address.
  • Page 13: Connectors

    SBI-DN 2.4 CONNECTORS Connector It allows to connect the ground (GNDE) of the external power supply to the ground (PE). Connector XS It allows to connect the ground (PE) to the DeviceNet cable shield. Terminal BUS See the figure below. It allows to connect the SBI board to the DeviceNet network.
  • Page 14: Leds

    As for the electrical connection use the 40-pole flat cable included in the kit. As for the Bus connection use a shielded “twisted pair cable”. The connection among the single boards is carried out via a shielded cable as shown in the figure below: SBI-DN SBI-DN SBI-DN Shield ——————...
  • Page 15: Devicenet Function

    SBI-DN 3.0 DEVICENET FUNCTION In this chapter are described the functions of DeviceNet managed by the SBI board. The main characteristics of the board are: The board operates only as Slave in “Predifined Master/Slave Connection Set”. Within the “Predefined Master/Slave Connection Set” the board is a “UCMM Capable Device”.
  • Page 16 GEFRAN Application Objects DGFC par DgtI/O Drive par PollI/O IDENTITY Message Assembly Class Router DeviceNet Connection Explicit Figure 3.1: DeviceNet Object Model The following table shows: 1. The object classes of the SBI-board. 2. If the class is mandatory. 3. The number of instances included in every class.
  • Page 17: How Objects Affect Behavior

    SBI-DN 3.1.2 How Objects Affect Behavior. The “Affect Behaviour” of the objects is reported in the following table: Effect on Behavior Object Supports “Reset Service”. Identity No effect Message Router Port attributes configuration DeviceNet Conteins the number of logical ports...
  • Page 18: I/O Assembly Data Attributes Format

    GEFRAN 3.1.5 I/O Assembly Data Attributes Format The “I/O Assembly” attributes format for the Input is the following: PMSCS Assembly Cons: Instance Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 word #1 to consume, low byte...
  • Page 19: Class Code

    SBI-DN 3.2.1.1 Class code Class Code: 66hex 3.2.1.2 Class attributes Need in DeviceNet Description Semantics of Number Access Rule Name implementation Data Type of Attribute values Revision of Optional Revision UINT this object dn345 3.2.1.3 Instance Attributes Need in DeviceNet...
  • Page 20: Write Drive Parameter - Reply Ok

    GEFRAN DATA TYPE FIELD VALUE MEANING Service Set Drive Parameter - Byte 33hex Code Object Specific Service. Drive Parameter Access Class ID 66hex Class Object. See Note Drive Parameter Index in Instance XXXX format Low byte-High byte. Low byte-Low word drive parameter value.
  • Page 21: Read Drive Parameter

    SBI-DN 3.2.1.6.2 Read Drive Parameter In this example is shown the reading of a Drive parameter; the cases of positive or wrong reading are distinguished. 3.2.1.6.2.1 Read Drive Parameter Request The data frame for the Drive parameter reading is composed as follows:...
  • Page 22: Apc Option Parameter Access

    GEFRAN DATA TYPE FIELD VALUE MEANING Get Drive Parameter Service 32hex OR Byte Reply code- Object Code 80hex Specific Service. Word Result Drive specific error code. XXXX dn385 1) For error codes see chapter 6.0 3.2.2 APC Option Parameter Access...
  • Page 23: Object Specific Services

    SBI-DN 3.2.2.5 Object Specific services Need in Service implementation Service Description of Code Name Service Class Instance Required Get_APC_ Read APC option Value parameter value Required Set_APC_ Writes APC option Value parameter value dn395 3.2.2.6 Behavior This object is the interface between the DeviceNet networkand all parameters of the optional APC card that can be mounted on the drive.
  • Page 24: Write Apc Parameter - Reply Ok

    GEFRAN 3.2.2.6.1.2 Write APC parameter - Reply OK If the APC parameter is written correctly, the response is: DATA TYPE FIELD VALUE MEANING Set APC Parameter Reply Service 33hex OR Byte code- Object Specific Code 80hex Service. Result field equal to zero...
  • Page 25: Read Apc Parameter - Reply Ok

    SBI-DN 3.2.1.6.2.2 Read APC parameter - Reply OK If the APC-parameter is read correctly, the response is: DATA TYPE FIELD VALUE MEANING Get APC Parameter Reply Service 32hex OR Byte code- Object Specific Code 80hex Service. Result field equal to zero...
  • Page 26: Polling Function

    GEFRAN 4.0 POLLING FUNCTION This type of DeviceNet-function is used for a fast cyclic exchange of Drive-parame- ters between Master and SBI card. The Drive-parameters involved in this exchange may be set from the menu of the keypad. The characteristics of the Polling-function are: The data frame length is fixed in 8 bytes for both directions (Slave->Master and...
  • Page 27: Class Code

    SBI-DN 4.1.1.1 Class code 4.1.2 Class attributes Need in DeviceNet Description Semantics of Number Access Rule Name implementation Data Type of Attribute values Revision of Optional Revision UINT this object dn345 4.1.3 Istance attributes Need in DeviceNet Description of Attribute...
  • Page 28: Object Specific Services

    GEFRAN 4.1.5 Object Specific services This object has no special services. 4.1.6 Behavior This object allows to assign Drive parameters to the 4 Words of Polling S->M in order to read the parameter’s values cyclically from the Master. The assignment of the Drive parameter is accomplished through the parameter index;...
  • Page 29: Write Single Polling S->M Configuration - Reply Error

    SBI-DN DATA TYPE FIELD VALUE MEANING Service 10hex OR Set_Single - Attribute Reply Code 80hex code - Common Service. Byte General Zero means service correctly Error executed Additional dn4040 4.1.6.1.3 Write Single Polling S->M Configuration - Reply Error If the writing of the single configuration Polling S->M is rejected, the response is...
  • Page 30: Write Entire Polling S->M Configuration - Reply Ok

    GEFRAN 4.1.6.1.5 Write Entire Polling S->M Configuration - Reply OK If the entire configuration of the Polling S->M is written correctly, the response is composed as follows: DATA TYPE FIELD VALUE MEANING Service 02hex OR Set_Attribute_All Reply Code 80hex code- Common Service.
  • Page 31: Read Single Polling S->M Configuration - Reply Ok

    SBI-DN 4.1.6.2.2 Read Single Polling S->M Configuration - Reply OK If the single configuration of the Polling S->M is read correctly, the response is composed as follows: DATA TYPE FIELD VALUE MEANING 0Ehex OR Get_Attribute_Single Reply Byte Service Code 80hex code- Common Service.
  • Page 32: Read Entire Polling S->M Configuration - Reply Error

    GEFRAN DATA TYPE FIELD VALUE MEANING 01hex OR Get_Attribute_All -Common Byte Service Code 80hex Service. Word 0 Polling Drive parameter index assigned S->M to the Polling S->M first word. Word xx Drive parameter index assigned Word XXXX Polling S->M to the Polling S->M xx th word.
  • Page 33: Class Code

    SBI-DN 4.2.1 Class code Class Code: 69hex 4.2.2 Class attributes Need in DeviceNet Description Semantics of Number Access Rule Name implementation Data Type of Attribute values Revision of Optional Revision UINT this object dn345 4.2.3 Instance Attributes Need in DeviceNet...
  • Page 34: Object Specific Services

    GEFRAN 4.2.5 Object Specific services This object has no specific services. 4.2.6 Behavior This object allows the assignment of Drive parameters to the 4 Words of Polling M->S in order to write the values of these parameters cyclically from Master. The Drive parameter assignment is accomplished through the parameter index;...
  • Page 35: Write Single Polling M->S Configuration - Reply Error

    SBI-DN DATA TYPE FIELD VALUE MEANING Service 10hex OR Set_Single - Attribute Reply Code 80hex code - Common Service. Byte General Zero means service correctly Error executed Additional dn4040 4.2.6.1.3 Write Single Polling M->S Configuration - Reply Error If the writing of the single configuration of the Polling M->S is rejected, the response...
  • Page 36: Write Entire Polling M->S Configuration - Reply Error

    GEFRAN composed as follows: DATA TYPE FIELD VALUE MEANING Service 02hex OR Set_Attribute_All Reply Code 80hex code- Common Service. Byte General Zero means service correctly Error executed. Additional dn4070 4.2.6.1.6 Write Entire Polling M->S Configuration - Reply Error If the writing of the entire configuration of the Polling M->S is rejected, the response...
  • Page 37: Read Single Polling M->S Configuration - Reply Error

    SBI-DN DATA TYPE FIELD VALUE MEANING 0Ehex OR Get_Attribute_Single Reply Byte Service Code 80hex code- Common Service. Word XX Drive parameter index assigned Word XXXX Polling M->S to the Polling M->S XX word. dn4200 The format of the Drive parameter index is Low Byte - High byte.
  • Page 38: Read Entire Polling M->S Configuration - Reply Error

    GEFRAN DATA TYPE FIELD VALUE MEANING 01hex OR Get_Attribute_All -Common Byte Service Code 80hex Service. Word 0 Polling Drive parameter index assigned M->S to the Polling M->S first word. Word xx Drive parameter index assigned Word XXXX Polling M->S to the Polling M->S xx th word.
  • Page 39: Setting Of Virtual Digital I/O

    SBI-DN 5.0 SETTING OF VIRTUAL DIGITAL I/O The configuration of the Virtual Digital I/Os, may be set by keypad and stored on E2PROM of the SBI board. For the configuration of the “Virtual Digital I/Os” two new communication objects are defined.
  • Page 40: Instance Attributes

    GEFRAN 5.1.3 Instance Attributes Need in DeviceNet Description of Attribute Number Access Rule Name implementation Data Type Drive parameter assigned to the first Virtual Digital Input DGT In Drive parameter assigned to Required UINT Conf. the Xth Virtual Digital Input...
  • Page 41: Write Virtual Digital Input Configuration

    SBI-DN 5.1.6.1 Write Virtual Digital Input Configuration In this example is shown the writing of the configuraton of the “Virtual Digital Inputs”; the cases of positive and wrong writing are distinguished. 5.1.6.1.1 Write Single Virtual Digital Input Configuration The data frame for the writing of the single configuration of the “Virtual Digital Inputs”...
  • Page 42: Write Entire Virtual Digital Input Configuration

    GEFRAN DATA TYPE FIELD VALUE MEANING Service 14hex OR Set _Attribute_Single Reply Code 80hex code- Common Service. Error vendor specific (see 1Fhex Additional field) General Byte DeviceNet specific error Error <> 1Fhex code (see DeviceNet Specifications). Additional Drive specific error code.
  • Page 43: Read Virtual Digital Input Configuration

    SBI-DN DATA TYPE FIELD VALUE MEANING Service 14hex OR Set _Attribute_Single Reply Code 80hex code- Common Service. Error vendor specific (see 1Fhex Additional field) General Byte DeviceNet specific error Error <> 1Fhex code (see DeviceNet Specifications). Additional Drive specific error code.
  • Page 44: Read Single Virtual Digital Input Configuration - Reply Error

    GEFRAN 5.1.6.2.3 Read Single Virtual Digital Input Configuration - Reply Error If the reading of the single configuration of the “Virtual Digital Inputs” is rejected, the response is the following: DATA TYPE FIELD VALUE MEANING Service 14hex OR Get _Attribute_Single Reply...
  • Page 45: Read Entire Virtual Digital Input Configuration - Reply Error

    SBI-DN 5.1.6.2.6 Read Entire Virtual Digital Input Configuration - Reply Error If the reading of the entire configuration of the “Virtual Digital Inputs” is rejected, the response is the following: DATA TYPE FIELD VALUE MEANING Service 14hex OR Get _Attribute_All Reply code-...
  • Page 46: Instance Attributes

    GEFRAN 5.2.3 Instance Attributes Need in DeviceNet Description of Attribute Number Access Rule Name implementation Data Type Drive parameter assigned to the first Virtual Digital Output Drive parameter assigned to Required UINT the Xth Virtual Digital Conf. Output Drive parameter assigned to...
  • Page 47: Write Virtual Digital Output Configuration

    SBI-DN 5.2.6.1 Write Virtual Digital Output Configuration In this example the writing of the configuration of the “Virtual Digital Outputs” is shown; the cases of positive and wrong writing are distinguished. 5.2.6.1.1 Write Single Virtual Digital Output Configuration The data frame of the writing of the single configuration of the “Virtual Digital Outputs”...
  • Page 48: Write Entire Virtual Digital Output Configuration

    GEFRAN DATA TYPE FIELD VALUE MEANING Service 14hex OR Set _Attribute_Single Reply Code 80hex code- Common Service. Error vendor specific (see 1Fhex Additional field) General Byte DeviceNet specific error Error <> 1Fhex code (see DeviceNet Specifications). Additional Drive specific error code.
  • Page 49: Read Virtual Digital Output Configuration

    SBI-DN DATA TYPE FIELD VALUE MEANING Service 14hex OR Set _Attribute_Single Reply Code 80hex code- Common Service. Error vendor specific (see 1Fhex Additional field) General Byte DeviceNet specific error Error <> 1Fhex code (see DeviceNet Specifications). Additional Drive specific error code.
  • Page 50: Read Single Virtual Digital Output Configuration - Reply Error

    GEFRAN 5.2.6.2.3 Read Single Virtual Digital Output Configuration - Reply Error If the reading of the single configuration of the “Virtual Digital Outputs” is rejected, the response is the following: DATA TYPE FIELD VALUE MEANING Service 14hex OR Get _Attribute_Single Reply...
  • Page 51: Read Entire Virtual Digital Output Configuration - Reply Error

    SBI-DN 5.2.6.2.6 Read Entire Virtual Digital Output Configuration - Reply Error If the reading of the entire configuration of the “Virtual Digital Outputs” is rejected, the response is the following: DATA TYPE FIELD VALUE MEANING Service 14hex OR Get _Attribute_All Reply code-...
  • Page 52: Function Error Codes

    GEFRAN 6.0 FUNCTION ERROR CODES The following table shows the different error codes which could be generated when a service is executed. RESULT VALUE OK no error 0000H Parameter not exist 0001H Reserved 0002H Control Access denied 0003H Reserved 0004H...
  • Page 53 SBI-DN Destination option not exist The destination option does not exist on the knot. Parameter Access Conflict The access to the addressed parameter is denied (for example if we have a writing command and the parameter is connected to an external input).
  • Page 54: Keypad Interface

    GEFRAN 7.0 KEYPAD INTERFACE 7.1 MAIN MENU STRUCTURE This structure appears when the Enter key is pressed and “OPTION1” is displayed; in this case, keypad control passes to the SBI card. Option 1 OFFSET POLL S->M POLL M->S DIGITAL INPUT...
  • Page 55: Edit Offset

    SBI-DN menus: - POLL S->M. - POLL M->S. - Digital Input. - Digital Output. The Offset value consists of five digits. Pressing the Enter key will result in the “Enter Offset” message being displayed on the first row; the value is entered on the second row.
  • Page 56: Edit For Drive Parameter Assignment To The Polling I/O Function

    GEFRAN POLL S->M POLL M->S POLL SM CHAN 0 POLL MS CHAN 0 Index: XXXXX Index: XXXXX POLL SM CHAN 1 POLL MS CHAN 1 Index: XXXXX Index: XXXXX POLL SM CHAN 2 POLL MS CHAN 2 Index: XXXXX Index: XXXXX...
  • Page 57 SBI-DN Enter(S->M/M->S) POLL pressed Channel exceed Warning Exit configuration data Password enabled or active ? Enter password Password OK ? Warning Exit Enter drive parameter Send to the drive Warning Exit Drive reply OK ? Save in E2PROM Exit The validity of the specified Drive parameters is checked by the Drive.
  • Page 58: Virtual Digital I/O Menu

    GEFRAN 7.4 VIRTUAL DIGITAL I/O MENU The Virtual Digital I/O Menu ( Input and Output) has the following structure: DIGITAL INPUT DIGITAL OUTPUT DGT IN CHAN 0 DGT OUT CHAN 0 Index: XXXX Index: XXXX DGT IN CHAN 1 DGT OUT CHAN 1...
  • Page 59: Drive Virtual Digital I/O Parameter Assignment

    SBI-DN 7.5 DRIVE VIRTUAL DIGITAL I/O PARAMETER ASSIGNMENT EDITING The flowchart illustrating Editing of Drive parameter assignments to Virtual Digital I/O is shown below. Note that pressing Cancel at any time returns to the previous Menu or cancels the operation in course. Refer to chapter 7.8 for Editing.
  • Page 60: Password Menu

    GEFRAN 7.6 PASSWORD MENU Password setup is handled by a Menu with the following structure: PASSWORD Enter New Passw. XXXXX TSB8070 Pressing the Cancel key returns to the immediately superior Menu level. Pressing the Enter key enters the Password Edit mode.
  • Page 61: Edit For The Password Setting

    SBI-DN 7.6.2 Edit for the Password setting The flowchart illustrating Password Setup Editing is shown below. Note that pressing Cancel at any time returns to the previous Menu or cancels the operation in course. Refer to chapter 7.8 for Editing.
  • Page 62: Sbi Info Menu

    GEFRAN 7.7 SBI INFO MENU The keypad display shows either general purpose useful information (board address, current Baud Rate, etc.) or information about the communication states (node status, allocation status, etc.), in order to allow a fast troubleshooting if the board can not be to the bus connected.
  • Page 63: Node Status

    SBI-DN 7.7.3 Node status The following node status are displayed: · DNet Status. · DNet StAux. · DNet StUser. By pressing the ENTER key, these three error-conditions are set to zero. In normal conditions all must be set to zero; when pressing th ENTER key, all error conditions are set to zero;...
  • Page 64 GEFRAN Messaging type of Connection in order to send a cnxn-based request Cannot send cnxn-based request since a request is outstanding Invalid instance identifier specified in received explicit messa- request Explicit message request is directed at non-existent cnxn instan- A Create request can only be sent to the class, not a particular...
  • Page 65: Status Of Allocation

    SBI-DN DnetStUser Meaning Code No error exists No resource available Duplicate MacId Check error Illegal transmission Illegal reception Illegal action Time-out error Parameter error DeviceNet is not enabled DeviceNet module is not present or not ok Hardware problem 0FFFFH General error 7.7.4 Status of allocation...
  • Page 66: Cnxn Status

    GEFRAN 7.7.5 CNXN status The following states of the connections are displayed: PE - Predefined Mode Explicit connection status . PP - Predefined Mode Polled connection status . UE - UCMM Explicit connection status. Every single state can assume following values: ·...
  • Page 67: Display Software Version (Sotware Version)

    SBI-DN dress, the following message shows up: DUP. MAC ID TEST FAILED In addition to this information, the red LED AL0 starts blinking. In this case the address of the SBI board must be changed. If the “Duplicate MAC ID” test is positive, the following message shows up: DUP.
  • Page 68: Edit

    GEFRAN 7.8 EDIT The Editing phase is activated by pressing the Enter key when positioned on an item that can be set; during this phase, the functions of the keys are as follows: The Right/Left arrow keys are used to move along the number being specified;...
  • Page 69: Miscellaneous

    SBI-DN 8.0 MISCELLANEOUS 8.1 DEFINITIONS - CAN Controller Area Network - CNXN Connections - COS Change of State - DeviceNet operation mode - DMC Duplicate Mac ID - MAC ID Media Access Control Identifier (node address) - ODVA Open DeviceNet Vendor Association...
  • Page 70 Ph. +91 20 6614 6500 info@sieiareg.de Fax +44 (0) 8452 604556 Fax +91 20 6614 6501 sales@gefran.co.uk gefran.india@gefran.in SENSORMATE AG GEFRAN MIDDLE EAST ELEKTRIK VE GEFRAN INC. ELEKTRONIK SAN. VE TIC. LTD. STI Steigweg 8, 8 Lowell Avenue Yesilkoy Mah. Ataturk CH-8355 Aadorf, Switzerland WINCHESTER - MA 01890 Cad.

Table of Contents