SAFETY PRECAUTIONS (Read these precautions before use.) Before using this product, please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety to handle the product correctly. This manual classifies the safety precautions into two categories: [ WARNING] and [ CAUTION].
Page 4
WARNING ● Do not write any data to the "system area" and "write-protect area" of the buffer memory in the module. Executing data writing to the "system area" or "write protect area" may cause malfunction of the programmable controller alarm. For the "system area" and "write-protect area", refer to Page 126 Buffer Memory.
Page 5
[INSTALLATION PRECAUTIONS] CAUTION ● Do not touch the conductive parts of the product directly. Doing so may cause device failures or malfunctions. ● When drilling screw holes or wiring, make sure that cutting and wiring debris do not enter the ventilation slits of the programmable controller.
Page 6
[WIRING PRECAUTIONS] CAUTION ● Perform class D grounding (grounding resistance: 100 Ω or less) of the grounding terminal on the CPU module and extension modules with a wire 2 mm or thicker. Do not use common grounding with heavy electrical systems (refer to the User's Manual (Hardware) of the CPU module used).
Page 7
● Do not disassemble or modify the programmable controller. Doing so may cause fire, equipment failures, or malfunctions. For repair, contact your local Mitsubishi Electric representative. ● Turn off the power to the programmable controller before connecting or disconnecting any extension cable.
• Since the examples indicated by this manual, technical bulletin, catalog, etc. are used as a reference, please use it after confirming the function and safety of the equipment and system. Mitsubishi Electric will accept no responsibility for actual use of the product based on these illustrative examples.
RELEVANT MANUALS Manual name <manual number> Description MELSEC iQ-F FX5 User's Manual (Startup) Performance specifications, procedures before operation, and troubleshooting of the <JY997D58201> CPU module. MELSEC iQ-F FX5U User's Manual (Hardware) Describes the details of hardware of the FX5U CPU module, including input/output <JY997D55301>...
The abbreviation for intelligent function modules Intelligent function module Generic term for FX5 intelligent function modules and FX3 intelligent function modules • FX5 intelligent function module Generic term for FX5-4AD, FX5-4DA, FX5-8AD, FX5-4LC, FX5-20PG-P, FX5-20PG-D, FX5-40SSC-S, FX5- 80SSC-S, FX5-ENET, FX5-CCLIEF, FX5-CCL-MS, FX5-ASL-M, and FX5-DP-M...
Page 16
Different name for FX3U-32BL Peripheral device Generic term for engineering tools and GOTs Generic term for Mitsubishi Electric Graphic Operation Terminal GOT1000 and GOT2000 series ■Software packages Engineering tool The product name of the software package for the MELSEC programmable controllers...
Page 17
Terms Description FDL address The number is assigned to DP-Master and each DP-Slave. Set the range of 0 to 125. Diagnostic information Diagnostic information of PROFIBUS-DP detected from DP-Master or notified from DP-Slave.
PROFIBUS-DP network as a master station. In the FX5 CPU module and FX5-DP-M, the data can be read/written by the FROM/TO instruction. Also, by using Autorefresh, the data can be automatically transferred to the CPU module of the device and used in the sequence program.
SPECIFICATIONS This section describes the specifications of FX5-DP-M. General Specifications General specifications other than the following are the same as the CPU module to be connected. Refer to the following manual for general specifications. MELSEC iQ-F FX5U User's Manual (Hardware) MELSEC iQ-F FX5UC User's Manual (Hardware)
Part Names Shows the name of each section of the FX5-DP-M. 2-4.5 Mounting holes Name Description PROFIBUS-DP interface connector This connector connects a cable for PROFIBUS-DP network. (9-pin D-Sub connector: #4-40 UNC inch screw) Extension cable Cable for connecting the module when adding the FX5-DP-M.
Check of FX5-DP-M specifications Check the FX5-DP-M specifications. (Page 18 SPECIFICATIONS) Installation of FX5-DP-M Install a FX5-DP-M to a CPU module. For details, refer to the following. MELSEC iQ-F FX5U User's Manual (Hardware) MELSEC iQ-F FX5UC User's Manual (Hardware) Wiring Perform wiring of external devices to a FX5-DP-M.
Sets whether to stop or continue the data exchange with DP-Slaves when a CPU stop Page 37 error occurs in the CPU module to which the FX5-DP-M is mounted. Temporarily reserved station specification Temporarily changes a DP-Slave to a reserved station without changing slave parameters...
• Input data: 'Input data area' (Un\G6144 to Un\G7167) • Output data: 'Output data area' (Un\G14336 to Un\G15359) ■Read/write method I/O data are read/written between the devices of the CPU module and the buffer memory of the FX5-DP-M by using one of the following methods. Item...
Page 26
Data exchange starts and stops Write the initial values of output data to 'Output data area' (Un\G14336 to Un\G15359). ( Page 139 Output data area) Turn on 'Data exchange start request signal' (Un\G2.b0). Turn on 'Data exchange start request signal' (Un\G2.b0) and data exchange starts, 'Data exchange start completed signal' (Un\G0.b0) turns on.
Check which DP-Slave sent the diagnostic information. ( Page 25 How to check DP-Slaves with communications errors) Acquire the diagnostic information sent from the DP-Slave from the buffer memory of the FX5-DP-M. ( Page 25 Acquisition of diagnostic information) Check whether that occurrence of extended diagnostic information has been notified from DP-Slave.
Page 28
(Un\G2.b6). • The latest extended diagnostic information generated during data exchange is stored in the buffer memory of the FX5-DP-M. To check the latest extended diagnostic information, acquire it from the following buffer memory area. 'Extended diagnostic information area' (Un\G23328 to Un\G23454) •...
Global control function This function enables controlling I/O data of DP-Slaves synchronously for each specified group by multicast (broadcast communications) from the FX5-DP-M. FX5-DP-M (1) Group 1 (2) Group 2 (3) Group 5 (4) Group 8 Multicast (Broadcast communications) Precautions The global control function cannot execute with the Acyclic communication function.
Page 30
This service starts SYNC (output synchronization) mode. During SYNC mode, DP-Slaves refresh the output status every time when receiving a SYNC service. Without a SYNC service received, DP-Slaves hold the output status. ■UNSYNC service This service stops SYNC (output synchronization) mode. FX5-DP-M ...
Page 31
Execution of the global control function Execute the global control function by the following procedure. Write services to send and target groups to 'Global control area' (Un\G2081). ( Page 135 Global control area) Turn on 'Global control request signal' (Un\G2.b4). When the global control processing is completed, 'Global control completed signal' (Un\G0.b4) turns on.
• Use the PROFIBUS-DPV1 functions by setting MSI (Min. slave interval) to a value larger than the bus cycle time calculated from Pt (Polling time), Tsdi (FX5-DP-M request/response processing time ÷ transmission speed[bps]), and Lr (Data refresh time). If MSI is smaller than a value calculated from Pt, Tsdi, and Lr, function processing may take longer than expected.
Page 33
( Page 150 Acyclic communication request execution instruction area (Un\G23808)) When the FX5-DP-M accepts the Acyclic communication request instructions, the acceptance statuses of 'Acyclic communication request result area' (Un\G25120) turns on. ( Page 152 Acyclic communication request result area...
An alarm occurs Alarm or status information is acquired Requests available on the FX5-DP-M Alarms can be acquired by the following two methods. • An Alarm read request (without ACK) or Alarm ACK request can be used •...
Page 35
Execution of the alarm acquisition function The procedure for execution the Alarm acquisition function (Alarm read request without ACK) and Alarm ACK request. For a program example of the alarm acquisition function, refer to the following. Page 111 Program Example of the Alarm Acquisition Function When an alarm occurs, the DIA LED turns on and bit corresponding to the DP-Slave where the alarm is occurring turns on in 'Slave status area (Alarm detection)' (Un\G26416 to Un\G26420).
This function swaps the upper byte and lower byte of exchanged data in units of words when I/O data are sent/received. This function can be used when data is exchanged with DP-Slaves whose word configuration differs from the FX5-DP-M (upper and lower bytes are opposite).
When the data consistency function is used, reading data from CPU module is not performed while the data is transferring from the DP-Slave to the buffer memory of FX5-DP-M (Input data area). When the data has transferred, reading data starts.
Page 38
• The data consistency function requires waiting time to read/ write data from CPU module or to transfer with DP-Slave, which results in transmission delay time. • The data consistency function is unavailable for executing refresh between the buffer memory of the FX5-DP-M and the CPU module with the MOV instruction or FROM/TO instructions.
• Data exchange with the DP-Slave is interrupted. • The output data of the FX5-DP-M buffer memory is cleared and is not sent. • Input data that was already received from the DP-Slave when the CPU module stop error occurred is held in the FX5-DP-M buffer memory.
Page 40
When "Hold" is selected for "CPU Error Output Mode Setting" • Data exchange with the DP-Slave continues. • The output data in the buffer memory of the FX5-DP-M are held when the CPU module stop error occurs and the data is sent to the DP-Slaves.
A temporarily reserved station can be changed by the buffer memory without changing the slave parameter in PROFIBUS Configuration Tool. For the FX5-DP-M to reflect the settings for the temporarily reserved station specification function, suspend data exchange and then turn off and on 'Data exchange start request signal' (Un\G2.b0) when module is in communication mode.
SYSTEM CONFIGURATION Configuration of PROFIBUS-DP network This section describes the basic configuration of the PROFIBUS-DP network using the FX5-DP-M as DP-Master (Class 1). To configure the PROFIBUS-DP network, following conditions should be met. Configuration condition Description Number of connectable modules in the entire DP-Master + DP-Slave ≤...
Page 43
Maximum configuration when one repeater is connected Up to 32 modules can be connected in one segment. DP-Master (FX5-DP-M): 1 DP-Slave: 61 Repeater: 1 FX5-DP-M No.0 No.1 No.30 No.31 No.61 No.: FDL address (1 to 61 are for DP-Slaves, and 0 is for DP-Master)
Page 44
When 64 DP-Slaves are connected DP-Master (FX5-DP-M): 1 DP-Slave: 64 Repeater: 4 FX5-DP-M No.0 No.1 No.18 No.19 No.35 No.36 No.44 No.45 No.47 No.48 No.64 No.: FDL address (1 to 64 are for DP-Slaves, and 0 is for DP-Master) *1 Any FDL address can be assigned to the DP-Master.
Page 45
When multiple DP-Masters are connected (multi-master system) Multiple DP-Masters having different FDL addresses can be connected in one network. Up to 123 DP-Slaves can be connected using up to three FX5-DP-M modules as follows. DP-Master (FX5-DP-M): 3 DP-Slave: 123 Repeater: 4...
Available Software Packages GX Works3 and PROFIBUS Configuration Tool are required to configure the FX5-DP-M. Software Supported version GX Works3 Version 1.050C or later PROFIBUS Configuration Tool Version 1.02C or later If GX Works3 is installed or upgraded in the system having PROFIBUS Configuration Tool, the parameters of the FX5-DP-M may not be configured properly.
WIRING Connectors Wiring for PROFIBUS cable This section describes the pin assignment of the PROFIBUS-DP interface connector of the FX5-DP-M, wiring specifications of the PROFIBUS cable, and the bus terminator. ■Pin assignment of the PROFIBUS-DP interface connector The following table shows the pin assignment of the PROFIBUS-DP interface connector (D-sub 9-pin connector: #4-40 UNC inch screw).
Page 48
The following are precautions for the external wiring of the FX5-DP-M. • Do not route the communication cable of the FX5-DP-M near the main circuit, power cable, or load cable other than that of the programmable controller. In addition, do not bundle those cables together. Otherwise the FX5-DP-M may be affected by noise or surge induction.
Use #4-40 UNC screws for the connector. Tighten the screws within the range of 0.20 to 0.28 N⋅m. Wiring specifications of terminating resistor When the FX5-DP-M is the terminal station, use the connector with built-in bus terminator that satisfies the following wiring specifications.
(Default: Clear) • The data exchange with DP-Slaves are interrupted. • The output data in the buffer memory of the FX5-DP-M are cleared and not sent. • When the CPU module stop error occurs, the input data received from DP-Slaves are held in the buffer memory of the FX5-DP-M.
This function creates and updates the structures used for global labels and module function blocks by enabling the refresh settings. [Navigation window] [Parameter] [Module Information] [FX5-DP-M] [PROFIBUS Module Settings] [PROFIBUS Configurator Tasks] [Setup Tasks] [Update PROFIBUS Label] Precautions After the "Module Parameter"...
PROFIBUS Configuration Tool This chapter describes the operation of PROFIBUS Configuration Tool. [Navigation window] [Parameter] [Module Information] [FX5-DP-M] [PROFIBUS Module Setting] Window Structure This section describes the overall structure of the window. The layout of each function window can be customized and saved.
Online Tasks This section describes the items of "Online Tasks". Menu Description Reference Upload Configuration Image Uploads (reads) setting details from the CPU module or the SD memory card Page 54 Upload Configuration Image of the CPU module and saves them as a configuration image file. Download Configuration Image Downloads (writes) setting details from a configuration image file to the CPU Page 55 Download Configuration Image...
Page 56
Uploads (reads) setting details from the CPU module or the SD memory card of the CPU module and saves them as a configuration image file. Only the FX5-DP-M projects can be uploaded. Operating procedure Select "Upload Configuration Image" in Online Tasks".
Page 57
Download Configuration Image Downloads (writes) setting details from a configuration image file to the CPU module or the SD memory card of the CPU module. This function is enabled for FX5-DP-M projects. Operating procedure Select "Download Configuration Image" in "Online Tasks".
Page 58
Verify Uploads setting details stored in the CPU module and the SD memory card of the CPU module and verifies them against the current setting details of a project. Operating procedure Select "Verify" in "Online Tasks". Select the drive containing the setting details to be verified against the setting details of the current project in "Location" of the "Location of configuration image"...
Page 59
Set Slave Address Changes the FDL address of the DP-Slaves with Online. Item Description Setting range Old address Sets the current DP-Slave number. 0 to 126 When the DP-Slave is selected in a project tree, the FDL address of DP-Slave is displayed. When the DP-Master is selected in a project tree, input an arbitrary effective FDL address.
Setup Tasks This section describes the items of "Setup Tasks". Item Description Reference Master Settings Sets the transmission speed, FDL address, bus parameters, refresh, • Page 83 Master Settings or other items of the DP-Master. • Page 85 Bus Parameter Settings •...
Page 61
■Add Slave to Project Operating procedure Perform any of the operations described below to add the DP-Slave to a project. • Right-click the DP-Slave to be added to the project, and select "Add Slave to Project". • Double-click the DP-Slave to be added to the project. •...
Page 62
■Import GSD Database This item can be imported the DP-Slave information from the existing GSD database (.mdb), GSD export file (*.ext), or GXDP project file when the DP-Slave information of device type does not exist in the GSD database. The recommended method is to register the GSD (DDB) file to the GSD database using "AddGSDFile". If the information is imported using "Import GSD Database", the parameters in the old GSD (DDB) file may not be imported correctly.
Page 63
Change the settings and click the [OK] button. The information in the GSD database is changed. Item Description Vendor Displays the manufacturer of the DP-Slave. Revision Displays the version of the GSD file of the DP-Slave or the version of the device. Ident-No.
Page 64
■Remove Type Operating procedure Display the confirmation window in the following operations. [Global GSD Database] tab Right-click the module to be deleted [Remove Type] A confirmation window is displayed. Click the [Yes] button. The selected module is deleted from the GSD device database.
Page 65
I/O Mapper In I/O Mapping, names and data types can be edited for the DUT (structure) elements of the global labels created by updating the PROFIBUS labels. Operating procedure Display the "I/O Mapper" window. [Task Panel] [I/O Mapper] DUT is displayed in the "I/O Mapper" window when the DP-Slave to be set or the module mounted on the DP-Slave is selected in the "PROFIBUS Network"...
Page 66
■"I/O Mapper" window Item Description Setting range Identifier Sets the global variable name and the DUT element name. 1 to 32 characters Element Type Sets the data type of the DUT element. • ARRAY • BOOL • INT • WORD Class Sets the send direction of data handled by the DUT element.
Page 67
Options Set the GSD file to be prioritized. Item Description Setting range GSD database has Select the GSD file to be prioritized if the same GSD file exists in both the project and the GSD • No priority database. • Yes •...
Page 68
Update PROFIBUS Label Updating the PROFIBUS labels enables refresh settings and creates/updates structures to be used for the global labels and module function block. The PROFIBUS labels need to be updated in the following operations. However, the PROFIBUS labels need not to be updated if the program is created to skip the following operations.
Page 69
The structures can be created up to 800. If the structures exceed 800, update of PROFIBUS labels have completed with an error. In this case, delete the created structures (start with "FX5-DP-M...) manually. Uncheck the "Use label for slaves" in the "CPU Device Access" window then update PROFIBUS labels again. ( Page 86 CPU Device...
Page 70
■Creating an Unregistered Program The program is created to change the data from byte arrays to word arrays by updating PROFIBUS labels. In the following system configurations, two bytes of data from slot 1 MT-Y16T are assigned to the top byte of the first word and the bottom byte of the second word in the buffer memory and separated as a word data.
Page 71
D2000 is assigned to stSLV001_MOD001_1. Create a program for output. 8 PROFIBUS Configuration Tool 8.2 "PROFIBUS Configurator Tasks" Window...
Page 72
Right-click iQFPBPOU_1 in "Unregistered Program" and select "Scan" to register it. Check the operation. The data of Slot 1 MT-Y16T which have been divided in bit arrays are combined and stored as word arrays by iQFPBPOU_1. 8 PROFIBUS Configuration Tool 8.2 "PROFIBUS Configurator Tasks"...
Export Tasks This section describes the items for "Export Tasks". Item Description Configuration Image Creates a configuration image, and saves it to a file. Project in PROFIBUS Configuration Tool Exports a project file in PROFIBUS Configuration Tool format. Format Configuration Image Creates a configuration image, and saves it to a file.
Page 74
Project in PROFIBUS Configuration Tool Format Exports a project file in PROFIBUS Configuration Tool format. Clicking "Project in PROFIBUS Configuration Tool Format" displays a window to select the save destination of the current project. 8 PROFIBUS Configuration Tool 8.2 "PROFIBUS Configurator Tasks" Window...
Import PROFIBUS Configuration Tool Project Imports a PROFIBUS Configuration Tool project file. • The module number of the FX5-DP-M saved in the PROFIBUS Configuration Tool project is not imported. The module number set in GX Works3 takes priority. • A project of the FX3U-64DP-M created in GX Configurator-DP can be imported. Before importing the project of the PROFIBUS master module other than the FX3U-64DP-M, convert it to the project of the FX3U-64DP-M using GX Configurator-DP.
Documentation This section describes the items for "Documentation". Item Description Project Documentation Displays the setting details of the project on the Web browser. Documentation of I/O-Mapping Displays the setting details of I/O Mapping on the Web browser. Project Documentation This item is used to display the setting details of the project on the Web browser. The setting details can be printed or saved in HTML files using the corresponding function of the Web browser.
Page 77
Documentation of I/O-Mapping This item is used to display the setting details of I/O Mapping on the Web browser. The setting details can be printed or saved in HTML files using the corresponding function of the Web browser. "Buffer MIT-Address" displays the CPU module device for the transfer source and transfer destination assigned to "CPU Device Access"...
Diagnostics This section describes the items for "Diagnostics". Item Description Slave Status Checks the communication status of the PROFIBUS-DP network. Diagnosis Check the diagnostic information from each DP-Slave. Messages Slave I/O Test Tests the input/output of the DP-Slave by reading/writing the I/O data of the DP-Slave assigned to the buffer memory of the master module.
Page 79
Slave Status Checks the communication status of the PROFIBUS-DP network. All the device addresses in the PROFIBUS-DP network are displayed, and the DP-Slave statuses are indicated by corresponding colors. Item Description 0 to 125 Displays the DP-Slave status. Number shown in each cell is a FDL address. •...
Page 80
Diagnosis Messages Check the diagnostic information from each DP-Slave. Item Description Entry time Displays the occurrence date and time of the diagnostic information. Slave name Displays the name specified for "Name" in the "Slave Settings" window. FDL address Displays the FDL address of the DP-Master or DP-Slave that has the diagnostic information or the extended diagnostic information. Status Displays "!"...
Page 81
Slave I/O Test Monitor and edit the I/O data of the DP-Slave assigned to the buffer memory of the master module. Item Description Slave Selects the monitor target DP-Slave. Inputs/Outputs Selects the monitor target data. • Inputs: Input data • Outputs: Output data Value format Selects the data type of the "Value".
Item Description Value Displays the value of the monitor target data in the data type selected for "Value format". When the buffer memory value is changed during monitoring, the value is displayed in red bold font. To enter a value, double-click a cell while the monitoring is stopped. To apply the changes to the buffer memory, click the [Write] button.
"PROFIBUS Network" window This section describes the tree display of modules comprising the PROFIBUS-DP network. Type Icon Description DP-Master Icon for the FX5-DP-M I/O: <module number>/FDL:<FDL address> '<model name>' • Display example I/O: no.:0x0001//FDL:0 'FX5-DP-M' DP-Slave Icon unique to the slave type FDL: <FDL address>...
Page 84
The following describes the functions that can be operated by right-clicking the "PROFIBUS Network" window. • For the DP-Master • For the DP-Slave Item Description Reference Master Settings Displays the "Master Settings" window. • Page 83 Master Settings The "Master Settings" window is also displayed by double-clicking the DP-Master. •...
Master Settings Set the master parameters (transmission speed, FDL address, or other items of the DP-Master). [PROFIBUS Network] Right-click the master module [Master Settings] Item Description Setting range Name Sets the master module name. 1 to 16 alphanumeric characters Baudrate Sets the transmission speed of the PROFIBUS-DP network.
Page 86
Item Description Setting range Estimated bus cycle Displays the predicted minimum interval of the bus cycle time. (Unit: ms) (Page 164 Bus cycle time time) The bus cycle time becomes longer than the time displayed when communication or acyclic communication with other master module is performed.
Bus Parameter Settings Sets the bus parameters of the PROFIBUS-DP network. [Master Settings] [Bus Parameters] button Normally, use the default bus parameters. To change the bus parameters, knowledge about the PROFIBUS-DP standards is required. Item Description Setting range Slot Time (T_sl) Sets the slot time (ms) (the maximum time for waiting responses).
"Use Autorefresh" is fixed to unchecked. [Input devices (CPU Buffer Displays the buffer memory area of the FX5-DP-M acting as the transfer source <- PB Master)] tab, device or the transfer destination device. [Output devices (CPU • Cyclic Inputs: Configured by the device number to which the input data of the ->...
Slave Settings Set the slave parameters. [PROFIBUS Network] Right-click the DP-Slave [Slave Settings] Item Description Setting range Model Displays the model name of the DP-Slave. Vendor Displays the manufacturer of the DP-Slave. Revision Displays the version of the GSD file or that of the device. Name Sets the name of the DP-Slave.
Page 90
(Default: Not checked) • Checked: Resends the parameters to the DP-Slave. Swap I/O Bytes in Checks this box to swap the I/O data of the DP-Slave in the buffer memory of the FX5-DP-M. ( • Not checked Master Page 34 Data Swap Function) •...
Page 91
If the following window is displayed when the settings are completed, set "Data consistency" in the module parameters to "Enable (Use Autorefresh)". If not, the I/O data may be separated. ( Page 35 Data Consistency Function) The methods to change the module configuration are listed below. Item Description To add a module to the DP-Slave...
Page 92
■Universal modules When the module is not described in the GSD file, the module name is displayed as "Universal". The following items can be set when the module displayed as "Universal" is double-clicked in "Project Slave Modules". Item Description Setting range ...
Page 93
Slave User Parameters Set the user parameters of the DP-Slave. [Slave Modules] [Next] Item Description Select module Selects the module of which user parameters are set. [Edit Hex] button By inputting numbers, directly edits the user parameters of the module selected for "Select module". ( Page 91 User Parameters of Slave Module) Module Sets the user parameters.
Page 94
DP V1/V2 Slave Parameters Set the slave parameters for the PROFIBUS-DPV1 functions. [Slave User Parameters] [Next] Item Description DP V1 support enabled Checks this box to use the PROFIBUS-DPV1 function. • Not checked: The PROFIBUS-DPV1 function is disabled. • Checked: The PROFIBUS-DPV1 function is enabled. 'Fail Safe' function enable Checks this box to turn the DP-Slave into the 'Fail Safe' state when the clear request is sent from the DP-Master.
Item Description Process Alarm Check this box to allow Process Alarm to be sent. This item can be set when the DP-Slave supports this function. This item is fixed to "Checked" depending on the DP-Slave used. • Not checked: Prohibits sending of Process Alarm. •...
This section describes a program example for the PROFIBUS-DP network using the following system configuration. System configuration No.3 FX5-DP-M No.0 No.1 No.2 FDL address Station types No.0 DP-Master (FX5 CPU module + FX5-DP-M) No.1 DP-Slave No.2 DP-Slave No.3 DP-Slave 9 PROGRAMMING 9.1 System Configuration Example...
Page 102
Set the items of "Master Settings" as follows. [Navigation window] [Parameter] [Module Information] [FX5-DP-M] [PROFIBUS Module Setting] [I/O no.:0x0001/FDL:0 'FX5-DP-M'] Right-click [Master Settings] Click the [Next] button in the "Master Settings" window, and set the items of "CPU Device Access" as follows.
This enables refresh settings and creates/updates structures to be used for the global labels and module function block. Click "Update PROFIBUS Label" below. [Navigation window] [Parameter] [Module Information] [FX5-DP-M] [PROFIBUS Module Setting][PROFIBUS Configurator Tasks] Convert some program codes or all program codes.
Program Example of Data Exchange Function The following shows a program example of communication between the FX5-DP-M and the DP-Slave. When using Autorefresh When not using Autorefresh 9 PROGRAMMING 9.5 Program Example of Data Exchange Function...
Program Example of the Diagnostic Information Acquisition Function This function detects an error generated at DP-Slaves during I/O data exchange by using the buffer memory. 9 PROGRAMMING 9.6 Program Example of the Diagnostic Information Acquisition Function...
Program Example of the Acquisition Function of Extended Diagnostic Information In this program example, the extended diagnostic information of DP-Slaves (FDL address 1) is acquired. 9 PROGRAMMING 9.7 Program Example of the Acquisition Function of Extended Diagnostic Information...
Program Example of the Global Control Function In this program example, SYNC and UNSYNC are executed to group 1. 9 PROGRAMMING 9.8 Program Example of the Global Control Function...
Page 108
9 PROGRAMMING 9.8 Program Example of the Global Control Function...
Page 109
9 PROGRAMMING 9.8 Program Example of the Global Control Function...
Page 110
9 PROGRAMMING 9.8 Program Example of the Global Control Function...
Program Example of Acyclic Communication (Acyclic Communication) In this program example, the READ command is executed to DP-Slaves (FDL address 3). 9 PROGRAMMING 9.9 Program Example of Acyclic Communication (Acyclic Communication)
Page 112
9 PROGRAMMING 9.9 Program Example of Acyclic Communication (Acyclic Communication)
9.10 Program Example of the Alarm Acquisition Function In this program example, the alarm information generated at DP-Slaves (FDL address 2) is acquired. 9 PROGRAMMING 9.10 Program Example of the Alarm Acquisition Function...
Page 114
9 PROGRAMMING 9.10 Program Example of the Alarm Acquisition Function...
*1 When multiple errors occur, the error status is displayed in the order of major, moderate, and minor. When the RUN LED turns off When the RUN LED turns off after the FX5-DP-M is powered on, check the following. Check item...
10.2 Checking the Network Status The status of the PROFIBUS-DP network can be checked from the PROFIBUS Configuration Tool or buffer memory. Checking with PROFIBUS Configuration Tool The PROFIBUS Configuration Tool can be used to check the communication status of the PROFIBUS-DP network and diagnostic information from the DP-Slaves.
Check item Action Are more than three repeaters communicating between the FX5-DP- If more than three repeaters are communicating between the FX5-DP-M and a DP- M and a DP-Slave? Slave, reduce the number of repeaters to three or less. Is each segment length within the specified limit? With any segment exceeding the specified limit, change it to a length within the limit.
10.4 List of Error Codes This section lists the error codes that result from the processing for data exchange between the FX5-DP-M and DP-Slaves or the processing requests from the CPU module on the own station. Error codes are classified into major error, moderate error, and minor error.
Status codes generated when alarms are acquired. 'Alarm response area' (Un\G26446 to Page 157 Alarm response area E5FFH Un\G26768) F100H to Own diagnostic information of the FX5-DP-M 'Local station error information area' Page 143 Local station error FBFFH (Un\G23071) information area...
Page 120
Status code Error details and cause Action E426H The DP-Slave detected an invalid Check whether request data supported by the DP-Slave are correctly configured and retry. index. (Refer to the manual for each DP-Slave) E427H The DP-Slave detected an invalid Check whether request data supported by the DP-Slave are correctly configured and retry.
Page 121
Status code Error details and cause Action E450H A physical execution error was Checks detailed status codes 2 and take action. detected. Check 'Slave status area (Normal communication detection)' (Un\G23040 to Un\G23043) for whether the bits relevant to the targets are on and retry. E451H A protocol related execution error Check detailed status codes 2 to 3 and take action.
Page 122
Status code Error details and cause Action E479H • The DP-Slave did not respond • Check whether request data supported by the DP-Slave are correctly configured and retry. to the request. (Refer to the manuals for each DP-Slave) • Request is executed during •...
Page 123
Status code Error details and cause Action E544H Invalid alarm type Check that the alarm for which ACK is returned are stored in 'Alarm response area' (Un\G26446 to Un\G26768) and retry. E545H Alarm ACK request exception Check detailed status codes 1 to 3 and take action. response E546H Invalid slot number...
Page 124
Status code Error details and cause Action E576H No alarm is available for the ACK Check the alarm occurrence status of the specified DP-Slave and retry. request. E580H No alarm is available for the ACK Check the alarm occurrence status of the specified DP-Slave and retry. request.
Compliance to EMC directive and LVD directive of the entire mechanical module should be checked by the user/ manufacturer. For more details please contact to the local Mitsubishi Electric sales site. Requirement for compliance with EMC directive...
Caution for when the FX5-DP-M is used When the FX5-DP-M is used, attach a ferrite core to the power supplies of the CPU module. Make 2 turns around the ferrite core and attach within approximately 200 mm from the terminal block and connectors of the power cable. (Ferrite core used in Mitsubishi Electric's test: E04SR401938 manufactured by SEIWA ELECTRIC MFG.
Appendix 3 Buffer Memory The FX5-DP-M exchanges data with the CPU module through the buffer memory. Data in the buffer memory are reset to the defaults (initial values) when the CPU module is turned off or reset. List of buffer memory addresses...
Page 129
6891H to FFFFH System area *1 The initial value changes depending on the CPU module mounting the FX5-DP-M or the relevant parameter(s). Do not write data to "System area". Doing so may cause malfunction of the programmable controller system. APPX...
Details of buffer memory addresses This section describes the buffer memory areas of the FX5-DP-M. Input signal (Un\G0, Un\G1), Output signal (Un\G2, Un\G3) Signal name ■Input signal (Un\G0) Data exchange start completed signal Diagnostic information detection signal Diagnostic information area cleared signal...
Page 131
■Data exchange start signals (Un\G2.b0) and (Un\G0.b0) 'Data exchange start request signal' (Un\G2.b0) is turned on when data exchange is started. When 'Data exchange start request signal' (Un\G2.b0) is turned on and data exchange begins, 'Data exchange start completed signal' (Un\G0.b0) turns on. 'Data exchange start completed signal' (Un\G0.b0) turns off in one of the following cases.
Page 132
• Bit in 'Slave status area (Diagnostic information detection)' (Un\G23056 to Un\G23060) relevant to the station that sent the diagnostic information turns on. • an error information of FX5-DP-M is stored into 'Local station error information area' (Un\G23071). [Processing when 'Diagnostic information detection reset request signal' (Un\G2.b1) turns on.] Turning on 'Diagnostic information detection reset request signal' (Un\G2.b1) causes 'Diagnostic information detection signal'...
Page 133
Taking action against the error cause and turning off 'Diagnostic information area clear request signal' (Un\G2.b2) causes 'Diagnostic information area cleared signal' (Un\G0.b2) to turn off. After 'Diagnostic information area clear request signal' (Un\G2.b2) is turned off, the FX5-DP-M rechecks diagnostic information.
Page 134
[Global control failed signal' (Un\G0.b5)] When 'Data exchange start completed signal' (Un\G0.b0) is off, if 'Global control request signal' (Un\G2.b4) is turned on, both 'Global control completed signal' (Un\G0.b4) and 'Global control failed signal' (Un\G0.b5) turn on. If 'Global control failed signal' (Un\G0.b5) is on, this indicates that execution of the global control function has been completed with an error.
Page 135
'Communication READY signal' (Un\G1.bB) turns on after 'Module READY signal' (Un\G1.bD) turns on and data exchange is ready. This signal turns off if an error that prevents data exchange occurs to the FX5-DP-M. The signal is used as an interlock signal when 'Data exchange start request signal' (Un\G2.b0) is turned on.
Page 136
An invalid parameter from the DP-Master. The station is controlled by another DP-Master. The FX5-DP-M does not recognize as diagnostic information the diagnostic information relevant to bits that is generated at a DP-Slave and results in the following status. • 'Diagnostic information detection signal' (Un\G0.b1) does not turn on.
Page 137
Global control area ■Global control area (Un\G2081) This area sets a global control function to be run. ( Page 27 Global control function) Set the global control function services sent to global control areas b2 to b5, and set the target group numbers at b8 to b15. •...
Page 138
Sets the duration during which diagnostic information is not notified. (Unit: second) This setting allows temporary deactivation of error detection such as a DP-Slave is turned on after the FX5-DP-M is powered Generation of diagnostic information within the specified duration leads to the following state.
Page 139
Local FDL address display area ■Local FDL address display area (Un\G2257) This area stores the FDL address for own station. Address Stored value Description Un\G2257 0000H to An FDL address for own station (0 to 125) 007DH FFFFH The parameter is not configured Current bus cycle time ■Current bus cycle time (Un\G2272) This area stores the current bus cycle time.
Page 140
Input data area ■Input data area (Un\G6144 to Un\G7167) This area stores input data from DP-Slaves. ( Page 23 Data exchange function) • Data length settings Each station is assigned with a variable data length (in byte) according to the slave parameters configured with PROFIBUS Configuration Tool (the "Slave Modules"...
Page 141
Output data area ■Output data area (Un\G14336 to Un\G15359) This area sets output data sent to DP-Slaves. ( Page 23 Data exchange function) • Data length settings Each station is assigned with a variable data length (in byte) according to the slave parameters configured with PROFIBUS Configuration Tool (the "Slave Modules"...
Page 142
Address information area ■Address information area (Un\G22528 to Un\G22655) This area stores the FDL address and I/O data length of DP-Slaves. Address information area stores information on 64 stations in the same sorting order of data. Information on reserved stations or temporarily reserved stations is stored as well. Address Name Description...
Page 143
Input data start address area ■Input data start address area (Un\G22784 to Un\G22847) This area stores the start address (buffer memory address) for input data from DP-Slaves. Writing a program with 'Input data start address area' (Un\G22784 to Un\G22847) allows specifying addresses in input data area regardless of the number of input points of DP-Slaves.
Page 144
Slave status area (Normal communication detection) ■Slave status area (Normal communication detection) (Un\G23040 to Un\G23043) This area stores the communication status of DP-Slaves. Turning off 'Data exchange start request signal' (Un\G2.b0) causes all the information in 'Slave status area (Normal communication detection)' (Un\G23040 to Un\G23043) to be cleared.
Page 145
Un\G23060 The values in the table indicate which number of DP-Slave each bit represents. Local station error information area ■Local station error information area (Un\G23071) This area stores the error information on own station (FX5-DP-M). Address Stored value Description Un\G23071...
Page 146
Diagnostic information area ■Diagnostic information area (Un\G23072 to Un\G23199) This area stores diagnostic information on DP-Slaves generated during data exchange. ( Page 25 Acquisition of diagnostic information and extended diagnostic information) Diagnostic information area stores information on 64 stations in the same sorting order of data. Address Name Description...
Page 147
■Status 1 and status 2 information The status 1 and status 2 information is stored diagnostic information generated in a DP-Slave and relevant bits turned on. The following table shows the description of each bit, actions to take, and stations to detect diagnostic information. Item Description Action...
Page 148
Extended diagnostic information area ■Extended diagnostic information area (Un\G23328 to Un\G23454) This area stores the latest extended diagnostic information generated during data exchange. ( Page 25 Acquisition of diagnostic information and extended diagnostic information) Address Name Description Initial value Un\G23328 FDL address of DP-Slave Stores the FDL address of the DP-Slave that sent the latest extended diagnostic...
Page 149
Extended diagnostic information read response area ■Extended diagnostic information read response area (Un\G23457 to Un\G23583) This area stores the result of the extended diagnostic information read request. Completion of operation with an error causes addresses Un\G23458 to Un\G23583 to be set to 0H. Address Name Description...
Page 150
Parameter setting status area (Reserved station) ■Parameter setting status area (Reserved station) (Un\G23592 to Un\G23595) This area indicates the DP-Slaves set as reserved stations by slave parameters. Setting status is stored when 'Communication READY signal' (Un\G1.bB) turns on. • 0: Normal DP-Slave or not-configured station •...
Page 151
Temporarily reserved station specification request area ■Temporarily reserved station specification request area (Un\G23608 to Un\G23611) This area sets which DP-Slaves are to be specified as temporarily reserved stations by the temporarily reserved station specification function. • 0: Not specify the DP-Slave as a temporarily reserved station •...
Page 152
Acyclic communication request execution instruction area ■Acyclic communication request execution instruction area (Un\G23808) This area sets the Acyclic communication execution function instructions. ( Page 30 Acyclic communication function) Turning on a bit causes the relevant request instruction to be executed. •...
Page 153
■Request format for READ service Address Name Description Setting value Un\G23809 Request READ request code Sets the code for reading data from the DP-Slave. 1400H instruction Un\G23810 b8 to CommRef number Sets the CommRef number. No.1 area b0 to b7 FDL address Stores the FDL address of the DP-Slave from which data is 0 to 125...
Page 154
Acyclic communication request result area ■Acyclic communication request result area (Un\G25120) This area stores the reception status and the completed status of the Acyclic communication. Address Name Description Initial value Un\G25120 Completed status bit Completed status of request instruction No.1. •...
Page 155
■Normal response format for READ service Address Name Description Stored value Un\G25121 Request READ Normal Stores the response code that occurs when data read from A400H instruction response code the DP-Slave is completed successfully. No.1 area Un\G25122 b8 to CommRef number Sets the CommRef number.
Page 156
■Normal response format for WRITE service Address Name Description Stored value Un\G25121 Request WRITE Normal Stores the response code that occurs when data written to the A401 instruction response code DP-Slave is completed successfully. No.1 area Un\G25122 b8 to CommRef number Sets the CommRef number.
Page 157
Slave status area (Alarm detection) ■Slave status area (Alarm detection) (Un\G26416 to Un\G26420) This area stores alarm occurrence status of DP-Slaves. ( Page 32 Alarm acquisition function) Address Name Description Initial value Un\G26416 All stations' alarm Stores the alarm detection status of all the DP-Slaves. 0000H status When an alarm has detected even on one DP-Slave in 'Each station's alarm status'...
Page 158
Alarm request area ■Alarm request area (Un\G26432 to Un\G26434) This area sets request data with the format in two methods for the alarm acquisition function. ( Page 32 Alarm acquisition function) ■Request format when the alarm is read (without ACK) Address Name Description...
Page 159
Alarm response area ■Alarm response area (Un\G26446 to Un\G26768) Stores the results of executing each of the alarm read (without ACK) request, alarm ACK request and alarm read (with ACK) request. ■Normal response format when the alarm is read (without ACK) Address Name Description...
Page 160
■Abnormal response format when the alarm is read (without ACK) Address Name Description Stored value Page 117 List of Un\G26446 Alarm read (without ACK) abnormal Stores the response code that occurs when an alarm read response code (without ACK) request is completed with an error. Status Codes ...
Page 161
■Normal response format for alarm ACK Address Name Description Stored value Un\G26446 ACK Normal response code Stores the response code that occurs when an ACK request is A501H completed successfully. Un\G26447 FDL address Stores the FDL address of the DP-Slave for the ACK return 0 to 125 address.
Page 162
■Abnormal response format for alarm ACK Address Name Description Stored value Page 117 List of Un\G26446 ACK Abnormal response code Stores the response code that occurs when an ACK request is completed with an error. Status Codes Un\G26447 FDL address Stores the FDL address of the DP-Slave for the ACK return 0 to 125...
Page 163
■Normal response format when the alarm is read (with ACK) Address Name Description Stored value Un\G26446 Alarm read (with ACK) normal Stores the response code that occurs when an alarm read A502H response code (with ACK) request is completed successfully. Un\G26447 ...
Page 164
Address Name Description Stored value Un\G26729 to Alarm No.8 Same as alarm No.1. Un\G26768 ■Abnormal response format when the alarm is read (with ACK) Address Name Description Stored value Un\G26446 Alarm read (with ACK) abnormal Stores the response code that occurs when an alarm read (with Page 117 List of response code ACK) request is completed with an error.
Page 165
• At the time of Alarm ACK request Address Name When status code E504H, When status code E505H is When status code E507H is E505H or E507H is detected detected undetected Un\G26446 Response result Clear Overwrites the status code Overwrites the status code Un\G26447 FDL address Clear...
1[TBit] = 1 ÷ (12 × 10 ) = 0.083 × 10 *4 The Tsdi value specified in the GSD file of the FX5-DP-M. The Tsdi value depends on the transmission speed as follows. For the unit TBit, refer to *3.
Page 167
When multiple DP-Masters are deployed With multiple DP-Masters deployed on the same network, the following calculation formula provides their bus cycle time (TBc). Σ TBc[s] = Bc(i) n = The number of DP-Masters Bc = The bus cycle time of each DP-Master ( Page 164 When only one DP-Master is deployed) The following shows an example with two DP-Masters.
Transmission delay time Transmission delay time is the time needed for transmitting I/O data between the CPU module to which the FX5-DP-M is mounted and the PROFIBUS-DP network during I/O data exchanges. The transmission delay time of input data and output data differ depending on the data consistency function settings.
First Edition This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
WARRANTY Please confirm the following product warranty details before using this product. Gratis Warranty Term and Gratis Warranty 2. Onerous repair term after discontinuation of production Range If any faults or defects (hereinafter "Failure") found to Mitsubishi shall accept onerous product repairs for be the responsibility of Mitsubishi occurs during use of seven (7) years after production of the product is the product within the gratis warranty term, the...
TRADEMARKS Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Ethernet is a trademark of Xerox Corporation. PROFIBUS is a trademark of PROFIBUS Nutzerorganisation e.V. Anywire and ANYWIREASLINK is a registered trademark of the Anywire Corporation. ...
Page 176
Manual number: SH(NA)-081910ENG-A Model: FX5-U-PROFIBUS-E Model code: 09R574 When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission. HEAD OFFICE: TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN Specifications are subject to change without notice.