Page 2
Important Notes Important Notes ® • Read this manual carefully before you start the installation and startup of MOVITRAC 31C frequency inverters with the DeviceNet FFD31C option card. This manual assumes that the user has access to and is familiar with the documentation on ®...
Introduction Introduction This user manual for the DeviceNet (FFD31C) Option describes how to install the DeviceNet option ® card in the frequency inverter and how to start up the MOVITRAC 31C on the DeviceNet fieldbus system. As well as explaining all settings on the fieldbus interface, this document also deals with the vari- ous DeviceNet connection variants in the form of brief startup examples.
Installation Installation Supported unit types The FFD31C option for the DeviceNet connection can be operated with all frequency inverters in the ® MOVITRAC 31C series. Installation of the option card Before you begin: • Take suitable measures to dissipate any electrical charge in your body before you touch the option card (discharge strap, conductive shoes, etc.).
Installation The DeviceNet option card is opto-decoupled on the driver side in accordance with the DeviceNet specification (Volume I, Chapter 9). This means the CAN bus driver must be powered with 24 V via the bus cable. The required cable is also described in the DeviceNet specification (Volume I, Appendix B). The connection must be made according to the color code specified in Table 1.
Installation DIP switch settings There are two DIP switch blocks of four DIP switches each on the FFD31C DeviceNet card. Two DIP switches are used for setting the baud rate and six for setting the MAC-ID (Media Access Control Identifier). The MAC-ID represents the node address of the FFD31C. Function Abbrev.
Page 9
Installation 2.7.2 ModNet LED The range of functions of the ModNet LED (module/network status LED) is defined in the DeviceNet specification. Its range of functions is described in Table 5. Status Message Not switched on/ • Unit is off-line off-line •...
Page 10
Installation 2.7.4 BIO LED The BIO LED checks the bit-strobe I/O connection. Its range of functions is described in Table 7. Status Message DUP-MAC check Flashes green • Unit is performing the DUP-MAC check (125 ms cycle) Not switched on/ •...
Project Planning and Startup Project Planning and Startup ® This chapter describes how to start up the MOVITRAC 31C inverter with the FFD31C Option, using MC_SHELL (from version 2.9) or the FBG31 keypad (from version .18). Inverter control mode fieldbus After the DeviceNet option card has been installed and the baud rate and MAC-ID have been set ®...
Project Planning and Startup Control mode = FIELD BUS Use parameter P841 to switch control and setpoint processing of the drive inverter to FIELD- BUS.
Input terminal 42 = NO FUNCTION Program the function of input terminal 42 to NO FUNCTION with parameter P600..
Input terminal 43 = NO FUNCTION...
Project Planning and Startup There is an EDS file MC31.eds and a bitmap file MC31.bmp for the FFD31C option card. These files must be installed using the DeviceNet Manager software. Select Utilities/Install EDS File from the menu. The program prompts you for the EDS file name and the bitmap file.
Page 14
Project Planning and Startup Configuration for three process data words The factory setting of the process data configuration is process data length = 3. The setting can be altered using the DeviceNet PD Configuration parameter. In MC_SHELL or FBG31C, the setting is displayed by means of the DeviceNet PD Configuration = 3 PD parameter or 3PD + Param .
Page 15
Project Planning and Startup Configuration for two process data words Process data length = 2 can be set using the DeviceNet PD Configuration parameter. In this case, 2 PD or 2PD + Param must be set in MC_SHELL or FBG31C. As a result, two process data words (4 bytes) are processed in the inverter and two process input data words are sent to the control.
Page 16
Project Planning and Startup Configuration for one process data word Process data length = 1 can be set using the DeviceNet PD Configuration parameter. In this case, 1 PD or 1PD + Param must be set in MC_SHELL or FBG31C. As a result, one process output data word (1 byte) is processed in the inverter and one process input data word is sent to the control.
Page 17
Project Planning and Startup If a timeout occurs for the polled I/O messages, this connection type enters timeout status. Incom- ing polled I/O messages are no longer accepted. The timeout response triggers the timeout reaction set in the inverter. The timeout response can be reset with DeviceNet by using the reset service of the connection object (class 0x05, instance 0x02, undetermined attribute), by dropping the connection or by using the reset service of the identity object (class 0x01, instance 0x01, undetermined attribute).
Page 18
Project Planning and Startup Each participant which has received this bit-strobe I/O message responds with its current process input data. The length of the process input data corresponds to the process data length for the polled I/O connection. It can also be set using the DeviceNet PD Configuration parameter. Address Range Output File Station...
Project Planning and Startup The timeout response can be reset with DeviceNet using the reset service of the connection object (class 0x05, instance 0x03, undetermined attribute), by dropping the connection or by using the reset service of the identity object (class 0x01, instance 0x01, undetermined attribute). Parameter data exchange 3.4.1 The SEW parameter data channel The SEW parameter data channel represents a connection via which parameters in the inverter can...
Page 20
Project Planning and Startup The following table shows the attributes of the two register object instances. Class Instance Attribute Type/value Meaning 0x07 0x01 Bad flag (Read) 0 (input) Direction 48 bit Size 2 bytes index Data 4 bytes data 0x02 Bad flag (Read/ 1 (output)
Page 21
Project Planning and Startup Address Range Output Data Header Header (Service, Class ...) Index Index = 641h Data Low Word Data Low Word = 0900h Data High Word Data High Word = 0000h Header Index Data Input Data Header Index Data Header Header...
Page 22
Project Planning and Startup Writing/reading the fieldbus parameters The parameters required for operating the fieldbus have been directly incorporated into the param- eter object. They can be addressed directly via the instance. Instance no. Group Name Comment Communication Control mode Setpoint source Communication PD configuration...
Page 23
Project Planning and Startup Return codes from DeviceNet DeviceNet-specific return codes are sent in the error message, if the data format is not maintained during the transmission or if a service is performed which has not been implemented. The coding of these return codes is described in the DeviceNet specification (see appendix).
Sample Application with SLC500 Sample Application with SLC500 The sample applications are based on a system configuration as shown in Fig. 10. RSLogic500 for SLC500 DeviceNet Manager System Configuration 9324-RL0300END 1787-MGR DeviceNet RS232C RS232C MAC-ID MAC-ID MAC-ID 1747-CP3 1747-CP3 DeviceNet Interface Interface SLC500...
Page 25
Sample Application with SLC500 The following memory areas have been specified with the help of the DeviceNet manager software: *************************************************************************** 1747-SDN Scanlist Map *************************************************************************** Discrete Input Map: 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 ------ I:3.000 Status word of the scanner...
Sample Application with SLC500 Exchange of polled I/O (process data) Cycle 0 Objective START Speed = 1000 rpm, In the following program, process data are Enable ® to be sent to MOVITRAC and the motor should run at a different speed. Cycle 1 The program sequence is shown in Fig.
Page 27
Sample Application with SLC500 Start DeviceNet communication Status engine for control of sense of rotation Output of the status engine If status > 3, change to status 0 01912AEN Output bit O:3.0/0 is set in rung 0 (program line 0), thereby starting DeviceNet communication (see the description of the DeviceNet scanner).
Sample Application with SLC500 Status 0 is created in rung 4. In this status, a 6 (ENABLE) is written to memory area O:3.3 which represents process output data word 1. A 5000 is written to memory area O:3.4 (process output data word 2), which represents 1000 rpm.
Sample Application with SLC500 The program can now be written for the SLC500. Send Bit-Strobe message Start DeviceNet communication Set / reset Strobe bit Transmit actual values from the device to the output module 01915AEN In rung 0, DeviceNet communication is once again enabled. In rung 1, the strobe-bit of device 0 is set in relationship to the input bit I:3.2/0 (from the DeviceNet input module).
Page 30
Sample Application with SLC500 These memory areas are described in more detail in Table 21. Memory area Function Length Value Description Transmission header cmd/status ½ word See Table 21 cmd: Entry of a command code status: Entry of the transmission status TXID ½...
Page 31
Sample Application with SLC500 The M-files are divided into a request file (M0-file) and a response file (M1-file). The data transmis- sion is shown in Fig. 13: SLC500 Scanner 1747-SDN Request Scanner transmission 1. M0 File request MOVITRAC block idle loop Process requests Contact scheme scan and responses...
Page 32
Sample Application with SLC500 Request Response Function Value Function Value TXID TXID 1 = Start status 1 = Successful Connection Connection Size Size Service Eh = Read request Service 8Eh = Read response MAC_ID MACID Class Data 1 641h Instance Data 2 900h Attribute...
Technical Data Technical Data Item no. 822 964 3 Number of process data words • 1, 2 or 3 process data words can be selected using parameter P574 DeviceNet PD Configuration Baud rate • 125, 250 or 500 kbaud can be selected via DIP switch MAC-ID •...
Appendix Appendix General error codes General error Error name Description code (hex) 00 - 01 Reserved for DeviceNet Resource unavailable The source required for performing the service is unavailable 03 - 07 Reserved for DeviceNet Service not supported The service is not supported for the selected class/instance Invalid attribute value Invalid attribute data have been sent Reserved for DeviceNet...
Appendix Definitions of terminology Term Description Allocate Provides a service for setting up a connection Attribute Attribute of an object class or instance. Describes the characteristics of the object class or instance more fully. BIO - Bit-strobe I/O All participants can be addressed with a broadcast message. The addressed participants respond with the process input data.
Index Index Bit-strobe I/O 17 Bit-strobe I/O timeout behavior 18 Bus termination 7 Definitions of terminology 44 DeviceNet network, setting up 12 DIP switch Setting 8 Display elements 8 BIO LED 10 BusOff LED 10 Mod/Net LED 9 PIO LED 9 Power-up 8 EDS file 12 General error codes 34...
Need help?
Do you have a question about the MOVITRAC 31C and is the answer not in the manual?
Questions and answers