Mitsubishi Electric FX5-DP-M User Manual

MELSEC iQ-F FX5 User's Manual (PROFIBUS)

SAFETY PRECAUTIONS

WARNING
Indicates that incorrect handling may cause hazardous conditions, resulting in death or severe injury.
CAUTION
Indicates that incorrect handling may cause hazardous conditions, resulting in minor or moderate injury or property damage.
(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].
It is important to follow all precautions for personal safety.
Store this manual in a safe place so that it can be read whenever necessary. Always forward it to the end user.
[DESIGN PRECAUTIONS]
WARNING
Make sure to set up the following safety circuits outside the programmable controller to ensure safe system operation even during external power supply problems or programmable controller failure. Otherwise, malfunctions may cause serious accidents.
- Most importantly, set up the following: an emergency stop circuit, a protection circuit, an interlock
circuit for opposite movements (such as normal vs. reverse rotation), and an interlock circuit to prevent damage (to the equipment at the upper and lower positioning limits).
- Note that when the CPU module detects an error, such as a watchdog timer error, during
selfdiagnosis, all outputs are turned off. Also, when an error that cannot be detected by the CPU module occurs in an input/output control block, output control may be disabled. External circuits and mechanisms should be designed to ensure safe machinery operation in such a case.
- Note that when an error occurs in a relay, transistor or triac of an output circuit, the output might
stay on or off. For output signals that may lead to serious accidents, external circuits and mechanisms should be designed to ensure safe machinery operation in such a case.
In an output circuit, when a load current exceeding the rated current or an overcurrent caused by a load short-circuit flows for a long time, it may cause smoke and fire. To prevent this, configure an external safety circuit, such as a fuse.
For the operating status of each station after a communication failure of the network, refer to relevant manuals for the network. Incorrect output or malfunction may result in an accident.
Construct an interlock circuit in the program so that the whole system always operates on the safe side before executing the control (for data change) of the programmable controller in operation. Read the manual thoroughly and ensure complete safety before executing other controls (for program change, parameter change, forcible output and operation status change) of the programmable controller in operation. Otherwise, the machine may be damaged and accidents may occur due to erroneous operations.
Especially, in the case of a control from an external device to a remote programmable controller, immediate action cannot be taken for a problem on the programmable controller due to a communication failure. Determine the handling method as a system when communication failure occurs along with configuration of interlock circuit on a program, by considering the external equipment and CPU module.
1
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.
If a communication cable is disconnected, the network may be unstable, resulting in a communication failure of multiple stations. Construct an interlock circuit in the program so that the system always operates on the safe side even if communications fail. Incorrect output or malfunction may result in an accident.
To maintain the safety of the programmable controller system against unauthorized access from external devices via the network, take appropriate measures. To maintain the safety against unauthorized access via the Internet, take measures such as installing a firewall.
[DESIGN PRECAUTIONS]
CAUTION
Do not bundle the control lines or communication cables together with or lay them close to the main circuit or power line. As a guideline, lay the control line and communication cables at least 100 mm away from the main circuit or power line. Failure to do so may result in malfunction due to noise.
When an inductive load such as a lamp, heater, or solenoid valve is controlled, a large current (approximately ten times greater than normal) may flow when the output is turned from off to on. Take proper measures so that the flowing current does not exceed the value corresponding to the maximum load specification of the resistance load.
After the CPU module is powered on or is reset, the time taken to enter the RUN status varies depending on the system configuration, parameter settings, and/or program size. Design circuits so that the entire system will always operate safely, regardless of the time.
Simultaneously turn on and off the power supplies of the CPU module and extension modules.
If a long-time power failure or an abnormal voltage drop occurs, the programmable controller stops,
and output is turned off. When the power supply is restored, it will automatically restart. (when the RUN/STOP/RESET switch is on RUN side).
[INSTALLATION PRECAUTIONS]
WARNING
Make sure to cut off all phases of the power supply externally before attempting installation or wiring work. Failure to do so may cause electric shock or damage to the product.
Use the product within the generic environment specifications described in the User's Manual (Hardware) for the CPU module used. Never use the product in areas with excessive dust, oily smoke, conductive dusts, corrosive gas (salt air, Cl condensation, or rain and wind. If the product is used in such conditions, electric shock, fire, malfunctions, deterioration or damage may occur.
, H2S, SO2 or NO2), flammable gas, vibration or impacts, or expose it to high temperature,
2
2
[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. Failure to do so may cause fire, equipment failures or malfunctions.
For product supplied together with a dust proof sheet, the sheet should be affixed to the ventilation slits before the installation and wiring work to prevent foreign objects such as cutting and wiring debris. However, when the installation work is completed, make sure to remove the sheet to provide adequate ventilation. Failure to do so may cause a fire, equipment failure, or malfunctions.
Install the product on a flat surface. If the mounting surface is rough, undue force will be applied to the PC board, thereby causing nonconformities.
Install the product securely using a DIN rail or mounting screws.
Work carefully when using a screwdriver such as installation of the product. Failure to do so may
cause damage to the product or an accident.
Connect the extension cables, peripheral device cables, input/output cables and battery connecting cable securely to their designated connectors. Loose connections may cause malfunctions.
Turn off the power to the programmable controller before attaching or detaching the following devices. Failure to do so may cause equipment failures or malfunctions.
- Peripheral devices, extension board, extension adapter, and connector conversion adapter
- Extension modules, bus conversion module, and connector conversion module
-Battery
[WIRING PRECAUTIONS]
WARNING
Make sure to cut off all phases of the power supply externally before attempting installation or wiring work. Failure to do so may cause electric shock or damage to the product.
Make sure to attach the terminal cover, provided as an accessory, before turning on the power or initiating operation after installation or wiring work. Failure to do so may cause electric shock.
Make sure to wire the screw terminal block in accordance with the following precautions. Failure to do so may cause electric shock, equipment failures, a short-circuit, wire breakage, malfunctions, or damage to the product.
- The disposal size of the cable end should follow the dimensions described in the User's Manual
(Hardware) of the CPU module used.
- Tightening torque should follow the specifications in the User's Manual (Hardware) of the CPU
module used.
- Tighten the screws using a Phillips-head screwdriver No. 2 (shaft diameter 6 mm or less). Make
sure that the screwdriver does not touch the partition part of the terminal block.
3
[WIRING PRECAUTIONS]
CAUTION
Perform class D grounding (grounding resistance: 100 Ω or less) of the grounding terminal on the
2
CPU module and extension modules with a wire 2 mm Do not use common grounding with heavy electrical systems (refer to the User's Manual (Hardware) of the CPU module used).
Connect the power supply wiring to the dedicated terminals described in this manual. If an AC power supply is connected to a DC input/output terminal or DC power supply terminal, the programmable controller will burn out.
Do not wire vacant terminals externally. Doing so may cause damage to the product.
Install module so that excessive force will not be applied to terminal blocks, power connectors, I/O
connectors, communication connectors, or communication cables. Failure to do so may result in wire damage/breakage or programmable controller failure.
Make sure to observe the following precautions in order to prevent any damage to the machinery or accidents due to malfunction of the programmable controller caused by abnormal data written to the programmable controller due to the effects of noise.
- Do not bundle the power line, control line, and communication cables together with or lay them
close to the main circuit, high-voltage line, load line, or power line. As a guideline, lay the power line, control line and connection cables at least 100 mm away from the main circuit, high-voltage line, load line or power line.
- Ground the shield of the shield wire or shielded cable at one point on the programmable controller.
However, do not use common grounding with heavy electrical systems.
Use a cable dedicated for the PROFIBUS system. Otherwise, the performance of the PROFIBUS system cannot be guaranteed. Also, for the total extension length of the cables and cable length between stations, make sure to follow the specifications described in this manual. If wiring not in accordance with the specifications is performed, normal data transmission cannot be guaranteed.
Check the interface type and correctly connect the cable. Incorrect wiring (connecting the cable to an incorrect interface) may cause failure of the module and external device.
or thicker.
[STARTUP AND MAINTENANCE PRECAUTIONS]
WARNING
Do not touch any terminal while the programmable controller's power is on. Doing so may cause electric shock or malfunctions.
Before cleaning or retightening terminals, cut off all phases of the power supply externally. Failure to do so in the power ON status may cause electric shock.
Before modifying the program in operation, forcible output, running or stopping the programmable controller, read through this manual carefully, and ensure complete safety. An operation error may damage the machinery or cause accidents.
Do not change the program in the programmable controller from two or more peripheral equipment devices at the same time. (i.e. from an engineering tool and a GOT) Doing so may cause destruction or malfunction of the programmable controller program.
4
[STARTUP AND MAINTENANCE PRECAUTIONS]
CAUTION
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. Failure to do so may cause equipment failures or malfunctions.
Turn off the power to the programmable controller before attaching or detaching the following devices. Failure to do so may cause equipment failure or malfunction.
- Peripherals, extension board, extension adapter, and connector conversion adapter
- Extended module, bus conversion module, and connector conversion module
-Battery
[OPERATION PRECAUTIONS]
CAUTION
Construct an interlock circuit in the program so that the whole system always operates on the safe side before executing the control (for data change) of the PLC in operation. Read the manual thoroughly and ensure complete safety before executing other controls (for program change, parameter change, forcible output and operation status change) of the PLC in operation. Otherwise, the machine may be damaged and accidents may occur by erroneous operations.
Note that the whole system may not be reset by the RUN/STOP/RESET switch when the CPU module or intelligent function module detects an error, such as a watchdog timer error, during self-diagnosis. In that case, turn off and on the power.
[DISPOSAL PRECAUTIONS]
CAUTION
Please contact a certified electronic waste disposal company for the environmentally safe recycling and disposal of your device.
[TRANSPORTATION PRECAUTIONS]
CAUTION
The programmable controller is a precision instrument. During transportation, avoid impacts larger than those specified in the general specifications described in the User's Manual (Hardware) of the CPU module used by using dedicated packaging boxes and shock-absorbing palettes. Failure to do so may cause failures in the programmable controller. After transportation, verify operation of the programmable controller and check for damage of the mounting part, etc.
5

INTRODUCTION

This manual contains text, diagrams and explanations which will guide the reader in the correct installation, safe use and
operation of the PROFIBUS-DP master module of MELSEC iQ-F series and should be read and understood before
attempting to install or use the module.
Always forward it to the end user.
Regarding use of this product
• This product has been manufactured as a general-purpose part for general industries, and has not been designed or
manufactured to be incorporated in a device or system used in purposes related to human life.
• Before using the product for special purposes such as nuclear power, electric power, aerospace, medicine or passenger
movement vehicles, consult Mitsubishi Electric.
• This product has been manufactured under strict quality control. However when installing the product where major
accidents or losses could occur if the product fails, install appropriate backup or failsafe functions in the system.
Note
• If in doubt at any stage during the installation of the product, always consult a professional electrical engineer who is
qualified and trained in the local and national standards. If in doubt about the operation or use, please consult the nearest
Mitsubishi Electric representative.
• 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.
• This manual content, specification etc. may be changed, without a notice, for improvement.
• The information in this manual has been carefully checked and is believed to be accurate; however, if you notice a doubtful
point, an error, etc., please contact the nearest Mitsubishi Electric representative. When doing so, please provide the
manual number given at the end of this manual.
6
MEMO
7

CONTENTS

SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
INTRODUCTION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
RELEVANT MANUALS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
TERMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
CHAPTER 1 DESCRIPTION 16
CHAPTER 2 SPECIFICATIONS 18
2.1 General Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.2 Power Supply Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.3 Performance Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.4 Part Names. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
LED display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
CHAPTER 3 PROCEDURES UP TO OPERATION 21
CHAPTER 4 FUNCTIONS 22
4.1 Function List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.2 PROFIBUS-DPV0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Data exchange function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Acquisition of diagnostic information and extended diagnostic information . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
Global control function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4.3 PROFIBUS-DPV1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Acyclic communication function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Alarm acquisition function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4.4 Data Swap Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
4.5 Data Consistency Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4.6 Output Setting Function for CPU Stop Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
4.7 Temporarily Reserved Station Specification Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
8
CHAPTER 5 SYSTEM CONFIGURATION 40
5.1 Configuration of PROFIBUS-DP network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
5.2 Available Software Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
CHAPTER 6 WIRING 45
6.1 Connectors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
6.2 Wiring Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
CHAPTER 7 PARAMETER SETTINGS 48
7.1 Setting Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
7.2 Module Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
7.3 PROFIBUS Module Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
7.4 Update of PROFIBUS Labels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
7.5 Writing Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
CHAPTER 8 PROFIBUS Configuration Tool 51
8.1 Window Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
8.2 "PROFIBUS Configurator Tasks" Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Online Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Setup Tasks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Export Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Import Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Version. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
8.3 "PROFIBUS Network" window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Master Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Bus Parameter Settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
CPU Device Access. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Slave Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
8.4 Checking the Software Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
CHAPTER 9 PROGRAMMING 94
9.1 System Configuration Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
9.2 DP-Master settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
9.3 Settings for DP-Slaves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
9.4 Checking the Network Status. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
9.5 Program Example of Data Exchange Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
9.6 Program Example of the Diagnostic Information Acquisition Function . . . . . . . . . . . . . . . . . . . . . . . . . . 103
9.7 Program Example of the Acquisition Function of Extended Diagnostic Information. . . . . . . . . . . . . . . . 104
9.8 Program Example of the Global Control Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
9.9 Program Example of Acyclic Communication (Acyclic Communication) . . . . . . . . . . . . . . . . . . . . . . . . . 109
9.10 Program Example of the Alarm Acquisition Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
CONTENTS
CHAPTER 10 TROUBLESHOOTING 113
10.1 Checking with LED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
10.2 Checking the Network Status. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Checking with PROFIBUS Configuration Tool. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Checking with the buffer memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
10.3 Troubleshooting by Symptom . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
10.4 List of Error Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
10.5 List of Status Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
APPENDIX 123
Appendix 1 External Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Appendix 2 Standards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Certification of UL, cUL standards. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Compliance with EC directive (CE Marking) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Requirement for compliance with EMC directive. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Caution for compliance with EC Directive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Appendix 3 Buffer Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
List of buffer memory addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Details of buffer memory addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Appendix 4 Processing Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Bus cycle time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Transmission delay time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
9
INDEX 168
REVISIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .170
WARRANTY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .171
TRADEMARKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .172
10
CONTENTS
11

RELEVANT MANUALS

Manual name <manual number> Description
MELSEC iQ-F FX5 User's Manual (Startup) <JY997D58201>
MELSEC iQ-F FX5U User's Manual (Hardware) <JY997D55301>
MELSEC iQ-F FX5UC User's Manual (Hardware) <JY997D61401>
MELSEC iQ-F FX5 User's Manual (Application) <JY997D55401>
MELSEC iQ-F FX5 Programming Manual (Program Design) <JY997D55701>
MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks) <JY997D55801>
MELSEC iQ-F FX5 User's Manual (Serial Communication) <JY997D55901>
MELSEC iQ-F FX5 User's Manual (MELSEC Communication Protocol) <JY997D60801>
MELSEC iQ-F FX5 User's Manual (MODBUS Communication) <JY997D56101>
MELSEC iQ-F FX5 User's Manual (PROFIBUS) <SH-081910ENG> (This manual)
MELSEC iQ-F FX5 User's Manual (Ethernet Communication) <JY997D56201>
MELSEC iQ-F FX5-ENET User's Manual <SH-082026ENG>
MELSEC iQ-F FX5 User's Manual (SLMP) <JY997D56001>
MELSEC iQ-F FX5 User's Manual (CC-Link IE) <JY997D64201>
MELSEC iQ-F FX5 User's Manual (CC-Link) <SH-081793ENG>
MELSEC iQ-F FX5 User's Manual (ASLINK) <SH-081796ENG>
MELSEC iQ-F FX5 User's Manual (Positioning Control - CPU module built-in, High-speed pulse input/output module) <JY997D56301>
MELSEC iQ-F FX5 User's Manual (Positioning Control - Intelligent function module) <SH-081805ENG>
MELSEC iQ-F FX5 Simple Motion Module User's Manual (Startup) <IB0300251>
MELSEC iQ-F FX5 Simple Motion Module User's Manual (Application) <IB0300253>
MELSEC iQ-F FX5 Simple Motion Module User's Manual (Advanced Synchronous Control) <IB0300255>
MELSEC iQ-F FX5 User's Manual (Analog Control - CPU module built­in, Expansion adapter) <JY997D60501>
MELSEC iQ-F FX5 User's Manual (Analog Control - Intelligent function module) <SH-081802ENG>
MELSEC iQ-F FX5 User's Manual (Temperature Control) <SH-081799ENG>
GX Works3 Operating Manual <SH-081215ENG>
Transition from MELSEC FX3U, FX3UC Series to MELSEC iQ-F
eries Handbook
S <JY997D66201>
Performance specifications, procedures before operation, and troubleshooting of the CPU module.
Describes the details of hardware of the FX5U CPU module, including input/output specifications, wiring, installation, and maintenance.
Describes the details of hardware of the FX5UC CPU module, including input/output specifications, wiring, installation, and maintenance.
Describes basic knowledge required for program design, functions of the CPU module, devices/labels, and parameters.
Describes specifications of ladders, ST, FBD/LD, and other programs and labels.
Describes specifications of instructions and functions that can be used in programs.
Describes N:N network, Parallel link, MELSEC Communication protocol, inverter communication, non-protocol communication, and predefined protocol support.
Explains methods for the device that is communicating with the CPU module by MC protocol to read and write the data of the CPU module.
Describes MODBUS serial communication and MODBUS/TCP communication.
Describes the functions of the PROFIBUS-DP master module.
Describes the Ethernet communication function of the CPU module built-in and the Ethernet module.
Describes the functions of the Ethernet module.
Explains methods for the device that is communicating with the CPU module by SLMP to read and write the data of the CPU module.
Describes CC-Link IE field network module.
Describes CC-Link system master/intelligent device module.
Describes AnyWireASLINK system master module.
Describes the positioning function of the CPU module built-in and the high-speed pulse input/output module.
Describes the positioning module.
Specifications, procedures before operation, system configuration, wiring, and operation examples of the Simple Motion module.
Functions, input/output signals, buffer memories, parameter settings, programming, and troubleshooting of the Simple Motion module.
Functions and programming for the synchronous control of the Simple Motion module.
Describes the analog function of the CPU module built-in and the analog adapter.
Describes the analog input module, analog output module, and multiple input module.
Describes the temperature control module.
System configuration, parameter settings, and online operations of GX Works3.
Describes the transition from MELSEC FX3U/FX3UC series to MELSEC iQ-F series.
12

TERMS

Unless otherwise specified, this manual uses the following terms.
For details on the FX3 devices that can be connected with the FX5, refer to the User’s Manual (Hardware) of the CPU module
to be used.
Term s Description
Devices
FX5 Generic term for FX5U and FX5UC PLCs
FX3 Generic term for FX3S, FX3G, FX3GC, FX3U, and FX3UC PLCs
FX5 CPU module Generic term for FX5U CPU module and FX5UC CPU module
FX5U CPU module Generic term for FX5U-32MR/ES, FX5U-32MT/ES, FX5U-32MT/ESS, FX5U-64MR/ES, FX5U-64MT/ES,
FX5U-64MT/ESS, FX5U-80MR/ES, FX5U-80MT/ES, FX5U-80MT/ESS, FX5U-32MR/DS, FX5U-32MT/DS, FX5U-32MT/DSS, FX5U-64MR/DS, FX5U-64MT/DS, FX5U-64MT/DSS, FX5U-80MR/DS, FX5U-80MT/DS, and FX5U-80MT/DSS
FX5UC CPU module Generic term for FX5UC-32MT/D, FX5UC-32MT/DSS, FX5UC-64MT/D, FX5UC-64MT/DSS, FX5UC-96MT/D,
FX5UC-96MT/DSS, FX5UC-32MT/DS-TS, and FX5UC-32MT/DSS-TS
Extension module Generic term for FX5 extension modules and FX3 function modules
• FX5 extension module Generic term for I/O modules, FX5 extension power supply modules, and FX5 intelligent function modules
• FX3 extension module Generic term for FX3 extension power supply module and FX3 intelligent function module
• Extension module (extension cable type) Generic term for Input modules (extension cable type), Output modules (extension cable type), Input/output
• Extension module (extension connector type)
I/O module Generic term for Input modules, Output modules, Input/output modules, Powered input/output modules, and
Input module Generic term for Input modules (extension cable type) and Input modules (extension connector type)
• Input module (extension cable type) Generic term for FX5-8EX/ES and FX5-16EX/ES
• Input module (extension connector type) Generic term for FX5-C16EX/D, FX5-C16EX/DS, FX5-C32EX/D, FX5-C32EX/DS, and FX5-C32EX/DS-TS
Output module Generic term for Output modules (extension cable type) and Output modules (extension connector type)
• Output module (extension cable type) Generic term for FX5-8EYR/ES, FX5-8EYT/ES, FX5-8EYT/ESS, FX5-16EYR/ES, FX5-16EYT/ES, and FX5-
• Output module (extension connector type) Generic term for FX5-C16EYT/D, FX5-C16EYT/DSS, FX5-C32EYT/D, FX5-C32EYT/DSS, FX5-C32EYT/D-TS,
Input/output module Generic term for Input/output modules (extension cable type) and Input/output modules (extension connector
• Input/output module (extension cable type)
• Input/output module (extension connector type)
Powered input/output module Generic term for FX5-32ER/ES, FX5-32ET/ES, FX5-32ET/ESS, FX5-32ER/DS, FX5-32ET/DS, and FX5-32ET/
High-speed pulse input/output module Generic term for FX5-16ET/ES-H and FX5-16ET/ESS-H
Extension power supply module Generic term for FX5 extension power supply module and FX3 extension power supply module
• FX5 extension power supply module Generic term for FX5 extension power supply module (extension cable type) and FX5 extension power supply
• FX5 extension power supply module (extension cable type)
• FX5 extension power supply module (extension connector type)
• FX3 extension power supply module Different name for FX3U-1PSU-5V
Intelligent module 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-
modules (extension cable type), Powered input/output module, High-speed pulse input/output module, Extension power supply module (extension cable type), Connector conversion module (extension cable type), Intelligent function modules, and Bus conversion module (extension cable type)
Generic term for Input modules (extension connector type), Output modules (extension connector type), Input/ output modules (extension connector type), Extension power supply module (extension connector type), Connector conversion module (extension connector type), and Bus conversion module (extension connector type)
High-speed pulse input/output modules
16EYT/ESS
and FX5-C32EYT/DSS-TS
type)
Generic term for FX5-16ER/ES, FX5-16ET/ES, and FX5-16ET/ESS
Generic term for FX5-C32ET/D, FX5-C32ET/DSS, FX5-C32ET/DS-TS, and FX5-C32ET/DSS-TS
DSS
module (extension connector type)
Different name for FX5-1PSU-5V
Different name for FX5-C1PS-5V
80SSC-S, FX5-ENET, FX5-CCLIEF, FX5-CCL-MS, FX5-ASL-M, and FX5-DP-M
13
Ter ms Description
• FX3 intelligent function module Generic term for FX3U-4AD, FX3U-4DA, FX3U-4LC, FX3U-1PG, FX3U-2HC, FX3U-16CCL-M, FX3U-64CCL, FX3U-128ASL-M, and FX3U-32DP
Expansion board Generic term for board for FX5U CPU module
• Communication board Generic term for FX5-232-BD, FX5-485-BD, and FX5-422-BD-GOT
Expansion adapter Generic term for adapter for FX5 CPU module
• Communication adapter Generic term for FX5-232ADP and FX5-485ADP
• Analog adapter Generic term for FX5-4AD-ADP, FX5-4DA-ADP, FX5-4AD-PT-ADP, and FX5-4AD-TC-ADP
Bus conversion module Generic term for Bus conversion module (extension cable type) and Bus conversion module (extension
• Bus conversion module (extension cable
type)
• Bus conversion module (extension
connector type)
Connector conversion module Generic term for Connector conversion module (extension cable type) and Connector conversion module
• Connector conversion module (extension
cable type)
• Connector conversion module (extension
connector type)
Extended extension cable Generic term for FX5-30EC and FX5-65EC
Connector conversion adapter Different name for FX5-CNV-BC
Battery Different name for FX3U-32BL
Peripheral device Generic term for engineering tools and GOTs
GOT 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
GX Works3 The product name of the software package, SWnDND-GXW3, for the MELSEC programmable controllers (The
PROFIBUS-DP related
ACK The abbreviation for ACKnowledgement. This signal is sent to inform the sending side that the data transfer has
GSD database The database that batch manages information of the module with registered GSD file Use when the module is
GSD file The file that is written the parameter of DP-Slave.
PROFIBUS-DPV0 Basic version of PROFIBUS-DP that is configured by the following basic functions.
PROFIBUS-DPV1 Version of PROFIBUS-DP that contains the following functions in addition to the basic functions of PROFIBUS-
Ident No. The number of each module to connect PROFIBUS-DP network.
DP-Master (Class 1) A device that exchanges I/O data with DP-Slaves.
DP-Master (Class 2) A device that communicates with DP-Slaves to check the FDL address setting and the operating status.
Global control function This function is to send the synchronization command for I/O data from DP-Master (Class 1) to DP-Slave.
DP-Slave A device that exchanges I/O data with DP-Master.
Device A device (X, Y, M, D, or others) in a CPU module
DP-Master Different name for DP-Master (Class 1).
Module label A label that represents one of memory areas (I/O signals and buffer memory areas) specific to each module in a
Label A label that represents a device in a given character string
Repeater A device that connects segments of the PROFIBUS-DP network.
Extended diagnostic information Diagnostic information of each DP-Slave.
connector type)
Different name for FX5-CNV-BUS
Different name for FX5-CNV-BUSC
(extension connector type)
Different name for FX5-CNV-IF
Different name for FX5-CNV-IFC
'n' represents a version.)
been normally completed.
set with PROFIBUS Configuration Tool.
Use when the slave parameter is set with PROFIBUS Configuration Tool.
• Acquisition of diagnostic information and extended diagnostic information
• Global control function
DPV0.
• Acyclic communication function
• Alarm acquisition function
The number is written to GSD file of each module.
This device can perform start-up, maintenance, and diagnosis of the network as the DP-Master for the network control.
given character string. For the module used, GX Works3 automatically generates this label, which can be used as a global label.
DP-Slave notifies an error detection to DP-Master.
14
Term s 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.
15
1 DESCRIPTION
(5)(5)
(5)
(7)
(4)
(5)
(3)
(6)(6)
(6)(6)
(1) (2)
FX5-DP-M type PROFIBUS-DP master module (hereinafter referred to as FX5-DP-M) is an intelligent function module for
connecting to a 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.
(1) FX5 CPU module (2) FX5-DP-M (3) PROFIBUS connector (4) PROFIBUS cable (5) BUS terminator (6) PROFIBUS slave station (7) Repeaters
16

1 DESCRIPTION

MEMO
1
1 DESCRIPTION
17
2 SPECIFICATIONS
This section describes the specifications of FX5-DP-M.
2.1 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)
Item Specifications
Dielectric withstand voltage 500 V AC for 1 minute Between all terminals and frame of communication
Insulation resistance 10 MΩ or higher with 500 V DC
insulation resistance tester

