Mitsubishi FX2N User Manual

Mitsubishi FX2N User Manual

Profibus-dp interface unit
Hide thumbs Also See for FX2N:
Table of Contents

Advertisement

USER'S MANUAL
FX
-32DP-IF PROFIBUS-DP INTERFACE UNIT
2N

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi FX2N

  • Page 1 USER’S MANUAL -32DP-IF PROFIBUS-DP INTERFACE UNIT...
  • Page 2 FX2N-32DP-IF Profibus-DP Interface Unit Foreword • This manual contains text, diagrams and explanations which will guide the reader in the cor- rect installation and operation of the FX read and understood before attempting to install or use the unit. • Further information can be found in the FX ual, manual of special function blocks and manual of Profibus-DP master CPUs.
  • Page 3 FX2N-32DP-IF Profibus-DP Interface Unit -32DP-IF PROFIBUS-DP INTERFACE UNIT USER’S MANUAL Manual number : JY992D79401 Manual revision : A Date : April 1999...
  • Page 4 FX2N-32DP-IF Profibus-DP Interface Unit...
  • Page 5 FX2N-32DP-IF Profibus-DP Interface Unit FAX BACK Mitsubishi has a world wide reputation for its efforts in continually developing and pushing back the frontiers of industrial automation. What is sometimes overlooked by the user is the care and attention to detail that is taken with the documentation. However,to continue this process of improvement, the comments of the Mitsubishi users are always welcomed.
  • Page 6 FX2N-32DP-IF Profibus-DP Interface Unit...
  • Page 7 FX2N-32DP-IF Profibus-DP Interface Unit Guidelines for the Safety of the User and Protection of the FX bus-DP Interface Unit. This manual provides information for the use of the FX The manual has been written to be used by trained and competent personnel. The definition of...
  • Page 8 FX2N-32DP-IF Profibus-DP Interface Unit • Under no circumstances will Mitsubishi Electric be liable responsible for any consequential damage that may arise as a result of the installation or use of this equipment. • All examples and diagrams shown in this manual are intended only as an aid to understand- ing the text, not to guarantee operation.
  • Page 9: Table Of Contents

    FX2N-32DP-IF Profibus-DP Interface Unit Table of Contents Guideline... v 1. Introduction...1-1 1.1 Features of the 32DP-IF ... 1-1 1.2 External Dimensions and Each Part Name ... 1-2 1.2.1 Pin Configuration ... 1-3 1.3 System Configuration ... 1-4 1.3.1 Connected Programming Tools... 1-5 1.3.2 Connected Extension Units/Blocks ...
  • Page 10 FX2N-32DP-IF Profibus-DP Interface Unit 8. Diagnostics ...8-1 8.1 Preliminary Checks... 8-1 8.2 Check the Status of the LEDs for the 32DP-IF ... 8-2 8.3 Check Error Status of the 32DP-IF ... 8-3 8.3.1 Error Status in D8029 ... 8-3 8.3.2 Error Flags... 8-4 8.3.3 Error Code ...
  • Page 11: Introduction

    FX2N-32DP-IF Profibus-DP Interface Unit Introduction The FX -32DP-IF Profibus-DP Interface Unit (hereafter called “32DP-IF”) can be used to con- nect extension blocks/units and special function blocks of FX ing Profibus-DP network. The 32DP-IF provides an intelligent slave function for decentralized control applications. Digital and analog data from a Profibus-DP master CPU (hereafter called “DP-master”) can be sent...
  • Page 12: External Dimensions And Each Part Name

    FX2N-32DP-IF Profibus-DP Interface Unit External Dimensions and Each Part Name Dimensions: mm (inches) Accessory: GSD files (FD: 1 piece) Figure 1.1: External Dimensions a) Connector for Profibus cable (D-SUB 9 pin) b) Power supply terminals (screws terminal: M3.5 (0.14")) c) Direct mounting hole (2- 4.5 (0.18")) d) 24 V DC power terminal (screws terminal: M3.5 (0.14"))
  • Page 13: Pin Configuration

    FX2N-32DP-IF Profibus-DP Interface Unit 1.2.1 Pin Configuration The connector is a 9-pin D-SUB type and the pin configuration is shown below. Figure 1.2: Pin Layout 9-pin D-SUB Assigned Not assigned Table 1.1: Pin Configuration Connector Signal RXD/TXD-P Receive/transmit-Data-P(+) Request to send...
  • Page 14: System Configuration

    FX2N-32DP-IF Profibus-DP Interface Unit System Configuration Figure 1.3: System Configuration DP-master Slave or DP-master * -32DP-IF Profibus-DP interface unit * *1 The units at each end of the Profibus-DP network must have a terminating resistor. This will either be in the master or slave unit or in the Profibus connector.
  • Page 15: Connected Programming Tools

    FX2N-32DP-IF Profibus-DP Interface Unit 1.3.1 Connected Programming Tools An FX-20P-E or personal computer can be used to monitor the devices of the 32DP-IF or to set parameter data for special function blocks connected to the 32DP-IF. For operating instruc- tions of the FX-20P-E or personal computer, refer to their respective operation manuals. For device numbers and explanation, refer to chapter 4.
  • Page 16: Connected Extension Units/Blocks

    FX2N-32DP-IF Profibus-DP Interface Unit 1.3.2 Connected Extension Units/Blocks The table below shows extension units/blocks and their data lengths when connected to a 32DP-IF. Data is exchanged between the 32DP-IF and DP-master during every cycle. The maximum amount of data that can be exchanged with the 32DP-IF is 200 bytes of input data and 200 bytes of output data.
  • Page 17 FX2N-32DP-IF Profibus-DP Interface Unit *2 Total 8 bytes, selection between C and F, averaged or present data can be done by GSD file configuration for each channel separately. Table 1.4: BFM No. of FX Items C (averaged) BFM #5 ~ #8...
  • Page 18: Configuration Rules

    FX2N-32DP-IF Profibus-DP Interface Unit 1.3.3 Configuration Rules 1) Special function blocks: Max. 8 blocks per 32DP-IF. Check the loading on the 5 V DC bus supply. Consumption values for special function blocks can be found in Table 1.7. For maximum available current see the Table 1.6.
  • Page 19: Example Configuration

    FX2N-32DP-IF Profibus-DP Interface Unit 1.3.4 Example Configuration Figure 1.5: Example Configuration A Series Profibus-DP network 32DP-IF For configuration rules, refer to section 1.3.3. 1) Check special function blocks. a) Count special function blocks. This 32DP-IF has 3 special function blocks connected (FX This configuration is OK as the total number of blocks is less than 8.
  • Page 20 FX2N-32DP-IF Profibus-DP Interface Unit 2) Check total I/O points and the loading on the 24 V DC service supply. For the loading on the 24 V DC service supply, refer to Figurer 1.4. Table 1.9: Check Total I/O Points and the Loading on the 24 V DC Service Supply...
  • Page 21: Wiring And Mounting Arrangements

    FX2N-32DP-IF Profibus-DP Interface Unit Wiring and Mounting Arrangements Mounting Arrangements To prevent a rise in temperature, mount the units to back walls. Never mount them to the floor, ceiling or side wall of an enclosure. Figure 2.1: Mounting Location > 50 mm (1.97")
  • Page 22: Wiring

    FX2N-32DP-IF Profibus-DP Interface Unit Wiring 2.2.1 Caution for Wiring 1) Do not lay signal cable near to high voltage power cable or house them in the same trunking duct. Effects of noise or surge induction may occur. Keep signal cables a safe distance of more than 100 mm (3.94") from these power cables.
  • Page 23: Wiring For 32Dp-If And Profibus-Dp Network

    FX2N-32DP-IF Profibus-DP Interface Unit 2.2.2 Wiring for 32DP-IF and Profibus-DP Network To connect the 32DP-IF to a Profibus-DP network use only the Profibus connectors and shielded twisted-pair cable complying with EN50170. Please use terminating resistors and Profibus connectors as shown in the DP-master manual and Profibus connector manual.
  • Page 24: Wiring For Extension I/O Units/Blocks And Special Function Blocks

    FX2N-32DP-IF Profibus-DP Interface Unit 2.2.3 Wiring for Extension I/O Units/Blocks and Special Function Blocks 1) Wiring about 32DP-IF and special function block Connecting method is same as FX block’s wiring, refer to each user’s manual. 2) Wiring about 32DP-IF and Extension Unit Connect “COM”...
  • Page 25: Specifications

    FX2N-32DP-IF Profibus-DP Interface Unit Specifications General Specifications Table 3.1: General Specifications Item Operating Temperature Storage Temperature Operating Humidity Storage Humidity Vibration Resistance - Direct Mounting Vibration Resistance - DIN rail Mounting Shock Resistance Noise Immunity Dielectric Withstand Voltage 1,500 V AC > 1 min, tested between all points, terminals and ground...
  • Page 26: Performance Specifications

    FX2N-32DP-IF Profibus-DP Interface Unit Performance Specifications Table 3.3: Performance Specifications Items Maximum Number of Controllable I/O Points Transmission data (Maximum exchanged data length) Transmission Type 9 pin D-SUB Connector 8 pin mini DIN 9.6k, 19.2k, 45.45k, 93.75k Supported Baud 187.5k...
  • Page 27: Advanced Devices

    FX2N-32DP-IF Profibus-DP Interface Unit Advanced Devices Data Registers Table 4.1: Supported Data Register List Items D0 ~ D99 Input (sent) data to DP-master D100 ~ D199 Output (received) data from DP-master D200 ~ D299 Parameter data *1 If the 32DP-IF is in data exchange mode, the sent data to a DP-master can be monitored by reading data registers D0 ~ D99 in the programming tool.
  • Page 28: Example Of Allocating Device

    FX2N-32DP-IF Profibus-DP Interface Unit 4.1.1 Example of Allocating Device Figure 4.1: Example of Allocating Device X0 ~ X3 Y0 ~ Y3 -8ER 32DP-IF -ES/UL Table 4.2: Example of Allocating Device Device No. D0 to D3 Lower 8 bits Higher 8 bits...
  • Page 29: Diagnostic Devices (Special Devices)

    FX2N-32DP-IF Profibus-DP Interface Unit Diagnostic Devices (Special Devices) Unsettable Devices: Any device of type M or D that is marked with a “( ming tool. In the case of M devices this means the associated coil cannot be driven but all device can be monitored.
  • Page 30: 32Dp-If Status (M8000 ~ M8009 And D8000 ~ D8009)

    FX2N-32DP-IF Profibus-DP Interface Unit 4.2.1 32DP-IF Status (M8000 ~ M8009 and D8000 ~ D8009) Table 4.3: Special Auxiliary Relays (M8000 ~ M8009) Diagnostic Device RUN LED monitor M8000 M8001 ~ M8003 Reserved M8004 Error occurrence (ref. D8004) M8005, M8006 Reserved...
  • Page 31: Profibus-Dp Network Status (M8020 ~ M8039 And D8020 ~ D8039)

    FX2N-32DP-IF Profibus-DP Interface Unit 4.2.2 Profibus-DP Network Status (M8020 ~ M8039 and D8020 ~ D8039) Table 4.5: Special Auxiliary Relays (M8020 ~ M8039) Diagnostic Device M8020 Setting parameter M8021 ~ M8033 Reserved M8034 All output disable M8035 ~ M8039 Reserved Table 4.6: Special Data Registers (D8020 ~ D8039)
  • Page 32 FX2N-32DP-IF Profibus-DP Interface Unit Note 2: Baud rate This device shows the current baud rate of the Profibus-DP network. The baud rate depends on the DP-master settings. The following table shows the supported baud rates and the value of D8024. If the module is in baud search mode, this value frequently changes until the module has found a sup- ported baud rate as follows.
  • Page 33 FX2N-32DP-IF Profibus-DP Interface Unit Note 3: Communication status This device is the 32DP-IF’s communication status. According to the status of 32DP-IF the bits are set and reset as follows. Table 4.8: Communication Status in D8025 Bit No. Description Bit 0...
  • Page 34 FX2N-32DP-IF Profibus-DP Interface Unit Note 4: Error status Data register D8029 reflects the error status of the 32DP-IF. In case of a general error (bit 0 = ON) the module tries to send a static diagnosis to the DP-master. In this case normal data exchange is not possible.
  • Page 35: Configuration Status (M8040 ~ M8059 And D8040 ~ D8059)

    FX2N-32DP-IF Profibus-DP Interface Unit 4.2.3 Configuration Status (M8040 ~ M8059 and D8040 ~ D8059) M8040 ~ M8059 are reserved. The configuration bytes in D8040 ~ D8059 define the amount of data which is exchanged between the corresponding I/O units/blocks, special function blocks and the DP-master.
  • Page 36: Error Status (M8060 ~ M8069 And D8060 ~ D8069)

    FX2N-32DP-IF Profibus-DP Interface Unit 4.2.4 Error Status (M8060 ~ M8069 and D8060 ~ D8069) Table 4.11:Special Auxiliary Relays (M8060 ~ M8069) Diagnostic Device M8060 I/O configuration error (ref. D8060, D8061) M8061 32DP-IF hardware error (ref. D8060, D8061) M8062, M8063 Reserved...
  • Page 37 FX2N-32DP-IF Profibus-DP Interface Unit Table 4.12:Special Data Registers (D8060 ~ D8069) Diagnostic Name Device I/O configuration D8060 ( error 32DP-IF hard- D8061 ( ware error D8062, D8063 Reserved Parameter error D8064 ( D8065,D8066 Reserved Operation error D8067 ( Parameter error...
  • Page 38 FX2N-32DP-IF Profibus-DP Interface Unit Advanced Devices 4 4-12...
  • Page 39: Address Setting

    FX2N-32DP-IF Profibus-DP Interface Unit Address Setting Setting Address Slave address of 32DP-IF for Profibus network is set by the ON/OFF configuration of DIP switches. Slave address setting range is 0 ~ 126. When 32DP-IF’s power supply is turned ON, the slave address is the sum total of these DIP switch values.DIP Switches...
  • Page 40 FX2N-32DP-IF Profibus-DP Interface Unit Address Setting 5...
  • Page 41: User Parameter

    FX2N-32DP-IF Profibus-DP Interface Unit User Parameter User Parameter Rules Some bytes of input data and output data exchanged with the DP-master (the 32DP-IF’s con- figuration) must be defined by user parameter. Also defined by user parameters are how the exchanged data should be distributed between the available I/O points and special function blocks.
  • Page 42 FX2N-32DP-IF Profibus-DP Interface Unit Figure 6.1: User Parameter Rules Byte No. Meaning Reserved (must be 0) Description Byte No. Type code of special Meaning function block, lower byte of BFM 30 Description Byte No. Meaning First BFM address for data exchange Description Byte No.
  • Page 43 FX2N-32DP-IF Profibus-DP Interface Unit *1 This byte number is the first parameter data of first special function block. *2 Type code of special function block is as following table. This code in the parameter must be written first in the Lower byte and second in the higher byte.
  • Page 44: Configuring Slave Parameter

    FX2N-32DP-IF Profibus-DP Interface Unit Configuring Slave Parameter Caution: The user parameter data and configuration of the 32DP-IF must always be consistent. To ensure that the user parameter data and the configuration of the 32DP-IF are matching each other, the user parameter data set should always be constructed by using the GSD file that has been delivered with the 32DP-IF.
  • Page 45: Diagnostic Message

    FX2N-32DP-IF Profibus-DP Interface Unit Diagnostic Message Diagnostic Massage Frame When a diagnostic error occurs in the 32DP-IF, a diagnostic message is sent form the 32DP-IF to the DP-master as shown in Figure 7.1. Refer to section 4.2 for the diagnostic message description.
  • Page 46 FX2N-32DP-IF Profibus-DP Interface Unit Diagnostic Message 7...
  • Page 47: Diagnostics

    FX2N-32DP-IF Profibus-DP Interface Unit Diagnostics Preliminary Checks 1) Check “POWER LED”. If this is OFF, please see section 8.2. 2) Check power supply for special function blocks and extension I/O units/blocks. If this can not be supplied, 32DP-IF will not operate correctly.
  • Page 48: Check The Status Of The Leds For The 32Dp-If

    FX2N-32DP-IF Profibus-DP Interface Unit Check the Status of the LEDs for the 32DP-IF If the 32DP-IF does not seem to operate normally, check the following items. 1) Check the status of the “POWER LED”. Table 8.1: POWER LED Check Status Power source is OK.
  • Page 49: Check Error Status Of The 32Dp-If

    FX2N-32DP-IF Profibus-DP Interface Unit Check Error Status of the 32DP-IF 8.3.1 Error Status in D8029 Table 8.5: Error Status in D8029 Bit No. Description Bit 0 general error Bit 1 Reserved Bit 2 Power fail Bit 3 ~ 5 Reserved...
  • Page 50: Error Flags

    FX2N-32DP-IF Profibus-DP Interface Unit 8.3.2 Error Flags Table 8.6: Error Flags Diagnostic Device M8004 Error occurrence (ref. D8004) M8060 (ref. D8060, I/O configuration error D8061) M8061 (ref. D8060, 32DP-IF hardware error D8061) M8062 PC/HPP communication error (ref. D8062) M8064 Parameter error (ref.
  • Page 51: Error Code

    FX2N-32DP-IF Profibus-DP Interface Unit 8.3.3 Error Code Diagnostic Device Error number  D8004 I/O configuration D8060 error 32DP-IF hard- D8061 ware error PC/HPP commu- D8062 nication error D8064 Parameter error D8067 Operation error Parameter error D8068 and operation error Error...
  • Page 52 FX2N-32DP-IF Profibus-DP Interface Unit Diagnostics 8...
  • Page 53: Default Parameter

    FX2N-32DP-IF Profibus Interface unit Appendix A: Default Parameter <After Power ON> User Parameter <After Power ON> Figure A-1:User Parameter <After Power ON> Byte No. Meaning Reserved (must be 0) Description Byte No. Type code of special Meaning function block, lower...
  • Page 54: Exchanged Data By Default Parameter

    FX2N-32DP-IF Profibus Interface unit *3 After power on, the default setting of this parameter is 0, as the BFM addresses for read- ing/writing command are not coded in the parameter data, but are sent together with the Profibus data. For exchanged data, refer to appendix A-2.
  • Page 55: Example Setting User Parameters

    FX2N-32DP-IF Profibus-DP Interface Units Appendix B: Example Setting User Parameters For user parameters, refer to chapter 6. Example Configuration User Parameters B-1-1 Example Setting for FX For BFM’s definition, refer to FX Table B-1: User Parameter FX Using GSD File...
  • Page 56: B-1-2 Example Setting For Fx -4Da

    FX2N-32DP-IF Profibus-DP Interface Units B-1-2 Example Setting for FX For BFM’s definition, refer to FX Table B-2: User Parameter For FX Using GSD File User Setting Parameter Byte No. Value Type (Hex) 00 H User parameter 00 H for 32DP-IF...
  • Page 57: B-1-3 Example Setting For Fx -4Ad-Pt

    FX2N-32DP-IF Profibus-DP Interface Units B-1-3 Example Setting for FX For BFM’s definition, refer to FX Table B-3: User Parameter for FX Using GSD File User Setting Parameter Byte No. Value Type (Hex) 00 H User parameter 00 H for 32DP-IF...
  • Page 58: B-1-4 Example Setting For Fx -4Ad-Tc

    FX2N-32DP-IF Profibus-DP Interface Units B-1-4 Example Setting for FX For BFM’s definition, refer to FX Table B-4: User Parameter for FX Using GSD File User Setting Parameter Byte No. Value Type (Hex) 00 H User parameter 00 H for 32DP-IF...
  • Page 59: Setting The Number Of Average For Leveled Input Data

    FX2N-32DP-IF Profibus-DP Interface Units Setting the Number of Average for Leveled Input Data The user parameter settings are as shown in FX 4AD-TC, the settings must correspond to their respective BFM locations. For definitions of the BFM’s, refer to each modules user’s manual.
  • Page 60: Adjusting Offset And Gain

    FX2N-32DP-IF Profibus-DP Interface Units Adjusting Offset and Gain The user parameter settings are as shown in FX must correspond to their respective BFM locations. For definitions of the BFM’s, refer to each modules user’s manual. Note: To adjust offset/gain, follow process in Figure B-1.
  • Page 61 FX2N-32DP-IF Profibus-DP Interface Units 1) First step in adjusting offset/gain Table B-7: First Step in Adjusting Offset/Gain for FX Using GSD File User Parameter Setting Byte Value Type (Hex) 00 H User parameter 00 H for 32DP-IF AD H 07 H...
  • Page 62 FX2N-32DP-IF Profibus-DP Interface Units 2) Second step in adjusting offset/gain a) Second step in adjusting offset/gain for FX Table B-8: Second Step in Adjusting Offset/Gain for FX Using GSD File User Parameter Setting Byte Value Type (Hex) 00 H User...
  • Page 63 FX2N-32DP-IF Profibus-DP Interface Units b) Second step in adjusting offset/gain for FX Table B-9: Second Step in Adjusting Offset/Gain for FX Using GSD File User Param- Setting eter Type Byte No. Value (Hex) 00 H User param- eter for 00 H...
  • Page 64 FX2N-32DP-IF Profibus-DP Interface Units 3) Last step for adjusting offset/gain Table B-10:Last Step for Adjusting Offset/Gain for FX Using GSD File User Parameter Setting Byte Value Type (Hex) 00 H User parameter 00 H for 32DP-IF DA H 07 H...
  • Page 65: Changing The High Speed Mode/Normal Mode

    FX2N-32DP-IF Profibus-DP Interface Units Changing the High Speed Mode/Normal Mode The user parameter settings are as shown in FX must correspond to their respective BFM locations. For definitions of the BFM’s, refer to each modules user’s manual. Table B-11:Changing the High Speed Mode/Normal Mode for FX...
  • Page 66: Returning To Default Settings

    FX2N-32DP-IF Profibus-DP Interface Units Returning to Default Settings The example of setting the user parameter is the one of FX must correspond to their respective BFM locations. For the meaning of BFM, refer to each user’s manual 1) First step of returning to default for FX...
  • Page 67 FX2N-32DP-IF Profibus-DP Interface Units 2) Step 2 of returning to default for FX Table B-13:Step 2 of Returning to Default Settings for FX Using GSD File User Parameter Setting Byte Value Type (Hex) 00 H User parameter 00 H for 32DP-IF...
  • Page 68 FX2N-32DP-IF Profibus-DP Interface Units Appendix B B-14...
  • Page 70 USER’S MANUAL -32DP-IF PROFIBUS-DP INTERFACE UNIT HEAD OFFICE: MITSUBISHI DENKI BLDG MARUNOUCHI TOKYO 100-8310 HIMEJI WORKS: 840, CHIYODA CHO, HIMEJI, JAPAN JY992D79401A (MEE9904) TELEX: J24532 CABLE MELCO TOKYO Effective APR. 1999 Specification are subject to change without notice.

This manual is also suitable for:

Fx2n-32dp-if

Table of Contents