SEW DFD11B Скачать руководство пользователя страница 54

54

Manual – DFD11B DeviceNet Fieldbus Interface

Process data exchange 

DeviceNet Characteristics 

6

DeviceNet Characteristics

6.1

Process data exchange

Polled I/O

The polled I/O messages correspond to the process data telegrams of the SEW fieldbus
profile. Up to 10 process data words (for operation with MOVIDRIVE

®

 B) or up to 24 pro-

cess data words (for Gateway operation) can be exchanged between the control and
DFD11B. The process data length is set via DIP switches S2-PD0 ... S2-PD4.

Timeout 
response with 
polled I/O

The timeout is triggered by the DFD11B option. The timeout interval must be set by the
master after the connection has been established. The DeviceNet specification refers to
an 'expected packet rate' rather than a timeout interval in this case. The expected packet
rate is calculated on the basis of the timeout interval using the following formula:
t

Timeout_inverter

 = t

Timeout interval_Polled_I/O

 = 4 x t

Expected_Packet_Rate_Polled_I/O

The expected packet rate can be set using the connection object class 5, instance 2,
attribute 9. The range of values runs from 0 ms to 65535 ms in 5 ms steps.
The expected packet rate for the polled I/O connection is converted into the timeout in-
terval and displayed in the device and the timeout interval in parameter P819.
This timeout interval is retained in the device whenever the polled I/O connection is
dropped, and the device switches to timeout status after the timeout interval has
elapsed.
The timeout interval must not be altered in the inverter using MOVITOOLS

®

 or the

DBG60B keypad, because it can only be activated via the bus.
If a timeout occurs for the polled I/O messages, this connection type enters timeout sta-
tus. Incoming polled I/O messages are no longer accepted.
The timeout causes the timeout reaction set in the inverter to be carried out.
The timeout can be reset with DeviceNet by means of the reset service of the connection
object (class 0x05, instance 0x02, undetermined attribute), by disconnecting the con-
nection, by means of the reset service of the identity object (class 0x01, instance 0x01,
undetermined attribute) or with the reset bit in the control word.

Bit-strobe I/O

Bit-strobe I/O messages are not contained in the SEW fieldbus profile. The messages
represent a DeviceNet-specific process data exchange. The master sends a broadcast
message that is 8 bytes (= 64 bits) long. One bit in this message is assigned to each
station in accordance with its address. The value of this bit may be 0 or 1, triggering two
different responses in the recipient.

NOTE

The set process data length influences the process data lengths of both the polled I/O
and the bit-strobe I/O messages.
The process data length of the bit-strobe I/O messages can include up to four process
data words. If the value for the process data length set via DIP switches is less than
four, it will be accepted. If the value set via DIP switches is greater than four, the pro-
cess data length will be automatically limited to four.

Bit 
value

Meaning

BIO LED 

0

Sends back process input data only

Green light

1

Trigger fieldbus timeout reaction and send back process input data

Green light

0

0

I

Содержание DFD11B

Страница 1: ...Drive Technology Drive Automation System Integration Services DFD11B DeviceNet Fieldbus Interface Manual Edition 10 2007 11637013 EN...

Страница 2: ...SEW EURODRIVE Driving the world...

Страница 3: ...rd in MOVITRAC B 12 4 2 1 System bus connection between a MOVITRAC B and the DFD11B option 12 4 2 2 System bus connection between multiple MOVITRAC B units 13 4 3 Installing the DFE11B UOH11B gateway...

Страница 4: ...ata exchange 54 6 2 The Common Industrial Protocol CIP 56 6 2 1 CIP object directory 56 6 3 Return codes for parameter setting via explicit messages 66 6 4 Definitions of terminology 68 7 Operating MO...

Страница 5: ...e information contained in the MOVIDRIVE MOVITRAC documentation to ensure safe operation and to achieve the specified product character istics and performance requirements SEW EURODRIVE assumes no lia...

Страница 6: ...e to changes in the unit behavior This may result in unexpected not uncontrolled system behavior 2 3 Safety functions The MOVIDRIVE MDX60B 61B and MOVITRAC B drive inverters may not perform safety fun...

Страница 7: ...bus parameters and their coding the MOVIDRIVE Fieldbus Unit Profile manual and the MOVITRAC B and MOVIDRIVE MDX60B 61B system manual provide information on various control concepts and application opt...

Страница 8: ...bus timeout or rapid stop concepts You can for example adjust the monitoring functions of MOVIDRIVE MOVITRAC specifically to your application You can determine for instance which of the drive in verte...

Страница 9: ...MOVIDRIVE MDX61B MOVITRAC B and UOH11B gateway housing 4 1 Installing the DFD11B option card in MOVIDRIVE MDX61B NOTES Only SEW EURODRIVE personnel may install or remove option cards for MOVIDRIVE MD...