2.2 Power Supply Specifications

Shows power supply specifications.
Item Specifications
Internal power supply Power-supply voltage 24 V DC
Current consumption 150 mA
connector

2.3 Performance Specifications

Shows performance specifications of FX5-DP-M.
Item Description
PROFIBUS-DP station type DP-Master (Class 1)
Transmis sion specifica tions
No. of occupied I/O points 8 points
Applicable CPU module FX5U CPU module (Ver.1.110 or later)
Applicable engineering tool GX Works3 (Ver.1.050C or later )
No. of connectable units 1 unit
Electrical standard and characteristics Compliant with EIA-RS485
Medium Shielded twisted pair cable (Page 45 Wiring for PROFIBUS cable)
Network configuration Bus topology (or tree topology when repeaters are used)
Data link method • Between DP-Masters: Token passing
• Between DP-Master and DP-Slave: Polling
Encoding method NRZ
Transmission speed
Transmission distance Differs depending on the transmission speed. ( Page 19 Transmission distance)
Max. No. of repeaters (Between DP-Master and DP-Slave)
No. of connectable modules (per segment) 32 per segment (including repeaters)
Max. No. of DP-Slaves 64 (Page 40 Configuration of PROFIBUS-DP network)
No. of connectable nodes (No. of repeaters) 32, 62(1), 92(2), 122(3), 126(4)
Transmittable data Input data Max. of 2048 bytes (Max. of 244 bytes per DP-Slave)
*1
Output data Max. of 2048 bytes (Max. of 244 bytes per DP-Slave)
9.6 kbps, 19.2 kbps, 93.75 kbps, 187.5 kbps, 500 kbps, 1.5 Mbps, 3 Mbps, 6 Mbps, 12 Mbps
3 repeaters
FX5UC CPU module (Ver.1.110 or later)
PROFIBUS Configuration Tool (Ver.1.02C or later)
*1 Transmission speed accuracy is within ±0.2% (compliant with IEC61158-2).
18