Страница 10: ...option card from electrostatic charge use discharge strap conductive shoes and so on before touching it Before installing the option card remove the keypad and the front cover oper ating instructions...

Страница 11: ...2 Remove the two retaining screws of the black cover plate on the card retaining brack et Remove the black cover plate 3 Position the option card onto the retaining bracket so that the three retainin...

Страница 12: ...S1 ON NOTE Only SEW EURODRIVE engineers may install or remove option cards for MOVITRAC B 62198AXX 1 Terminating resistor activated S1 ON 2 DIP switch S2 reserved S2 OFF X46 X26 Terminal assignment X4...

Страница 13: ...2 3 4 5 6 7 8 24V IO DC 24 V 9 GND DFD 11B MOD NET BUS FAULT 0 1 PIO NA 5 NA 4 NA 3 NA 2 NA 1 DR 1 DR 0 PD 4 PD 3 PD 2 PD 1 PD 0 AS F2 F1 1 2 3 4 5 NA 0 S1 S2 X30 BIO 1 2 1 2 1 2 MOVITRAC B DFD11B via...

Страница 14: ...th 40 pF m at 1 kHz Suitable cables are e g CAN bus or DeviceNet cables The permitted total cable length depends on the baud rate setting of the SBus 250 kBaud 160 m 500 kBaud 80 m 1000 kBaud 40 m Con...

Страница 15: ...he system bus connection NOTE Only SEW EURODRIVE engineers are allowed to install or remove option cards in from the UOH11B gateway housing 62197AXX UOH11B gateway housing X26 Terminal assignment X26...

Страница 16: ...switches for setting the baud rate Five DIP switches for setting the process data length NA 0 NA 5 DR 0 DR 1 PD 0 PD 4 AS F1 F2 Setting the MAC ID Media Access Control Indentifier Setting the DeviceNe...

Страница 17: ...The cable to be used is also described in the DeviceNet specification Volume I Appendix B The connection must be made ac cording to the color code specified in the following table DFD11B DeviceNet con...

Страница 18: ...ts Do not route them parallel to power cables motor leads Use metallic grounded cable racks in industrial environments Route the signal cable and the corresponding equipotential bonding close to each...

Страница 19: ...anner Configuring the SBus communi cation of the gateway The AS DIP switch is used to configure the SBus communication of the gateway chapter Auto setup for gateway operation The configuration is carr...

Страница 20: ...de and connected Online Connection to a master has been established Connection is active established state Flashing red 1 s cycle Minor fault or connection timeout A correctable error has occurred A d...

Страница 21: ...is set via DIP switches A correctable error has occurred Bit strobe I O connection is in timeout state Red light Critical fault or critical link failure An error that cannot be remedied has occurred...

Страница 22: ...SEW_GATEWAY_DFD11B eds is required Install the following files with the RSNetWorx software to build the DeviceNet network with the DFD11B option Proceed as follows Select the menu item Tools EDS Wiza...

Страница 23: ...iceNet Scanner to the I O configuration the file dnt containing the DeviceNet configuration is selected To view and edit the DeviceNet configuration RSNetWorx can be launched from this dialog followin...

Страница 24: ...on in MOVIDRIVE B By reading the device properties in online mode the process data Pd configuration of the DFD11B can be checked following figure The parameter Pd configuration gives the number 1 10 o...

Страница 25: ...from and to DeviceNet units is packed into a DINT Array that is transferred from the scanner to the local I O tags of the Logix Processor In order not to have to search for the data from a certain de...

Страница 26: ...es in online mode the process data Pd configuration of the DFD11B can be checked following figure The parameter Pd configuration gives the number 3 24 of process data words PD set via DIP switches PD...

Страница 27: ...I O tags of the Logix Processor In order not to have to search for the data from a certain device in this array manually the DeviceNet Tag Generator tool generates copy commands and two controller tag...

Страница 28: ...rch is completed the DFD11B periodically exchanges three process data words with each connected drive inverter The process output data are fetched from the fieldbus divided into blocks of three and tr...

Страница 29: ...IDRIVE B drive inverter can be set straight away via De viceNet without any further settings once the DeviceNet option card has been installed For example all parameters can be set by the PLC after po...

Страница 30: ...s Activation of the control signal source and setpoint source SBus is signaled to the higher level controller using the SBus mode active bit in the status word For safety reasons you must also enable...

Страница 31: ...of PD according to this sample to 3 2 Then follow chapter 5 2 and 5 2 1 to add MOVIDRIVE B with DFD11B to the De viceNet configuration 3 Follow chapter 5 3 to set the communication parameters of MOVID...

Страница 32: ...I O following fig ure Make sure that this CPS command is executed after the automatically by DeviceNet Tag Generator generated DNet_ScannerInputsRoutine In order to copy the data from the new data st...

Страница 33: ...set the PLC to Run Mode and set the Scanner CommandRegister Run to 1 to activate the data exchange via De viceNet Now the actual values from the device can be read and setpoint values can written The...

Страница 34: ...dd the DFD11B gateway to the DeviceNet con figuration 3 Execute the Auto Setup Function of the DFD11B gateway according to chapter 5 3 to configure the data mapping to the drives 4 Follow chapter 5 4...

Страница 35: ...ne that read the data from the local I O following figure Make sure that these CPS commands are executed after the automatically by DeviceNet Tag Generator generated DNet_ScannerInputsRoutine Please n...

Страница 36: ...Generator generated DNet_ScannerOutputsRoutine Please note that the structure DNet_Scanner_N10_POL_O Data contains the PD to all drives on the gateway so that the 6 data bytes of to each drive have t...

Страница 37: ...les in RSLogix 5000 Project Planning and Startup The data in the controller tags should be equal to the process data displayed in the monitor for the DFx fieldbus gateway or in the parameter tree in M...

Страница 38: ...MOVIDRIVE B via ex plicit messages and the register object follow the following steps 1 Generate the user defined data structure SEW_Parameter_Channel following figure 2 Define the controller tags fo...

Страница 39: ...n the further data in the following order A Source Element ReadParameterRequest Index B SourceLength 12 C Destination ReadParameterResponse Index D Class 7hex E Instance 1 F Attribute 4hex G Service C...

Страница 40: ...figure On response to the read request ReadParameterResponse Index should indicate the read index and ReadParameterResponse Data should contain the read data In this sample P160 internal setpoint n11...

Страница 41: ...r execution following figure For contact select the tag WriteParameterStart For the Message Control select the tag WriteParameter Click on in the MSG instruction to open the Message Configuration Wind...

Страница 42: ...y altering WriteParameterStart to 1 the write request is executed once following figure On response to the write request WriteParameterResponse Index should give the written index and WriteParameterRe...

Страница 43: ...ntical to the access to MOVIDRIVE B parameter data chapter 5 5 3 The only difference is that Read WriteParameterRequest SubChannel1 is to be set to 2 and Read WriteParameterRequest SubAddress1 is to b...

Страница 44: ...nputs DeviceNet Scanner SLC500 Power section 1746 P2 1485A C2 Terminating resistor 1485A C2 Terminating resistor 1747 SDN 1746 IB16 1794 ADN 1794 IB16 1794 ADN 1794 OV16 1746 OB16 1747 L542 DeviceNet...

Страница 45: ...ID1 device 0 Bit Strobe I O I 3 015 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 PID2 device 0 Bit Strobe I O I 3 016 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 PID3 device 0 Bit Strobe I O I...

Страница 46: ...DX61B now works in fieldbus mode and can receive process data The program can now be written for the SLC500 54178AEN Menu no Index Parameter Value 100 8461 Setpoint source Fieldbus 101 8462 Control si...

Страница 47: ...implemented The current status is written to the outputs O 1 0 of the output module of the SLC500 in rung 2 The process data values are output to the scanner memory area in the following figure Status...

Страница 48: ...the motor is stopped with the rapid stop States 2 and 3 are treated similarly to states 0 and 1 and are thus not explained any further In the figure above the current actual value of the device with...

Страница 49: ...the following overview 54172AEN Memory area Function Length Value Description Transmission header cmd status 1 2 word each follow ing table cmd Entry of command code status Entry of transmission stat...

Страница 50: ...ueue 5 255 Reserved Network node status Description 0 Ignore transmission block 1 Transmission completed successfully 2 Transmission in progress 3 Error Slave device not in the scan list 4 Error Slave...

Страница 51: ...index 1 word and the parameter data 2 words 54175AEN 4 1 2 3 5 6 7 8 9 0 MOVIDRIVE MDX61B PLC SLC500 Scanner 1747 SDN Request of a transmission block Contact plan scanning Response of a transmission b...

Страница 52: ...elegram to be used is written in N7 0 to N7 8 N7 10 to N7 15 hold the data that are to be received 02149AXX Word length Request Function Value 1 TXID 1 Cmd 1 Start 2 Connection 0 Size 8 3 Service Ehex...

Страница 53: ...ting from N7 0 are copied into the M0 file with a rising edge of bit B3 0 1 This starts the reading of parameter 8304 2070hex In rung 6 the system waits for the rising edge of scanner bit I 3 0 15 I 3...

Страница 54: ...rval must not be altered in the inverter using MOVITOOLS or the DBG60B keypad because it can only be activated via the bus If a timeout occurs for the polled I O messages this connection type enters t...

Страница 55: ...place as follows via DeviceNet with the reset service of the connection object class 0x05 instance 0x03 undetermined attribute by interrupting the connection via reset service of the identity object...