2 SPECIFICATIONS

2.1 General Specifications

Transmission distance
Transmission speed Transmission distance Maximum transmission distance when
repeaters are used
9.6 kbps 1200 m/segment 4800 m/network
19.2 kbps
93.75 kbps
187.5 kbps 1000 m/segment 4000 m/network
500 kbps 400 m/segment 1600 m/network
1.5 Mbps 200 m/segment 800 m/network
3 Mbps 100 m/segment 400 m/network
6 Mbps
12 Mbps
*1 The maximum transmission distance shown in the above table indicates the distance when three repeaters are used.
To calculate the maximum transmission distance when repeaters are used and the transmission distance is extended, use the following formula. Maximum transmission distance [m/network] = (Number of repeaters + 1) × Transmission distance[m/segment]
*1
2
2 SPECIFICATIONS
2.3 Performance Specifications
19
2.4 Part Names
[1]
[9]
[2]
[3]
[7]
[6]
[8]
[4]
[5]
2-4.5 Mounting holes
Shows the name of each section of the FX5-DP-M.
No. Name Description
[1] PROFIBUS-DP interface connector This connector connects a cable for PROFIBUS-DP network. (9-pin D-Sub connector: #4-40 UNC inch screw)
[2] Extension cable Cable for connecting the module when adding the FX5-DP-M.
[3] Direct mounting hole Screw holes (2-φ4.5, mounting screw: M4 screw) for direct installation
[4] Operation status display LEDs Indicates the operating status of the module. (Page 20 Transmission distance)
[5] Extension connector Connector for connecting the extension cable of an extension module.
[6] Name plate The product model name and manufacturer's serial number are shown.
[7] DIN rail mounting groove The module can be installed on DIN46277 rail (35 mm wide).
[8] DIN rail mounting hook Hook for mounting the module on a DIN rail of DIN46277 (35 mm wide).
[9] Pullout tab They are used when drawing out an extension cable.

LED display

LED name LED color Description
SD/RD Green Indicates the communication status with DP-Slaves.
On or flashing: During data exchange, or Acyclic communication. Off: During data exchange stop.
DIA Red Indicates the diagnostic information and the alarm detected.
BF Red Indicates the occurrence of a communication error.
POWER Green Indicates the power supply status.
RUN Green Indicates the operating status.
ERROR Red Indicates the error status.
On: Diagnostic information or alarm is detected. Off: No diagnostic information and no alarm.
On: Diagnostic information is detected. Off: No diagnostic information.
On: Power on Off: Power off or module failure
On: Normal operation Off: Error
On: Minor error or major error Flashing: Moderate error or major error Off: Normal operation
*1 Flashes when the module requests or responds to the Acyclic communication.
*1
20
2 SPECIFICATIONS

2.4 Part Names

3 PROCEDURES UP TO OPERATION
This chapter describes the procedures before operation.
1. Check of FX5-DP-M specifications
Check the FX5-DP-M specifications. (Page 18 SPECIFICATIONS)
2. 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)
3. Wiring
Perform wiring of external devices to a FX5-DP-M.
4. Adding a module
Add a FX5-DP-M to a module configuration by using GX Works3.
5. Parameter settings
Set parameters of the FX5-DP-M by using PROFIBUS Configuration Tool and GX Works3.
6. Programming
Create a program. (Page 94 PROGRAMMING)
3

3 PROCEDURES UP TO OPERATION

21
4 FUNCTIONS
4.1 Function List
The following table lists the functions of the FX5-DP-M.
Function Description Reference
PROFIBUS­DPV0
PROFIBUS­DPV1
Data swap function Swaps upper and lower bytes in units of words when I/O data is sent/received. Page 34
Data consistency function Maintains consistency of I/O data of DP-Slaves when it is read/written from/to the buffer
Output status setting function for CPU stop error Sets whether to stop or continue the data exchange with DP-Slaves when a CPU stop
Temporarily reserved station specification function
Data exchange function Performs data exchange of up to 2048 bytes by connecting up to 64 DP-Slaves to one
Acquisition of diagnostic information and extended diagnostic information
Global control function Sends service (SYNC, UNSYNC, FREEZE, UNFREEZE) to each DP-Slave in a group,
Acyclic communication function
Alarm acquisition function Acquires up to eight items of the alarm or status information occurring in a DP-Slave. Page 32
FX5-DP-M.
Acquires the diagnostic information and the extended diagnostic error information occurring in DP-Slaves during data exchange using buffer memory.
and synchronously controls I/O data of DP-Slaves.
Reads/writes data from/to DP-Slaves at a different timing from the data exchange. Page 30
memory.
error occurs in the CPU module to which the FX5-DP-M is mounted.
Temporarily changes a DP-Slave to a reserved station without changing slave parameters of PROFIBUS Configuration Tool.
Page 23
Page 25
Page 27
Page 35
Page 37
Page 39
22

4 FUNCTIONS

4.1 Function List

4.2 PROFIBUS-DPV0
FX5-DP-M
(3)
(3)
(4)
(4)
(5)
(2) No.1
(2) No.2
(2) No.64
(5)
Y
X
(1)
CPU module
The following PROFIBUS-DPV0 functions are available on the FX5-DP-M.
Function Reference
Data exchange function Page 23
Acquisition of diagnostic information and extended diagnostic information Page 25
Global control function Page 27

Data exchange function

This function enables this module to work as DP-Master (Class 1) of PROFIBUS-DP and exchange data with DP-Slaves.
A maximum of 64 DP-Slaves can be connected to one FX5-DP-M and they can exchange data of a maximum of 2048 bytes.
4
(1) Buffer memory (2) DP-Slave (3) Input data (4) Output data (5) Bus terminator
Reading/Writing I/O data from/to the CPU module
Buffer Memory
I/O data are read/written between the devices of the CPU module and the buffer memory of the FX5-DP-M.
• 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 Method Data consistency
Refresh Setting PROFIBUS Configuration Tool Available
MOV instruction or FROM/TO instructions Program Unavailable
4 FUNCTIONS

4.2 PROFIBUS-DPV0

23
Data exchange starts and stops
Bc1 Bc2 Bc3
(1)
(3) (4) (5) (6)
(2)
'Data exchange start request signal' (Un\G2.b0)
'Data exchange start completed signal' (Un\G0.b0)
Bus cycle time (Bc)
'Output data area' (Un\G14336 to Un\G15359)
Bc1 Bc2 Bc3
(1)
(3) (4) (5) (6)
(2)
'Data exchange start request signal' (Un\G2.b0)
'Data exchange start completed signal' (Un\G0.b0)
Bus cycle time (Bc)
'Input data area' (Un\G6144 to Un\G7167)
1. Write the initial values of output data to 'Output data area' (Un\G14336 to Un\G15359).
( Page 139 Output data area)
2. Turn on 'Data exchange start request signal' (Un\G2.b0).
3. Turn on 'Data exchange start request signal' (Un\G2.b0) and data exchange starts, 'Data exchange start completed
signal' (Un\G0.b0) turns on.
4. The input data from the DP-Slaves are stored in 'Input data area' (Un\G6144 to Un\G7167).
5. Turn off 'Data exchange start request signal' (Un\G2.b0), 'Data exchange start completed signal' (Un\G0.b0) turns off,
and the data exchange stops.
• Output data communication
(1) Data exchange starts (2) Data exchange stops (3) Output data at Bc1 (initial value) (4) Output data at Bc2 (5) Output data at Bc3 (6) Output data at Bc4
• Input data communication
(1) Data exchange starts (2) Data exchange stops (3) Data from the last data exchange (4) Input data at Bc1 (5) Input data at Bc2 (6) Input data at Bc3
24
4 FUNCTIONS
4.2 PROFIBUS-DPV0
For a program example of the data exchange function, refer to the following. Page 102 Program Example of Data Exchange Function
Acquisition of diagnostic information and extended diagnostic
(1) (1) (1)
FX5-DP-M
information
This function enables acquisition of diagnostic information and extended diagnostic information generated at DP-Slaves
during data exchange by using the buffer memory.
An error causes in the DP-Slaves can be checked with the diagnostic information and extended diagnostic information on the
FX5-DP-M.
(1) DP-Slave
Communications error occursThe DP-Slave notifies the FX5-DP-M of diagnostic information.Extended communications error occursThe DP-Slave notifies the FX5-DP-M of extended diagnostic information.
4
Procedure for acquisition of diagnostic information/extended diagnostic information
The procedure for acquisition of diagnostic information and extended diagnostic information is as follows.
1. Check if diagnostic information is generated.
• BF LED turns on.
• 'Diagnostic information detection signal' (Un\G0.b1) turns on.
2. Check which DP-Slave sent the diagnostic information.
( Page 25 How to check DP-Slaves with communications errors)
3. Acquire the diagnostic information sent from the DP-Slave from the buffer memory of the FX5-DP-M.
( Page 25 Acquisition of diagnostic information)
4. Check whether that occurrence of extended diagnostic information has been notified from DP-Slave.
( Page 26 How to check if extended diagnostic occurs)
5. If the DP-Slave has extended diagnostic information stored in it, acquire the information from the DP-Slave.
( Page 26 Acquisition of extended diagnostic information from DP-Slaves)
6. Check the diagnostic information and extended diagnostic information for the error cause and take necessary action.
How to check DP-Slaves with communications errors
Diagnostic information detection status of DP-Slaves is stored in 'Slave status area (Diagnostic information detection)'
(Un\G23056 to Un\G23060).
For stations that sent diagnostic information, the relevant bit of 'Each station's diagnostic status' (Un\G23057 to Un\G23060)
is turned on.
Acquisition of diagnostic information
Acquire diagnostic information of DP-Slaves from the following buffer memory area. ( Page 144 Diagnostic information
area)
• 'Diagnostic information area' (Un\G23072 to Un\G23199)
4 FUNCTIONS
4.2 PROFIBUS-DPV0
25
Acquisition of extended diagnostic information
How to check if extended diagnostic occurs
To check if extended diagnostic information is stored in DP-Slaves, check the status 1 information on DP-Slave stored in
'Diagnostic information area' (Un\G23072 to Un\G23199).
For the first DP-Slave, check b11 of 'Diagnostic information area (1st station)' (Un\G23073).
Acquisition of extended diagnostic information from DP-Slaves
Acquire extended diagnostic information by the following procedure.
1. Write the FDL address for the DP-Slave from which to acquire extended diagnostic information to 'Extended diagnostic
information read request area' (Un\G23456). ( Page 146 Extended diagnostic information read request area)
2. Turn on 'Extended diagnostic information read request signal' (Un\G2.b6).
3. After reading the extended diagnostic information is complete, 'Extended diagnostic information read response signal'
(Un\G0.b6) turns on and the extended diagnostic information is stored in 'Extended diagnostic information read response
area' (Un\G23457 to Un\G23583).
4. After checking the acquired extended diagnostic information, turn off 'Extended diagnostic information read request
signal' (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)
• For a program example of acquisition of extended diagnostic information, refer to the following. Page 103 Program Example of the Diagnostic Information Acquisition Function
26
4 FUNCTIONS
4.2 PROFIBUS-DPV0

Global control function

Precautions
FX5-DP-M
(1) (3) (2)
(4)
This function enables controlling I/O data of DP-Slaves synchronously for each specified group by multicast (broadcast
communications) from the FX5-DP-M.
(1) Group 1 (2) Group 2 (3) Group 5 (4) Group 8 Multicast (Broadcast communications)
4
The global control function cannot execute with the Acyclic communication function.
Configuring groups
Configure groups by the "Group identification number" in the "Slave Settings" window of PROFIBUS Configuration Tool. ( Page 87 Slave Settings)
A maximum of eight groups, or group 1 to 8, are available.
One DP-Slave can be assigned with multiple groups.
4 FUNCTIONS
4.2 PROFIBUS-DPV0
27
Global control function services
FX5-DP-M
(1) (3) (2)
(4)
FX5-DP-M
(1) (3) (2)
(4)
Specify which service is applied to which group through the buffer memory.
SYNC service
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.
(1) Group 1 (2) Group 2 (3) Group 5 (4) Group 8
Send a SYNC service to group 1.When SYNC service is executed: Output image memory values are output once at the timing of receiving a SYNC service.When UNSYNC service is executed: Output image memory values are output without change. (Normally in this mode)
FREEZE service
This service starts FREEZE (input synchronization) mode.
During FREEZE mode, DP-Slaves refresh the input status every time when receiving a FREEZE service.
Without a FREEZE service received, DP-Slaves hold the input status.
UNFREEZE service
This service stops FREEZE (input synchronization) mode.
(1) Group 1 (2) Group 2 (3) Group 5 (4) Group 8
Send a FREEZE service to group 5.When FREEZE service is executed: Actual input is input to the input image memory once at the timing of receiving a FREEZE service.When UNFREEZE service is executed: Actual input is input to the input memory without change. (Normally in this mode)
28
4 FUNCTIONS
4.2 PROFIBUS-DPV0
Loading...
+ 146 hidden pages