Страница 56: ...1 Identify Object 03 DeviceNet Object 05 Connection Object 07 Register Object 0F Parameter Object Attri bute Acc Name Data type Default value hex Description 1 Get Vendor ID UINT 013B SEW EURODRIVE Gm...

Страница 57: ...us Table Coding of the extended device status 8 Minor Recoverable Fault Minor fault that can be remedied 9 Minor Unrecoverable Fault Minor fault that cannot be remedied 10 Major Recoverable Fault Majo...

Страница 58: ...g to DIP switches 0 63 2 Get Baud rate According to DIP switches 0 2 3 Get BOI 4 Get Set Bus off Counter Error counter of the physical CAN Interface 0 255 5 Get Allocation information 6 Get MAC ID swi...

Страница 59: ...ribute Access Name 1 Get State 2 Get Instance type 3 Get Transport Class trigger 4 Get Produce connection ID 5 Get Consume connection ID 6 Get Initial com characteristics 7 Get Produced connection siz...

Страница 60: ...ed for ac cess As the register object is designed so that INPUT objects can only be read and OUTPUT objects can be read and written the options listed in the following table are available for addressi...

Страница 61: ...NG READ ATTRIBUTE WRITE WRITE VOLATILE Get_Attribute_Single Get_Attribute_Single Set_Attribute_Single Set_Attribute_Single Get_Attribute_Single Get_Attribute_Single Get_Attribute_Single Get_Attribute_...

Страница 62: ...bits Attribute 4 represents the parameter data When accessing attribute 4 the SEW parameter channel must be attached to the service telegram The SEW parameter channel consists of the elements listed i...

Страница 63: ...me Data type Default value hex Description 2 Get Max Instance UINT 0025 Maximum instance 37 8 Get Parameter Class Descriptor UINT 0009 Bit 0 Supports parameter instances Bit 3 Parameters are saved per...

Страница 64: ...ion Process data configuration 7 Get Set Setp descr PO1 Process output data assignment for PD1 8 Get Setp descr PO2 Process output data assignment for PD2 9 Get Set Setp descr PO3 Process output data...

Страница 65: ...Parameter that is to be read or writ ten see table fieldbus parameter gateway 2 Get Link Path Size USINT 00 Not used here 3 Get Link Path Packed EPATH 00 Not used here 4 Get Descriptor WORD 0000 Read...

Страница 66: ...ansfer or if a service is performed which has not been imple mented The coding of these return codes is described in the DeviceNet specification section General Error Codes Timeout of explicit mes sag...

Страница 67: ...ed service 11 Reply data too large The length of the transmitted data is longer than the size of the receive buffer 12 Reserved for DeviceNet 13 Not enough data The length of the transferred data is t...

Страница 68: ...ncludes the class no instance no attribute no and the data Explicit message Parameter data message assists in addressing the DeviceNet objects Get_Attribute_Single Read service for a parameter Instanc...

Страница 69: ...o via DeviceNet 7 Operating MOVITOOLS MotionStudio via DeviceNet At the moment it is not possible to run MOVITOOLS MotionStudio via DeviceNet or via DeviceNet master to enable communication down to th...

Страница 70: ...NET PIO BIO BUS FAULT Status Cause Off Off Off Off Off No power supply via MOVIDRIVE B or X26 when mounted into MOVITRAC B or gateway hous ing Off Yellow Off Off Booting During bootup and synchronizat...

Страница 71: ...a words E If the PLC is not sending data to the DFD11B please refer to the documentation of the PLC manufacturer for support F Is the DFD11B mounted into MOVITRAC B or gateway housing if yes proceed w...

Страница 72: ...o be set via DIP switches Bus cable length For thick cable according to DeviceNet specification 2 0 Appendix B 500 m at 125 kBaud 250 m at 250 kBaud 100 m at 500 kBaud Transmission level ISO 11898 24...

Страница 73: ...ches Bus cable length For thick cable according to DeviceNet specification 2 0 Appendix B 500 m at 125 kBaud 250 m at 250 kBaud 100 m at 500 kBaud Transmission level ISO 11898 24 V Connection technolo...

Страница 74: ...e safety notes 5 General safety notes for bus systems 6 I Installation DFD11B UOH11B 15 DFD11B option card in MOVITRAC B 12 DFD11B option card in MOVIDRIVE MDX61B 9 Installing and remove an option car...

Страница 75: ...ring the SBus communication of the gateway 19 Setting the MAC ID 19 Setting the baud rate 19 Setting the process data length 19 Setting the DIP switches 19 Structure of the safety notes 5 T Technical...

Страница 76: ...reduces the cost and complexity of daily operations With a global presence that offers responsive and reliable solutions Anywhere With innovative technology that solves tomorrow s problems today With...

Отзывы: