Home

1 - Mitsubishi Electric

image

Contents

1. 125 Appendix A Version Information FX3U 64DP M PROFIBUS DP Master Block User s Manual Appendix A 1 Version Information MEMO 126 FX3u 64DP M PROFIBUS DP Master Block User s Manual Warranty Warranty Please confirm the following product warranty details before using this product Gratis Warranty Term and Gratis Warranty Range If any faults or defects hereinafter Failure found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company However if repairs are required onsite at domestic or overseas location expenses to send an engineer will be solely at the customer s discretion Mitsubishi shall not be held responsible for any re commissioning maintenance or testing on site that involves replacement of the failed module Gratis Warranty Term The gratis warranty term of the product shall be for one year after the date of purchase or delivery to a designated place Note that after manufacture and shipment from Mitsubishi the maximum distribution period shall be six 6 months and the longest gratis warranty term after manufacturing shall be eighteen 18 months The gratis warranty term of repair parts shall not exceed the gratis warranty term before repairs Gratis Warranty Range 1 The range shall be limited to normal use within the usage state
2. For Master Status BFM 28 refer to Section 6 12 S ZS CH OH e E 5 Consistency Error Flag BFM 29 Bit 5 SS This flag is ON if an error has occurred in the data consistency handling This bit reflects the status of BFM 2 If any of the bits in BFM 2 is set to ON BFM 29 Bit 5 is also set to ON Check BFM 2 for details The reason for this error can be a mistake in the user PLC program or an access to the BFM area by the entry data monitor function of the Programming software i e GX Developer EES For Consistency Handling Error Flag BFM 2 refer to Section 6 4 Ba F 6 Acyclic Communication Deactivation Message Flag BFM 29 Bit 7 SE This flag is ON if there is a shutdown of the acyclic communication channel with a DP Slave One countermeasure to prevent this problem might be to increase the watchdog time for the DP Slaves to stop the acyclic communication Dune N Gd 7 PROFIBUS Error Flag BFM 29 Bit 8 23 This flag is ON if there is a PROFIBUS problem More details are displayed in BFM 3 SZ If this error occurs check the wiring of the PROFIBUS network Reasons can be the short circuit of a communication lines unmatching network bus terminators or an excessive Bus length for the selected baud 8 rate Reduce the communication baud rate in GX Configurator DP If the network is segmented by repeaters every segment must also be properly built up with termination resistors aM For PROFIBUS Error Flag BF
3. Opol SWUULUOD gq JO UOUEOIM Buas wesbold aiduexy OO sonsoubeiq Lo gt UONEWWOJUI UOISIO FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 16 PROFIBUS Transmission Speed BFM 32 6 16 PROFIBUS Transmission Speed BFM 32 BFM Access Read Only BFM 32 shows the current baud rate of the PROFIBUS DP network The following table shows the supported transmission speed and the value of BFM 32 Value Hex code Baud rate Value Hex code Baud rate 96E2H 9 6 kbps 15E5H 1 5 Mbps 19E3H 19 2 kbps O3E6H 3 Mbps 93E3H 93 75 kbps O6E6H 6 Mbps 18E4H 187 5 kbps 12E6H 12 Mbps O5E5H 500 kbps 6 17 Clear Control Flag BFM 33 BFM Access Read Write The Clear Control Flags are allocated as follows The figure below shows the influence of BFM 33 on the behavior of the 64DP M when the RUN STOP mode is switched Bit No Name Description If this flag is set and mode is changed from STOP mode to RUN or from RUN to STOP the 64DP M does not go through the CLEAR mode In CLEAR mode the 64DP M is exchanging only input data with the DP Slaves while the output data remain in the safe state Bit O Clear Control Flag STOP mode RUN mode BFM 33 BFM 33 K0 KO RUN mode STOP mode 60 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 18 PROFIBUS Error Mask Flag BFM 34
4. BFM No BitNo Station No BFM No BitNo Station No BFM 9399 3 BFM 9401 35 Bit 15 16 Bit 15 48 BFM 9400 19 BFM 9402 51 Bit 15 32 Bit 15 64 6 39 Acyclic Slave Status Area BFM 9407 to 9410 BFM Access Read Only The Acyclic Slave Status Area is used to check the acyclic communication status for each DP Slave A Bit set to ON signals that the communication is OK for this DP Slave The status flag assignment is shown the following table BFM No BitNo Station No BFM No BitNo Station No BFM 9407 3 BFM 9409 35 Bit 15 16 Bit 15 48 BFM 9408 19 BFM 9410 51 Bit 15 32 Bit 15 64 96 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 40 Cyclic Input Data Start Address Area BFM 9426 to 9489 6 40 Cyclic Input Data Start Address Area BFM 9426 to 9489 BFM Access Read Only Cyclic Input Start Address Area shows the start address of Input Data Area of each DP Slave Data is set in this area during module startup according to the parameter data stored in the 64DP M The start address is set in 1 word units for both input and output If no input data is assigned to a DP Slave then the start BFM address of this DP Slave will be set to FFFF hex After boot up of the 64DP M this information is available after the Module READY Signal BFM 5 Bit 0 is set to ON by the 64DP M BFM Address BFM 9426 1st station 9427 2nd station 9428 3rd station
5. For the general specification refer to the manual of the PLC main unit The items other than the following are equivalent to those of the PLC main unit However please don t perform any dielectric withstand voltage tests and insulation resistance tests to this product For details on FX3U Serise PLC refer to FX3u PLC Hardware Edition For details on FX3uc Serise PLC refer to FX3uc PLC Hardware Edition Item Specifications Withstand voltage 500 V AC for 1 min eee Between communication connector frame and ground Insulation resistance ee or more by 500 V DC terminal of PLC main unit egger 2 2 Power Supply Specifications Items Description 155 mA at 24V DC is supplied from the internal power supply service power supply in Internal Power Suppl i o HH main unit via extension cable 28 FX3u 64DP M PROFIBUS DP Master Block 2 Specifications User s Manual 2 3 Performance Specifications 2 3 Performance Specifications Item Specifications Transmission Type Bus network Unit Type PROFIBUS DP master Class 1 Transmission Data Normal service mode 32 byte slave Maximum Exchanged Data Length Extended service mode default 244 byte slave Maximum Number of FX3U 64DP M at one PLC Maximum Number of FX3U 64DP M 3 units at one PROFIBUS DP Network In case of multi master configuration all master stations must be FX3U 64DP M 1 unit Maximum Number of Repeaters Communication Path 9 US aoe 32 s
6. No of repeaters 1 x Bus Length segment Transmission Maximum Bus Length 9 6k 19 2k 93 75k 4 800 m 15 748 29 I01 U09 JEQO D ew 29 SoUOoUlaul JONG uoneinByuo5 pue siajoWeled mmh gt me O 2 O suoeoyioods uone jesuy OO buum d LD Opol SUULUOD gq JO UOHeOOINY Dune N wesbold aiduexy OO sonsoubeiq Lo gt UONEWWOJUI UOISIO FX3u 64DP M PROFIBUS DP Master Block 3 Installation User s Manual 3 Installation DESIGN PRECAUTIONS N WARN ING e Make sure to have the following safety circuits outside of the PLC to ensure safe system operation even during external power supply problems or PLC failure Otherwise malfunctions may cause serious accidents 1 An emergency stop circuit a protection circuit an interlock circuit for opposite movements such as normal and reverse rotations and an interlock circuit for preventing damage to the machine at the upper and lower positioning limits should be configured on the outside of the PLC 2 Note that when the PLC CPU detects an error such as a watchdog timer error during self diagnosis all outputs are turned off Also when an error that cannot be detected by the PLC CPU occurs in an input output control block output control may be disabled Design external circuits and mechanisms to ensure safe operations of the machine in such a case 3 Note that when some sort of error occurs in a
7. Start Address of Input data for each DP Slaves 9487 62th station 9488 63th station 9489 64th station Example For the following I O configuration case the Cyclic Input Data Start Address Area is as shown below 1 Input configuration for example a Station No and input data length Station No Station No 1 Address No 0 Station No 2 Address No 2 Input Data Length 3 bytes 6 bytes b Input data area assignment for Example BFM 350 to 1373 BFM Address Upper byte Lower byte Input Data Area 2 Input Start Address Area for Example BFM 9426 to 9489 BFM Address BFM 9426 Input start address of 1st station is 350 9427 Input start address of 2nd station is 352 9428 Input start address of 3rd station is OxFFFF Input start address area 9487 Input start address of 62th station is OxFFFF 9488 Input start address of 63th station is OxFFFF 9489 Input start address of 64th station is OxFFFF 97 Q O oO Ei Q O a Lg o S49 SOLOWS JONG uoneinByuo5 pue siajoWeled mmh suoyeoyioeds N uononpou uonegteut LA buum d LD SDOuW SUULUOD gq JO UOHeOOINY Dune N wesbold aiduexy OO sonsoubeiq Lo gt UONEWWOJUI UOISIO FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 41 Cyclic Output Data Start Address Area BFM 9551 to 9614 6 41 Cyclic Output Data Start Address Ar
8. 12 2010 4 2015 Revision A RN Kl Description First Edition FROM TO Execution Cycle Time and PROFIBUS Cycle Time charts added Subsection 1 4 1 1 4 2 Example programs using GX IEC Developer added Chapter 8 Program importing procedures from GX Configurator DP to GX IEC Developer added Chapter 8 The FX3uc Series was added FX3UC 32MT LT is excluded Supported in Ver 1 04 The Total Input Data Length Information BFM 9328 was added Chapter 6 The Total Output Data Length Information BFM 9329 was added Chapter 6 The default setting of the PROFIBUS Error Mask flag BFM 34 was changed Section 6 18 The PROFIBUS error flags Bit 4 to 8 in BFM 3 was added Section 6 5 The notation change of Compliance with EC directive The manual is added to Associated Manuals Errors are corrected A part of the cover design is changed USER S MANUAL FX3U 64DP M PROFIBUS DP Master Block MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN JY997D19201E Effective April 2015 MEE Specifications are subject to change without notice
9. 8 wait until it is reset by 64DP M nu O 30 amp D si gt UONEWWOJUI UOISIO 73 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 26 Acyclic Output Data 6 26 1 Acyclic Output Data Send Flags BFM 4510 to 4513 BFM Access Read Write Acyclic Output Data Send Flag should be used for sending acyclic output data to the DP Slaves Acyclic Output Data Send Flag of each channel assignment shows in the following table Acyclic Input Data Area BFM No Description Header Data BFM 4510 S EE SE BEM 4511 EES BFM 5888 to 6007 SE BEM ae BFM 6012 to 6131 SE BFM 4513 sla ied aS CE aha eae 6 26 2 Acyclic Output Data Area BFM 5760 to 6255 BFM Access Read Write 64DP M has 4 data areas of 248 bytes for Acyclic Output Data via communication channels The Acyclic Output Data format of each data area assignment is shown in the following table BFM No Data Data Data Data Area 1 Area2 Area3 Area4 BFM BFM BFM BFM SlaveNumber Destination slave number 5760 5884 6008 6132 1 The valid range lies between 1 and 64 slaves BFM BFM BFM BFM Destination slot number This number is defined by the 5761 5885 6009 6133 SlotNumber adressing for acyclic services SE a mh Zn 1 Index value for sending data 5762 5886 6010 6134 meer 9 BFM BFM BFM BFM L vi Length of user data 5763 5887 6011 6135 engt T
10. Bit No Bit O Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 Description This bit is set by the 64DP M if the DP Slave can no longer be reached via the bus The DP Slave cannot supply any valid input data The 64DP M fetches diagnoses until this Bit is reset by the DP Slave The comparison of the configuration data transferred by the 64DP M with the actual configuration data of the DP Slave has failed The DP Slave waits for a new configuration If this Bit is set the diagnostic data will receive additional information in the ExtDiagData This data is vendor specific This Bit is set by the DP Slave if functionality requested in the parameterization data is not supported The 64DP M sets this flag if it has received an implausible response from the DP Slave If the last parameterization data of the 64DP M was incorrect e g wrong identification mark The DP Slave requests new parameterization data This Bit is set by the 64DP M if the master FDL address in the diagnosis data does not correspond to the actual station address or contains a invalid master FDL address OxFF 78 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 29 Slave Diagnostic Information mmh 3 StationStatus2 Si Bit No Description E Parameterization of the DP Slave has not yet been performed or has failed The DP Slave waits for new S Bit O Ee parameterization data from the 64DP M Bit 1 The
11. GX Cofigurator DP Configuration System for Describes operation details of GX Configurator DP Configuration System for Networks Software Open Networks Software Manual 11 FX3u 64DP M PROFIBUS DP Master Block User s Manual Generic Terms and Abbreviations Generic Terms and Abbreviations Generic Name and Abbreviation el PLCs FX3U Series Generic name of the FX3U Series Abbreviated name of the FX3U Series PLC main unit FX3UC Series Generic name of the FX3UC Series Abbreviated name of the FX3uc Series PLC main unit FX2N Series Generic name of the FX2N Series FXON Series Generic name of the FXON Series Expansion board Generic name of the FX3U Series expansion board Special adapter Generic name of the FX3U Series special adapter Generic name of the FXON FX2N FX3U FX3UC Series special function block and FX2N Special function units block l i Series special function unit Extension unit block Generic name of I O Extension block and powered extension unit I O Extension block Powered extension unit PROFIBUS DP Network PROFIBUS DP network Generic name of FX2N Series extension block Generic name of FX2N Series powered extension unit Abbreviated name of the PROFIBUS DP network DP Master Generic name of the PROFIBUS DP master module include FX3U 64DP M 64DP M Abbreviated name of FX3U 64DP M PROFIBUS DP master block DP Slave Generic name of the PROFIBUS DP slave module 32DP Abbreviated
12. STARTUP AND MAINTENANCE PRECAUTIONS WARNING Do not touch any terminal while the PLC s power is on Doing so may cause electric shock or malfunctions Before cleaning or retightening terminals externally cut off all phases of the power supply Failure to do so may cause electric shock Before modifying or disrupting the program in operation or running the PLC carefully read through this manual and the associated manuals and ensure the safety of the operation An operation error may damage the machinery or cause accidents STARTUP AND MAINTENANCE PRECAUTIONS CAUTION Do not disassemble or modify the unit Doing so may cause fire equipment failures or malfunctions For repair contact your local Mitsubishi Electric distributor Do not drop the product and exert strong impact D oing so may cause damage Turn off the power to the PLC before attaching or detaching the peripheral devices Failure to do so may cause equipment failures or malfunctions Use GX Configurator DP Ver 7 00A or later for the setting of the parameters and configuration for PROFIBUS DP network including 64 DP M For operation details on GX Configurator DP refer to the GX Configurator DP Software Manual For example setting of parameter and configuration refer to Section 8 1 3 Point 1 Module type Select the PROFIBUS DP V1 FX3U 64DP M on Network Setup dialog box 2 Operation mode Set Operation Mode in BFM 39 by user p
13. User s Manual 7 2 Bus Parameter 7 2 Bus Parameter 7 3 Set the bus parameter about the following parameters on Bus Parameter dialog box For details on Bus Parameter dialog box refer to GX Configurator DP Software Manual Parameter Setting Range Transfer rate Must be supported by all DP Slaves Transfer rate can 9 6k 19 2k Baud Rate be selected when opening Bus parameter dialog box 93 75k 187 5k from Master setting dialog box 500k 1 5 M Default 1 5Mbps 3M 6M 12M Slot time Max Interval to wait for response Slot time T_sl TBIT Default 300 300 Tom 37 to 16383 l Min Station delay of responder min T_sdr TBIT Default 11 11 TBIT 11 to 1023 Max Station delay of responder max T_sdr TBIT Default 150 150 Tait 137 to 1023 Transmission speed bps GEN e Quiet time T 0 if no repeater present Quiet time T_ qui TBIT Default 0 0 Tom 0 to 127 Setup time Setup time T_set TBIT Default 1 1 Tom 1 to 255 Target token rotation time 256 to Target Rot T_tr TBT Default 50000 5000 Tom 16777215 GAP factor ee the GAP update time T_ gud 1 to 100 Default 10 HSA Highest station address Default 126 2 to 126 ect Maximum retry limit Max retry limit Default 1 1to7 Network Configuration Set the system configuration of PROFIBUS DP network on graphical network editor window For operation details refer to GX Configurator DP Software Manual 104 FX3u
14. mmh 6 18 PROFIBUS Error Mask Flag BFM 34 z BFM Access Read Write S This flag is used to avoid the 64DP M from changing to STOP mode by the PROFIBUS Error protocol disturbed BFM 3 Bit 1 This error can occur when connecting a new device to the PROFIBUS DP network 2 Bit No Name Description S If an PROFIBUS error occurs 64DP M will set the BFM 29 8 OFF Bit 8 and detail flags in BFM 3 Then 64DP M changes to F STOP Offline mode If the protocol disturbed PROFIBUS Error occurs BFM 3 Bit 1 64DP M will set BFM 3 Bit 1 However 64DP M will ON not set BFM 29 Bit 8 and will not change to STOP mode default setting If other PROFIBUS Errors occur 64DP M will set the BFM 29 Bit 8 and corresponding detail flags in BFM 3 Then 64DP M changes to Offline mode Mask PROFIBUS ER Error uonegteut OO Note The default setting of Bit 0 is as follows depending on the version Ver 1 04 or later ON Earlier than Ver 1 04 OFF Suum d 6 19 Number of Allocated Slaves BFM 38 LD O08 BFM Access Read Only St This buffer memory is used to check the number of DP Slaves connected to the 64DP M This value is same S as the number of projected DP Slaves in the GX Configurator DP 6 20 Operation Service Mode BFM 39 ew 29 SoUOoUlaul JONG BFM Access Read Write JO UOUEOIM Sets the Operation Service Mode of the 64DP M If the mode change is not possible an error is display
15. Slave in the network that requires a longer time for booting For Dwell Time Setting refer to Section 6 37 e If the ERROR LED starts flickering after the FX3u FX3uc 1 main unit switches to RUN mode Picker There might be a mistake in the user program In case of an attempt to access a write protected BFM or in case of a data consistency handling error the LED will also start flickering Check details of BFM 29 For details refer to Section 9 2 e If the ERROR LED flickers at least one DP Slave might have reported an error to the DP master diagnostic information Check details of BFM 29 For details refer to Section 9 2 For Slave Diagnostic Information details refer to Section 6 29 and 6 30 Unit 64DP M is in normal operation 1 An FX2NC CNV IF or FX3UC 1PS 5V is necessary to connect to the 64DP M with the FX3Uc Series PLC However the 64DP M cannot be connected to the FX3UCc 32MT LT 2 Note A data consistency handling error can also occur if the BFM that contains the slave data requiring consistency handling is monitored with the BFM monitor of the programming Software i e GX Developer 122 FX3u 64DP M PROFIBUS DP Master Block 9 Diagnostics User s Manual 9 2 Detail Error Check mmh 9 2 Detail Error Check uononpou Please check the bit status in Master Error Status BFM 29 1 Master Reset Status Flag BFM 29 Bit 0 This flag is set to ON after 64DP M software is reset by Master Res
16. SlaveAddress 8 Address of the DP Slave whose diagnosis state has been read The valid range lies between 0 and 125 aM slaves Se 30 2 Length Length of the diagnostic data sonsoubeiq Lo gt UONEWWOJUI UOISIO 83 F X3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 31 Slave Diagnostic Status Data BFM 7464 to 7591 6 31 Slave Diagnostic Status Data BFM 7464 to 7591 BFM Access Read Only This BFM Area shows an overview over the PROFIBUS diagnosis of each DP Slave This BFM area is updated continuously while the 64DP M is in RUN mode BFM No Station No High byte Low byte BFM 7464 Slave FDL address BFM 7465 Station Status 2 BFM 7466 Slave FDL address BFM 7467 Station Status 2 BFM 7468 Slave FDL address BFM 7469 Station Status 2 BFM 7470 Slave FDL address BFM 7471 Station Status 2 BFM 7590 Slave FDL address BFM 7591 Station Status 2 84 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 32 Alarm Message mmh 6 32 Alarm Message I The 64DP M can handle Alarm Messages from the PROFIBUS DPV1 slaves alarm model The Alarm S Message can be read by the following procedure When receiving an Alarm Message from the DP Slave 64DP M should acknowledge this Alarm Message to the DP Slave If 64DP M does not acknowledge the DP Slave can send maximum 2 alarm messages 2 For acknowledging procedure
17. User s Manual 6 24 Cyclic Output Data 6 24 4 Cyclic Output Data Area in Extended Service Mode BFM 2350 to 3373 BFM Access Read Write 64DP M can exchange 0 to 244 bytes of I O data to each DP Slave The output data length of each DP Slave is assigned according to the parameter file set in the GX Configurator DP However total I O data for all DP Slaves is a maximum of 2048 2048 bytes Example An example is shown below where the output data length of the 1st station is 23 bytes and the output data length of the 2nd station is 7 bytes BFM Address BFM Address Upper byte Lower byte Bit O BFM 2350 2nd byte 1st byte 1st station 4th byte 3rd byte 6th byte oth byte 8th byte 7th byte 2361 2362 2nd station Re 2365 2366 3rd station Note e When the data length is an odd number of bytes the last upper byte becomes a free area as the 1st byte of the station data needs to be assigned as a lower byte and data for the next station is assigned from the next address The value of this free area is 0 e When the data length is 0 bytes the output data area for this station will not be in the Output Data Area buffer memory 70 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 25 Acyclic Input Data 6 25 Acyclic Input Data 1 The acyclic communication can be used for setting and change the DP Slave parameter during cyclic communicat
18. 00 Ol Oil W RXD TXD N Receive transmit Data N 1 2 4 7 9 Pin not assigned Assigned O Not assigned 1 3 System Configuration 1 3 1 Applicable PROFIBUS DP Network e The maximum number of DP Slaves that can be connected to a 64DP M is 64 e Number of units that can be connected for 1 segment DP Masters DP Slaves repeaters lt 32 units e Number of units that can be connected to the entire network using repeaters DP Masters DP Slaves lt 126 units e Communications can be conducted via a maximum of 3 repeaters from an arbitrary DP Master or arbitrary DP Slave to an arbitrary DP Master or arbitrary DP Slave However the whole network can contain more than 3 repeaters See note below 1 Connecting 1 Master Class 1 on the PROFIBUS DP network Series PLC GX Configurator DP FX3U 64DP M 7 00A or later FX3U FX3UC 1 _ Ver Master of Class 1 No 40 2 Bus terminator Bus terminator j E SS PROFIBUS DP Network DP Slave DP Slave DP Slave DP Slave DP Slave DP Slave No 1 No 2 Ne Ju No 29 No 30 No 31 1 An FX2NC CNV IF or FX3UC 1PS 5V is necessary to connect to the 64DP M with the FX3uc Series PLC However the 64DP M cannot be connected to the FX3uc 32MT LT 2 2 In this system configuration the 64DP M can connect a maximum of 31 slaves As the total units DP Masters DP Slaves repeaters is 32 units when PROFIBUS DP network is 1 segment 18 FX3u 64DP M PRO
19. 18 to 21 is different from 0 the corresponding error Bit in BFM 29 Bit 7 will be set to ON Resetting BFM 29 Bit 7 will also clear the contents of BFM 18 to 21 Switching the 64DP M from STOP mode to RUN mode cyclic data exchange will also clear the contents of BFM 18 to 21 uonegteut La BFM No BitNo Station No BFM No BitNo Station No BFM 18 BFM 20 x 4 E ae SERGE Bit 15 16 Bit 15 48 a E ae EH SC o Lio Bit 15 32 Bit 15 64 S ZS QO os a3 O 6 10 PROFIBUS Module ID PNO ID BFM 26 BFM Access Read Only wre Shows the PROFIBUS Module ID from PNO The value is F364 Hex SS g E 6 11 Master Reset BFM 27 gt BFM Access Read Write Dune N QU When the Master Reset Request is set to K2 the 64DP M will do a Hardware reset This reset is equivalent to ER a Power down reset After the reset this Register will automatically be erased to KO ca e o E O 0 G 30 sonsoubeiq Lo gt UONEWWOJUT UOISIO 55 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 12 Setting Error Flags BFM 28 6 12 Setting Error Flags BFM 28 BFM Access Read Write The following table shows the reasons for a setting error BFM 29 Bit 4 The Bits can be reset by writing a 0 to each Bit Bit No Description Bit O Write access to Not used or read only BFM has occurred Bit 1 Wrong value was written to BFM 1 Co
20. 3373 by TO instructions etc it is not refreshed until the following SYNC or UNSYNC global command is issued from the PROFIBUS DP in SYNC Global Control Mode SYNC and UNCYNC Global Control command sending procedure gt By user program Automatically by 64DP M Write the output data of the DP Slave to the Cyclic Output Data Area BFM Writ 2350 to 3373 Hz output Write the SYNC Global Control data command and group setting to Global Control Area BFM 9390 by TO instruction etc N sme X Write the output data of the DP Slave in SYNC mode to the Cyclic Output Data Area BFM 2350 to 3373 by TO instruction etc N Write output data Write the SYNC or UNSYNC Global Control command and group setting to Global Control Area BFM 9390 by TO instruction etc S C Output data of specified DP Slaves in SYNC mode are refreshed at same time 6 36 3 FREEZE and UNFREEZE Global Control The FREEZE UNFREEZE Global Control controls the input data communication from the DP Slave to the 64DP M For FREEZE and UNFREEZE Global Control command sending procedure refer to the next page For allocation of Global Control Area refer to Section 6 36 1 For Cyclic Input Data refer to Section 5 1 and 6 23 FX3U FX3UC Seri PLC 64DP M Master Class 1 Buffer memory Cyclic Input Data Area Global Control Area Example SE the FREEZE command to DP Slaves in l e group 3 PROFIBUS DP Network
21. 64DP M Master Class 1 Buffer memory TI FROM or RBFM instructions BFM direct designation in applied instruction Input Data Area for Cyclic Data Communication LD 2 TO or WBFM instructions Write BFM direct designation in applied eos Output Data Area instruction Saa E for Cyclic Data a Communication S s E Ad BPE DZ CH ooQ Bae Input data Input data Output data S S image image Lk image SS CD Wa Output data j image O UV Slaves a3 SS ow D D D D gt DI 2 Cyclic output data sending procedure in consistency mode 2 When Cyclic Output Data Consistency Activate Deactivate Flag BFM 92 to 95 is ON for the DP Slave by 8 setting slave parameter in GX Configurator DP the following procedure should be used u m Write the output data of the gt By user program amp 2 DP Slave to the Output Data l 32 Area BFM 2350 to 3373 p Automatically by 64DP M by TO instruction etc Do not write to the Output 9 Data Area of the DP Set Output Data Send Flag d Slave during this time gt 2 BFM 225 to 288 Bit 0 for E the DP Slave to ON 2 We Ss So 30 o 67 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 24 Cyclic Output Data 6 24 1 Cyclic Output Data Consistency Activate Deactivate Flags BFM 92 to 95 BFM Access Read Write These flags are used to handle t
22. 75 kbps and default address is 0 Other default parameter data are matched accordingly This error can be corrected if there is a complete configuration downloaded to the DP Master from GX Configurator DP 11 Mode Change Not Possible Flag BFM 29 Bit 12 This flag is ON when the Operation Service Mode can not change from 3 to 0 by writing to BFM 39 If at least one input or output area of a DP Slave is greater than 32 bytes the error will occur because this data length is too larger for Mode 0 in mode 0O I O data length is 32 bytes or less In this error case download the configuration that changed the I O data length to 32 bytes or less on the DP Slave configuration in GX Configurator DP However this data length configuration is not possible for every DP Slave In this case service mode 3 has to be used For Operation Service Mode BFM 39 refer to Section 6 20 12 Diagnostic FIFO Is Full BFM 29 Bit 13 This flag is ON if the Diagnosis FIFO already contains 64 entries When BFM 29 Bit 13 resets Diagnostic FIFO Information will be cleared in one step This Flag will also be reset after changing from STOP to RUN mode If this Bit is ON 64DP M can not stock the next Slave Diagnostic Information into Internal Diagnostic FIFO Area until this bit is OFF For Diagnostic Information FIFO refer to Section 6 30 Note To clear this flag execute the following 3 methods e Change modes from STOP to RUN Changes value in BFM 1 f
23. Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 24 Cyclic Output Data mmh 6 24 3 Cyclic Output Data Area in Normal Service Mode BFM 2350 to 3373 BFM Access Read Write 64DP M can exchange 32 bytes 16 words of cyclic output data to every DP Slave as follows BFM Address BFM Address Upper byte Lower byte Bit O 2 BFM 2350 p Ist station 3 2365 S 2366 S 8th byte 7th byte 2nd station 2381 2382 3rd station Ki uonegteut LA 2397 3358 X 64th station CH t t 3373 N 2381 32th byte 31th byte Note buum d If the output data size of the DP Slave is less than 32 bytes then the output data area of this DP Slave will have a free area If the output data of the DP Slave is more than 32 bytes then the Extended Service Mode needs to be used Qi Example oi 5 When the ist station has 20 bytes for output data the output data area of the 1st station has a free area B between the 21st and 32nd byte The value of this free area is 0 S 3 BFM Address BFM Address Upper byte Lower byte Bit O E BFM 2350 1st station 4th byte 3rd byte oe 2968 Bee 2366 BER 2nd station N 3 2 2381 2350 j 3rd station is 2397 S eme 97g ene EE 2367 F 3358 S w 64th station 3373 8 a i jad sonsoubeiq Lo gt UONEWWOJUI UOISIO 69 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs
24. OOOO DP Slave DP Slave No 45 No 46 No 47 No 63 No 64 1 An FX2NC CNV IF or FX3UC 1PS 5V is necessary to connect to the 64DP M with the FX3uc Series PLC However the 64DP M cannot be connected to the FX3UCc 32MT LT 2 gt 2 Communications can be conducted via a maximum of 3 repeaters from an arbitrary DP Master or St arbitrary DP Slave to an arbitrary DP Master or arbitrary DP Slave However the whole network can aS contain more than 3 repeaters S 19 1 Introduction FX3u 64DP M PROFIBUS DP Master Block Q z O S e HU O UN UN 2 as G 2 2 S rei D D gt 2 25 E wei SSES 2 2 LO Qa d 2 x WS SSES E E Ch Be 2 S S OS Dr L s S o 270 T T D o xZ o o o o wo L a a a O o Ee F Ce a vis Vu 2 Q S of ei WE CH i gB N LO 00 oo So e Se e t ap e O Z Z Z p xX D o E LL gt gt gt Ze E SO x D D D E 3g z S a a O aop iS E QAO Lo Z z See Q i Rag d N xX D D E S S bO O Ge Tp si D X o x lt A Z O op Ka LO 5 2 S o re SE z Z S o L e ae a S amp a S T A e co O Q S S e a ON O OU OU et LO S T e N 0 SS K N Q De gt O D e 2 p2 Z z Syz GI o D D i S Q e D E lt CH amp Ai H 5 sl Ka l A x lt We l N L o l b gt E E oy X OI E e L 2 e SG bh wl 7p 0b O 2 Si S D 2 E X i m E A Cc re O z O N lt pa op gt DP Slav
25. PLC CPU detects an error such as a watchdog timer error during self diagnosis all outputs are turned off Also when an error that cannot be detected by the PLC CPU occurs in an input output control block output control may be disabled Design external circuits and mechanisms to ensure safe operations of the machine in such a case 3 Note that when some sort of error occurs in a relay triac or transistor of the output unit block output may be kept on or off For output signals that may lead to serious accidents design external circuits and mechanisms to ensure safe operations of the machine suogeaoads uonegteut LA buum d LD DESIGN PRECAUTIONS NC AUTION Qogoz ono D oP e Make sure to observe the precautions below to prevent damages to the system due to the abnormal data writing 93 by noise to the PLC a 1 Do not bundle the control line together with or lay it close to the main circuit or power line As a guideline lay the control line at least 100mm 3 94 or more away from the main circuit or power line Noise may cause malfunctions 2 Ground the shield wire with the PLC Do not ground together with high voltage lines wee F f SO CH e Install module so that excessive force will not be applied to peripheral device connectors Failure to do so may EE result in wire damage breakage or PLC failure a2 Kaz STARTUP AND MAINTENANCE D PRECAUTIONS N WARN ING opg SE Do not touch any terminal while
26. Scan Function 6 44 3 Scan Slave FDL Address BFM 10061 BFM Access Read Only Shows the present scanned address while scan is in process When the scan is finished this value is set to 0 6 44 4 Number of Detected Slave BFM 10062 BFM Access Read Only Shows total number of detected DP Slaves 6 44 5 Detected Slave Lists BFM 10063 to 10443 BFM Access Read Only Shows the slave number slave FDL address and PNO ID of each detected DP Slave Detected DP Slave lists shows the following table BFM No Station No BFM address BFM No BFM address BFM 10063 1 Slave Number BFM 10072 4 Slave Number BFM 10064 1 Slave FDL address BFM 10073 Slave FDL address BFM 10065 PNO ID BFM 10074 PNO ID BFM 10066 2 Slave Number BFM 10067 2 Slave FDL address BFM 10068 PNO ID BFM 10069 3 Slave Number BFM 10441 127 Slave Number BFM 10070 3 Slave FDL address BFM 10442 Slave FDL address BFM 10071 PNO ID BFM 10443 PNO ID 101 Q O o Q O gt a S o ew 29 SaUOoUlaul JONG uoneinByuo5 pue siajoWeled mmh suoyeoyioeds N uononpou uonegteut La buum d LD Opol SWUULUOD gq JO uoevojiy Dune N wesbold aiduexy OO sonsoubeiq Lo gt UONEWWOJUT UOISIO FX3u 64DP M PROFIBUS DP Master Block 7 Setting Parameters and Configuration GX Configurator DP User s Manual 7 Setting Parameters and Configuration GX Configurator DP
27. UL ES UL DP Slave station No 1 DP Slave station No 2 Address No 1 Address No 2 8 1 2 Contents of Operation e D60 to D75 of DP Master FX3U PLC is written in DO to D15 of DP Slave station 1 FX1N PLC and D20 to D35 of DP Slave station 1 is written to D80 to D95 of DP Master In DP Slave station 1 DO is moved to D20 and D1 is moved to D21 Therefore the value of D80 and D81 that was sent from DP Master to DP Slave station 1 returns to D60 and D61 e D40 in DP Master FX3U PLC is output to the FX2N 16EYR ES UL on the DP Slave station 2 FX2N 32DP IF and the input status of FX2N 16EX ES UL on the DP Slave station 2 are read to D20 in DP Master e When an error occurs on PROFIBUS DP the error status is stored in D290 e When receiving Slave Diagnostic Information the information is stored in D100 to D125 105 mmh uononpou suoeoljioeds NO uoneyjesuy OO buum d LD 101 U09 IPOO SUULUOD gq Opol ew 29 s uow y yng OU O o as E Ss ek Di OD ow J Di CL Dune N JO UOHedOINY wesbold jdwex4 sonsoubeiq Lo gt UONEWWOJUT UOISIO FX3u 64DP M PROFIBUS DP Master Block 8 Example Program User s Manual 8 1 Example Program 1 8 1 3 Setting Network Configuration and Parameter for Example Program When setting the network configuration and parameters for example program use GX Configurator DP Ver 7 00A or later For op
28. and Alarm Message reading procedure see following time chart Y Note 8 This function can only be used in RUN BFM 0 K1 Clear BFM 0 K3 or AutoClear BFM 0 K4 mode FX3U FX3UC PLC main Unit 64DP M Master Class 1 Buffer memory Internal Alarm Message FIFO Area 4 FROM or RBFM instructions BFM direct designation in applied instruction uonegteut OO Alarm DT Message For each DP Slave 2 Alarm messages can be stocked 2 TO or WBFM instructions BFM direct designation in applied instruction buum d D PROFIBUS DP Network 7 x Y v Qi Qogoz Slaves ors p Send acknowledge to DP Slave Do O vp Send Alarm Message to 64DP M master o3 SC 1 Alarm Message reading procedure by Automatic Acknowledge Function For Slave Alarm Message Available refer to Subsection 6 13 9 For Automatical Acknowledge Setting Alarm Acknowledge Status Alarm Message Request Request Slave Number Alarm Message Data refer to Subsection 6 32 2 to 6 32 7 wee o 9 gt By user program as 3o O D Slave Alarm Message The slave sends the Alarm l Message to 64DP M Alarm Automatically by 64DP M Message Dune N Available BFM 29 Bit 10 ory SR All Alarm Messages of all DP Slaves are read Then S rf reset the Slave Alarm Message Available Flag BFM 29 a Bit 10 when all Alarm Message Status flags in BFM 8800 to 8803 become OFF 8 Alarm Message Status v
29. bits are to be assigned as zero A set bit indicates that diagnosis data are present in this I O area the type of diagnosis is not indicated The order defined during configuration must be maintained ExtDiagData 0 ExtDiagData 1 ExtDiagData 2 Channel related diagnosis Bit O to 5 Bit 6 Bit 7 Bit O Bit 1 Bit 2 Bit O Bit 1 Bit 2 Block length including header if value 63 then 62 bytes of diagnosis follows 1 0 1 1 1 Module 1 has diagnosis Module 2 has diagnosis Module 3 has diagnosis Module 9 has diagnosis Module 10 has diagnosis Module 11 has diagnosis In this block the diagnosed channels and the reason for diagnosis are entered consecutively The length of each entry is three bytes Identifier number ExtDiagData 0 ExtDiagData 1 ExtDiagData 2 ExtDiagData 3 Bit O to 5 Bit 6 Bit 7 Bit O to 5 Bit 6 Bit 7 Bit O to 4 Bit O to 4 Bit O to 4 Bit O to 4 Bit O to 4 Bit O to 4 Bit O to 4 Bit O to 4 Bit O to 4 Bit O to 4 Bit O to 4 Bit O to 4 Bit 5 to 7 Bit 5 to 7 Bit 5 to 7 Bit 5 to 7 Bit 5 to 7 Bit 5 to 7 Bit O to 5 Bit 6 Bit 7 Module number 0 to 63 0 1 Channel number 0 to 63 1 1 0 1 2 3 4 5 6 7 8 9 10 to 15 Reserved 16 to 31 Vendor specific 1 Channel Type 1 Bit error 2 Channel Type 2 Bit error 3 Channel Type 4 Bit error 4 Channel Type 1 B
30. exchange with the DP Slaves if va reset by 64DP M BFM 4 K3 BFM 29 shows no error All projected DP Slaves are exchanging data with 64DP M and the dwell time flag has been expired aiduexy OO weJBOld sonsoubeiq Lo gt UONEWWOJUT UOISIO 51 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 4 Consistency Handling Error Flags BFM 2 6 4 Consistency Handling Error Flags BFM 2 BFM Access Read Write These Bits show the reasons for a consistency error These Bits can be reset by writing a 0 to each Bit If any of these Bits are ON the corresponding Bit in BFM 29 Bit 5 will also be ON Resetting BFM 29 Bit 5 will also clear BFM 2 to KO An error will occur if reading writing BFMs during the respective consistency flag are not turned to OFF Bit No Description Cyclic Input Data Exchange This Bit is set to ON if reading input data from a DP Slave while the Input ave Consistency Error Data Consistency Flag of this DP Slave is ON Bit 1 Cyclic Output Data Exchange This Bit is set to ON if writing output data to a DP Slave while the Output Consistency Error Data Consistency Flag of this DP Slave is ON Bit 2 Acyclic Input Data Exchange This Bit is set to ON if reading input data from acyclic input while the Consistency Error Acyclic Input Data Request Flag of this channel is ON Bit 3 This Bit is set to ON if writing a request to an acyclic
31. for wiring and Supplied FX3U 64DP M JY997D19901 installation extracted from the FX3U 64DP Manual Installation Manual M User s Manual For details refer to FX3U 64DP M User s Manual Se Describes FX3U 64DP M PROFIBUS DP EENG Eege JY997D19201 Master Block specification details for wiring Manual _ User s Manual installation and allocation BFM s etc Describes FX3U 32DP PROFIBUS DP Interface Unit specification for wiring and Supplied FX3U 32DP JY997D24901 ele extracted from the FX3U 32DP Manual Installation Manual User s Manual For details refer to FX3uU 32DP Users Manual Gs Describes FX3U 32DP PROFIBUS DP Additional Eege JY992D25201 Interface Unit specification details for wiring Manual User s Manual installation and allocation BFM s etc Describes FXON 32NT DP PROFIBUS DP S PPan een JY992D61401 Interface Unit specification details for wiring Manual User s Manual installation and allocation BFM s etc PROFIBUS DP Interface Block Describes FX2N 32DP IF PROFIBUS DP Interface Unit specification for wiring and Supplied FX2N 32DP IF JY992D77101 DEE extracted from the FX2N 32DP Manual Hardware Manual IF User s Manual For details refer to FX2N 32DP IF User s Manual Ss Describes FX2N 32DP IF PROFIBUS DP EE Ee JY992D79401 Interface Unit specification details for wiring d Manual Users Manual installation and allocation BFM s etc Configuration Software
32. hole 2 04 5 0 18 mounting screw M4 screw DP TZO 4 Status LEDs DER oS LED Name Description 3 9 Lit During normal operation P 64DP M is in RUN mode all DP Slaves exchange data in Data Exchange mode 7 l Not all configurated DP Slaves are in data exchange Ss dee EENS For details refer to Section 9 1 Pag Unlit 64DP M is in STOP mode or an error has occurred za For diagnostic details refer to Section 9 1 SZ TOKEN Green lt when token is maintained D PLC access to 64DP M by FROM TO instruction 8 FROM TO el ven PLC does not access to 64DP M by FROM TO instruction am O 0 e ormar error has occurred E For diagnostic details refer to Section 9 1 and 9 2 SE ERROR Flicker Ei error or problem has occurred For diagnostic details refer to Section 9 1 and 9 2 During normal operation 9 Lit while 24V DC power is properly supplied from main unit Er For other LED status refer to Section 9 1 ai 5 Extension port under the top cover 6 Name plate 7 DIN rail mounting groove DIN rail DIN46277 8 DIN rail mounting hook gt UONEWWOJUT UOISIO 17 FX3u 64DP M PROFIBUS DP Master Block 1 Introduction User s Manual 1 3 System Configuration 1 2 2 Pin Configuration of PROFIBUS DP Connector The connector is a 9 pin D SUB 4 40unc inch screw thread type with the pin configuration shown below Pin No Meaning Receive transmit Data P Data Ground Voltage Plus 5V 90mA
33. major accident even if any problem or fault should occur in the programmable logic controller device and that backup and fail safe functions are systematically provided outside of the device for any problem or fault 2 The Mitsubishi programmable logic controller has been designed and manufactured for applications in general industries etc Thus applications in which the public could be affected such as in nuclear power plants and other power plants operated by respective power companies and applications in which a special quality assurance system is required such as for Railway companies or Public service purposes shall be excluded from the programmable logic controller applications In addition applications in which human life or property that could be greatly affected such as in aircraft medical applications incineration and fuel devices manned transportation equipment for recreation and amusement and safety devices shall also be excluded from the programmable logic controller range of applications However in certain cases some applications may be possible providing the user consults their local Mitsubishi representative outlining the special requirements of the project and providing that all parties concerned agree to the special circumstances solely at the users discretion 127 FX3u 64DP M PROFIBUS DP Master Block User s Manual Revised History Revised History Date 8 2005 4 2006 4 2008
34. n Read Error status to D200 Attention The evaluation of the Error status must be done in the application fic PLO specific program FROM M EN ENO M KO ni d D200 k29 i ki n3 120 FX3u 64DP M PROFIBUS DP Master Block 9 Diagnostics User s Manual 9 1 Preliminary Checks 9 Diagnostics STARTUP AND MAINTENANCE PRECAUTIONS WARNING Do not touch any terminal while the PLC s power is on Doing so may cause electric shock or malfunctions Before cleaning or retightening terminals externally cut off all phases of the power supply Failure to do so may cause electric shock Before modifying or disrupting the program in operation or running the PLC carefully read through this manual and the associated manuals and ensure the safety of the operation An operation error may damage the machinery or cause accidents STARTUP AND MAINTENANCE PRECAUTIONS CAUTION Do not disassemble or modify the unit Doing so may cause fire equipment failures or malfunctions For repair contact your local Mitsubishi Electric distributor Do not drop the product and exert strong impact Doing so may cause damage Turn off the power to the PLC before attaching or detaching the peripheral devices Failure to do so may cause equipment failures or malfunctions 9 1 Preliminary Checks Check the POWER RUN and ERROR LED status 1 POWER LED LED State Description Lit The power is being correctly supplied f
35. rail DIN46227 or mounted directly using screws S l 3 2 1 Direct Mounting i J The 64DP M can be mounted with M4 screws by using the direct mounting holes l 2 I The 64DP M mounting hole pitches are shown below l Ce E E Si 4 39 l l l l Shows the reference 4 The mark of gt is i S expressing the reference Mounting screw M4 screw d tin ti nan d th e An interval space between each unit of 1 to 2 mm 0 04 to 0 08 is necessary estination a e Mountthe main unit UO extension units blocks and special function units blocks which are installed on the refe rence manu al left side of 64DP M first 5 Direct Mounting Procedure SE 2 H 1 Make mounting holes in the mounting surface referring to SS the above diagram g 3 2 Fit the 64DP M right fig A based on the holes and secure it with M4 screws right fig B age OO es N puo OH aen OV buum SOUS Jeyng uoleinByuos pue Sisi UE Bes N CO wesbosd jdwexa 3 Connect extension cable right fig C to the main unit UO extension unit block or special function unit block to the left side For extension cable connection procedure N refer to FX3U PLC Hardware Edition gt AS N A RNN sonsoubeig O J A Z A bk d 4 wb A A ON WOEN Ke WY 14 FX3u 64DP M PROFIBUS DP Master Block User s Manual Readin
36. relay triac or transistor of the output unit block output may be kept on or off For output signals that may lead to serious accidents design external circuits and mechanisms to ensure safe operations of the machine DESIGN PRECAUTIONS NC AUTION e Make sure to observe the precautions below to prevent damages to the system due to the abnormal data writing by noise to the PLC 1 Do not bundle the control line together with or lay it close to the main circuit or power line As a guideline lay the control line at least 100mm 3 94 or more away from the main circuit or power line Noise may cause malfunctions 2 Ground the shield wire with the PLC Do not ground together with high voltage lines e Install module so that excessive force will not be applied to peripheral device connectors Failure to do so may result in wire damage breakage or PLC failure INSTALLATION PRECAUTIONS N WARNING e 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 30 FX3u 64DP M PROFIBUS DP Master Block 3 Installation User s Manual mmh S INSTALLATION PRECAUTIONS CAUTIO N 3 O e Use the product within the generic environment specifications described in the PLC main unit manual Hardware Edition Never use the product in areas with dust oily smoke conductive dusts corrosive gas salt air CL H S SQ or 2 NO flammable gas
37. stocked 2 TO or WBFM instructions BFM direct designation in applied instruction Slaves p Send acknowledge to DP Slave vy Send Alarm Message to 64DP M master 5 4 Global Control The 64DP M supports SYNC UNSYNC and FREEZE UNFREEZE Global Control Service The 64DP M is normally set as UNSYNC and UNFREEZE in Global Control Mode For allocation of setteing error flags refer to Section 6 12 For details on Global Control Area refer to Section 6 36 FX3U FX3UC Series PLC 64DP M Master Class 1 Buffer memory Global Control Area Example Sending the Global Control command a to DP Slaves in groups 1 and 2 E PROFIBUS DP Network TI TI E EE GE GE E E E Groupp S b Group 2 Group 8 42 FX3u 64DP M PROFIBUS DP Master Block 5 Mode Data Communication Global Control User s Manual 5 4 Global Control mmh 5 4 1 SYNC and UNSYNC Global Control The SYNC UNSYNC Global Control controls the output data communication from the 64DP M to the DP 3 Slave For details on Global Control refer to Section 6 36 For Cyclic Output Data refer to Section 5 1 and 6 36 1 2 EE SAP Nasterii S PLC Buffer memory Cyclic Output Data Area Global Control Area Example Sending the SYNC command to DP Slaves in group 1 PROFIBUS DP Network Group 1 De Group 1 DP S DP uonegteut La 4 5 Output image memory Data is always refreshed using polling R
38. the DP Slave can store additional vendor specific alarm data 7 For additional vendor specific alarm data please see manual of the DP Slave module A 3S 89 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 33 Address Information Area BFM 9140 to 9267 6 32 8 Alarm ACK Request BFM 8970 BFM Access Read Write only 1 scan Sets to ON when sending the Acknowledge for Alarm Message to specified DP Slave by BFM 8971 When sending acknowledge to the DP Slave this request and Alarm Message Status BFM 8800 to 8803 will be reset 6 32 9 Slave Number BFM 8971 BFM Access Read Write Write the slave number which shall be sent Acknowledge for Alarm Message 6 33 Address Information Area BFM 9140 to 9267 BFM Access Read Only Address Information Area shows the following information of each projected DP Slave in 64DP M Address Information Area assignment is as follows e Slave FDL address e Input data length bytes e Output data length bytes Note e The slave FDL address is different from the projected slave number Slave FDL addresses do not need to be sequential numbers but are displayed in ascending order e Any station address that is not assigned is set to FFFF hex code the input or output byte length is FF hex code Address Information Area assignment BFM Address pit 15 Upper byte Lower byte Bit O 9266 Slave FDL addre
39. the DP Slave has not yet been parameterized the master FDL address will receive the value S 6 IdentNumber A DP Slave is uniquely identified by the identification mark 7 Length gee Length of the diagnostic data Bee e 8 ExtDiagDataf 3 In this data the DP Slave can store additional vendor specific diagnosis information Block structures are defined for device identifier and channel related diagnosis information Dune N 1 Device related diagnosis DPV0O ory The block for device related diagnosis consists of a header byte and a variable number of bytes with general device specific diagnosis information such as excess temperature under or overvoltage The 2 coding is device specific For further evaluation the IdentNumber and the GSD must be used SCH ExtDiagData O BitOto5 Block length including header 8 if value 63 then 62 bytes of diagnosis follows u m Bit 6 Sp 3 o S Bit 7 0 30 E amp S 3 35 wu 3 5 79 FX3u 64DP M PROFIBUS DP Master Block User s Manual 6 Allocation of Buffer Memories BFMs 6 29 Slave Diagnostic Information 2 3 Identifier related diagnosis module diagnosis The block for identifier related diagnosis consists of a header byte and a variable number of bytes with identifier related diagnostic information One bit is reserved for each identifier byte assigned during configuration The bit structure is always filled up to the byte limit non configured
40. this communication time Communication time Total PROFIBUS bus cycle time for each DP Slave 2 x Scan time 2 1 An FX2NC CNV IF or FX3UC 1PS 5V is necessary to connect to the 64DP M with the FX3uUc Series PLC However the 64DP M cannot be connected to the FX3UCc 32MT LT 2 2 The PROFIBUS bus cycle time is a data update cycle time between the 64DP M and DP Slaves The BFM 6 to 8 show the PROFIBUS bus cycle time To obtain the PROFIBUS Bus Cycle Time refer to Subsection 1 4 2 and Section 6 8 A D8010 to D 8012 show the scan time of the PLC Note The PROFIBUS cycle time and FROM TO instruction operates asynchronously If data is written to the 64DP M in the PROFIBUS cycle time this data will move to the system area on the next PROFIBUS cycle time Reference The FROM TO Execution Time varies as follows depending on the data amount to be transferred A This table is also applicable to the other instructions accessing the 64DP M BFMs FROM TO Execution Time details Execution time in ON status us Execution time in OFF status us 16 bit instruction 32 bit instruction 16 bit instruction 32 bit instruction FX3U 64DP M FROM 15 275n 15 390n 0 585 1 105 BFM 350 to 1373 15 345n 15 490n 0 585 1 105 BFM 2350 to 3373 n The number of transferred data Note Note e The execution times above are approximate values for the FX3U 64DP M e The FROM TO Execution Time varies
41. to BFM 224 BFM 225 to BFM 288 BFM 289 to BFM 349 BFM 350 to BFM 1373 BFM 1374 to BFM 2349 BFM 2350 to BFM 3373 BFM 3374 to BFM 4499 BFM 4500 to BFM 4503 BFM 4504 to BFM 4509 BFM 4510 to BFM 4513 BFM 4514 to BFM 4519 BFM 4520 to BFM 5015 BFM 5016 to BFM 5759 Description BFMs Access Reference EEN pe ooo ES E This flag is used to exchange the cyclic input data of more than 16 bits to DP Slaves men Il Cyclic Input Data Request Flags This flag is used to exchange the Cyclic Output Data Send Flags cyclic output data of more than 16 bits to DP Slaves men Il Cyclic Input Data Area Reads input data of cyclic communication from this area Normal Service Mode Mode 0 32 bytes slave Extended Service Mode Mode 3 Maximum 244 bytes slave total 2048 bytes for all DP Slaves men Il Cyclic Output Data Area Writes output data of cyclic communication to this area Normal Service Mode Mode 0 32 bytes slave Extended Service Mode Mode 3 Maximum 244 bytes slave total 2048 bytes for all DP Slaves Nosed ie Acyclic Input Data Request Flags This flag is used to exchange the Acyclic Input Data for each acyclic DP Slave channel Noses This flag is used to exchange the Acyclic Output Data for each acyclic v v me ie Reads input data of Acyclic Acyclic Output Data Send Flags Acyc
42. 2 si BFM 8935 SlaveAddress g BFM 8936 Type S BFM 8937 SlotNumber a BFM 8938 Specifier 3 BFM 8939 BlockLength BFM 8940 to 8969 DiagnosticUserData 59 bytes A 1 SlaveAddress S PROFIBUS address of the DP Slave whose alarm entry has been read The valid range lies between 1 and 125 4 2 Type yp lt Value Description 2 0x01 Diagnostic alarm e g short circuit or excess temperature 0x02 Process alarm event in the connected process 0x03 Pull alarm module removed Qi 0x04 Plug alarm module added 0x05 Status alarm change of state SIS CD Ox06 Update alarm change of parameters St 0x20 User specific alarms The maximum possible number of user specific alarms is Ox5E sa 3 SlotNumber Number of the slot which has caused the alarm This number is defined by the addressing for acyclic GIE services 13 lt T 8 Gen SaS 4 Specifier 39 Characterizes the state of the alarm and contains the sequence number of the alarm The range for the D sequence number lies between 0 and 31 States Ri e 0 no furthers differentiation EFE e 1 Alarm appears a e 2 Alarm disappears Ce e 3 Alarm disappears and pending 8 e 4 Alarm requires additional user acknowledge PT Note 33 In addition to the Alarm Acknowledge the alarm needs a special acyclic write service for resetting 5 BlockLength 9 Length of the alarm data The valid range lies between 4 and 63 6 DiagnosticUserData z In this data
43. 2 Read cyclic input data of U0 G366 D20 DP Slave station No 2 from QYZ BFM 366 SEI D ED Oo FNC 12 Set cyclic input data request oe Cyclic output data consistency activate deactivate flag for DP Slave station No 2 6 D2 1 Read cyclic input data of SS Ge U0 G366 D20 DP Slave station No 2 from E 3 z BFM 366 SECHS o M8000 3 S FNC 12 coq D290 Read master error status D RUN MOV from BFM 29 monitor D oO When reading the alarm message form DP slave please include the Oz processing program as the reference in the section 8 2 Sis a a a a ee ee ee EE ea ea l ra 3 ao ET M8000 Read cyclic slave a amp Ge U0 G7200 D300 communication error flag SH RUN from BFM 7200 to 7203 2 monitor Cyclic slave communication error flag for DP Slave station No 1 D290 9 D300 0 Sg nove Slave diagnosis available FNC 12 M8000 FNC 12 Read slave diagnostic ey Voerz K1M100 request flag from BFM RUN monitor 7208 flag Slave diagnostic request M100 FNC 15 Read slave diagnostic J BMOV U0 G7210 D100 K126 information data from BFM 7210 to 7335 Write slave number to read slave diagnostic information data to BFM 7209 U0 G7209 Set slave diagnostic request UO G7208 BFM 7208 Bit 0 to ON D vi L I E O LO gt UONEWWOJUT UOISIO y Continue to the next page V 111 FX3u 64DP M PROFIBUS DP Master Block 8 Example Program User s Manual 8 1 Example Program 1 O heck pr
44. 4 4768 4892 A e When reading data Shows the projected slave number The valid range lies between 1 and 64 slaves e When writing request data Writes the slot number for reading This number is defined by BFM BFM BFM BFM 4 the addressing for acyclic services 4521 4645 4769 4893 SlotNumber When reading data Shows the slot number This number is defined by the addressing for acyclic services e When writing request data BFM BFM BFM BFM 4 Writes the index value 4522 4646 4770 4894 Mdex When reading data Shows the index value of the data e When writing request data Writes the data length for reading The valid range lies between BFM BFM BFM BFM 4 1 and 240 bytes 4523 4647 4771 4895 Length When reading data Shows the data length of the read data The valid range lies between 1 and 240 bytes User data Datal 2 For data format details refer to the manual of DP Slave 1 One byte is written to one separate BFM except for the Data field 2 Size of Datal is 240 bytes BFM 4524 to 4643 to 4767 to 4891 to 5015 72 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 26 Acyclic Output Data mmh 6 26 Acyclic Output Data The acyclic communication can be used for setting and change the DP Slave parameter during cyclic S communication The I O data channel consists of 244 byte 4 Byte header data and u
45. 4 6 13 and 6 30 S w For details on Slave Diagnostic Information FIFO refer to Section 6 30 ere 64DP M Master Class 1 8 Buffer memory Internal Slave Diagnostic aM FIFO Area 1 FROM or RBFM instructions Se FIFO BFM direct designation in 30 Diagnostic Diagnostic FIFO Data applied instruction Information max 64 entries i Data 2 TO or WBFM instructions BFM direct designation in applied instruction fT sonsoubeiq Lo Slave Diagnostic Information for FIFO function iE um WI 1 PROFIBUS DP Network UOISIO gt UONEWIOJU 41 FX3u 64DP M PROFIBUS DP Master Block 5 Mode Data Communication Global Control User s Manual 5 4 Global Control 5 3 2 Alarm Message The 64DP M can handle Alarm Messages from the PROFIBUS DPV1 slaves alarm model When receiving an Alarm Message from the DP Slave 64DP M should acknowledge receiving from the DP Slave If 64DP M does not acknowledge the DP Slave can not send a new alarm message Note This function can only be used in RUN BFM 0 K1 Clear BFM 0 K3 or AutoClear BFM 0 K4 mode For allocation of flags refer to Section 6 4 6 13 and 6 32 For details on Alarm Message refer to Section 6 32 FX3uU FX3uc PLC main Unit 64DP M Master Class 1 Buffer memory Internal Alarm Message FIFO Area zi FROM or RBFM instructions ge BFM direct designation in a applied instruction Message For each DP Slave 2 Alarm PP messages can be
46. 535 LD Default 30 30 x 100 us 3 ms ooz DE In case of master master communication this parameter specifies the E Polling timeout ieee 2 o Ix 1 ms max amount of time it may take the requestor to fetch the response 1 to 65535 og Default 50 50 ms 3 This parameter defines the period of time during which the DP Master Data control time module notifies the DP Slave operation status This time is 6 times longer 1 to 65535 6 x 10 ms than the watchdog control of DP Slaves Default 100 100 x 10 ms 1 second were SE This check box enables the watchdog checking in all DP Slaves LS Watchdog l gt oS Default Not checked 30 When the check box Watchdog is checked this specifies the maximum D time without communication after which the DP Slave will regard the connection to the DP Master to be broken If the DP Slave supports PROFIBUS DPV1 the unit will automatically be DDD Slave Watchdog set to either 10 ms or 1 ms depending on the setting of the Watchdog ER time x 10 ms Timebase flag in the user parameters of the DP Slave 1 to 65025 S 2 NOTE S Si The unit is only changed if the WDT option is enabled specifically for a DP Slave If WDT has been enabled via the DP Master all DP Slaves must use the default timebase of 10ms wesbold aiduexy OO sonsoubeiq Lo gt UONEWWOJUI UOISIO 103 FX3u 64DP M PROFIBUS DP Master Block 7 Setting Parameters and Configuration GX Configurator DP
47. 6 13 4 Setting Error Flag BFM 29 Bit 4 The Setting Error Flag is ON if accessing by FROM TO instruction etc to a protected BFM or if there is an invalid entry written to a BFM BFM 28 shows detailed information of the setting error Writing a KO will reset this Bit together with BFM 28 This Flag will be reset after the Mode changes from STOP to RUN If this Bit is ON the ERROR LED will be turned ON OFF in 500ms intervals 6 13 5 Consistency Error Flag BFM 29 Bit 5 The Consistency Error Flag is ON if there is an error in the data consistency handling detected This Bit reflects the status of BFM 2 If any of the bits in BFM 2 is set to ON BFM 29 Bit 5 is also set to ON This error occurs if data is written to the 64DP M or read from the 64DP M before the Output Data Send Flag or the Input Data Read Flag has been reset by the 64DP M Writing a KO will reset this Bit together with BFM 2 This Flag will be reset after the Mode changes from STOP to RUN If this Bit is ON the ERROR LED will be turned ON OFF in 500ms intervals 6 13 6 Acyclic Communication Deactivation Message Flag BFM 29 Bit 7 The Acyclic Communication Deactivation Message Flag is ON if there is a shutdown of the acyclic communication channel with a DP Slave The reasons for closing the acyclic communication channel can be that a DP Slave is not participating in acyclic communication any more the DP Slave is receiving new parameter data while it is in cy
48. 6 is set ON the oldest Diagnostic Information is moved from the FIFO to BFM 7338 to 7463 After moving of the information the flag is automatically reset 2 FIFO Diagnostic Request Flag assignment shows in the following table Y Bit No Description 8 Bit O Slave Diagnostic Request Flag e Bit 1 to 15 Not used 6 30 2 Internal FIFO Counter BFM 7337 BFM Access Read Write This value is the number of stocked Slave Diagnostic Information in Internal Diagnostic FIFO Area 64DP M can stock up to 64 information in Internal Diagnostic FIFO Area Note uone jesuy OO buum d When writing KO to BFM 7337 all FIFO Slave Diagnostic Information will be cleared from the Internal Diagnostic FIFO Area 6 30 3 Diagnostic FIFO Data Area BFM 7338 to 7463 LD BFM Access Read Only Read the Diagnostic FIFO Information from BFM 7338 to 7463 SS S Data format of Slave Diagnostic Information shows the following One byte is written to one separate BFM GE except for the ExtDiagData field Details of each data are shown below a5 For details of StationStatus1 StationStatus2 StationStatus3 MasterAddress IdentNumber ExtDiagData refer to Subsection 6 29 4 wre BFM No Description o3 BFM 7338 SlaveAddress ss BFM 7339 StationStatus1 S BFM 7340 StationStatus2 8 BFM 7341 StationStatus3 D DEM 7342 MasterAddress Sg A BFM 7343 IdentNumber GEZ BFM 7344 Length So BFM 7345 to 7463 ExtDiagData 238 byte a 1
49. 64DP M PROFIBUS DP Master Block 8 Example Program User s Manual 8 1 Example Program 1 8 Example Program STARTUP AND MAINTENANCE PRECAUTIONS WARNING Do not touch any terminal while the PLC s power is on Doing so may cause electric shock or malfunctions Before cleaning or retightening terminals externally cut off all phases of the power supply Failure to do so may cause electric shock Before modifying or disrupting the program in operation or running the PLC carefully read through this manual and the associated manuals and ensure the safety of the operation An operation error may damage the machinery or cause accidents STARTUP AND MAINTENANCE PRECAUTIONS CAUTION Do not disassemble or modify the unit Doing so may cause fire equipment failures or malfunctions For repair contact your local Mitsubishi Electric distributor Do not drop the product and exert strong impact Doing so may cause damage Turn off the power to the PLC before attaching or detaching the peripheral devices Failure to do so may cause equipment failures or malfunctions 8 1 Example Program 1 8 1 1 System Configuration Address No 0 GX Configurator DP i _ Ver 7 00A or more FX3U Series PLC PADANE Td Bus terminator e D60 to D75 e D40 Bus terminator e D80 to D95 e D20 RW E Fa e DO to D15 PROFIBUS DP Network e D20 to D35 FX1N FXON 32NT FX2N 16EX FX2N 16EYR Series PLC DP ES
50. 9684 3 Slave FDL address BFM 9867 Slave FDL address BFM 9685 PNO ID BFM 9868 PNO ID wee o e 6 44 PROFIBUS Scan Function SE Lists the following detected DP Slave information on PROFIBUS DP network when using this function These D information acquired by this function is stored in the buffer memory described by the table below TE e Configuration difference list ER e Total number of detected DP Slaves ao oo e Slave number Slave FDL address and PNO ID of each detected DP Slave SCH BEN No Description Reference 8 Get DP Slave List Request Subsecti Ym BFM 10052 Set to ON when using the PROFIBUS Scan Function in mode except EH SE 6 44 1 Ska Cyclic Exchange Mode 30 Configuration Difference Status Subsecti BFM 10053 to 10060 Shows difference between the projected configuration and the pi SCC detected configuration ER 9 BEM 10061 Scan Slave FDL Address Subsection el Shows the present scanned address during scan process 0 to 126 6 44 3 amp Number of Detected DP Slaves Subsection ER Shows total number of detected DP Slaves 6 44 4 Detected DP Slave Lists Subsecti BFM 10063 to 10443 Shows the Slave Number Slave FDL address and PNO ID of each ET A 6 44 5 detected DP Slave lt J 99 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 44 PROFIBUS Scan Function 6 44 1 Get DP Slave List Request BFM 10052 BFM Access Read Write only 1 scan Set to ON t
51. BFM F2 NEE 55 6 12 Setting Eror Flags BFM EE 56 6 13 Master Error Status E EE Di 6 13 1 Master Reset Status Flag BFM 29 Bit 0 2 0 0 eecccceecceceeeceeeeeeeeeeeeeseeeeesaeeeesseeeessaeeeseanes 57 6 13 2 Master Hardware Error BFM 29 Bit Alen eesedeesgeeegeedggerddetee ege NEES eseu 57 6 13 3 Slave Parameter Error BFM 29 Bit 3 57 6 134 Seting Error Flag BEM 29 Eege ee ee E 58 6 13 5 Consistency Error Flag BFM 29 B 58 6 13 6 Acyclic Communication Deactivation Message Flag BFM 29 Bud 58 6 13 7 PROFIBUS Error Flag BEM F29 CIE 58 6 13 8 Slave Diagnosis Available Flag BFM 29 Bra 58 6 13 9 Alarm Message Available Flag BFM 29 Bit IO 58 6 13 10 No Configuration Available Flag BFM 29 PI 58 6 13 11 Mode Change Not Possible Flag BFM 29 PBuI7 59 6 13 12 Diagnosis FIFO Full BFM 29 BI 59 6 13 13 Data Exchange Eror BFM 29 Bit leegen a a A E Age 59 6 13 14 Slave Change Address Error BFM 29 Print 59 6 14 Module ID Code BEM 30 egenen 59 6 15 PROFIBUS Master Address IDEMS 59 6 16 PROFIBUS Transmission Speed IDEMS3I 60 6 17 Clear Control Flag BFM R33 NEE 60 6 18 PROFIBUS Error Mask Flag BFM SA 61 6 19 Number of Allocated Slaves IDEMS 61 6 20 Operation Service Mode BFM A3OI 61 6 21 Data Swap Activate Flag BFM Stop 62 6 22 Change Slave FDL Address BFM 81 top 62 6 29 CV GIG IM DUE D eiaa E E cence Ghats d hentia auch ul ted iat uit EE eerste cenit 63 6 23 1 Cyclic Input Data Consistency Activate Deactivate Fla
52. D Opol SUULUOD gq JO UOHedOINY Dune N weJBOld aiduexyg OO sonsoubeiq Lo gt UONEWWOJUI UOISIO FX3u 64DP M PROFIBUS DP Master Block 3 Installation User s Manual 3 2 Mounting 3 2 2 DIN Rail Mounting The 64DP M can be mounted on a DIN rail DIN46227 35mm width For details on FX3U Series PLC refer to FX3U PLC Hardware Edition For details on FX3uc Series PLC refer to FX3UC PLC Hardware Edition Note e DIN rail uses DIN 46227 35mm width e An interval space between each unit of 1 to 2 mm 0 04 to 0 08 is necessary e Mount the main unit I O extension units blocks and special function units blocks which are installed in the left side of 64DP M first DIN Rail Mounting Procedure 1 Fit the upper edge of the DIN rail mounting groove right fig A onto the DIN rail 2 Push the product onto the DIN rail 3 Connect extension cable right fig B to the main unit I O extension unit block or special function unit block to the left side For extension cable connection procedure of FX3u Series PLC refer to FX3U PLC Hardware Edition For extension cable connection procedure of FX3uc Series PLC refer to FX3UC PLC Hardware Edition WWW 7 Y H C vi d y P o H 4 a D l GG N Mk Removing Procedure from DIN Rail 1 Disconnect the PROFIBUS DP communication cable and extension cables 2 Insert the tip of a screwdriver into the hole
53. DIN46227 or mounted directly using screws 3 2 1 Direct Mounting The 64DP M can be mounted with M4 screws by using the direct mounting holes The 64DP M mounting hole pitches are shown below For details on FX3U Series PLC refer to FX3U PLC Hardware Edition For details on FX3uc Series PLC refer to FX3UC PLC Hardware Edition 4 39 0 16 1 54 H GENE eo in ip E EE EAE i lolo ojo Pp Point e Mounting screw M4 screw e An interval space between each unit of 1 to 2 mm 0 04 to 0 08 is necessary e Mount the main unit I O extension units blocks and special function units blocks which are installed on the left side of 64DP M first Direct Mounting Procedure 1 Make mounting holes in the mounting surface referring to the above diagram 2 Fit the 64DP M right fig A based on the holes and secure it with M4 screws right fig B 3 Connect extension cable right fig C to the main unit I O extension unit block or special function unit block to the left side For extension cable connection procedure of FX3U PLC refer to FX3U PLC Hardware Edition For extension cable connection procedure of FX3UCPLC refer to FX3UC PLC Hardware Edition VAN Mk 7 o H d O Wi H ve i Gd Ny 33 ONJUOD JEQO D SW4g SOLOWS JONG uoneinByuo5 pue sidjoWeled mmh uononpou CO D Q sh O GI O 5 o uOoNe e SU buum d L
54. DP M can directly read the current Slave Diagnostic Information from the selected DP Slave by BFM 7209 BFM 7210 to 7335 For allocation of flags refer to Section 6 4 6 13 and 6 29 For details on Slave Diagnostic Information Data refer to Section 6 29 FX3Uu FX3uc PLC main Unit 64DP M Master Class 1 uonegteut La Buffer memory Internal Slave Diagnostic Slave FIFO Area 1 FROM or RBEM instructions Diagnostic BFM direct designation in Information Diagnostic FIFO Data applied instruction max 64 information 2 TO or WBFM instructions BFM direct designation in Diagnostic Information 4 5 Request Slave Diagnostic Information for FIFO function E 4 ge Se j 7 V a a PROFIBUS DP Network OO JEQO D Slaves 6 Point Ces SE This function can only be used in RUN BFM 0 K1 Clear BFM 0 K3 or AutoClear BFM 0 K4 mode Tess lo 2 Slave Diagnostic FIFO History The 64DP M can stack the Slave Diagnostic Information to a maximum of 64 entries in the Internal Diagnostic 7 FIFO Area for all DP Slaves The Slave Diagnostic Information which enters this Internal Diagnostic FIFO Area can be read stored in BFM 7338 to 7463 as history by the FIFO function OVP Moreover after stocking up to 64 Slave Diagnostic Information in Internal Diagnostic FIFO Area the new 28s Slave Diagnostic Information is not stocked will be ignored a For allocation of flags refer to Section 6
55. DP Slave cannot supply any valid input data The 64DP M fetches diagnoses until this Bit is reset by 2 the DP Slave During this time there is no exchange of process data Bit 2 This Bit is fixed to ON by the DP Slave S Bit 3 With this flag the DP Slave indicates that its watchdog timer is active If it receives no valid message from Si the 64DP M during this time it will leave the transmission of cyclic data and go into the fail safe state a The DP Slave sets this Bit as soon as it has received the FREEZE control command from the 64DP M Bit 4 l Control commands are transferred by the Global Control service 3 Bit 5 The DP Slave sets this Bit as soon as it has received the SYNC control command from the 64DP M _ Control commands are transferred with the Global Control service D Bit 7 This flag is set by the 64DP M if a DP Slave has been labelled as deactivated in the parameter set or has a been removed from cyclic processing 4 StationStatus3 Bit No Description Bit O to 6 Not used This Bit can be influenced both by the 64DP M and by the DP Slave The 64DP M sets it if the DP Slave sends more diagnostic information than the 64DP M can store in its diagnosis buffer The DP Slave application sets this Bit if there are more diagnosis information than the DP Slave can process even by repeated diagnosis information buum d Bit 7 LD 5 MasterAddress oss Station address of the 64DP M which has parameterized the DP Slave So If
56. E Group 8 Group 3 x Group 3 DP Slave 1 DP Slave 2 ae Input image memory The data is always refreshed by polling a rr lt During UNFREEZE execution default gt The actual input is input to the input memory immediately normal condition lt During FREEZE execution gt The actual input is input once into the input image memory at the FREEZE service timing V Service FREEZE issued within the same group 1 FREEZE Global Control command In Freeze mode the input data of DP Slaves which belong to the group specified by BFM 9390 is set to freeze no cyclical refresh of input data Only after sending another FREEZE UNFREEZE Global Control command to the DP Slaves is the input data read from those DP Slaves into the 64DP M updated 94 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 37 Information Dwell Time Setting BEM 9394 mmh 2 UNFREEZE Global Control command When sending an UNFREEZE Global Control command to a DP Slave which is in FREEZE mode the DP Slave will be released from FREEZE mode and will cause that input data sent from this DP Slave to z be continuously updated By specifying a group of DP Slaves in BFM 9390 the UNFREEZE command can be performed on arbitrary DP Slaves similar to the FREEZE command 2 A Note 2 When using FREEZE Global Control command input data received from DP Slave is not refreshed until next FREEZE or UNFREEZE global co
57. EADE BFM 83 by TO instruction etc gt yey Do not access to BFM 81 to 83 during this time Set the Change Slave FDL Address Flag BFM 81 Bit 0 write K1 to BFM 81 Note e When using this function the DP Slave must support this function e This function effect in STOP mode BFM 0 KO If access to BFM 81 to 83 during 81 Bit 0 is ON the Slave Change Address Error BFM 29 Bit 15 will occur turn ON 62 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 23 Cyclic Input Data mmh 6 23 Cyclic Input Data S Input data areas are used to store cyclic input data form the DP Slaves on the PROFIBUS DP network There S are 2 input data formats Normal Service Mode type Mode 0 and Extended Service Mode type Mode 3 These modes can be selected by writing to the operation mode BFM 39 If the consistency mode flag BFM 84 to 87 of a DP Slave is set the user has to apply the data 2 consistency handling described in Section 5 1 o The 64DP M has to use Data Consistency Mode to exchange data to DP Slaves when input data is more S than 16 bits When using the Data Communication Consistency Mode communication procedure is shown in 8 the following timing chart For operation service mode details refer to Subsection 5 1 1 and Section 6 20 For data format detail of Normal Service Mode refer to Subsection 6 23 3 gt For data format detail of Extended
58. ENO E request flag from BFM 4 Module UN G101 s d D13 101 READY Cyclic input data request fla SS Signal og for DP Slave Ster No 2 i UV NM Read cyclic input data of 5 NO DP Slave station No 2 amp UDG366 5 d 020 from BFM 366 MOW M Set cyclic input data a a Ge ean request flag to ON 5 ps Cyclic output data consistency activate D DT deactivate flag for DP Slave station No 2 MOV _M Read cyclic input data of lt _ _ _ EE E i DP Slave station No 2 Gs UO G36 s d D20 from BFM 366 SS S E Ve D cO QO ae eae Read master error status S RUN LE d oso from BFM 29 Monto ee ee When the PLC needs to read the alarm message from DP Slave 6 include the sample program shown in the section 8 2000 a Bee p O P 1 LE ee ee l Read cyclic slave ZS SE ES ER from BFM 7200 to 7203 3 9 onitor 3 E WT Write slave number to 12 0230 3 MOP M read slave diagnostic ODL i EN ENO M information data to BFM n Slave 0300 0 s s d US 200 7209 E SE diagnosis Cyclic slave communication error g MOVPE M Set slave diagnostic ee eee flag for DP Slave station No 1 EN ENO S request BFM 7208 Bit 0 5 g ag is d UN G7208 to ON To the next page 115 D vi L I O LO gt UONEWWOJUT UOISIO FX3u 64DP M PROFIBUS DP Master Block User s Manual 8 Example Program 8 1 Example Program 1 13 MB000 RUN Monitor 14 LOF_M EN ENO 100 s Slave diagnos
59. FFF 9613 Output start address of 63rd station is OxFFFF 9614 Output start address of 64th station is OxFFFF 98 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BF Ms User s Manual 6 42 Number of Configured Slaves BFM 9676 6 42 Number of Configured Slaves BFM 9676 BFM Access Read Only S Shows the total number of projected DP Slaves in 64DP M 6 43 Slave Number Slave FDL Address Slave PNO ID BFM 9677 to 9868 9 BFM Access Read Only S Shows the following information of each projected DP Slave These values are set by GX Configurator DP a The DP Slaves are displayed in ascending Slave FDL Address order i e the DP Slave with the lowest PROFIBUS address becomes slave number one the DP Slave with the next lowest PROFIBUS address 3 becomes slave number two etc After boot up of the 64DP M this information is available after the Module READY Signal BFM 5 Bit 0 is set to S ON by the 64DP M Si For Module READY Signal BFM 5 Bit 0 refer to Section 6 7 e Projected slave number e PROFIBUS Slave FDL address 4 e PNO ID BFM No Station No BFM address BFM No BFM address BFM 9677 1 Slave Number BFM EES 4 Slave Number BFM 9678 1 Slave FDL address BFM 9687 Slave FDL address 5 BFM 9679 PNO ID BFM 9688 PNO ID QUZ BFM 9680 2 Slave Number O a BFM 9681 2 Slave FDL address o9 BFM 9682 PNO ID sa BFM 9683 3 Slave Number BFM 9866 64 Slave Number BFM
60. FIBUS DP Master Block 1 Introduction User s Manual 1 3 System Configuration 2 Connecting 1 Master Class 1 and 1 repeater on the PROFIBUS DP network 5 O GX Configurator DP l S C Ver 7 00A or later FX3uU FX3UC 1 Iess SC M Series PLC Master of Class 1 9 No 80 2 Bus terminator yee terminator 2 E E g PROFIBUS DP Network si LO DP Slave DP Slave DP Slave DP Slave DP Slave e Ge e uonegteut La DP Slave DP Slave DP Slave DP Slave DP Slave No 31 No 32 No u No 60 No 61 TI An FX2NC CNV IF or FX3UC 1PS 5V is necessary to connect to the 64DP M with the FX3uc Series PLC However the 64DP M cannot be connected to the FX3UCc 32MT LT 2 2 In this system configuration the 64DP M can connect a maximum of 61 slaves as a repeater is used buum d 3 Connecting 1 Master Class 1 and 3 repeaters on the PROFIBUS DP network LD GX Configurator DP A ooz C Ver 7 00A or later FX3U FX3uc 1 s SC SCH Series PLO Master of Class 1 Gei No 70 2 Os Bus terminator 535 Ei e Bus terminator E x 6 PROFIBUS DP Network Bee Zao Bee O DP Slave DP Slave DP Slave DP Slave DP Slave S 3 e F i LO DP Slave DP Slave DP Slave DP Slave SE Slav Slav Slav Slav co Repeater No 19 Naz e se se No 34 No 35 zg E U m gs DP Slave DP Slave DP Slave DP Slave S2 e i sonsoubeiq Lo DP Slave DP Slave DP Slave lt lt lt 2 2 2
61. FNC 16 Module READY Signal is ON Initialisation of dwell time U0 G9394 4 seconds Set cyclic input data request flag for 1st reading process to ON Write initial output data of DP Slave station No 1 Write initial output data of DP Slave station No 2 Read cyclic output data MO FNC 15 UO G92 oDe ok consistency activate tivate fl f BFM Module READY Ene oe Signal Read cyclic input data FNC 15 consistency activate BMOV EES deactivate flags from BFM 84 to 87 eg sive FNC 12 U0 G225 D10 Read cyclic output data Modul MOV send flag from BFM 225 AE Cyclic output data send flag for DP Signal Slave station No 1 D10 0 FNC 15 FNC 12 Set cyclic output data send U0 G225 H flag of DP Slave station Cyclic output data consistency activate No 1 to ON deactivate flag for DP Slave station No 1 l D6 0 Write output data of DP FNC 15 Slave station No 1 D80 to BMOV rar Wel ve D95 to BEM 2350 to 2365 RS Bpad FNC 12 Uo G226 D11 Read cyclic output data MOV send flag from BFM 226 A Cyclic output data send flag for DP Signal Slave station No 2 D11 0 FNC 12 D40 U0 G2366 FNC 12 Set cyclic output data send U0 G226 H flag of DP Slave station Cyclic output data consistency activate No 2 to ON deactivate flag for DP Slave station No 2 D6 1 FNC 12 Write output data of DP D40 U0 G23664 Slave station No 2 D40 to BFM 2366 MO FNC 12 Set Data Exch Start K1 UO G1 et Data Exchange
62. Flag is ON Bit 12 Alarm Acknowledge Write This Bit is set to ON if writing a new value to the Alarm ACK request Slave Consistency Error Number while the Alarm ACK request Flag is ON Alarm Acknowledge Write This Bit is set to ON if writing an Alarm ACK request while the Alarm ACK Bit 13 l Request Consistency Error request Flag is ON Bit 14 Change Slave FDL Address This Bit is set to ON if reading the Slave FDL address while the Change Consistency Error Slave FDL Address Flag is ON Bit 15 Change Slave FDL Address This Bit is set to ON if writing a Slave FDL address Change Request while gt CH lt o SS 5 CH Cc ech U Di m Di A Oh Bel Cc CD Wa m Request Consistency Error the Change Slave FDL Address Flag is ON 52 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 5 PROFIBUS Error Flags BFM 3 mmh 6 5 PROFIBUS Error Flags BFM 3 I BFM Access Read Write S These Bits show the reasons for a PROFIBUS error If any of these Bits are ON the corresponding Bit in BFM 29 Bit 8 will also be ON These Bits can be reset by writing a 0 to each Bit Resetting BFM 29 Bit 8 will also 2 clear BFM 3 to 0 An error occurs if there is a problem with the PROFIBUS Si Conflict of addresses The address of the 64DP M has already been assigned If this error occurs 64DP M will change to Offline mode The 64DP M has to be set to STOP mode before RUN mode can be set Bit
63. K lt During UNSYNC execution default gt The output image memory value is output immediately normal condition lt During SYNC execution gt The output image memory value is only output once during the SYNC service timing V Service SYNC issued in the same group OO JEQO D 1 SYNC Global Control command In SYNC mode the output data sent to DP Slaves in the group specified by BFM 9390 is not immediately written to the actual physical outputs of the DP Slave The output data are stored inside the Ame DP Slaves until the next SYNC UNSYNC Global Control command is sent then the output data of those SCH DP Slaves are updated The first SYNC command sent to the DP Slaves will switch them into SYNC ez mode 3 2 UNSYNC Global Control command S When sending an UNSYNC Global Control command to a DP Slave which is in SYNC mode the DP D Slave will be released from SYNC mode and will update the output data continuously TE By specifying a group of DP Slaves in BFM 9390 the UNSYNC command is sent to arbitrary DP SE Slaves similar to the SYNC command GEZ Note SR When using the SYNC Global Control command output data sent to the DP Slave is not refreshed until the next SYNC or UNSYNC global command is sent to the DP Slave That is even if new data is written to the 8 Output Data Area BFM 2350 to 3373 by TO instructions etc it is not refreshed until the following SYNC Zb or UNSYNC global command is issued from th
64. M Dumeae uoneinByuo5 pue siajoWeled wesbold aiduexy OO sonsoubeiq Lo gt UONEWWOJUT UOISIO 81 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 30 Diagnostic Information FIFO 6 30 Diagnostic Information FIFO The 64DP M can stack the Slave Diagnostic Information to a maximum of 64 entries in the Internal Diagnostic FIFO Area for all DP Slaves The Slave Diagnostic Information which enters this Internal Diagnostic FIFO Area can be read stored in BFM 7338 to 7463 one by one the oldest entry will be read at first For the procedure on reading Slave Diagnostic Information see the following timing chart Moreover after stocking up to 64 Slave Diagnostic entries in the Internal Diagnostic FIFO Area new Slave Diagnostic Information is not stocked until Diagnostic FIFO is Full flag BFM 29 Bit 13 is OFF For Diagnostic FIFO is Full flag BFM 29 Bit 13 refer to Subsection 6 13 12 FX3U FX3uc PLC main Unit 64DP M Master Class 1 Buffer memory Internal Slave Diagnostic FIFO Area 1 FROM or RBFM instructions SE Si RIES Oa BFM direct designation in lagnostic ata applied instruction Information P max 64 entries e Data 2 TO or WBFM instructions BFM direct designation in applied instruction eege ee Slave Diagnostic Information for FIFO function fea fh E Ka PROFIBUS DP Network pt a EA KEE KC H Kg Slaves FIFO Sla
65. M 3 refer to Section 6 5 FE Attention If this error occurs while the 64DP M is in cyclic data exchange RUN mode the 64DP M will automatically change to STOP Offline mode unless BFM 34 Bit 0 is ON 8 Slave Diagnostic Available BFM 29 Bit 9 This flag is ON if a DP Slave sends a diagnostic message If any of the bits in BFM 7200 to 7203 is set to ON BFM 29 Bit 9 is also set to ON If this error occurs check the reason for the DP Slave diagnostic by checking the manual of the DP Slave The content of the DP Slave s diagnostic can be read out by using BFM 7208 to 7335 sonsoubeiq gt For Slave Diagnostic Information refer to Section 6 29 UONEWWOJUT UOISIO 123 FX3u 64DP M PROFIBUS DP Master Block 9 Diagnostics User s Manual 9 2 Detail Error Check 9 Alarm Message Available Flag BFM 29 Bit 10 This flag is ON if a DP Slave sends an alarm message If any of the bits in BFM 8800 to 8803 is set to ON BFM 29 Bit 10 is also set to ON If this error occurs check the reason for the DP Slave alarm by checking the users manual of the DP Slave The content of the DP Slave s alarm can be read out by using BFM 8934 to 8969 For Alarm Message refer to Section 6 32 10 No Configuration Available Flag BFM 29 Bit 11 This flag is ON if there is no configuration stored in the PROFIBUS Master A default bus configuration without any projected DP Slaves will be loaded The default baud rate is 93
66. M 4 Dwell Time Flag Whole Config Data Exchange Flag 6 6 BFM 5 Module READY Signal 6 7 BFM 6 Current PROFIBUS bus cycle time for cyclic data exchange mae 5 BFM 7 Min PROFIBUS bus cycle time for cyclic data exchange T 6 8 BFM 8 M Meet b e le time f lic dat h v ois ax bus cycle time for cyclic data exchange SE o Not used E BFM 17 SE EE Acyclic Slave Communication Deactivation Message Flags v v 6 9 BFM 21 BFM 22 to DPE BFM 26 PROFIBUS Module ID PNO Nr F364 Hex CS 610 gS BFM 27 Master Reset 6 11 l BFM 28 Setting Error Flags 6 12 7 BFM 29 Master Error Status 6 13 BFM 30 Module ID Code K7140 M Sog BFM 31 PROFIBUS Master Address 7 615 23 BFM 32 PROFIBUS Transmission Speed ia 6 16 S DEM 33 Clear Control Flag 6 17 BFM 34 PROFIBUS Error Mask Flag 6 18 8 BFM 35 to ve BFM 38 Number of Allocated Slaves CS 6 19 Se DEM 39 Operation Service Mode 6 20 BFM 40 to BFM 73 to v e BEM 76 Data Swap Activate Flag rar 6 21 3 BFM 77 to 3 a ee Slave FDL Address A ag This BFM is used to change the 6 29 i BFM 82 Old Slave FDL address Slave FDL address St BFM 83 New Slave FDL address v v aS 45 FX3u 64DP M PROFIBUS DP Master Block User s Manual 6 Allocation of Buffer Memories BFMs 6 1 Buffer Memories BFM Lists BFM No BFM 84 to BFM 87 BFM 88 to BFM 91 BFM 92 to BFM 95 BFM 96 to BFM 99 BFM 100 to BFM 163 BFM 164
67. MITSUBISHI ELECTRIC id PROGRAMMABLE CONTROLLERS MELSEG F GE S2fety Precautions RE Read these precautions before use Before installation operation maintenance or inspection of this product thoroughly read through and understand this manual and all of the associated manuals Also take care to handle the module properly and safely This manual classifies the safety precautions into two categories and A CAUTION WARNING Indicates that incorrect handling may cause hazardous conditions resulting in death or severe injury Indicates that incorrect handling may cause hazardous conditions resulting in CAUTION medium or slight personal injury or physical damage Depending on the circumstances procedures indicated by may also cause severe injury It is important to follow all precautions for personal safety Store this manual in a safe place so that it can be taken out and read whenever necessary Always forward it to the end user 1 DESIGN PRECAUTIONS WARNING E e Make sure to have the following safety circuits outside of the PLC to ensure safe system operation even during external power supply problems or PLC failure Otherwise malfunctions may cause serious accidents 1 An emergency stop circuit a protection circuit an interlock circuit for opposite movements such as normal and reverse rotations and an interlock circuit for preventing damage to the machine at the upper and lower positioning limits sh
68. O Conflict of Addresses The bus protocol is disturbed Possible causes are missing or faulty termination resistors If this error occurs 64DP M will change to STOP mode unless BFM 34 Bit 0 is ON The bus protocol is disturbed Possible causes are stations beyond the Highest Station Address HSA or the transmitted frame could Bit 2 Bus Protocol is Disturbed not be read back If this error occurs 64DP M will change to Offline mode The 64DP M has to be set to STOP mode before RUN mode can be set Bus Protocol is Disturbed faulty bus termination Bit 1 uonegteut OO buum d Possible causes are deviations from required bus idle times frames longer than 256 bytes or interrupted data streams If this error occurs 64DP M will change to Offline mode The 64DP M has to be set to STOP mode before RUN mode can be set Possible causes may relate to physical problems on the Bit 3 Master State Hardware Error LD Bit 4 Master State Watchdog Expired PROFIBUS DP network SIS Ver 1 04 or later GE The Master State Pass Token Error may occur when there is a J om Bit 5 Master State Pass Token Error hardware problem with a multi master configuration Ver 1 04 or later The 64DP M changes to offline mode after receiving several Master Bit 6 Master State Pass Token Error State Pass Token Error responses The 64DP M has to be set to Bez Offline STOP mode before RUN mode can be set T g Ver 1 04 or later SS The 64DP M c
69. OFIBUS bus cycle time Default value 0 BFM 7 Min PROFIBUS bus cycle time Default value FFFF hex BFM 8 Max PROFIBUS bus cycle time Default value 0 The current PROFIBUS bus cycle time can be seen from BFM 6 during data exchange The minimum maximum PROFIBUS bus cycle time can be seen from BFM 7 8 during data exchange after expiration of the dwell time The setting of the DP Slave watchdog time in the GX Configurator DP must be longer than the maximum PROFIBUS bus cycle time BFM 8 E X3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BF Ms User s Manual 6 9 Acyclic Slave Communication Deactivation Message Flags BFM 18 to 21 mmh 6 9 Acyclic Slave Communication Deactivation Message Flags BFM 18 to 21 S BFM Access Read Write only reset to 0 These Bits show the deactivation message of the Acyclic Communication for each DP Slave If the Bit is ON 2 then the Acyclic Communication with this Salve has been stopped These flags are turned on by the 64DP M Ss if an error has occurred during Acyclic Communication or in General after the 64DP M has switched to 8 STOP mode during slave Acyclic Communication The reasons for closing the Acyclic Communication a channel can be that a DP Slave is not participating in acyclic communication any more the DP Slave is a receiving new parameter data while in cyclic communication mode or the watchdog timer of the DP Slave has expired If BFM
70. Positioning Control Edition Data Communication Edition GX Configurator DP Software Manual Description Abbreviated name of FX3S FX3G FX3GC FX3U FX3UC Series Programming Manual Basic amp Applied Instruction Edition Abbreviated name of FX3U Series User s Manual Hardware Edition Abbreviated name of FX3Uc Series User s Manual Hardware Edition Abbreviated name of FX3S FX3G FX3GC F X3U FX3uUCc Series User s Manual Analog Control Edition Abbreviated name of FX3S FX3G FX3GC FX3U FX3UC Series User s Manual Positioning Control Edition Abbreviated name of FX Series User s Manual Data Communication Edition Abbreviated name of GX Cofigurator DP Configuration System for Open Networks Software Manual 13 FX3u 64DP M PROFIBUS DP Master Block User s Manual Reading of the Manual Reading of the Manual Shows the manual title Shows the title of the chapter and the title Indexes the chapter number This area shows the of the section The right side of each page manual title for the page This area shows the title of the chapter and the indexes the chapter number currently opened title of the section for the page currently opened for the page currently opened FX3u 64DP M Profibus DP Master Block l 3 Installation User s Manual l l 3 2 Mounting E d M e 0 16 1 54 fi 3 2 Mounting 1 l E l The 64DP M can be mounted on a DIN
71. RUN monitor 3 i Monitor ed d M8000 S fey UO G8800 D310 a RUN 5 monitor Alarm acknowledge status of DP Slave station No 41 D290 A D312 8 FNC 12 T K41 Slave alarm MOVP to BFM 8934 M a available flag FNC 12 K1 U0 G8933H Set alarm message request MOVP BFM 8933 Bit0 M8000 FNC 12 est vg Read alarm message U0 G8933 K1M110 RUN monitor request from BFM 8933 Write request slave number C G es Q Bei buum d LD Qoz SER CC of FNC 15 Read alarm message data o3 Co Bio p SS from BFM 8935 to 8969 SZ gee SO E M20 sad Sa Oe wd RE AE Ll a A I Check program for alarm message of station No 41 S E eet e l g j i Turn ON when check is complete for alarm Ae Ab D message of DP Slave station No 41 ENC 12 Reset alarm massage ienee HOFBFF U0 G29 available flag BFM 29 QUU SES MUVE Bit10 FE EE SS Reset alarm acknowledge O Q MOVP UE Ier E status of DP Slave station D290 A Reset Command input an device kk mark when this device is set D vi L I E O LO gt UOISIO END UONEWWOJUT 117 E X3u 64DP M PROFIBUS DP Master Block 8 Example Program User s Manual 8 2 Example Programs to Read Alarm Message from 8 2 2 An Example Program using GX IEC Developer Ver 7 00 or later An example program by GX IEC Developer is shown below which reads Alarm Messages from the DP Slave station No 41 using the automatic ac
72. S DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 29 Slave Diagnostic Information 6 29 Slave Diagnostic Information The 64DP M can directly read the current Slave Diagnostic Information from the selected DP Slave by BFM 7209 to BFM 7210 to 7335 For reading current Slave Diagnostic Information procedure see the following timing chart Point This function can only be used in RUN BFM 0 K1 Clear BFM 0 K3 or AutoClear BFM 0 K4 mode FX3U FX3uc PLC mai Unit 64DP M Master Class 1 Buffer memory Internal Slave Diagnostic ave FIFO Area 1 FROM or RBFM instructions Diagnostic BFM direct designation in Information Diagnostic FIFO Data applied instruction max 64 information 2 TO or WBFM instructions BFM direct designation in Current Slave applied instruction Diagnostic Information Request Slave Diagnostic Information for FIFO function m 4 Es PROFIBUS DP Network Z 7 l l a Slaves Current Slave Diagnostic Information reading procedure All Slave Diagnostic Messages of all DP Slaves are read and analyzed Then reset the Slave Diagnosis Available Flag BFM 29 Bit 9 Slave Diagnosis Available Flag BFM 29 Bit 9 ON V Slave Diagnostic Status Flags BFM 7200 to 7203 ON Write the slave number which Slave Diagnostic Status Flags can be reset to write KO to reads Slave Diagnostic BFM 7200 to 7203 Information Data into BFM 7209 by TO instruc
73. Service Mode refer to Subsection 6 23 4 1 Cyclic Input Data Communication For Cyclic output data communication refer to Section 6 24 uonegteut OO FX3U FX3uc PLC main Unit 64DP M Master Class 1 Buffer memory 1 FROM or RBFM instructions BFM direct designation in applied instruction buum d Input Data Area for Cyclic Data Communication 2 TO or WBFM instructions BFM direct designation in applied instruction Write 2 PS JI PROFIBUS DP Network o c Input data Input data Output data image image k image Output Data Area for Cyclic Data Communication LD Opol SWUULUOD gq Q O oO Ei Q O a Lg o EE Output data T 8 image SE D Slaves 2 Cyclic input data reading procedure in consistency mode Dune N ov When Cyclic Input Data Consistency Activate Deactivate Flag BFM 84 to 87 is ON for the DP Slave by 3 setting slave parameter in GX Configurator DP the following procedure should be used 23 Di OD e Do not read from the gt By user program S Input Data Area of the Set Input Data Send Flag ay Shee during this time Automatically by 64DP M 8 BFM 100 to 163 Bit 0 to ON for the DP Slave om Ss S Read from the Input Data 30 Area BFM 350 to 1373 A by FROM instruction etc V Read input data 9 E amp P 3 e So 30 o 63 FX3u 64DP M PROFIB
74. Star Module READY Signal MOVP Request Flag to ON Continue to the next page Write output data of DP Slave station No 1 D80 to D95 to BFM 2350 to 2365 Write output data of DP Slave station No 2 D40 to BFM 2366 110 FX3u 64DP M PROFIBUS DP Master Block 8 Example Program User s Manual 8 1 Example Program 1 mmh Si O EE FNC 12 UO G4 D1 Read communication status MOV from BFM 4 RUN S monitor FNC 236 Module READY Signal is Cyclic input data consistency activate deactivate flag for e MO DP Slave station No 1 2 D2 0 FNC 12 Wegen was Read cyclic input data 3 Module MOV request flag from BFM 100 oj READ Cyclic input data request flag for i Signal DP Slave station No 1 D12 0 Read cyclic input data of DP Slave station No 1 from BFM 350 to 365 uonegteut La FNC 15 FNC 12 Set cyclic input data request K1 U0 G100 H flag of DP Slave station MOV SC No 1 to ON Cyclic input data consistency activate deactivate flag for DP Slave station No D2 0 FNC 15 Read cyclic input data of BMOV U0 G350 EE DP Slave station No 1 from BFM 350 to 365 Cyclic output data consistency activate deactivate flag for DP Slave station No 2 ag e FNCA2 luail m3 Read cyclic input data Modul MOV request flag from BFM 101 READY Cyclic input data request flag for Signal DP Slave station No 2 buum d Qi D13 0 FNC 1
75. US DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 23 Cyclic Input Data 6 23 1 Cyclic Input Data Consistency Activate Deactivate Flags BFM 84 to 87 BFM Access Read Write These flags are used to handle the data consistency of the Input data If this Bit is set to ON the handling in Section 5 1 should be used The default value is set by the GX Configurator DP If data consistency greater than 16 bits is set by the GX Configurator DP the Bit of this DP Slave is set to ON However it can be reset by the user by writing to this BFM Cyclic Input Data Consistency Activate Deactivate Flags of each DP Slave assignment shows in the following table BFM No BitNo Station No BFM No BitNo Station No Bit 15 16 Bit 15 48 Bit 15 32 Bit 15 64 Note Activating Deactivating these flags by writing to BFM 84 to 87 will not permanently change the configuration that was downloaded to the 64DP M After the power supply of the 64DP M is switched off once the 64DP M will startup with the original configuration that is stored in the 64DP M s internal Flash memory To make the change permanent the setting should be done in GX Configurator DP or every time on system startup in the user program 6 23 2 Cyclic Input Data Request Flags BFM 100 to 163 BFM Access Read Write only 1 scan Input data request flags should be used for Data Consistency Mode to exchange data to DP Slaves when input data is
76. When the data length is 0 bytes the input data area for this station will not be in the input data area 66 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 24 Cyclic Output Data mmh 6 24 Cyclic Output Data S Output data areas are used to store cyclic output data to the DP Slaves on the PROFIBUS DP network S There are 2 input data formats Normal Service Mode Mode 0 and Extended Service Mode Mode 3 These modes can be selected by writing to the operation mode BFM 39 If the consistency mode flag BFM 92 to 95 of a DP Slave is set the user has to apply the data 2 consistency handling described in Section 5 1 o The 64DP M has to use Data Consistency Mode to exchange data to DP Slaves when output data is more S than 16 bits When using the Data Communication Consistency Mode communication procedure is shown in 8 the timing chart in the following subsection For operation service mode details refer to Subsection 5 1 1 and Section 6 20 For data format detail of Normal Service Mode refer to Subsection 6 24 3 For data format detail of Extended Service Mode refer to Subsection 6 24 4 Point Appropriate initial data should be stored in the Cyclic Output Data Area BFM 2350 to 3373 before starting communication uonegteut OO 1 Cyclic Output Data Communication For Cyclic input data communication refer to Section 6 23 buum d FX3U FX3uc PLC main Unit
77. al JY997D16601 ae l 09R517 Manual i applied instructions and devices Basic amp Applied Instruction Edition This manual contains explanations for the Additional MELSEC Q L F programming method types of Structured Programming SH 080782 programming languages and other 13JW06 Manual information required to create structured programs Additional FX CPU Structured This manual contains explanations for the Programming Manual JY997D26001 devices and parameters provided in GX 09R925 Manual Fundamentals Manua Device amp Common Works2 for structured programming FX CPU Structured l l l ET EE Manual This manual contains explanations for the e g JY997D34701 sequence instructions provided in GX 09R926 Manual Basic amp Applied i Works2 for structured programming Instruction Additional FX CPU Structured This manual contains explanations for the Programming Manual JY997D34801 application functions provided in GX 09R927 vanua Application Functions Works2 for structured programming 10 FX3u 64DP M PROFIBUS DP Master Block User s Manual Associated Manuals Refer to these manuals O Refer to the manual required depending on the equipment used A For detail explanation refer to an additional manual Manual TOR Manual Name Description Number Manual for the PROFIBUS DP Master Block Interface Block PROFIBUS DP Master Block Describes FX3u 64DP M PROFIBUS DP Master Block specification
78. an Slave FDL Address Shows the total number of Number of Configured Slaves configured DP Slaves KAE Shows the Slave Number Slave FDL address and PNO ID of each projected DP Slave Set to ON when using the PROFIBUS Scan Function in all modes except Cyclic Exchange Mode Lists the following detected DP Slave information on PROFIBUS DP network when using this function Configuration difference list Total number of detected DP Slave Slave Number Slave FDL address and PNO ID of each detected DP Slave The status flag of the corresponding DP Slave is ON when discrepancies exist between the projected configuration and the detected configuration Shows the current scanned address After the scan this value is set to 0 May not show it because speed scanning is faster in high baud rate setting Q O oO Ei Q O a Lg o ew 29 SaUOoUlaul JONG uoneinByuo5 pue siajoweled mmh suoyeoyioeds N uononpou uonegteut LA Suum d LD SPON SWUULUOD gq JO UOUEOIM Dumeae wesbold aiduexy OO sonsoubeiq Lo gt UONEWWOJUI UOISIO FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BF Ms User s Manual 6 2 Communication Status BFM 0 ee BFMs Access BFM No Description Reference 6 2 lena Ee 6 44 4 BFM 10062 Number of Detected Slave OADW anu Berens een v Slaves Shows the Slave Number Slave BEU 0G 10 Detected Slave List FDL add
79. and Parameter for Example Program cccccsseeeeeeeeeeeseeeeees 106 8 1 4 Example Program using GX Developer 110 8 1 5 Example Program using GX IEC Developer Ver 7 00 or later 113 8 2 Example Programs to Read Alarm Message from PROFIBUS DPV1 Slave Alarm Model 117 8 2 1 An Example Program using GX Developer 117 8 2 2 An Example Program using GX IEC Developer Ver 7 00 orlater 118 o miualizing Me INGIWONK EE 120 9 Diagnostics 121 SN Eil len EE 121 Ee 123 Appendix A Version Information 125 Appendix A 1 Version Information ccccccccccesccseecececeeeecseceucecaeeceueceacecsuecaeeseuessueecaeessuesaans 125 Appendix A 1 1 Version Check Method ccccccccccssececeeeeeeeeeeeeaeeeeeseeceeseecesseeseeseuseeseseeseneeessneeessnes 125 Appendix A 1 2 Version Upgrade History 125 Warr ANA eeh 127 Revised leede 128 FX3u 64DP M PROFIBUS DP Master Block User s Manual Applicable Standards Applicable Standards Certification of UL cUL Standards The following product has UL and cUL certification UL cUL File Number E95239 Models FX3U 64DP M Compliance with EC Directive CE Marking This note does not guarantee that an entire mechanical module produced in accordance with the contents of this note will comply with the following standards Compliance to EMC and LVD directives for the entire mechanical module should be checked by the user manufacturer For more details ple
80. ase contact the local Mitsubishi Electric sales site 1 Requirement for Compliance with EMC Directive The following products have shown compliance through direct testing of the identified standards below and design analysis through the creation of a technical construction file to the European Directive for Electromagnetic Compatibility 2004 108 EC when used as directed by the appropriate documentation Attention e This product is designed for use in industrial applications Note e Authorized Representative in the European Community Mitsubishi Electric Europe B V Gothaer Str 8 40880 Ratingen Germany Type Programmable Controller Open Type Equipment Models MELSEC FX3u series products identified here manufactured from August 1st 2005 FX3U 64DP M Standard Remark EN61131 2 2007 Compliance with all relevant aspects of the standard Programmable controllers EMI Equipment requirements e Radiated Emissions and tests e Conducted Emissions EMS e Radiated electromagnetic field e Fast transient burst e Electrostatic discharge e High energy surge e Voltage drops and interruptions e Conducted RF e Power frequency magnetic field FX3u 64DP M PROFIBUS DP Master Block User s Manual Applicable Standards Caution for Compliance with EC Directive 1 Caution for wiring For noise prevention please attach at least 50 mm 1 97 of the twisted pair cable along the grounding plate to which the ground terminal is conne
81. atchdog timer for the cyclic communication with the DP Slaves should be set This Flag will be reset after the Mode changes from STOP to RUN If this Bit is ON the ERROR LED will be turned ON OFF in 500ms intervals 6 13 14 Slave Change Address Error BFM 29 Bit 15 The Change Slave FDL Address function BFM 81 to 83 can only be used in STOP mode BFM 0 KO If the change of a Slave FDL Address was not successful an error will appear in BFM 29 Bit 15 The reasons for this error can be that the DP Slave whose address was to be changed did not exist in the network or that the DP Slave did not support this service This Flag will be reset after the Mode changes from STOP to RUN If this Bit is ON the ERROR LED will be turned ON OFF in 500ms intervals 6 14 Module ID Code BFM 30 BFM Access Read Only The identification code for a 64DP M is available using a FROM instruction The identification code for the 64DP M is K7140 By reading this identification code the user may create built in checking routines in the PLC program to check whether the physical position of 64DP M matches the software 6 15 PROFIBUS Master Address BFM 31 BFM Access Read Only This BFM shows the PROFIBUS Module address of the 64DP M defined by the GX Configurator DP 59 Q O o Q O gt a S o ew 29 SoUOoUlaul JONG uonesnByuo5 pue siajoWeled mmh suoyeoyioeds N uononpou uonegteut LA Suum d LD
82. ate Do not read from BFM 8935 to E 8969 during k Alarm Message Request this time Flag BFM 8933 Bit 0 A Read the Alarm Message Data of the selected slave from BFM 8935 to 8969 LA Read Read and analyze Alarm Message in BFM 8935 to 8969 until the value of Slave Alarm Counter BFM 8808 to 8871 is decremented to 0 This counter is decremented when reading from the DP Slave Alarm Acknowledge Status N BFM 8792 to 8795 ON Write the slave number for sending Alarm Message Acknowledgement in BFM 8971 b wi Alarm ACK request Flag BFM 8970 Bit 0 DN ON 86 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 32 Alarm Message 6 32 1 Automatical Acknowledge Setting BFM 8784 to 8787 BFM Access Read Write Using the Automatic Acknowledge Function the Automatic Acknowledge Flags should be set to ON default value for each PROFIBUS DPV1 slave ON When the Bit is set to ON alarms that are sent to the 64DP M will be automatically acknowledged at the time they are read by the user program from BFM 8933 to 8969 Automatic Acknowledge Flags of each DP Slave assignment is shown in the following table BFM No BitNo Station No BFM No BitNo Station No BFM 8784 3 BFM 8786 35 Bit 15 16 Bit 15 48 BFM 8785 19 BFM 8787 51 Bit 15 32 Bit 15 64 6 32 2 Alarm Acknowledge Status BFM 8792 to 8795 BFM Access Read Only Shows the Alarm Ackn
83. atic equipment using the product associated with this manual should be of a competent nature trained and qualified to the local and national standards required to fulfill that role These engineers should be fully aware of all aspects of safety with regards to automated equipment b Any commissioning or service engineer must be of a competent nature trained and qualified to the local and national standards required to fulfill that job These engineers should also be trained in the use and maintenance of the completed product This includes being completely familiar with all associated documentation for the said product All maintenance should be carried out in accordance with established safety practices c All operators of the completed equipment should be trained to use that product in a safe and coordinated manner in compliance to established safety practices The operators should also be familiar with documentation which is connected with the actual operation of the completed equipment Note the term completed equipment refers to a third party constructed device which contains or uses the product associated with this manual e 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 e Before using the product for special purposes such as nuclear power electric power aerospace medicine
84. ave parameter during cyclic communication The I O data channel consists of 244 byte Acyclic data communication has lower communicative priority than cyclic data communication The 64DP M has 4 data areas for each acyclic I O communication For allocation of flags refer to Section 6 4 6 9 6 25 and 6 26 For details on Acyclic Input Data Area refer to Section 6 25 For details on Acyclic Output Data Area refer to Section 6 26 Point Acyclic I O Data Communication can only be used in RUN BFM 0 K1 Clear BFM 0 K3 or AutoClear BFM 0 K4 mode FX3U FX3UC PLC main Unit 64DP M Master Class 1 Buffer memory 1 FROM or RBFM instructions Ee GE BFM direct designation in applied GE Communication EEN fa 2 TO or WBFM instructions BFM direct designation in applied Output Data Area Instruction Area 3 for Acyclic Data Communication PROFIBUS DP Network Slaves 40 FX3u 64DP M PROFIBUS DP Master Block 5 Mode Data Communication Global Control User s Manual 5 3 Diagnostic Information mmh 5 3 Diagnostic Information 5 3 1 Slave Diagnostic The 64DP M can stack the Slave Diagnostic Information to a maximum of 64 entries in the Internal Diagnostic 2 FIFO Area for all DP Slaves Moreover 64DP M can read the current Slave Diagnostic Information from a T single specified DP Slave 8 1 Direct read the current Slave Diagnostic Information 3 The 64
85. clic communication mode or the watchdog timer of the DP Slave has expired BFM 18 to 21 shows the details on which DP Slaves have been reported to have acyclic communication errors Writing a KO will reset this Bit together with the contents of BFM 18 to 21 This Flag will be reset after the Mode changes from STOP to RUN If this Bit is ON the ERROR LED will be turned ON OFF in 500ms intervals 6 13 7 PROFIBUS Error Flag BFM 29 Bit 8 The PROFIBUS Error Flag is ON if there is a PROFIBUS problem More details are displayed in BFM 3 Writing a KO will reset this Bit together with BFM 3 Attention If this error occurs while the 64DP M is cyclic data exchange RUN mode the 64DP M will automatically change to STOP Offline mode unless BFM 34 Bit 0 is ON This Flag will be reset after the Mode changes from STOP to RUN if the error has been fixed in the meantime If this Bit is ON the ERROR LED will be turned ON For details on BFM 34 refer to Section 6 18 6 13 8 Slave Diagnosis Available Flag BFM 29 Bit 9 The Slave Diagnosis Available Flag is ON if a DP Slave has sent a diagnosis information If any of the bits in BFM 7200 to 7203 is set to ON BFM 29 Bit 9 is also set to ON Writing a KO to BFM 29 Bit 9 will clear this Bit together with the contents of BFM 7200 to 7203 This Flag will be reset after the Mode changes from STOP to RUN If this Bit is ON the ERROR LED will be turn ON OFF in 500ms intervals 6 13 9 Ala
86. cted For detail of wiring refer to Section 4 2 2 Installation in Enclosure For details on installation in Enclosure of FX3u Series PLC refer to FX3U User s Manual Hardware Edition For details on installation in Enclosure of FX3uc 1 Series PLC refer to FX3uc User s Manual Hardware Edition TI An FX2NC CNV IF or FX3UC 1PS 5V is necessary to connect to the 64DP M with the FX3Uc Series PLC However the FX3U 64DP M cannot be connected to the FX3Uc 32MT LT 2 FX3u 64DP M PROFIBUS DP Master Block User s Manual Location and Usage of Manual Location and Usage of Manual The FX3U 64DP M PROFIBUS DP Master Block is a master Class 1 for the PROFIBUS DP network By connecting the FX3U 64DP M the FX3u FX3uc Series PLC can both read and write data from and to the slaves PLC FX3u FX3uc Series PLC For explanations on installation and wiring Hardware Manual Supplied Manual Manual is supplied with product User s Manual Hardware Edition Additional Manual For explanations on basic applied instractions and PLC devices Programming Manual Basic amp Applied Instruction Edition Additional Manual 1 An FX2Nc CNV IF or FX3UC 1PS 5V is necessary to connect to the 64DP M with the FX3uc Series PLC However the FX3U 64DP M cannot be connected to FX3uc 32MT LT 2 T PROFIBUS DP Master FX3u 64DP M Installation manual is supplied wi
87. culation Tsdi M 9 6k 10 19 2k 93 75k 15 5 187 5k 500k 80 ooz ono 1 5M 3M 6M 12M 150 So CH OH 3 Lr Data refresh time Max 8 ms 0 1 ms x number of DP slaves au MSI Minimum slave interval is set in the configuration software GX Configurator DP 6 wee SS Z 9 D SE CO 3 DI Si Su O 0 G 30 sonsoubeiq Lo gt UONEWWOJUI UOISIO 23 1 Introduction FX3u 64DP M PROFIBUS DP Master Block User s Manual 1 4 Communication Time PROFIBUS bus cycle time O ees z T2 amp 5 S 2 gt y O O O DS o 5 Z Z Z Qs E 9 D D D g3 SE 5 5 amp o gt D op ep ep he E ga d d d A aa 6 Q Q Q This time is Treq for each DP slave This time is Maximum Tsdr for each DP slave This time is Tres for each DP slave M The PROFIBUS Cycle Time needs to be the larger value obtained from the expression in the previous page or the MSI The MSI Minimum Slave Interval is the value set by GX Configurator DP This time is Tsdi Pal Note The instructions to access BFMs FROM TO instruction etc and the PROFIBUS bus cycle are asynchronous BFM 6 shows the precise cycle time to exchange data after the dwell time expires For details on the PROFIBUS Bus Cycle Time BFM 6 to 8 refer to Section 6 8 24 FX3u 64DP M PROFIBUS DP Master Block 1 Introduction User s Manual 1 4 Communication Time Reference Th
88. d Write 8 The Information Dwell Time is used to specify a time period after the start of data exchange where any FEI Diagnosis Information from DP Slaves is not displayed in the 64DP M The time value in the buffer memory ke can be adjusted in one second steps Default value is K4 in 1 second steps The setting range is between 1 to 30 After the 64DP M has been switched into data exchange RUN mode and the set time interval is expired the 64DP M will clear the internal diagnosis FIFO 9 Note ZS If the error action flag Goto Clear State is set in the Master Parameter Settings of GX Configurator DP the S 64DP M will probably only enter the data exchange mode RUN after the Information Dwell Time This is due to the fact that during network startup all DP Slaves will send startup Slave Diagnostic Informations to the 64DP M After these have been cleared the 64DP M will enter the data exchange state RUN During this A time the RUN LED of the 64DP M will be turned on off in 500ms intervals SES 95 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 38 Cyclic Slave Status Area BFM 9399 to 9402 6 38 Cyclic Slave Status Area BFM 9399 to 9402 BFM Access Read Only Cyclic Slave Status Area shows the cyclic communication status of each projected DP Slave A Bit set to ON means that the communication is OK for this DP Slave The flag assignments are shown in the following table
89. d UNFREEZE global control For details refer to Chapter 5 and 7 Configuration setting Configuration of the 64DP M can be set easily by GX Configurator DP Configuration System for Open Networks Software Ver 7 00A or more For GX Configurator DP Configuration System for Open Networks Software hereafter called GX Configurator DP refer to the following manual Refer to Chapter 6 and 8 For operation details on software GX Configurator DP Software Manual Communication The 64DP M supports 9 6k 19 2k 93 75k 187 5k 500k 1 5M 3M 6M and 12Mbps The 64DP M can be connected to a PROFIBUS DP network by a standard 9 pin D SUB connector and shielded twisted pair PROFIBUS cable complying with EN50170 For wiring refer to Chapter 4 For parameter setting refer to Chapter 6 FX3u 64DP M PROFIBUS DP Master Block 1 Introduction User s Manual 1 2 External Dimensions and Each Part Name 1 2 External Dimensions and Each Part Name uononpou 1 2 1 External Dimensions and Each Part Name Dimensions mm inches MASS Weight Approx 0 2kg 0 44 Ibs Accessory Special block No label 3 4 9 6 suoeoyjinods NO RUN O TOKEN O FROM TO O ERRORO uone jeysuy OO 90 3 55 buum d LD 4 0 16 43 1 7 87 3 43 SE O 89 3 51 S ZS O 1 PROFIBUS DP port 9 pin D SUB Connector 4 40unc inch screw thread 2 2 Extension cable 6 3 Direct mounting
90. d byte 365 6th byte BoE 366 Ca 2nd station E em x 359 E ee gd 360 5 Se S 365 3rd station Dune N 366 2nd byte 1st byte Os gt 367 4th byte 3rd byte E S a d d i ow 64th station S 1373 9 NU O 30 sonsoubeiq Lo gt UONEWWOJUI UOISIO 65 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 23 Cyclic Input Data 6 23 4 Cyclic Input Data Area in Extended Service Mode BFM 350 to 1373 BFM Access Read Only 64DP M can exchange 0 to 244 bytes of I O data to each of the DP Slave Input data length of each DP Slave assigns according to the parameter file set in the GX Configurator DP However total I O data for all DP Slaves is a maximum of 2048 2048 bytes Example An example is shown below where the input data length of the 1st station is 23 bytes and the input data length of the 2nd station is 7 bytes The free area in the BFM will be filled with O BFM Address BFM Address Upper byte Lower byte Bit 0 BFM 350 2nd byte 1st byte 1st station 4th byte 3rd byte 6th byte oth byte 8th byte 7th byte 361 362 2nd station AS 365 366 3rd station e Note e When the data length is an odd number of bytes the last upper byte becomes a free area as the 1st byte of station data needs to be assigned as a lower byte and data for the next station is assigned from the next address e
91. depending on each special function block e It is not necessary to check the all DP Slaves cyclic I O data in a single PROFIBUS Cycle Time 22 FX3u 64DP M PROFIBUS DP Master Block 1 Introduction User s Manual 1 4 Communication Time 1 4 2 PROFIBUS Bus Cycle Time uononpou The figure in the next page explains the PROFIBUS bus cycle time for one DP master In this example there are 3 slaves The PROFIBUS bus cycle time needs to be as follows Number of slaves PROFIBUS bus cycle time the higher value of MSI or gt Pt DP Slave i Tsdi M Lr i 1 The BFMs 6 to 8 show the details on PROFIBUS Bus Cycle Time refer to Section 6 8 Explanation of MSI Pt DP Slave i Treq i Max Tsdr i Tres i Tsdi M Lr see following table Wording Description Pt DP Slave i The polling time of the DP Slave Treq i Max Tsdr i Tres i The request transmission time of the DP Slave suoeoyjioads NO uone jesuy Od E number of output bytes to this DP Slave 9 x 11 transmission speed Max tsdr i Response time of the DP slave This value is recorded in this DP Slave GSD file transmission speed Tres i Response transmission time of the DP slave 4 Number of input bytes from this DP Slave 9 x 11 transmission speed Processing time of DP master request response This value from the following table transmission speed a Transmission Speed bps Value for Tsdi M cal
92. dresses on the network by using the PROFIBUS Scan Function To check whether or not the DP Slave is supporting this function please see DP Slave s manual For Change Slave FDL Address BFM 81 to 83 refer to Section 6 22 For PROFIBUS Scan Function details refer to Section 6 44 124 Appendix A Version Information FX3U 64DP M PROFIBUS DP Master Block User s Manual Appendix A 1 Version Information mmh Appendix A Version Information 5 2 Appendix A 1 Version Information e Appendix A 1 1 Version Check Method The 64DP M version is shown as VERSION on the label attached to the right side of the module as seen from the front uonegteut La ERROR MODEL FX3u 64DP M POWER FX3U 64DP M Right side lt Suum d OOOC 00000 80M1 ON SERIAL No Akkkkk Qi QJ MADE IN JAPAN Ore v o Oo H E Io H O 3 171110110 a3 es Ree ea Se L Version 6 e Bos Appendix A 1 2 Version Upgrade History SS nse Ech The table below shows the version upgrade history for the 64DP M D Version Contents of version upgrade 7 Ver 1 00 First product mme QUV The Total Input Output Data Length Information is add Q z 2 Ver 1 04 e The PROFIBUS Error flags Bit 4 to 8 is add GES The default setting of the PROFIBUS Error Mask flag is changed S D So a LO wesbold jdwex4 D Q L I O LO uonewoju UOISIO
93. e Diagnostic Information of DP Slave specified by BFM 7209 3 E shall be read When the Slave Diagnostic Information is available in BFM 7210 to 7335 this flag will be reset Slave Diagnostic Request Flag assignment is shown in the following table wre Bit No Description o3 Bit O Slave Diagnostic Request Flag Bit 1to 15 Not used S 6 29 3 Request Slave Number BFM 7209 H Ski BFM Access Read Write 322 Writes to slave number which stores the current Slave Diagnostic Information to BFM 7210 to 7335 So The valid range lies between 1 and 64 slaves 2 u m S G 30 E amp S 25 5 1T FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 29 Slave Diagnostic Information 6 29 4 Slave Diagnostic Information Data BFM 7210 to 7335 BFM Access Read Only Reads the current Slave Diagnostic Information from BFM 7210 to 7335 Data format of the Slave Diagnostic Information is as follows One byte is written to one separate BFM except for the ExtDiagData field Details of each are shown below BFM No Description BFM 7210 SlaveAddress BFM 7211 StationStatus1 BFM 7212 StationStatus2 BFM 7213 StationStatus3 BFM 7214 MasterAddress BFM 7215 IdentNumber BFM 7216 Length BFM 7217 to 7335 ExtDiagData 238 byte 1 SlaveAddress Slave address whose diagnosis state has been read The valid range lies between 0 and 125 2 StationStatus1
94. e Internal Parameter Error occurs ON when receiving the Slave Diagnostic Information from DP Slave Sets to ON when storing the current Slave Diagnostic Information of specified DP Slave by BFM 7209 to BFM 7210 to 7335 Writes to Slave number which stores the current Slave Diagnostic Information to BFM 7210 to 7335 Sets to ON when storing the FIFO Slave Diagnostic Information of specified DP Slave to BFM 7338 to 7463 This value is number of stocked Slave Diagnostic Information in Internal Diagnostic FIFO Area 64DP M can stock up to 64 information in Internal Diagnostic FIFO Area Shows an overview of each DP Slave over the PROFIBUS diagnosis Sets this flag when using Automatic Acknowledge Function for Alarm Message Default setting PROFIBUS DP V1 slave 1 Notes l 47 Q O oO Ei Q O a Ss o ew 29 SoUOoUlaul JONG uoneinByuo5 pue siajoWeled mmh suoyeoyioeds N uononpou uonegteut La buum d LD SDOuW SUULUOD gq JO UOHedOINY Dune N wesbold aiduexy OO sonsoubeiq Lo gt UONEWWOJUT UOISIO FX3u 64DP M PROFIBUS DP Master Block User s Manual 6 Allocation of Buffer Memories BFMs 6 1 Buffer Memories BFM Lists BFMs Access Reference BFM No Description BFM 8792 to Shows the Alarm Acknowledge status when not using Automatic Acknowledge Function BFM 8795 Ee stale ON when a receiving Alarm was SE
95. e No 123 Slave No 104 DP Slave No 103 DP DP Slave No 82 An FX2NC CNV IF or FX3UC 1PS 5V is necessary to connect to the 64DP M with the FX3uc Series PLC M has a total of 47 slaves No 24 26 to 51 104 to 123 However the 64DP M cannot be connected to the FX3UCc 32MT LT 2 This 64DP M has a total of 40 slaves No 1 to 16 25 81 to 103 This 64DP M has a total of 36 slaves No 17 to 23 52 to 80 This 64DP Pale 2 A 4 20 FX3u 64DP M PROFIBUS DP Master Block 1 Introduction User s Manual 1 3 System Configuration Note In the multiple master network when reconnecting a PROFIBUS cable to a DP Master that is exchanging data at allowed baud rate the other DP masters may stop the communication and the slave outputs may be turned OFF To avoid this connect the master PROFIBUS cable securely In addition the following value must be set in a Multi master network All DP Master 64DP M Settings Sum of PROFIBUS bus cycle time of all DP Masters For multi master networks the calculation of Minimum Slave Interval MS must be done by customer The setup must be the same for all DP Masters Master Transmission Speed Transmission speed must be the same for all DP Master parameter Watchdog Checked Set the slave watchdog timer setting value to larger than TTR x G TS TTR Target token rotation time Unit Bit Time G Gap update factor TS Transmission Speed Unit bps uononpou Min
96. e PROFIBUS bus Cycle Time variance depends primarily on the number of DP Slaves and the number of I O data bytes uononpou PROFIBUS Cycle Time measurement 200 2 180 o z _ 160 z a O E 140 120 C ER 1 5MBaud gd 12MBaud 3 GG 80 f V 60 S S S L 40 S O 2 A 0 Number of slaves 32 Byte Input 32 Byte Output per slave Suum d LD Opol 101 U09 JEGOID SUULUOD gq SW4g SOLOWS JONG Jo UOHEDO V Bumes uoneinByuo5 pue siajoWeled wesbold aiduexy OO sonsoubeiq Lo gt UONEWWOJUI UOISIO 25 FX3u 64DP M PROFIBUS DP Master Block 1 Introduction User s Manual 1 5 System Start up Procedure 1 5 System Start up Procedure FX3U 64DP M Refer to Chapter 1 o Outline of system e Applicable PLC e Applicable PROFIBUS configuration tool Outline Refer to Chapter 2 Specifications e Operation environment e Power supply specifications e Performance specifications Maximum number of slaves master Maximum Number of stations segment Maximum number of repeaters Maximum bus length depend on baud rate Check of specifications Refer to Chapter 1 and 2 System configuration System configuration Refer to Chapter 3 and 4 Installation and wiring oh ohare e Arrangements e Mounting Wiring e Applicable cable and connector e PROFIBUS DP wiring e Bus terminator Refer to Chapte
97. e PROFIBUS DP in SYNC Global Control Mode SE 30 sonsoubeiq Lo gt UONEWWOJUI UOISIO 43 FX3u 64DP M PROFIBUS DP Master Block 5 Mode Data Communication Global Control User s Manual 5 4 Global Control 5 4 2 FREEZE and UNFREEZE Global Control The FREEZE UNFREEZE Global Control controls the input data communication from the DP Slave to the 64DP M For datails on Global Control refer to Section 6 36 For Cyclic Input Data refer to Section 5 1 and 6 23 FX3u FX3uc S 3U ee eries 64DP M Master Class 11 Buffer memory Cyclic Input Data Area Global Control Area Example ve the FREEZE command to DP Slaves in group 3 Group 8 Group 3 DP Slave 1 DP Slave 2 ES Input image memory The data is always refreshed by polling ye lt During UNFREEZE execution default gt The actual input is input to the input memory immediately normal condition lt During FREEZE execution gt The actual input is input once into the input image memory at the FREEZE service timing V Service FREEZE issued within the same group 1 FREEZE Global Control command In Freeze mode the input data of DP Slaves in the group specified by BFM 9390 is set to freeze no cyclical refresh of input data Only after sending another FREEZE UNFREEZE Global Control command to the DP Slaves the input data to the 64DP M is updated 2 UNFREEZE Global Control command When sending an UNFREEZE Global Control c
98. e eed 28 2 2 Power SUPPly Gpechficatons sisareni N a a a aa R ESA 28 2 3 Perlormance eene te 29 3 Installation 30 E En Leen EE ER fo 78 1 09 8181 06 EE 33 OZ V DINE MOUNUNG EE 33 322 TIN Rail MOU e DE 34 4 Wiring 35 4 1 Applicable able amd C ONG ClO EE 35 42 PROFIBUS DP WV INNO WEE 36 KEE EE 36 A BUS ISSIR eebe ee eege EE 36 FX3u 64DP M PROFIBUS DP Master Block User s Manual 5 Mode Data Communication Global Control 37 51 Cyclic OD ata C OMmMmuUMICAtOMN WEE 37 5 1 1 Mode in Cyclic I O Data Commumicaton 37 5 1 2 Normal Service Mode Mode OU 38 5 1 3 Extended Service Mode Mode 21 39 5 2 Acyclic l O Data COmMUMNMICAUON EE 40 59 Diagnostic ALORA e DEE 41 52 AVS Diagnos Gary 0 E 41 E ge E E 42 D4 GlOD al CONTO leannaa a a 42 5 4 1 SYNC and UNSYNC Ee e Cl d ME 43 5 4 2 PREEZE and UNFREEZE Global Gomtnol BEE 44 6 Allocation of Buffer Memories BFMs 45 6 1 Butter Memories CB FIM Eege EE EE 45 6 2 Communication Status BPRM NEE 50 6 3 Communication Control Flags BFM Zi 51 6 4 Consistency Handling Error Flags BFM A7 52 6 6 PROFIBUS Error Flags BENAS ER 53 6 6 Dwell Time Flag Whole Config Data Exchange Flag BFM Sa 54 6 7 Module READY Signal BFM EEN 54 6 8 PROFIBUS Bus Cycle Time BFM 6 tO 6 eege ee eege ee ec 54 6 9 Acyclic Slave Communication Deactivation Message Flags BFM 18 toile 55 6 10 PROFIBUS Module ID PNO ID BFM 26 ebe t eege degen deed 55 6 11 Master Reset I
99. e from STOP mode into RUN mode If this Bit is ON the ERROR LED will be turned ON OFF in 500ms intervals 6 13 12 Diagnosis FIFO Full BFM 29 Bit 13 The Diagnosis FIFO Full Flag is ON if the Diagnosis FIFO already contains 64 entries Writing a KO will reset this Bit together with the FIFO contents of FIFO will be deleted This Flag will be reset after the Mode changes from STOP to RUN If this Bit is ON the ERROR LED will be turned ON OFF in 500ms intervals Point If this Bit is ON 64DP M can not stock the next Slave Diagnostic Information into Internal Diagnostic FIFO Area until this bit is reset When this bit is reset all FIFO Diagnostic Messages will be cleared For FIFO Diagnostic Message reading procedure refer to Section 6 30 6 13 13 Data Exchange Error BFM 29 Bit 14 This Bit indicates a DP Slave data exchange interruption error that has happened after the DP Slave already entered cyclic data exchange with the 64DP M If a DP Slave is interrupted in exchanging data with the 64DP M this Bit is set Any DP Slave that stops data exchange is cleared out of the list of BFM 9399 to 9402 This error can occur for example if a DP Slave is removed from the network during cyclic data exchange Note If it is essential to the application that communication is discontinued in case of an error the Error Action Flag in GX Configurator DP Master Settings Goto Clear Flag should be selected Additionally the w
100. e length 7 H 9144 Slave FDL address of 3rd station FFFF H 9145 3rd station output byte length FF H 3rd station input byte length FF H we Ee 5 i S 3 GE 9266 Slave FDL address of 64th station FFFF H i 9267 64th station output byte length FF H 64th station input byte length FF H i Dune N 6 34 Total Input Data Length BFM 9328 Ver 1 04 or later 2 BFM Access Read Only S Shows the total number of input data bytes of all slaves in the configuration 7 This function is supported by Ver 1 04 or later 8 6 35 Total Output Data Length BFM 9329 Ver 1 04 or later 33 BFM Access Read Only Shows the total number of output data bytes of all slaves in the configuration This function is supported by Ver 1 04 or later sonsoubeiq Lo gt UONEWWOJUT UOISIO 91 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 36 Global Control 6 36 Global Control The 64DP M supports SYNC UNSYNC and FREEZE UNFREEZE Global Control Service The 64DP M is normally set as UNSYNC and UNFREEZE in Global Control Mode For allocation of setting error flags refer to Section 6 12 FX3U FX3uUC Seri PLC __ 64DP M Master Class 1 Buffer memory Global Control Area Example Sending the Global Control command to DP Slaves in groups 1 and 2 d e ___ PROF IBUS DP Network e RECH DEE GE ae EE NEEE GE EE GE i ee RENE Grou
101. ea BFM 9551 to 9614 BFM Access Read Only Cyclic Output Start Address Area shows the start address of Output Data Area of each DP Slave Data is set in this area during module startup according to the parameter data stored in the 64DP M The start BFM address is set in 1 word units for both input and output If no output data is assigned to a DP Slave then the start address of this DP Slave will be set to FFFF hex After boot up of the 64DP M this information is available after the Module READY Signal BFM 5 Bit 0 is set to ON by the 64DP M BFM Address BFM 9551 1st station 9552 2nd station 9553 3rd station Start Address of Output data for each DP Slaves 9612 62th station 9613 63th station 9614 64th station Example For the following I O configuration case the Cyclic Output Data Start Address Area is as shown below 1 Output configuration a Station No and output data length Station No Output Data Length Station No 1 Address No 0 5 bytes Station No 2 Address No 2 2 bytes b Output data area assignment for Example BFM 2350 to 3373 BFM Address Upper byte Lower byte 2 Output Start Address Area for Example BFM 9551 to 9614 BFM Address BFM 9551 Output start address of 1st station is 2350 9552 Output start address of 2nd station is 2353 9553 Output start address of 3rd station is OxFFFF Output start address area 9612 Output start address of 62nd station is OxF
102. ed D vi 5 D O Z gt UONEWWOJUT UOISJO FX3u 64DP M PROFIBUS DP Master Block 8 Example Program User s Manual 8 3 Initializing the Network 8 3 Initializing the Network The Create POU functionality enables GX Configurator DP to output an IL Instruction List Program from the user configured network Users can import this IL Program to GX IEC Developer since it is fully compatible This IL Program has the same parameter settings for Data Registers D Auxiliary Relays M and Extension Registers R based on the user configured network To import the IL Program to GX IEC Developer follow the procedures below These procedures include GX Configurator DP Operations and GX IEC Developer Operations Make sure to complete the GX Configurator DP Operations first The DP master can retrieve all slave I O Data in a memory efficient manner using a single FROM TO instruction thereby having only a small influence on the PLC cycle time Prima rocedures GX Configurator DP Operations 1 Set the Input CPU Device and Output CPU Device in the Slave Parameter Settings dialog box where users establish the cyclic data exchange 2 Select Actions in the menu bar and click Create POU to output an IL Program based on the user configured network The extension of this IL Program is lt asc gt For details Refer to Subsection 8 1 3 For GX Configurator DP operations refer to GX Configurator DP S
103. ed in BFM 29 Bit 12 If an incorrect value for the mode was written to BFM 39 an additional error is displayed in BFM 28 Bit 4 The mode change can only be performed if the 64DP M is in STOP mode Change is not possible from mode Buas 3 to mode 0 when at least one DP Slave has a input or output data area bigger than 32 byte Sg For more detailed information on the structure of the I O Data Area 2 refer to Section 5 1 6 23 and6 24 23 For BFM 28 details refer to Section 6 12 3 For BFM 29 Bit 12 details refer to Subsection 6 13 10 9 Value Hex Description Ulm 0 64DP M is in Normal Service Mode amp 5 3 64DP M is in Extended Service Mode default setting SE Note Changing the Operation Service Mode by writing to BFM 39 will not permanently change the mode as the information is only stored in internal RAM memory After the power supply of the 64DP M is switched off once the 64DP M will startup with the default mode Operation Service Mode 3 sonsoubeiq Lo gt UONEWWOJUT UOISIO 61 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 21 Data Swap Activate Flag BFM 73 to 76 6 21 Data Swap Activate Flag BFM 73 to 76 6 22 BFM Access Read Write These flags use to handle the swap I O data function for each DP Slave which might be helpful when word data are exchanged with DP Slaves that support different byte orders within a word
104. efer to it s respective manual For acquiring required manuals contact the distributor from who you have purchased the product Refer to these manuals O Refer to the manual required depending on the equipment used A For detail explanation refer to an additional manual Manual eee Manual Name Description Number Manual for the Main Module FX3u FX3uc Series PLCs Main Unit Describes FX3U Series PLC specification for Supplied FX3u Series I O wiring and installation extracted from the pp JY997D18801 FX3u User s Manual Hardware Edition Manual Hardware Manual i For details refer to FX3U Series Users Manual Hardware Edition Additional FX3U Series Describes FX3U Series PLC specification User s Manual JY997D16501 details for I O wiring installation and 09R516 Manual om l Hardware Edition maintenance Describes FX3uc D DS DSS Series PLC l FX3uc D DS DSS specification for I O wiring and installation Supplied extracted from the FX3uc User s Manual Series JY997D28601 fe Manual Hardware Mania Hardware Edition For details refer to FX3uc Series User s Manual Hardware Edition Additional FX3UC Series Describes FX3UC Series PLC specification User s Manual JY997D28701 details for I O wiring installation and O9R519 Manual d Hardware Edition maintenance Programming for FX3uU FX3uc Series FX3S FX3G FX3GC FX3uU FX3uUC Series Additional Describes PLC programming for basic Programming Manu
105. egistration e Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and or other countries e The company and product names described in this manual are the registered trademarks or trademarks of their respective companies FX3u 64DP M PROFIBUS DP Master Block User s Manual Table of Contents SAFETY PRECAUTION eege eege i Applicable Sta ndatd E 7 Locationzand Usage of Naass begereeseggete a eat a at 9 FAS SOCIAL E EE 10 Generic Terms and ADDFeViAtlO nS iss geugegenggdeuehegdg A cateacesictevennaccbaneniseencdevandesmesandouseateeanceges 12 Reading of the ET scccssccesceoo cc asesecccc semen tates ceeta ee sed eee ds Sesh eea pease ess heen nteaacaeeeseesesedeseceeesenckts 14 1 Introduction 16 1 1 Peaturescor ING E TR E EE 16 1 2 External Dimensions and Each Part Name 17 1 2 1 External Dimensions and Each Part Name aannannnannnannnennnnnnnnnnsnnnsnnnnnrsrrrenrrsnrnrrrsnrrsnrnsnrrerrnrrrnn 17 1 2 2 Pin Configuration of PROFIBUS DP Connechor 18 e OY SIEM COMNGUI ALON EE 18 1 3 1 Applicable PROFIBUS DP Network a nnennnnenennnnannnnnnnssnnnennnnnrrennrrenrrrssnrnnerrnnrrrnnrrrnnrreenrrsenrernrrrne 18 1S2 Applicable EE 21 E COMMUNICATION EE ER 1 4 1 COMMUNICATION Time 22 14 2 PROFIBUS BUS Cycle Time EE 23 1 5 System Startup Ir VOCCO UNC isiesesteccachcns ih occas et a tehieh accaisk noone a 26 2 Specifications 27 SEELEN ebe eee eee eee ee
106. eration of GX Configurator DP refer to the GX Configurator DP Software Manual Point 1 Module type Select the PROFIBUS DP V1 FX3U 64DP M on Network Setup dialog box 2 Download the project When making the project download it to 64DP M For download operation details refer to GX Configurator DP Software Manual 1 Master Parameter Setting Set the master parameter as follows in the Master Setting dialog box For details refer to Section 7 1 and GX Configurator DP Software Manual Master Settings Module FX3U 64D P M Revision E Vendor MITSUBISHI ELECTRIC CORPORATION Name PROFIBUS Master Baudrate 1 5 Mbps e FDL address 0 O DAR Head address on PLC O Ox0 0x7 Error action flag Goto feat State Min slave interval 30 1 65535 Polling timeout 50 1 65535 Data control time NO 1 65535 Watchdog 5 Z r OK Cancel Default BusParam 2 Bus Parameter Setting Set the bus parameter as follows in the Bus Parameter dialog box For details refer to Section 7 2 and GX Configurator DP Software Manual Bus Parameter Select Baudrate 1 5Mbps v Profibus FDL Parameters Slot Time T_sl 300 87 16383 0 200000 min T_sdt Dm 1023 0 007333 max T_sdr 15000 37 1023 0 100000 Quiet Time T_qui log 127 o o00000 Setup Time T_set ft 1 255 0 000667 Target Rot Time Tt 50000 256 16777215 33 333332 GAP factor fo p 100 HSA 126 2 126 Max retry lim
107. erecsesssseetscssonssseesestenenssessensensesensens 94 6 37 Information Dwell Time Setting BFM ZO30O4l ce cccccceececseeeeseeeesseeeeseeeeeseeeeseeeeeseesesaeeeees 95 6 38 Cyclic Slave Status Area BFM 9399 to 20402 96 6 39 Acyclic Slave Status Area BFM 9407 to SO4T10l 96 6 40 Cyclic Input Data Start Address Area BFM 9426 to 2040 97 6 41 Cyclic Output Data Start Address Area BFM 9551 to SOop14l ccc ceccceeeceseeeeeeeeeesaeeeees 98 6 42 Number of Configured Slaves BFM 9676 ccccccceccceceeceseeeeseeeeeseecesseeeeseeeesseeeseeeeesseeeees 99 6 43 Slave Number Slave FDL Address Slave PNO ID IBEMSOG toHOppnl 99 6 44 PROFIBUS Scan PUN CHON EE 99 6 44 1 Get DP Slave List Request BFM IOOR7 100 6 44 2 Configuration Difference Status BFM 10053 to O0G0l ccc ecccceceeeeseeeeeeeeeeeseeeeeeees 100 6 44 3 Scan Slave FDL Address BFM SIOOG cc cecccccccccssececeeeeeeseeeeeseaeeeseeeeeeseaeeessaaeeeseaeeeseaes 101 6 44 4 Number of Detected Slave BFM SiOOG 101 6 44 5 Detected Slave Lists BFM 10063 to 10443 ccc ccccseseseceeeeeeeeseeeesessesseaeeeseeeeeeeeness 101 7 Setting Parameters and Configuration GX Configurator DP 102 T Master Een EE 103 LABUS UAVS VL EE 104 13 INGIWOIK COMU AON EE 104 FX3u 64DP M PROFIBUS DP Master Block User s Manual 8 Example Program 105 nee A DEE 105 OA ed SYSLEMY COMMGUMALION DEE 105 81 2 COME MIS Ol CDCI te e DEEN 105 8 1 3 Setting Network Configuration
108. et BFM 27 and after Configuration is download from GX Configurator DP It will be reset by writing KO and after the Mode changes from STOP to RUN For Master Reset details refer to Section 6 11 suoeoyioads NO 2 Master Hardware Error BFM 29 Bit 1 This bit is set to ON if the Hardware has an error Module is probably damaged Please consult the nearest Mitsubishi Electric distributor 3 Slave Parameter Error BFM 29 Bit 3 This flag is set to ON if 64DP M has received a parameter error from a DP Slave The DP Slaves which reported parameter errors are listed in BFM 7000 to 7003 The detailed reason for the parameter error is listed in BFM 7008 to 7071 There is a probability that the GSD file for the DP Slave imported into GX Configurator DP is corrupt Please check for an updated version with the vendor of the DP Slave For Master Slave Internal Slave Parameter Error Flag BFM 7000 to 7003 refer to Section 6 27 For Master Slave Internal Slave Parameter Error Data BFM 7008 to 7071 refer to Section 6 28 4 Setting Error Flag BFM 29 Bit 4 This flag is ON if the user accesses FROM TO instructions etc from a protected BFM or if there is an invalid entry written into a BFM Check BFM 28 for further details The reason for this error can be a mistake in the user program or an access to the BFM area by the entry data uone jesuy Od buum d LD monitor function of the Programming software i e GX Developer RS
109. ets the PROFIBUS Mode from RUN mode to STOP mode If the PLC is switched from RUN to STOP mode or if the PLC has a PROG error or CPU error the 64DP M will automatically be set to STOP mode Data Exchange Start Request Bit O Flag uoneyjesuy Od gt By user program Automatically by 64DP M buum d Module READY Signal BFM 5 Bit 0 BFM 5 bit 0 ON LD The initial output data is writen to the Cyclic Output 2 i Data Area BFM 2350 to Do 3373 by TO instruction N Os etc 23 On Reset Data Exchange Start Request Flag BFM 1 Bit 0 Set Data Exchange Start Request Flag BFM 1 Bit 0 to ON A BFM 1 bit 0 ON 4 FE ngo SE data exchange mode o S Exchange Start End Flags BFM 0 RUN Exchange Start End Flags 3 S is set to 1 by 64DP M to indicate BFM 0 is reset to 0 by D Data Exchange Mode RUN W 64DP M to indicate STOP mode BFM 0 K1 Dune N All projected DP Slaves are S D exchanging data with 64DP M S Whole Config Data Exchange Flag e D BFM 4 Bit 1 is set to ON by 64DP M oe to indicate that all projected DP Slaves 2 are performing data exchange Whole Config Data Exchange Flag BFM 4 Bit 1 is reset by 64DP M The Dwell Time Flag BFM 4 Bit 0 is set to ON after expiration of the Dwell Time BFM 9394 After this point all startup diagnostic messages will be cleared and the user program can perform Dwell Time Flag BFM 4 Bit 0 is normal data
110. etwork configuration is probably different than the real network configuration e g missing DP Slaves wrong Slave FDL addresses To check the configuration discrepancies by PROFIBUS Scan Function use the function of BFM 10052 For PROFIBUS Scan Function details refer to Section 6 44 e The FX3U FX3uc PLC switches to STOP mode which will cause the master to also switch to STOP mode e The user program has not yet started communication by setting Data Exchange Start Request Flag BFM 1 Bit 0 to ON For BFM 1 details refer to Section 6 3 Unlit e The user program has reset Data Exchange Start Request Flag BFM 1 Bit 0 by mistake and has stopped the 64DP M For BFM 1 details refer to Section 6 3 e A Hardware error or Network error has occurred Check ERROR LED and contents of BFM 29 For details refer to Section 9 2 1 An FX2NC CNV IF or FX3UC 1PS 5V is necessary to connect to the 64DP M with the FX3Uc Series PLC However the 64DP M cannot be connected to the FX3UC 32MT LT 2 3 ERROR LED LED State Description A Hardware error or Network error has occurred Lit Check the Bit status in BFM 29 For details refer to Section 9 2 Flickers in 500ms intervals e If the ERROR LED starts flickering after 64DP M switches to RUN mode possibility that the Information Dwell Time BFM 9394 setting value is too short Try to increase the dwell time setting The reason for this behavior might be that there is a DP
111. f DP Slave station No 1 to ON Write output data of DP Slave station No 1 D80 to D95 to BFM 2350 to 2365 Read cyclic output data send flag from BFM 226 Write output data of DP Slave station No 2 D40 to BFM 2366 Set cyclic output data send flag of DP Slave station No 2 to ON Write output data of DP Slave station No 2 D40 to BFM 2366 Set data exchange start request flag to ON Read communication status from BFM 4 Module READY Signal is OFF 114 8 Example Program FX3u 64DP M PROFIBUS DP Master Block User s Manual 8 1 Example Program 1 mmh Cyclic input data consistency activate Read cvclic input dat S H Mio BERN i P ME AM yclic input data 2 deactivate flag for DP Slave station No 1 ENO 5 request flag from BFM 5 Module UO G100 s d D12 100 S READY vun Clic input data request flag EE Signal Loy 7 for DP Slave station No 1 EN ENO Read cyclic input data of WowWes50 s d i DEI DP Slave station No 1 2 ki mn from BFM 350 to 365 LO CH 2 a MOV M Set cyclic input data a EN ENC request flag of DP Slave D ki s d UO0 G100 station No 1 to ON Cyclic input data consistency activate 3 D2 0 deactivate flag for DP Slave station No 1 BOW M SCH Ly EN ENC Read cyclic input data of WOWG350 s d i DED DP Slave station No 1 ki n from BFM 350 to 365 ao DI 5 Se ee S E 8 EE ge SE Ree deactivate flag for DP Slave station No 2 CH
112. g of the Manual MEMO 15 FX3u 64DP M PROFIBUS DP Master Block 1 Introduction User s Manual 1 1 Features of the FX3U 64DP M 1 Introduction 1 1 Features of the FX3U 64DP M The FX3U 64DP M PROFIBUS DP Master Block hereafter called 64DP M is a master Class 1 for the PROFIBUS DP network The FX3U FX3uUc Series PLC when connected to the 64DP M can read input data from the DP Slaves and write output data to the DP Slaves Only one 64DP M can be connected directly to the FX3u FX3uc series PLC s extension port or to any other extension unit block s right side extension port 1 An FX2NC CNV IF or FX3UC 1PS 5V is necessary to connect to the 64DP M with the FX3uUc Series PLC However the 64DP M cannot be connected to the FX3UCc 32MT LT 2 Controlled maximum slaves A 64DP M can control a maximum of 64 slaves using repeaters on the PROFIBUS DP network For system configuration of the PROFIBUS DP network refer to Section 1 3 Communication data and message The 64DP M communicates the following I O data and messages from to DP Slaves on the PROFIBUS DP network For details refer to Chapter 5 and 7 e Cyclic I O data e Acyclic I O data e Diagnostic messages Diagnostic messages from DP Slaves can be stacked to a maximum of 64 entries e Alarm Messages of alarm model Global control The 64DP M supports SYNC global control UNSYNC global control FREEZE global control an
113. ge activate deactivate flags from BFM 84 to 87 113 Dune N Uong In uUOc pue SIaUEIS D vi 5 D O Z gt UONEWWOJUT UOISIO FX3u 64DP M PROFIBUS DP Master Block User s Manual 8 Example Program 8 1 Example Program 1 Cyclic output data consistency activate Me Ce deactivate flag for DP Slave station No 1 MOV M l EN ENO Module U0 G225 5 d D10 READY Cyclic output data request flag 010 0 g DM AM Signal Ly for DP Slave station No 1 SC ENO Dis s d i WOW S2550 kib n MoM EM ENG K1 5 d UDNG225 Cyclic output data consistency activate D6 0 deactivate flag for DP Slave station No 1 PM MI LJ EE ENO D50 s d WOW 2350 KIE n Cyclic output data consistency activate N ni deactivate flag for DP Slave station No 2 GC Module U0 G226 1s d p11 READY Cyclic output data request flag Signal Et for DP Slave station No 2 eh eu A 040 d mem Mov M EN NO k1 e Cyclic output data consistency activate g deactivate flag for DP Slave station No 2 Su L Leen 040 e d mem G MO MOvP_ M EN EN Module READY Signal Ki ses me 7 ECO MOV M NO RUN UD G4 5 d Monitor AND_NE_M DTM EN ENG EN NO M 01 51 d hii ka 52 To the next page Read cyclic output data send flag from BFM 225 Write output data of DP Slave station No 1 D80 to D95 to BFM 2350 to 2365 Set cyclic output data send flag o
114. gs BFM 84 top 64 6 23 2 Cyclic Input Data Request Flags BFM 100 to SIp3l cesses cesses eessaeeeesanes 64 6 23 3 Cyclic Input Data Area in Normal Service Mode BFM 350 to 1373 ccc ceeccccseeeeeeeeeeeeee es 65 6 23 4 Cyclic Input Data Area in Extended Service Mode BFM 350 toi 66 FX3u 64DP M PROFIBUS DP Master Block User s Manual 6 24 Cy CliG OUTOUR D ala EE 67 6 24 1 Cyclic Output Data Consistency Activate Deactivate Flags BFM 92 to 95 68 6 24 2 Cyclic Output Data Send Flags BFM 225 Io 68 6 24 3 Cyclic Output Data Area in Normal Service Mode BFM 2350 to 33 69 6 24 4 Cyclic Output Data Area in Extended Service Mode BFM 2350 ol 70 0 29 PACV CIC MOU DA E 71 6 25 1 Acyclic Input Data Request Flags BFM 4500 to SAbO2 ec eccccseeeeeceeeeeeeeeeseeeeesaeeeesaees 72 6 25 2 Acyclic Input Data Area BFM 4520 to Sb01l ccccccecceceeeeceseeeeesaeeeesseeeeseeeeeseeeesseeeeesaes 72 ZG PAC CI OUMU ee 73 6 26 1 Acyclic Output Data Send Flags BFM 4510 to 4513 oo cccccceeceeceeeeeseeeeseeeeesaeeeesanes 74 6 26 2 Acyclic Output Data Area BFM 5760 top 74 6 27 Master Slave Internal Slave Parameter Error Flags BFM 7000 to S O03l 75 6 28 Master Slave Internal Slave Parameter Error Data BFM 7008 to ScO l 75 6 29 Slave DiaGnosticdMiOnmaulOny prsrinscereen meka rone eee eee oa tae a eat 76 6 29 1 Slave Diagnostic Status Flags BFM 7200 to R 203 77 6 29 2 Slave Diagnostic Request IDEMS ZOGI 77 6 29 3 Req
115. hanges to offline mode when the bus protocol is S l Bus Protocol is Disturbed Offline disturbed The 64DP M has to be set to STOP mode before RUN S Bit 7 de faulty bus termination mode can be set D Ver 1 04 or later l Sao The 64DP M changes to offline mode when the Master state a l Master State Watchdog Expired watchdog expires The 64DP M has to be set to STOP mode before g2 Bit 8 f D Offline RUN mode can be set Sa Ver 1 04 or later BIT TS 8 Note SA SS TEE AOTEA TAE E EAT AE AEETIS as If any of Bit 0 Bit 2 Bit 3 Bit 6 Bit 7 or Bit 8 is ON while the 64DP M is in cyclic data exchange RUN mode fo the 64DP M will automatically change to Offline mode amp S 3 gt UONEWWOJUT UOISIO 53 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 6 Dwell Time Flag Whole Config Data Exchange Flag BFM 4 6 6 Dwell Time Flag Whole Config Data Exchange Flag BFM 4 BFM Access Read Only The Communication Control Flags are allocated as follows Bit O Dwell Time Flag This flag is set to ON after expiration of the dwell time BFM 9394 This flag is set to ON after all projected PROFIBUS slaves have Whole Config Data Exchange entered data exchange with the 64DP M If one or more DP Slaves H of the downloaded GX Configurator DP project are disconnected from the PROFIBUS this flag will be automatically reset Note e For sta
116. he data consistency of the Output data If this Bit is set to ON the handling in Section 5 1 should be used The default value is set by the GX Configurator DP If a data consistency greater than 16 bits is set by the GX Configurator DP the Bit of this DP Slave is set to ON However it can be reset by the user by writing to this BFM Cyclic Output Data Consistency Activate Deactivate Flags of each DP Slave assignment is shown in the following table BFM No BitNo Station No BFM No BitNo Station No Bit 15 16 Bit 15 48 Bit 15 32 Bit 15 64 Note Activating deactivating these flags by writing to BFM 92 to 95 will not permanently change the configuration that was downloaded to the 64DP M After the power supply of the 64DP M is switched off once the 64DP M will startup with the original configuration that is stored in the 64DP M s internal Flash memory To make the change permanent the setting should be done in GX Configurator DP or every time on system startup in the user PLC program 6 24 2 Cyclic Output Data Send Flags BFM 225 to 288 BFM Access Read Write Output Data Send Flags should be used for Data Consistency Mode to exchange data to DP Slaves when output data is more than 16 bit and the consistency mode flag is ON in BFM 92 to 95 Output Data Send Flags of each DP Slave assignment is shown in the following table BFM No BitNo Station No BFM No BitNo Station No 68 FX3u 64DP M PROFIBUS DP
117. he valid range lies between 1 and 240 bytes BFM BFM User data 5764 6136 Dataf 7 For data format details refer to the to 5883 to 6007 to 6131 to 6255 manual of DP Slave Description 1 One byte is written to one separate BFM except for the Data field 2 Size of Datal is 240 bytes 74 E X3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BF Ms User s Manual 6 27 Master Slave Internal Slave Parameter Error Flags BFM 7000 to 7003 mmh 6 27 Master Slave Internal Slave Parameter Error Flags I BFM 7000 to 7003 S BFM Access Read Write only reset to 0 Shows Master Slave Internal Parameter Error status of each DP Slave If the Bit is ON there is a Master 2 Slave Internal Parameter problem with this DP Slave y If any of these Bits is ON the corresponding Bit in BFM 29 Bit 3 will also be ON Resetting BFM 29 Bit 3 will 8 clear BFM 7000 to 7003 to KO St Master Slave Internal Parameter Error Flags of each DP Slave assignment is shown in the following table zj BFM No BitNo Station No BFM No BitNo Station No i 33 3 E 50 4 6 28 Master Slave Internal Slave Parameter Error Data BFM 7008 to 7071 LD BFM Access Read Only Qoz For each DP Slave there is a Master Slave Parameter Error Data implemented with the following error codes Ss If any of these Bits is ON the corresponding Bit in BFM 29 Bit 3 and in BFM 7000 to 7003 will als
118. imum Slave Interval suogeaoads N uonegteut LA Slave Watchdog This setting value is the same as Minimum Slave Interval Highest station address of the whole PROFIBUS Network BFM 34 Bit 1 ON Bus parameter buum d 1 3 2 Applicable PLC LD For setting up a system only one 64DP M can be connected directly to the FX3uU FX3uc 1 series PLC s extension port or to any other extension unit block s right side extension port SE The 64DP M occupies 8 points of UO on the expansion bus of the FX3uU FX3uc series PLC The 8 points can 3 So be allocated from either inputs or outputs The maximum UO for a FX3U FX3uUC system is 256 I O S 3 PLC Type Version FX3U series PLC Ver 2 21 or later 6 FX3UC series PLC Ver 2 21 or later BPE TI O o 1 An FX2NC CNV IF or FX3UC 1PS 5V is necessary to connect to the 64DP M with the FX3uUc Series PLC Sales However the 64DP M cannot be connected to the FX3Uc 32MT LT 2 3o Note P When connecting two 64DP M or more to FX3U FX3UC PLC a hardware error will occur in the FX3U FX3UC H PLC main unit Error code K6107 ODL Py gs SE sonsoubeiq Lo gt UONEWWOJUT UOISIO 21 FX3u 64DP M PROFIBUS DP Master Block 1 Introduction User s Manual 1 4 Communication Time 1 4 Communication Time 1 4 1 Communication Time The communication time is the data exchange time between the FX3u FX3uc PLC series PLC and DP Slaves The expression below gives
119. input channel while Exchange Consistency Error the Acyclic Input Data Request Flag of this channel is ON Bit 4 Acyclic Output Data Exchange This Bit is set to ON if writing output data to a acyclic output channel while Consistency Error the Acyclic Output Data Send Flag of this channel is ON Bit 5 Acyclic Output Data Request This Bit is set to ON if writing a request to an acyclic output channel while Exchange Consistency Error the Acyclic Output Data Send Flag of this channel is ON Bit 6 Slave Diagnostic Read This Bit is set to ON if reading diagnostic information from a DP Slave Consistency Error while the Slave Diagnostic Request Flag of this DP Slave is ON Bit 7 Slave Diagnostic Read Request This Bit is set to ON if writing a diagnostic information request to a DP Consistency Error Slave while the Slave Diagnostic Request Flag of this DP Slave is ON Bit 8 FIFO Diagnostic Read This Bit is set to ON if reading a FIFO diagnostic information while the Consistency Error FIFO Diagnostic Request Flag is ON Bit 9 FIFO Diagnostic Read Request This Bit is set to ON if writing a FIFO Diagnostic Request while the FIFO Consistency Error Diagnostic Request Flag is ON This Bit is set to ON if reading a Alarm Message while the Alarm Message Bit10 Read Alarm Consistency Error Request Flag is ON l Read Alarm Request This Bit is set to ON if writing a Alarm Message Request while the Alarm Bit 11 l Consistency Error Message Request
120. ion The I O data channel consists of 244 byte 4 Byte header data and up to 240 Bytes user data Acyclic data communication has lower communicative priority than cyclic data communication The 64DP M has 4 data areas for acyclic input communication The data communication procedure of acyclic input data communication functions according to the following timing chart for communication data consistency For data format detail refer to Subsection 6 25 2 Point Acyclic UO data communication can only be used in RUN BFM 0 K1 Clear BFM 0 K3 or AutoClear BFM 0 K4 mode For mode details refer to Section 6 2 Acyclic I O Data Communication FX3U FX3UC PLC main Unit 64DP M Master Class 1 Buffer memory 1 FROM or RBFM instructions BFM direct designation in applied instruction Input Data Area for Acyclic Data Communication 2 TO or WBFM instructions BFM direct designation in applied Output Data Area instruction for Acyclic Data Communication A J foo PROFIBUS DP Network E E Slaves Acyclic Input Data Communication reading procedure gt By user program Write input request data of the gt Automatically by 644DP M DP Slave to area 1 of BFM 4520 gl to 4523 by TO instruction etc wae Do not read from Set the Acyclic Input Data be eat Request Flag for the area 1 renee dee rm Se J BFM 4500 Bit 0 to ON and wait until it is reset by 64DP M aS ON D Read the Acyc
121. ion default gt d e The output image memory value is output immediately normal condition a lt During SYNC execution gt The output image memory value is only output once during the SYNC service timing V Service SYNC issued in the same group 1 SYNC Global Control command 9 In SYNC mode the output data sent to DP Slaves belonging to the group specified by BFM 9390 is not immediately written to the actual physical outputs of the DP Slave The output data are stored inside the 8 DP Slaves until the following SYNC UNSYNC Global Control command is sent then the output data of P those DP Slaves are updated The first SYNC command sent to the DP Slaves will switch them into Z SYNC mode 2 UNSYNC Global Control command A When sending an UNSYNC Global Control command to a DP Slave which is in SYNC mode the DP E Slave will be released from SYNC mode and will cause that output data sent to this DP Slave are os continuously updated By specifying a group of DP Slaves in BFM 9390 the UNSYNC command can be a S performed on arbitrary DP Slaves similar to the SYNC command 93 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 36 Global Control Note When using the SYNC Global Control command output data sent to the DP Slave is not refreshed until the next SYNC or UNSYNC global command is sent to the DP Slave That is even if new data is written to the Output Data Area BFM 2350 to
122. it H 1 7 Cancel Default 106 FX3u 64DP M PROFIBUS DP Master Block 8 Example Program User s Manual 8 1 Example Program 1 mmh 3 Network Configuration S Make network configuration as follows on graphical network editor window S For operation details refer to GX Configurator DP Software Manual Di untitled DP3 2 PROFIBUS Master n e uonegteut La Slave_Nr_001 1 buum d 4 FXON 32NT DP Setting For operation for Module Configuration selection and Slave Parameter refer to GX Configurator DP Software Manual LD Opol 1 Module Configuration Setting 101 U09 JEGO D SUULUOD gq Set the Module Configuration for FXON 32NT DP as follows in the Slave Modules dialog box Slave Modules BPE Info a 5 2 Modules installed 4 are possible Max Data size 80 Byte s 2g Z n 1 0 usage 32 d 32 Byte s Max 1 0 sizes 40 40 Byte s S S O O User_Prm_Data usage 2 Byte s Max User_Prm_Data size 2 Byte s L on Module Configuration Available Modules Slot Installed Module D am 4 words_input_area 0 4 words_output_area Add before D 32 S T Add after ow 0 a Remove OK Cancel D vi 5 D O Z gt UONEWWOJUI UOISIO 107 FX3u 64DP M PROFIBUS DP Master Block User s Manual 8 Example Program 8 1 Example Program 1 2 Slave Parameter Setting Set the slave parameter for FXON 32NT DP as follows in the Slave Para
123. knowledge function The alarm message from the DP slave is stored in D350 to D384 When inserting this program to the GX IEC Developer example in Subsection 8 1 5 do not include the PRG_MAIN Body Network 1 below with the mark since it is redundant zk i 1 4 OS FROM Ml WA EN ENO j Monitor Fe Kim Slave alarm P45 s Write request slave message kKU ni number to BFM 8934 Sag K8934 na available flag wei TOF M NO Ki E Set alarm message request Ko ni BFM 8933 Bit 0 KE933 n2 Ki n3 4 dE FROM Mi E ENO il Read alarm messa IR ge RUN a a request from BFM 8933 ne Monitor KK e Read alarm message data from BFM 8935 to 8969 To the next page 118 FX3u 64DP M PROFIBUS DP Master Block 8 Example Program User s Manual 8 2 Example Programs to Read Alarm Message from Tum ON when the check completes for the alarm message of _DP Slave station No 41 3 zk TOP M EN ENG HOF BEE A Reset alarm massage pt available flag K79 p BFM 29 Bit 10 K1 m3 TOP_M EN ENO HOFEFF Reset alarm acknowledge Gr nl status of DP Slave station k n n2 No 41 in BFM 8802 ki n3 Reset Command input Q E device xxx mark when Cp oe this device is set 119 mmh suoeupade N uononpou uonegteut LA buum d LD SPON 101 U09 IPOO SUULUOD gq SW49 SaUOUa Jang Jo uoneoolly Buas uoneinByuo5 pue sjajawes
124. lic Input Data Area DP Slave channel Communication for each acyclic DP Slave channel from this area v v 4 acyclic DP Slave channel maximum 240 248 bytes channel Nowses A BEE 6 23 1 6 24 1 6 23 2 6 24 2 6 23 3 6 24 3 6 25 1 6 26 1 6 25 2 46 FX3u 64DP M PROFIBUS DP Master Block User s Manual 6 Allocation of Buffer Memories BFMs 6 1 Buffer Memories BFM Lists BFM No BFM 5760 to BFM 6255 BFM 6256 to BFM 6999 BFM 7000 to BFM 7003 BFM 7004 to BFM 7007 BFM 7008 to BFM 7071 BFM 7072 to BFM 7199 BFM 7200 to BFM 7203 BFM 7204 to BFM 7207 BFM 7208 BFM 7209 BFM 7210 to BFM 7335 BFM 7336 BFM 7337 BFM 7338 to BFM 7463 BFM 7464 to BFM 7591 BFM 7592 to BFM 8783 BFM 8784 to BFM 8787 BFM 8788 to BFM 8791 Acyclic Output Data Area Not used Master Slave Internal Parameter Error Flags Not used Master Slave Internal Parameter Error Data Slave Diagnostic Request Slave Number FIFO Diagnostic Request Internal FIFO Counter Automatical Acknowledge Setting Description BFMs Access Reference Writes output data of Acyclic Communication for each acyclic DP Slave channel to this area 4 acyclic DP Slave channel maximum 240 248 bytes channel ON when Master Slave Internal Parameter Error occurs during DP Slave s initialization Checks this error data when Master Slav
125. lic Input Data from area 1 BFM 4520 to 4643 A p Read 71 Q O oO Ei Q O a Lg o ew 29 SaUOoUlaul JONG uoneinByuo5 pue siajoWeled mmh suoyeoyioeds N uononpou uonegteut LA buum d LD Opol SWUULUOD gq JO uoevojiy Dune N wesbold aiduexy OO sonsoubeiq Lo gt UONEWWOJUT UOISIO FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 25 Acyclic Inout Data 6 25 1 Acyclic Input Data Request Flags BFM 4500 to 4503 BFM Access Read Write Acyclic Input Data Request should be used for getting acyclic input data from the DP Slaves Acyclic Input Data Request of each data area assignment is shown in the following table Acyclic Input Data Area BFM No Description Header Data BEM 4500 nn BFM 4524 to 4643 e BFM 4501 BFM 4648 to 4767 SE BFM 4502 BFM 4772 to 4891 SE BFM 4503 A ee SE 6 25 2 Acyclic Input Data Area BFM 4520 to 5015 BFM Access Read Write 64DP M has 4 data areas of 248 bytes for Acyclic Input Data via communication channels Acyclic Input Data format of each data area assignment is shown in the following table BFM No Data Data Data Data Description Area 1 Area 2 Area 3 Area A e When writing request data Writes the projected slave number for reading BFM BFM BFM BFM SlaveNumber The valid range lies between 1 and 64 slaves 4520 464
126. little endian big endian If this Bit is set to ON the swap function is activated which means that the transmission order of bytes is swapped for the corresponding DP Slaves The default value is set by the GX Configurator DP BFM No BitNo Station No BFM No BitNo Station No Bit 15 16 Bit 15 48 Bit 15 32 Bit 15 64 Note Activating deactivating these flags by writing to BFM 73 to 76 will not permanently change the configuration that was downloaded to the 64DP M After the power supply of the 64DP M is switched off once the 64DP M will startup with the original configuration that is stored in the 64DP M s internal Flash memory To make the change permanent the setting should be done in GX Configurator DP or every time on system startup in the user program Change Slave FDL Address BFM 81 to 83 BFM Access Read Write By using the Change Slave FDL Address function a Slave FDL Address can be changed via 64DP M in STOP mode BFM 0 KO To change the Slave FDL Address write the old present Slave FDL Address to BFM 82 and the new Slave FDL Address to BFM 83 Then set the Change Slave FDL Address Flag BFM 81 Bit O to ON After completion of the address change this flag will automatically change to OFF If the change of a Slave FDL Address was not successful BFM 29 Bit 15 will turn ON Write the old present FDL address to gt By user program BFM 82 and the new FDL address to Automatica R
127. ly externally before attempting installation or wiring work Failure to do so may cause electric shock CAUTION E Use the product within the generic environment specifications described in the PLC main unit manual Hardware Edition Never use the product in areas with dust oily smoke conductive dusts corrosive gas salt air Ch HS SO or NO flammable gas vibration or impacts or exposed to high temperature condensation or wind and rain If the product is used in such conditions electric shock fire malfunction deterioration or damage may occur Install the product securely using a DIN rail or mounting screws 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 When drilling screw holes or wiring make sure cutting or wire debris does not enter the ventilation slits Failure to do so may cause fire equipment failures or malfunctions Be sure to remove the dust proof sheet from the PLC s ventilation port when the installation work is completed Failure to do so may cause fire equipment failures and malfunctions Connect the extension and communication cables securely to their designated connectors Unsecured connection may cause malfunctions Do not touch the conductive parts of the product directly to avoid failure or malfunctions 3 WIRING PRECAUTIONS WARNING E e Cut off all phases of the power supply exter
128. m BFM 8800 to BFM 8803 Es o S 30 Write the Slave Number for reading Alarm Message Data in BEM 8934 wate Alarm Message Request Flag BFM 8933 Bit 0 Do not read from BFM 8935 to 8969 during this time S sonsoubeiq Lo Read the Alarm Message Data of the selected DP Slave from BFM 8935 to a 8969 A Read Acknowledgement for the DP Slave will be sent to the DP Slave when storing the Alarm Message in BFM 8935 to 8969 gt UONEWWOJUT UOISIO 85 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 32 Alarm Message 2 Alarm Message reading procedure by not using Automatic Acknowledge Function For Slave Alarm Message Available refer to Subsection 6 13 9 For Automatic Acknowledge Setting Alarm Message Status Alarm Message Counter Alarm Message Request Request Slave Number Alarm Message Data Alarm ACK request Slave number refer to Subsection 6 32 1 6 32 3 to 6 32 9 gt By user program The slave sends Alarm Message to 64DP M Alarm Automatically by 64DP M Message Slave Alarm Message Available BFM 29 Bit 10 ON ea t All Alarm Messages of all DP Slaves are read Then reset the Slave Alarm Message Available Flag BFM 29 Bit 10 when all Alarm Acknowledge Status Flags in BFM 8792 to 8795 become OFF Alarm Messgage Status BFM 8800 to 8803 Write the slave number for reading Alarm Message Data in BFM 8934 w
129. m all Internal FIFO Counters will be reset cleared and all Buas Diagnostic FIFO Information will be reset in Internal Slave Diagnostic FIFO Area O BE 6 13 1 Master Reset Status Flag BFM 29 Bit 0 a5 This Bit is set to ON after Software reset BFM 27 and after Configuration download It will be reset by S writing a KO and after Mode change from STOP to RUN 8 U Mm 6 13 2 Master Hardware Error BFM 29 Bit 1 FE This Bit is set to ON if the Hardware has an error Module is damaged If this error occurs it is not possible for the 64DP M to change into RUN mode data exchange If this error occurs while the 64DP M is already in RUN mode it will automatically be switched to STOP mode If this Bit is ON the ERROR LED will be turned ON 6 13 3 Slave Parameter Error BFM 29 Bit 3 sonsoubeiq Lo The Slave parameter error flag is set to ON if the 64DP M has received a parameter error from a DP Slave The DP Slaves which have reported parameter errors are listed in BFM 7000 to 7003 The detailed reason for the parameter error is listed in BFM 7008 to 7071 Writing KO will reset this Bit and the BFM 7000 to gt 7003 and BFM 7008 to 7071 os This Flag will be reset after the Mode changes from STOP to RUN a S If this Bit is ON the ERROR LED will be permanently turned ON S 57 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 13 Master Error Status BFM 29
130. meter Settings dialog box Slave Parameter Settings Model FXON 32NT DP Vendor Slave Properties Name FDL Address Watchdog min T_sdr Group identification number Iw Active Addresses in MELSEC CPU Memory D v ep 0 12272 to D v Er 0 12272 Input CPU Device Output CPU Device Swap ld Bytes in Master Cancel Default User Param Select Modules Revision Mitsubishi Electric Corp MEU GER 1 02 Size Mr D I fi 0 125 E f 1 255 Gpl IT Gp2 f Gp3 f Gp4 Gp5 IT Gp6f Gp fF Gps Syne Output Freeze Input DP My ash Patani 75 to 95 5 FX2N 32DP IF Setting For operation for Module Configuration selection and Slave Parameter 1 Module Configuration Setting refer to GX Configurator DP Software Manual Set the Module Configuration for FX2N 32DP IF as follows in the Slave Modules dialog box Slave Modules Info 4 Modules installed 32 1 0 usage 2 d 2 User_Prm_Data usage 2 Module Configuration Available Modules FX2N 44D INTEL ext cfg FX2N 44D INTEL short cfg FX2N 4DA4 INTEL ext cfg FX2N 4DA INTEL short cho FX2N 44D PT ext cfg FX2N 44D PT short cfg FX2N 44D TC INTEL ext cfg FX2N 44D TC INTEL short cfg FX2N 1HC ext cfg FX2N 1HC short cfg FX2N 1PG INTEL PLATE IVI RIT are possible Max Data size 200 Byte s Byte s Max 1 0 sizes 200 d 200 Byte s Byte s Max User_Prm_Data size 193 By
131. mmand is send to the DP Slave That is even if the input receive data from the DP Slave reads the Input Data Area BFM 350 to 1373 by FROM instructions etc this is not refreshed until the following FREEZE or UNFREEZE global command is issued from the PROFIBUS DP in FREEZE Global Control Mode FREEZE and UNFREEZE Global Control command sending procedure uonegteut OO Write the FREEZE Global Control command and group setting to Global By user proaram Control Area BFM 9390 by TO ee instruction etc Automatically by 64DP M buum d Read the input data of the DP Slave from the Cyclic Input Data Area BFM 350 to nore A Read input Write the FREEZE or UNFREEZE Global data Control command and group setting to Global Control Area BFM 9390 by TO LD instruction etc o FREEZE or OSS UNFREEZE Do not read from D ZS Set Input Data Send Flag BFM 100 to the Input Data 93 163 to ON for the DP Slave which siave during this E changed to UNFREEZE mode only needs time if Input Data Consistency Activate Deactivate Flags of DP Slave is ON ON ave Read the input data of the DP Slave in SS FREEZE mode from the Cyclic Input Data Area Bae BFM 350 to 1373 by FROM instruction etc Gd Read input 3 data D 64DP M will receive by input data specified DP Slaves in FREEZE mode via cyclic communication by polling Dune N SS 6 37 Information Dwell Time Setting BFM 9394 j BFM Access Rea
132. mmunication Control Flag to BFM 33 Clear Control Flag or to BFM 34 PROFIBUS Error Mask Flag Bit 2 Not used Bit 3 Wrong value was written to BFM 27 Master Reset Bit 4 e Wrong value was written to BFM 39 Operation Mode e Write access to BFM 39 while 64DP M was not in STOP or Offline mode Bit 5 e Wrong value was written to BFM 81 to 83 Change Slave FDL Address e Write access while 64DP M was not in STOP mode Change Slave FDL Address Bit 6 e Wrong value was written to BFM 100 to 163 Cyclic Input Data Request Flag e Wrong value was written to BFM 225 to 288 Cyclic Output Data Send Flag e Wrong value was written to BFM 4500 to 4503 Acyclic Input Data Request Flag Bit 7 e Unused slave number was written to acyclic input request channel BFM 4520 4644 4768 or 4892 e Write request while 64DP M is in STOP or Offline mode e Wrong value was written to BFM 4510 to 4513 Acyclic Output Data Send Flag Bit 8 e Unused slave number was written to acyclic output request channel BFM 5760 5884 6008 or 6132 e Write request while 64DP M is in STOP or Offline mode e Wrong request value was written to BFM 7208 Bit 9 e Unused slave number was written to BFM 7209 e Write request while 64DP M is in STOP or Offline mode Slave Diagnostic e Wrong request value was written to BFM 7336 FIFO Diagnostic request e Wrong value was written to BFM 7337 only KO is allowed e Wrong value was written to BFM 8933 Bit 11 e Unused slave n
133. more than 16 bits and the consistency mode flag is ON in BFM 84 to 87 Input data request flag of each DP Slave assignment shows in the following table BFM No BitNo Station No BFM No BitNo Station No 64 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 23 Cyclic Input Data mmh 6 23 3 Cyclic Input Data Area in Normal Service Mode BFM 350 to 1373 3 BFM Access Read Only 64DP M can exchange 32 bytes 16 words of cyclic input data to every DP Slave as follows BFM Address BFM Address Upper byte Lower byte Bit O 2 BFM 350 g 1st station 3 a Im S 366 oS S 2nd station Sy 381 382 397 uone jesuy Od K Z 32thbyte 31thbyte 3rd station N 2nd byte 1st byte n 4th byte 3rd byte 6th byte oth byte 8th byte 7th byte 1358 d 64th station K t 1373 DS EE 381 32th byte 31th byte Note buum d If the input data of a DP Slave is less than 32 bytes the input data area of this DP Slave will be a free area If the input data of the DP Slave is more than 32 bytes the Extended Service Mode is needed LD Example When the 1st station has 20 bytes of input data the corresponding input data area has free sectors from 21st SIS to 32nd byte The value of these free sectors is 0 25 oS SE Ss DEM Address DEM Address Upper byte Lower byte Bit O BFM 350 2nd byte 1st byte 1st station Ath byte 3r
134. n BFM 9330 to Writes the Global Control Command BFM 9390 Global Control Area and groups when issuing Global 6 36 1 Control Command 48 FX3u 64DP M PROFIBUS DP Master Block User s Manual 6 Allocation of Buffer Memories BFMs 6 1 Buffer Memories BFM Lists BFM No BFM 9391 to Description TT l Ge Access we noe BFM 9393 Writes the dwell time in 1 second steps which does not detect BFM 9394 Information Dwell Time Setting Diagnostic Information after v v 6 37 exchange start Default K4 4 sec BFM 9395 to The status flag of corresponding DP P g Cyclic Slave Status Area Slave is ON when the I O data via 6 38 BFM 9402 cyclic communication exchanges BFM 9403 to BFM 9406 io used The status flag of the corresponding BFM 9407 to l DP Slave is ON when the I O data is BFM 9410 EES being exchanged via Acyclic eae Communication Exchange BFM 9411 to BFM 9426 to Cyclic Input Data Start Address Shows the starting address of cyclic P 6 40 BFM 9489 Area input data for each DP Slave l BFM 9490 to BFM 9551 to Cyclic Output Data Start Shows the starting address of cyclic 7 6 41 BFM 9614 Address Area output data for each DP Slave l BFM 9615 to BFM 9676 6 42 BFM 9677 to BFM 9868 Slave Number Slave FDL Address Slave PNO ID BFM 9869 to BFM 10051 BFM 10052 Get Slave List Request BFM 10053 to BFM 10060 Configuration Difference Satus BFM 10061 Sc
135. nally before installation or wiring work in order to avoid 35 damage to the product or electric shock CAUTION E e When drilling screw holes or wiring make sure cutting or wire debris does not enter the ventilation slits Failure to do so may cause fire equipment failures or malfunctions ii GE S2fety Precautions RE Read these precautions before use 4 STARTUP AND MAINTENANCE PRECAUTIONS e Do not touch any terminal while the PLC s power is on Doing so may cause electric shock or malfunctions Before cleaning or retightening terminals externally cut off all phases of the power supply Failure to do so may cause electric shock Before modifying or disrupting the program in operation or running the PLC carefully read through this manual and the associated manuals and ensure the safety of the operation An operation error may damage the machinery or cause accidents CAUTION Tom e Do not disassemble or modify the unit Doing so may cause fire equipment failures or malfunctions For repair contact your local Mitsubishi Electric distributor Do not drop the product and exert strong impact Doing so may cause damage Turn off the power to the PLC before attaching or detaching the peripheral devices Failure to do so may cause equipment failures or malfunctions 5 DISPOSAL PRECAUTIONS E e Please contact a certified electronic waste disposal company for the environmentally safe 28 recycling and disposal of
136. name of FX3U 32DP PROFIBUS DP interface block 32DP IF Abbreviated name of FX2N 32DP IF PROFIBUS DP interface block 32NT DP Abbreviated name of FXoN 32NT DP PROFIBUS DP interface block Generic name of configuration system for open networks software Version 7 00A or GX Configurator DP later Programming Tools Programming tool Generic name of the programming software and handy programming panel Generic name of the following programming software GX Works2 GX Developer GX IEC Developer FX PCS WIN E Generic name of programming software packages SWLIDNC GXW2 J and SWLIDNC GXW2 E Generic name of programming software packages SWLID5C GPPW J and SWLID5C GPPW E Programming software GX Works2 GX Developer GX IEC Developer Generic name of programming software GX IEC Developwer Ver 7 00 or later FX PCS WIN E Generic name of programming software packages FX PCS WIN and FX PCS WIN E Handy programming panel Generic name of the following models HPP FX 30P FX 20P E FX 10P E RS 232 RS 422 Generic name of the following models conversion interface FX 232AW FX 232AWC FX 232AWC H USB RS 422 ae Abbreviated name of the FX USB AW USB RS 422 Conversion Interface conversion interface FX3u 64DP M PROFIBUS DP Master Block User s Manual Generic Terms and Abbreviations Generic Name and Abbreviation WE TATUELES Programming Manual FX3U PLC Hardware Edition FX3UC PLC Hardware Edition Analog Control Edition
137. nected to the FX3UCc 32MT LT 2 4 3 Grounding Grounding should be performed as stated below e The grounding resistance should be 100Q or less e Independent grounding should be performed for best results When independent grounding is not performed perform shared grounding of the following figure Q Independent grounding Shared grounding Common grounding Best condition Good condition Not allowed e The grounding wire size should be as follows PLC Type FX3U Series PLC AWG14 2mm or larger FX3uc Series PLC AWG22 20 0 3 to 0 5mm Grounding Wire Size e The grounding point should be close to the PLC and all grounding wire should be as short as possible 4 4 Bus Terminator The units at each end of the PROFIBUS DP network must have a bus terminator This will either be in the DP Master or DP Slave unit or in the PROFIBUS connector However the 64DP M does not have a terminating resistance built in 36 FX3u 64DP M PROFIBUS DP Master Block 5 Mode Data Communication Global Control User s Manual 5 1 Cyclic I O Data Communication mmh D Mode Data Communication Global Control j 5 1 Cyclic I O Data Communication e Cyclic I O Data Communication is used for periodic data communication e g UO analog input value etc S between 64DP M and DP Slaves The 64DP M can exchange data to DP Slaves without using the Data D Consistency Mode in cyclic I O data communication when UO data is 16 bit
138. o be ON SE Resetting BFM 29 Bit 3 will clear BFM 7000 to 7003 and BFM 7008 to 7071 to KO S BitO Cyclic Output Data Error Slave FDL Address is invalid Bit 1 Cyclic Input Data Error DP Slave does not participate in cyclic data exchange Bee O Bit 2 Cyclic Input Data Error Slave FDL Address is invalid DERS O Parameter I Bit 3 Configuration Download Loading of a Slave parameter set has failed Bit4 Get Slave Diagnostic The Slave FDL Address is invalid or the DP Slave has not been activated 7 BitS Not Used OUV Bit6 Get Alarm Message Slave FDL Address is invalid or the DP Slave has not been activated SR EE Bit 7 Get Alarm Message No alarms available 2 e There are no alarms to be acknowledged matching the sequence number S w Bit8 Alarm Acknowledde e There is no alarm of this type to be acknowledged S g e There is no alarm to be acknowledged since the alarms are disabled for 8 this DP Slave pu Bit9 Not Used as SE 30 Bit 10 Acyclic Input Data Error On by all errors e Service blocked by the partner station Biers PACI CIG ANPU ala ete The DP Slave has deactivated this service Bit 12 Acyclic Input Data Error Wrong request parameter Bit 13 Acyclic Output Data Error On by all errors Bit 14 Acyclic Output Data Error Service blocked by the partner station sonsoubeiq Lo Bit 15 Acyclic Output Data Error Wrong request parameter gt UONEWWOJUT UOISIO 75 FX3u 64DP M PROFIBU
139. o start the PROFIBUS Scan Function which scans the PROFIBUS DP network for actually connected DP slaves After scanning this bit will automatically be reset This scan function will only operate if the 64DP M is not in Cyclic Data Exchange Mode STOP mode only The following information of detected DP Slaves e Configuration difference list e Total number of detected DP Slaves e Slave number Slave FDL address and PNO ID of each detected DP Slave 6 44 2 Configuration Difference Status BFM 10053 to 10060 BFM Access Read Only The status flag of the corresponding DP Slave is ON if there are discrepancies between the projected configuration and the detected configuration The Configuration Difference Status flag assignment shows in the following table BFM No BitNo Station No BFM No BitNo Station No BFM 10054 ki BFM 10058 BFM 10055 o BFM 10059 T BFM 10056 a 7 BFM 10060 a a Note If there is a DP Slave missing in the detected scanned configuration all other Bits with a higher address than this DP Slave will be set to ON as the PNO ID code of the projected slave number is different from the detected scanned configuration for these DP Slaves In this case for troubleshooting it is advisable to start with the lowest slave number that is displayed in the Table of Configuration Differences 100 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 44 PROFIBUS
140. ocks including special function units blocks However PLC can connect extension equipment to both the right and left hand sides When planning to add additional extension equipment in the future please keep the appropriate space available on both sides of the main unit For further information of installation arrangements refer to the following manual For details on FX3U Series PLC refer to FX3U PLC Hardware Edition For details on FX3uc Series PLC refer to FX3UC PLC Hardware Edition 1 An FX2NC CNV IF or FX3UC 1PS 5V is necessary to connect to the 64DP M with the FX3uUc Series PLC However the 64DP M cannot be connected to the FX3UCc 32MT LT 2 Note e Keep a space of 50 mm 1 97 or more between the unit main body and other devices and structures Install the unit as far from high voltage lines high voltage devices and power equipment as possible FX3U FX3UC Series main unit FX3U 64DP M e To prevent temperature rise do not install the PLC on a floor or a ceiling or in the vertical direction Install it horizontally on a wall as shown below y d e Arrange the extension cable in such a way that the left connectors of the I O extension units blocks or special extension units blocks are connected on the side closer to the main unit 32 FX3u 64DP M PROFIBUS DP Master Block 3 Installation User s Manual 3 2 Mounting 3 2 Mounting The 64DP M can be mounted on a DIN rail
141. of the DIN rail mounting hook right fig A 3 Using a screwdriver as shown in the figure to the right the DIN rail mounting hook right fig A is pulled out 4 Remove the product from the DIN rail right fig B 34 FX3u 64DP M PROFIBUS DP Master Block 4 Wiring User s Manual 4 1 Applicable Cable and Connector mmh WO 4 Wiring uononpou DESIGN PRECAUTIONS NC AUTION e Make sure to observe the precautions below to prevent damages to the system due to the abnormal data writing by noise to the PLC 1 Do not bundle the control line together with or lay it close to the main circuit or power line As a guideline lay the control line at least 100mm 3 94 or more away from the main circuit or power line Noise may cause malfunctions 2 Ground the shield wire with the PLC Do not ground together with high voltage lines e Install module so that excessive force will not be applied to peripheral device connectors Failure to do so may result in wire damage breakage or PLC failure suogeaoads NO uone jesuy Od WIRING PRECAUTIONS N WARN ING e Cut off all phases of the power supply externally before installation or wiring work in order to avoid damage to the product or electric shock QUE ofS oy E WIRING PRECAUTIONS CAUTION SS 33 e When drilling screw holes or wiring make sure cutting or wire debris does not enter the ventilation slits E Failure to do so may cause fire equipment failure
142. oftware manual The secondary procedures GX IEC Developer Operations 1 Create a new project in GX IEC Developer 2 Select Project in the menu bar and click Other Import For detais Refer to GX IEC Developer Reference Manual Note e After finishing the import the GX IEC Developer creates 2 new POUs lt Copy_Pou gt and lt Profibus_Init gt in the Project Navigator Window The lt Copy_Pou gt body text is composed of the IL Program by the GX Configurator DP compiled for the cyclic communication with the PROFIBUS DP master If data consistency gt 16bit is not necessary for example there are no 32bit counter it is possible to copy the input output data of all slaves with one FROM TO in the PLC program This can save a lot of PLC program memory while having only a small influence on the PLC cycle time e The other POU in the Project Navigator Window lt Profibus_Init gt is empty right after Import To enable the communication with the PROFIBUS DP master users must complete this program as follows The program varies depending on the user configured network Please do your Profibus initialization here Initialization of dwell time to 4 seconds must be longer than the longest bootup time from each slave MO TOF M EN ENO ki KO ni koag ni Kl n3 Initialization of outputdata FMO M EN ENO M S d OU k15 n FME hl EN ENG M KO s d 040 ki
143. ogram for slave diagnostic information ata of slave station No 1 Q Turn ON when check is complete AX EE FNC 12 Tat 4 4 MOVP Reset cyclic slave HOFEFE 0167200 communication error flag for Eg DP Slave station No 1 BFM 7200 Bit0 0290 9 9 ES Reset Command input device xx mark when this device is set Reset DP Slave diagnosis available flag BFM 29 Bit9 U0 G29 END 112 8 Example Program FX3u 64DP M PROFIBUS DP Master Block User s Manual 8 1 Example Program 1 mmh 8 1 5 Example Program using GX IEC Developer Ver 7 00 or later 5 2 S S T MOV M Wait for 64DP M S RUN pc 4 amp 4 d i no initialisation BFM 5 ne AND EO M SET M 2 EN ENO CN ENO n READY Signal is bo s1 d hin 2 KI s7 2 a 3 D Na SE Initialisation of dwell time Sch E 4 seconds 3 Module Ka e d UO G9394 READY Signal GE Set cyclic input data S ki s d E UO G7100 request flag for 1st LpA n reading process to ON S Write initial output data of DP Slave station No 1 Write initial output data of DP Slave station No 2 Read cyclic output data buum d LD Opol 101 U09 JEGOID SUULUOD gq M consistency Module UNGI d DE activate deactivate flags 6 READY Kd h from BFM 92 to 95 Signal GIE DZ CH 2 3 Wu E o BMO M Read cyclic input data 3 E EN S ch consistency D UOCE 4 s d D2 KA M To the next pa
144. ommand to a DP Slave which is in FREEZE mode the DP Slave will be released from FREEZE mode and update the input data continuously By specifying a group of DP Slaves in BFM 9390 the UNFREEZE command can be performed on arbitrary DP Slaves similar to the FREEZE command Note When using FREEZE Global Control command input data received from DP Slave is not refreshed until next FREEZE or UNFREEZE global command is send to the DP Slave That is even if the input receive data from the DP Slave reads the Input Data Area BFM 350 to 1373 by FROM instructions etc this is not refreshed until the following FREEZE or UNFREEZE global command is issued from the PROFIBUS DP in FREEZE Global Control Mode 44 FX3u 64DP M PROFIBUS DP Master Block User s Manual 6 Allocation of Buffer Memories BFMs 6 1 Buffer Memories BFM Lists D a z 6 Allocation of Buffer Memories BFMs 6 1 Buffer Memories BFM Lists e CD O Caution S Do not access the buffer memory that is marked as Not used Ex BFM 9 to 17 22 to 25 35 to 37 40 to 72 etc by FROM TO instructions There is a possibility to cause abnormal behavior to the operation 3 of the 64DP M if accessing these buffer memories g v Gg SE BFMs Access SCH a o escription read write eference S BFM 0 Communication Status M 6 2 BFM 1 Communication Control Flags 6 3 4 BFM 2 Consistency Handling Error Flags 6 4 BFM 3 PROFIBUS Error Flags 6 5 a BF
145. or less However the 64DP M has to use the Data Consistency Mode to exchange data to DP Slaves when I O data is more than 16 bit Therefore it shows by Cyclic I O Data Consistency Activate Deactivate flags in BFM 84 to 87 and 92 to 95 whether Data Consistency Mode is necessary or not This flag is set by each DP Slave Parameter Setting on GX Configurator DP Depending on the DP Slave it may be set up automatically For allocation of flags refer to Section 6 4 6 23 and 6 24 For details on Cyclic Input Data Area refer to Section 6 23 For details on Cyclic Output Data Area refer to Section 6 24 uoneljesuy Od FX3U FX3uc PLC main Unit 64DP M Master Class 1 4 5 Buffer memory 1 FROM or RBFM instructions BFM direct designation in applied instruction Input Data Area for Cyclic Data Communication 2 TO or WBFM instructions BFM direct designation in applied instruction Write 2 PS 8 E Output Data Area for Cyclic Data Communication OO JEQO D T k 1 O Input data Input data Output data EES image image Lk image Output data image o Slaves ODP 30 SE SS 5 1 1 Mode in Cyclic I O Data Communication SS 3 DI The 64DP M has Normal Service Mode mode 0 and Extended Service Mode mode 3 in cyclic I O data communication decided by BFM 39 In cyclic I O data communication the maximum exchanged data length 8 to DP Slave i
146. or passenger movement vehicles consult with Mitsubishi Electric e 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 e When combining this product with other products please confirm the standard and the code or regulations with which the user should follow Moreover please confirm the compatibility of this product to the system machine and apparatus with which the user is using e If in doubt at any stage during the installation of the product always consult a professional electrical engineer who is qualified and trained to the local and national standards If in doubt about the operation or use please consult the nearest Mitsubishi Electric distributor e 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 e This manual content specification etc may be changed without a notice for improvement e The information in this manual has been carefully checked and is believed to be accurate however if you have noticed a doubtful point a doubtful error etc please contact the nearest Mitsubishi Electric distributor R
147. ould be configured on the outside of the PLC Note that when the PLC CPU detects an error such as a watchdog timer error during self diagnosis all outputs are turned off Also when an error that cannot be detected by the PLC CPU occurs in an input output control block output control may be disabled Design external circuits and mechanisms to ensure safe operations of the machine in such a case Note that when some sort of error occurs in a relay triac or transistor of the output unit block output may be kept on or off For output signals that may lead to serious accidents design external circuits and mechanisms to ensure safe operations of the machine CAUTION E Make sure to observe the precautions below to prevent damages to the system due to the abnormal data writing by noise to the PLC 1 Do not bundle the control line together with or lay it close to the main circuit or power line As a guideline lay the control line at least 100mm 3 94 or more away from the main circuit or power line Noise may cause malfunctions 2 Ground the shield wire with the PLC Do not ground together with high voltage lines Install module so that excessive force will not be applied to peripheral device connectors Failure to do so may result in wire damage breakage or PLC failure GE S2fcty Precautions RE Read these precautions before use 2 INSTALLATION PRECAUTIONS WARNING Ee Make sure to cut off all phases of the power supp
148. owledge status when not using Automatic Acknowledge Function The Alarm Acknowledgement Status Flag shows the DP Slave which needs acknowledgement of Alarm Message The flag is ON until the Alarm Acknowledge is sent after receiving Alarm Message from the DP Slave When resetting the Slave Alarm Message Available Flag BFM 29 Bit 10 or when reading the Alarm Message from BFM 8935 to 8969 this status flag will reset automatically BFM No BrNo Station No BFM No BrNo Station No BFM 8792 3 BFM 8794 35 Bit 15 16 Bit 15 48 BFM 8793 19 BFM 8795 51 Bit 15 32 Bit 15 64 87 Q O o Ei Q O a S o ew 29 SaUOoUlaul JONG uoneinByuo5 pue siajoWeled mmh suoyeoyioeds N uononpou uonegteut La buum d LD Opol SWUULUOD gq JO uoevojiy Dune N wesbold aiduexy OO sonsoubeiq Lo gt UONEWWOJUI UOISIO FX3u 64DP M PROFIBUS DP Master Block User s Manual 6 Allocation of Buffer Memories BFMs 6 32 Alarm Message 6 32 3 Alarm Message Status BFM 8800 to 8803 BFM No BFM 8800 BFM 8801 Bit O Bit 1 Bit 2 Bit 15 Bit O Bit 1 Bit 2 Bit 15 1 2 3 16 17 18 19 32 Station No BFM No BFM 8802 BFM 8803 6 32 4 Alarm Message Counter BFM 8808 to 8871 BFM Access Read Write Shows Alarm Message Status when not using Automatical Acknowledge Function The Alarm Message Status Flag shows acknowledgement of an Ala
149. p to 240 Bytes user data Acyclic data communication has lower communicative priority than cyclic data communication The 64DP M has 4 data areas for acyclic output communication 2 The data communication procedure of acyclic I O data communication functions according to the following Y timing chart for communication data consistency S For data format detail refer to Subsection 6 26 2 8 O Point a Acyclic UO data communication can only be used in RUN BFM 0 K1 Clear BFM 0 K3 or AutoClear BFM 0 K4 mode For mode details refer to Section 6 2 uonegteut LA 1 Acyclic I O Data Communication FX3uU FX3uc PLC main Unit 64DP M Master Class 1 Buffer memory 1 FROM or RBFM instructions Ee Ge BFM direct designation in applied buum d E Communication Menschen Ep 2 TO or WBFM instructions BFM direct designation in applied Output Data Area Instruction for Acyclic Data Area 3 Communication Area 4 J PROFIBUS DP Network E E Qi pPON SWUULUOD gq G O oO Ei Q O a Lg o E SE DAO Slaves SECHS E 30 2 Acyclic Output Data Sending procedure gt By user program Write output data for the DP Slave Dune N to area 1 of BFM 5760 to 5883 Mae yee os by TO instruction etc Be Sc Di OD Do not write to oF Set the Acyclic Output Data Acyclic Output Data Send Flag for the area 1 Area during this time S BFM 4510 Bit 0 to ON and
150. pp S Group 2 3 Group 8 ee Nd d ld ee Le ee a a ee d mer S 6 36 1 Global Control Area BFM 9390 BFM Access Read Write Global Control contains 4 functions SYNC UNSYNC FREEZE and UNFREEZE These are functions that are broadcasted to several DP Slaves at the same time in order to synchronize the update of DP Slave outputs or the latching of DP Slave inputs Each DP Slave which is projected to execute a Global Control Function belongs to one or more groups among 8 groups The group number assignment for each DP Slave is set by GX Configurator DP In the 64DP M the group can be arbitrarily specified and the transmission of a Global Control Command can be triggered As a result the 64DP M broadcasts a group specific Global Control Command which will enable the related DP Slaves to perform the required action The Global Control Function is executed using the Global Control Area BFM 9390 Global Control Area Bit No ON 1 OFF 0 Bit 2 to 5 Geelen See 2 Selecting a Global Control command commands Bit 6 7 Bit 10 This group does not execute the global Bit 11 This group executes the global control control command which is specified by Bit 2 Bit 12 1 command which is specified by Bit 2 to 5 to 5 All bits OFF will automatically select all S groups 1 Selection of multiple groups is possible Note In case a Global Control Command is sent with no group set the Global Control Command i
151. r 7 Configuration setting e Create network configuration by configuration tool e Set parameter for DP Master and DP Slave Communication setting for 64DP M Turn ON power Refer to Chapter 7 Configuration Communication test e Download project by the configuration tool e Check communication status RUN LED Test run communication test Refer to Chapter 5 and 6 Buffer memory e List of buffer memories e Details of buffer memory e For buffer memory read write method refer to pragramming manual Communication program For example program refer to Chapter 8 e Cyclic communication program e Error indication program Create program Refer to Chapter 9 If the error status data is abnormal refer to Chapter 9 26 FX3u 64DP M PROFIBUS DP Master Block 2 Specifications User s Manual mmh gt me O 2 O 2 Specifications DESIGN PRECAUTIONS N WARN ING e Make sure to have the following safety circuits outside of the PLC to ensure safe system operation even during external power supply problems or PLC failure Otherwise malfunctions may cause serious accidents 1 An emergency stop circuit a protection circuit an interlock circuit for opposite movements such as normal and reverse rotations and an interlock circuit for preventing damage to the machine at the upper and lower positioning limits should be configured on the outside of the PLC 2 Note that when the
152. read by the PLC program but not yet Acknowledge BFM 8796 to S BFM 8799 Shows Alarm Message Status when BEM 8800 to using Automatic Acknowledge Alarm Message Status Function 6 32 3 BFM 8803 Gu ON when receiving Alarm Message from DP Slave BFM 8804 to BFM 8807 No used i Shows the number of stocked Alarm Messages for each DP Slave when BFM 8808 to not using Automatic Acknowledge BFM 8871 Alarm Message Counter Function 6 32 4 64DP M can stock up to 2 Alarm Messages in Internal Alarm Message FIFO Area BFM 8872 to BFM 8932 Not used i Sets to ON when storing the Alarm BFM 8933 Alarm Message Request Message of specified DP Slave by 6 32 5 BFM 8934 to BFM 8935 to 8969 Write to slave number for storing the BFM 8934 Request Slave Number Alarm Message to BFM 8935 to 6 32 6 8969 BFM 8935 to BFM 8969 Ge Sets to ON when sending the BFM 8970 Alarm ACK Request Acknowledge for Alarm Message to 6 32 8 specified DP Slave by BFM 8971 Writes the slave number which BFM 8971 Slave Number sends Acknowledge for Alarm 6 32 9 Message BFM 8972 to BFM 9139 BFM 9140 to BEM 9267 Address Information Area O data length of each project DP 6 33 Slave BFM 9268 to Shows the total number of input BFM 9328 Total Input Data Length data bytes of all slaves in Del Vv 6 34 configuration Shows the total number of input BFM 9329 Total Output Data Length data bytes of all slaves in the 6 35 configuratio
153. ress and PNO ID of each v 6 44 5 BFM 10443 detected DP Slave After puma ME oo Communication Status BFM 0 BFM Access Read Only Communication status on PROFIBUS DP network shows by the following value in BFM 0 Value Description KO 64DP M is in STOP mode 64DP M is in RUN mode S 64DP M can exchange data to DP Slaves in this RUN mode K2 64DP M is in Offline mode There is no communication and no Token on the PROFIBUS DP network K3 64DP M is in Clear mode 64DP M only reads Input data 64DP M is in AutoClear mode K4 64DP M only reads Input data 64DP M changes in this mode when Error Action Flag is set up by GX Configurator DP and communication problem occurs on PROFIBUS DP network 50 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 3 Communication Control Flags BFM 1 mmh 6 3 Communication Control Flags BFM 1 Si a S BFM Access Read Write sl The Communication Control Flags are allocated as described in the following table For details on the startup procedure refer to the next page 2 The Data Exchange Start Request Flag is used for exchanging 8 data between the 64DP M and the DP Slaves on the PROFIBUS 8 DP network If this Bit is set to ON the PROFIBUS Mode changes from STOP mode to RUN mode Before turning this bit ON the 64DP M must be in STOP mode Clear or AutoClear mode BFM 0 Changing this Bit from ON to OFF s
154. rm Message Available Flag BFM 29 Bit 10 The Alarm Message Available Flag is ON if a DP Slave has sent an Alarm Message If any of the bits in BFM 8800 to 8803 is set to ON BFM 29 Bit 10 is also set to ON Writing a KO will reset this Bit only This Flag will be reset after the Mode changes from STOP to RUN If this Bit is ON the ERROR LED will be turned ON OFF in 500ms intervals 6 13 10 No Configuration Available Flag BFM 29 Bit 11 The No Configuration Available Flag is ON if there is no configuration stored in the 64DP M A default bus configuration without any projected DP Slaves will be loaded The default baud rate is 93 75 kbps and the default address is 0 Other default parameter data are matched accordingly This Flag is also set to ON if the Bus configuration has an error After downloading a complete configuration from GX Configurator DP this flag will be cleared automatically If this Bit is ON the ERROR LED will be turned ON OFF in 500ms intervals FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 14 Module ID Code BFM 30 6 13 11 Mode Change Not Possible Flag BFM 29 Bit 12 The Mode Change Not Possible Flag is ON if changing the Operation Service Mode from 3 to 0 by writing to BFM 89 while at least one input or output area of a DP Slave is greater then 32 Byte Writing a KO to BFM 29 Bit 12 will reset this Bit If this flag is ON the 64DP M will not chang
155. rm Message necessary DP Slaves The flag is ON until the alarm message is sent by Alarm ACK request BFM 8970 after receiving Alarm Message from DP Slave BitNo Station No S z S Bit 15 48 S 0 S Bit 15 64 6 32 5 Alarm Message Request BFM 8933 BFM No BFM 8808 BFM 8809 BFM 8810 BFM 8823 BFM 8824 BFM 8825 BFM 8826 BFM 8838 BFM 8839 Station No 1 2 3 16 17 18 19 31 32 BFM No BFM 8840 BFM 8841 BFM 8842 BFM 8855 BFM 8856 BFM 8857 BFM 8858 BFM 8870 BFM 8871 Station No BFM Access Read Only Alarm Message Counter shows the number of stocked Alarm Message for each DP Slave when not using the Automatic Acknowledge Function 64DP M can stock up to 2 Alarm Messages in Internal Alarm Message FIFO Area Reading an Alarm Message decrements this value 6 32 6 Request Slave Number BFM 8934 BFM Access Read Write only 1 scan Sets to ON when storing the Alarm Message of specified DP Slave by BFM 8934 to BFM 8935 to 8969 BFM Access Read Write Write to slave number for storing the Alarm Message to BFM 8935 to 8969 The valid range lies between 1 and 64 slaves FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 32 Alarm Message mmh 6 32 7 Alarm Message BFM 8935 to 8969 I O BFM Access Read Only z Reads the Alarm Message from this area Data format of Alarm Message shows the following
156. rogram For Operation Mode refer to Section 6 20 102 FX3u 64DP M PROFIBUS DP Master Block 7 Setting Parameters and Configuration GX Configurator DP User s Manual 7 1 Master Parameter mmh 7 1 Master Parameter z Q S Set the master parameter about the following parameters on Master Setting dialog box aj For details on Master Setting dialog box refer to GX Configurator DP Software Manual Parameter Description Sering Range or 2 Select Item SS Name of the DP Master E Name Q Default PROFIBUS Master Q Baud Rate Transfer rate for the communication Define a baud rate that is supported 9 6k 19 2k 93 75k Transmission by all DP Slaves 187 5k 500k 1 5 M speed bps Default 1 5 Mbps 3M 6M 12M Bt E FDL Ee Slave FDL address 0 to 125 Default 0 Head address Set unit number of 64DP M 0x0 to 0x7 on PLC Default 0 Output processing after failure Activate if you want to have the outputs shut off in case of error occurrence recommended for drives inverters etc Default Not checked uone jesuy Od Error action flag Suum d Smallest allowed period of time between two DP Slave poll cycles This ensures that the sequence of function requests from the 64DP M can be Min slave interval handled by the DP Slave This value is valid for all installed DP Slaves x 100 us The real PROFIBUS bus cycle time minimum slave interval can not become smaller than 3 ms 1 to 65
157. rom FX3u FX3uc 1 Series PLC via the extension cable to 64DP M The power is being incorrectly supplied from FX3u FX3uc Series PLC via the extension cable to 64DP M e Check the connection of the extension cable to the PLC Otherwise Check the power supply of the FX3u FX3uc series PLC gt For FX3uU Series PLC refer to FX3u Hardware Edition gt For FX3uc Series PLC refer to FX3uc Hardware Edition For power supply specifications for 64DP M refer to Section 2 2 1 An FX2NC CNV IF or FX3UC 1PS 5V is necessary to connect to the 64DP M with the FX3Uc Series PLC However the 64DP M cannot be connected to the FX3UC 32MT LT 2 121 mmh suoyeoyioeds N uononpou uonegteut OO buum d LD Opol 101 U09 JEGO D SUULUOD gq ew 29 SOLOWS JONG Jo uoneoolly Dune N uoneinByuo5 pue siajoWeJed aiduexy OO H 3 ro Q o 3 sonsoubeiq gt UONEWWOJUT UOISIO FX3u 64DP M PROFIBUS DP Master Block 9 Diagnostics User s Manual 9 1 Preliminary Checks 2 RUN LED LED State Description Lit 64DP M is in normal operation For data exchange the RUN LED must be lit Flickers in 500ms intervals e The Dwell Time that was set in BFM 9394 is probably not expired yet For Dwell Time Setting refer to Section 6 37 Bieker e If at least one projected DP Slave is not participating in cyclic data exchange the RUN LED will continue to flicker In this case the downloaded n
158. rom KO to K1 e Reset Clear Internal FIFO Counter BFM 7337 Writes KO to BFM 7337 e Reset Diagnostic FIFO Full flag BFM 29 Bit 13 when this bit is ON 13 Data Exchange Error BFM 29 Bit 14 This flag shows a data exchange interruption of a DP Slave For example this error will occur if a DP Slave is removed from the network during cyclic data exchange by a loose cable connection or a watchdog timer error from a DP Slave If the networking cable is installed in an area of extreme electromagnetical noise sometimes this error will occur To avoid effect from extreme electromagnetical noise lay the network cable in a different cable duct without high voltage cables and far from to other sources of electromagnetic noise Attention When it is necessary to the application that communication not continue during this error the Error Action Flag should be selected to Goto Clear Flag in GX Configurator DP Master Settings Additionally the watchdog timer for the cyclic communication with the DP Slaves should be set 14 Slave Change Address Error BFM 29 Bit 15 The change Slave FDL Address function BFM 81 83 can only be used if the DP Master is in STOP mode BFM 0 KO If the change of a Slave FDL Address was not successful this error will occur Reasons for this error can be that the specified Slave FDL Address does not exist on the network or the DP Slave is not supporting the address change function Check the Slave FDL Ad
159. rtup of the PROFIBUS network it is advisable to evaluate the content of BFM 4 in the user program Only after the dwell time has expired and all DP Slaves are in data exchange is it safe to trust the input data of the DP Slaves in the 64DP M s BFM If the content of BFM 4 is different from K3 either not all DP Slaves are participating in cyclic data exchange or the dwell time has not expired yet which means that there might be DP Slaves that have a diagnostics Information which is not yet recognized by the 64DP M e If it is essential to the application that the communication is discontinued in case of an error the Error Action Flag in GX Configurator DP Master Settings Goto Clear Flag should be selected Additionally the watchdog timer for the cyclic communication with the DP Slaves should be set 6 7 Module READY Signal BFM 5 BFM Access Read Only The Module READY Signal is allocated as follows During startup boot time of the 64DP M the Module READY Signal is ON After the 64DP M has completed the internal Bit 0 Module READY Signal oe procedure and all BFMs are initialized the flag is set Data exchange BFM 1 should start after this flag becomes ON BFM 5 K1 6 8 PROFIBUS Bus Cycle Time BFM 6 to 8 BFM Access Read Only The PROFIBUS bus cycle time is the time between two data exchange cycles of one DP Slave The value is adjusted in 1 ms steps BFM No Description BFM 6 Current PR
160. s decided by this mode setting S For the maximum exchanged data length refer to the following table d 5 Moreover the mode setting can be checked by value in BFM 39 SE For mode setting BFM 39 refer to Section 6 21 BEN 22 Setting Mode Maximum Exchanged Data Length Value 9 Maximum 32 byte slave KO Norma Se Ode 64DP M can exchange 32 bytes 16 words of cyclic I O data to every DP amp mode 0 Slave P Maximum 244 byte slave S K3 Extended Service Mode 64DP M can exchange 0 to 244 bytes of cyclic I O data to each DP Slave mode 3 However the total cyclic I O data for all the DP Slaves has a maximum of A 2048 2048 bytes 55 S 30 YM 3 5 37 FX3u 64DP M PROFIBUS DP Master Block 5 Mode Data Communication Global Control User s Manual 5 1 Cyclic I O Data Communication 5 1 2 Normal Service Mode Mode 0 64DP M can exchange 32 bytes 16 words of cyclic I O data to every DP Slave as follows For Cyclic Input Data Area refer to Section 6 23 For Cyclic Output Data Area refer to Section 6 24 BFM Address BFM Address Upper byte Lower byte Bit O 2nd byte 1st byte 4th byte 3rd byte 6th byte oth byte 8th byte 7th byte BFM 350 1st station 365 366 a 381 g ee A 3rd station S nl Dm S 1358 64th station 1373 2350 Ist station 2365 awa CH g 2nd station H lt 2381 CH g 2382 o s Sid station 6 e 8th byte 7th byte 3358 64
161. s or malfunctions 6 Bur 4 1 Applicable Cable and Connector SE Gy ae E The following table shows the applicable cable and connector for a PROFIBUS DP network 3 2 CD Item Description S PROFIBUS DP network cable Shielded twisted pair PROFIBUS cable complying with EN50170 D Applicable only to PROFIBUS connector S i Connector 9 pin D SUB Connector 4 40unc inch screw thread REE For PROFIBUS connectors see the PROFIBUS connector manual aS ow 3 ym O o FE 30 sonsoubeiq Lo gt UONEWWOJUT UOISIO 35 FX3u 64DP M PROFIBUS DP Master Block 4 Wiring User s Manual 4 2 PROFIBUS DP Wiring 4 2 PROFIBUS DP Wiring To connect the 64DP M to a PROFIBUS DP network use only the PROFIBUS connector and shielded twisted pair PROFIBUS cable complying with EN50170 Shielded twisted pair PROFIBUS connector EE GE PROFIBUS DP network FX3U 64DP M PROFIBUS DP Master Block For noise prevention please attach at least 50 mm 1 97 of the twisted pair PROFIBUS cable FX3yu 64DP M along the grounding plate to PROFIBUS DP which the ground terminal is F X3U FX3UC 1 Master Block connected Series PLC Shielded twisted pair PROFIBUS cable complying with EN50170 to PROFIBUS DP network 7 eg Grounding plate Se eS Grounding resistance of 100 or less Class D 1 An FX2NC CNV IF or FX3UC 1PS 5V is necessary to connect to the 64DP M with the FX3uUc Series PLC However the 64DP M cannot be con
162. s sent to all Groups 1 to 8 92 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 36 Global Control mmh 2 Selecting a Global Control command Bit No Global Control Commands uononpou Cl oO Oo N suoneoyioads NO olol lt S lt S d VI os lt S uonegteut La 2 WE EE E eee eee BE Eeer 1 When setting O to Bit 2 to 5 a setting error will occur in BFM 29 Bit 4 and BFM 28 Bit 13 2 Executable commands writing any other wrong value to these bits will have no effect on Global Control Execution however an error bit will be displayed in BFM 29 bit 4 and BFM 28 bit 13 6 36 2 SYNC and UNSYNC Global Control buum d The SYNC UNSYNC Global Control controls the output data communication from the 64DP M to the DP Slave For SYNC and UNSYNC Global Control command sending procedure refer to the next page For allocation of Global Control Area refer to Section 6 36 1 LD For Cyclic Output Data refer to Section 6 25 QZ Sra FX3U FX3uUC Series DO PLC 64DP M Master Class 1 3 SH Buffer memory Cyclic Output Data Area Global Control Area Example Sending the SYNC command to DP Slaves in group 1 PROFIBUS DP Network DP See 1 DP pa 2 SW4g SOLOWS JONG JO uoevojiy Group 1 Dune N S i Output image memory Data is always refreshed using polling 8 rr lt During UNSYNC execut
163. ss of 64th station 9267 64th station output byte length 64th station input byte length Example In following configuration and I O data assignment case Address Information Area is shown the below 1 System configuration of example FX3U F X3UC FX3U 64DP M Series PLC Master of Class 1 DP Slave DP Slave Slave FDL address No 10 Slave FDL address No 5 Input data length 7 bytes Input data length 3 bytes Output data length 5 bytes Output data length 0 bytes 90 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 34 Total Input Data Length BFM 9328 Ver 1 04 or later mmh 2 Input Data Area and Output Data Area of example BFM Address BFM Address Upper byte Lower byte Bit 0 2nd byte 1st byte 2nd byte 1st byte uononpou BFM 350 1st station 351 352 2nd station 355 356 This area is not used in this system configuration suogeaoads NO 2349 This DP Slave Ke does not have D output data 1st station Ee assigned ie 2nd byte 1st byte 4th byte 3rd byte 2350 eme 2353 uone jesuy Od This area is not used in this system configuration buum d 3373 3 Example of Address Information Area LD BFM Address Bit 15 Upper byte Lower byte Bit 0 SIS BFM 9140 Slave FDL address of 1st station 5 H ou e E 9142 Slave FDL address of 2nd station 10 H s 9143 2nd station output byte length 5 H 2nd station input byt
164. tations Stations Segment Maximum Number of 64 slaves Slaves Master No of Connectable Nodes 31 61 1 91 2 121 3 9 6k 19 2k 93 75k 1 200 m 3 937 segment Supported Transmission 187 5k 1 000 m 3 281 segment Speed bps 500k 400 m 1 312 segment Refer to Note 1 end Bus SM e 656 segment en 3M 6M 12M 100 m 328 segment PNO ID F364 hex PROFIBUS DP Connector Network Port for PROFIBUS DP network 9 pin D SUB Connector Synchronization unsynchronization freeze and unfreeze modes are Global Control supported Terminal Resistor Not built in Number of occupied I O points 8 points taken from the PLC extension bus can be either input or output FX3U FX3UC Series PLC An FX2NC CNV IF or FX3UC 1PS 5V is necessary to connect to the 64DP M with the FX3UC Series PLC However the 64DP M cannot be connected to the FX3UC 32MT LT 2 Lit when 24V DC power is supplied form the PLC or external power supply For other LED status refer to Section 9 1 Applicable PLC POWER LED Lit During normal operation For other LED status refer to Section 9 1 FROM TO LED Lit when a FROM TO instruction from the PLC is in operation TOKEN LED Lit when token is maintained RUN LED LED indicators Unlit During normal operation ERROR LED For other LED status refer to Section 9 1 and 9 2 Note 1 Length that the bus can be expanded by using repeaters Maximum Bus Length
165. te s Slot Installed Module 000 8 bit input 001 8 bit input Add before Add after Remove K Cancel 108 FX3u 64DP M PROFIBUS DP Master Block 8 Example Program User s Manual 8 1 Example Program 1 mmh 2 Slave Parameter Setting S D D H D 2 Set the slave parameter for FX2N 32DP IF as follows in the Slave Parameter Settings dialog box S O Slave Parameter Settings Model FX2N modular station 2 10 Revision 2 Vendor MITSUBISHI ELECTRIC CORP 2 10 Slave Properties a CH Name Slave_Nr_002 je FDL Address 2 0 125 S Watchdog min T_sdr 1 1 255 Group identification number Gpl TI Gp2 f Gp3 f Gp4 Gp5 f G f Gp Gps Iw Active l Sync Output Freeze Input panacea Addresses in MELSEC CPU Memory Input CPU Device Ip Im o 12287 to f Output CPU Device fb f 0 122857 to 40 o Swap L Bytes in Master Cancel Default User Param Select Modules uoneljesuy Od buum d LD Opol 101 U09 JEGOID SUULUOD gq SW4g SOLOWS JONG Jo uoneoolly Dune N uoneinByuo5 pue siajoWeled D vi 5 D O Z gt UONEWWOJUT UOISIO 109 FX3u 64DP M PROFIBUS DP Master Block 8 Example Program User s Manual 8 1 Example Program 1 8 1 4 Example Program using GX Developer M8000 FNC 2 ace Wait for 64DP M MOV initialisation BFM 5 RUN monitor FNC 232 KACSKA s Module READY MONE Signal
166. th product For detailed explanation refer to this user s manual Dee For information on installation and wiring FROMTOO FX3U 64DP M Installation Manual Suppliedi Manual Manual is supplied with product FX3U 64DP M For detailed explanation FX3U 64DP M User s Manual Additional Manual This manual contains explanations on wiring installation specification and allocation BFM s etc of the FX3U 64DP M PROFIBUS DP Master Block This manual PROFIBUS DP Slave Obtain the manual of the slaves on the PROFIBUS DP network These manuals are necessary for your system Slave of FX Series Hardware manual is supplied with product FX3U 32DP FXoN 32NT DP For detailed explanation refer to user s manual FX2N 32DP IF For explanation on installation and wiring peas Manual Supplied Manual Installation Manual Manual is supplied with product For detailed explanation User s Manual Additional Manual FXon 32NT DP POWER DE fl Da RUN D Other Slave Obtain the manual of the slaves on the PROFIBUS DP network These manuals are necessary for your system FX3u 64DP M PROFIBUS DP Master Block User s Manual Associated Manuals Associated Manuals For detailed explanation of FX3U 64DP M refer to this manual For the hardware information and instruction on the PLC main unit other special function unit block etc r
167. th station N 3373 KE 2381 32th byte 31th byte 38 5 Mode Data Communication Global Control FX3u 64DP M PROFIBUS DP Master Block User s Manual 5 1 Cyclic I O Data Communication 5 1 3 Extended Service Mode Mode 3 64DP M can exchange 0 to 244 bytes of I O data to each DP Slave The I O data length of each DP Slave is assigned according to the parameter file set in the GX Configurator DP However total I O data for all the DP Slaves has a maximum of 2048 2048 bytes For Cyclic Input Data Area refer to Section 6 23 For Cyclic Output Data Area refer to Section 6 24 BFM Address BFM Address Upper byte Lower byte C Bit 0 2nd byte 1st byte 4th byte 3rd byte BFM 350 1st station 361 362 Wi e 2nd station 7 g 366 S S 3rd station S 3 me 5 x 64th station 1373 2360 1st station 2357 2358 Se lt 2360 K g 2381 a S 3 Se S s 64th station 3373 39 OJUOD JEQO D ew 29 SoUOoUlaul JONG uoneinByuo5 pue siajoWeled mmh uononpou suogeaoads NO uone jesuy Od 4 5 JO uogevojiy Dune N wesbold aiduexy OO sonsoubeiq Lo gt UONEWWOJUT UOISIO FX3u 64DP M PROFIBUS DP Master Block 5 Mode Data Communication Global Control User s Manual 5 2 Acyclic I O Data Communication 5 2 Acyclic UO Data Communication The acyclic communication can be used for setting and change the DP Sl
168. the PLC s power is on SA Doing so may cause electric shock or malfunctions SZ Before cleaning or retightening terminals externally cut off all phases of the power supply a Failure to do so may cause electric shock 8 Before modifying or disrupting the program in operation or running the PLC carefully read through this manual and the associated manuals and ensure the safety of the operation aM An operation error may damage the machinery or cause accidents FE OD STARTUP AND MAINTENANCE PRECAUTIONS CAUTION Do not disassemble or modify the unit Doing so may cause fire equipment failures or malfunctions For repair contact your local Mitsubishi Electric distributor Do not drop the product and exert strong impact Doing so may cause damage Turn off the power to the PLC before attaching or detaching the peripheral devices Failure to do so may cause equipment failures or malfunctions sonsoubeiq Lo gt UONEWWOJUI UOISIO 27 FX3u 64DP M PROFIBUS DP Master Block 2 Specifications User s Manual 2 1 General Specifications DISPOSAL PRECAUTIONS C AUTION e Please contact a certified electronic waste disposal company for the environmentally safe recycling and disposal of your device TRANSPORT AND STORAGE PRECAUTIONS CAUTION e The PLC is a precision instrument During transportation avoid impacts After transportation verify the operations of the products 2 1 General Specifications
169. tic request 15 MIU pe E f LOWS 7205 s d pka 100 EMO M EN ENO j WOW F210 s d 0100 K126 MOVP_M EN ENO HOFDFF s d UO G29 MOP M EN ENO HEFFE s d UO G7200 RST M EN ENO d D290 9 DST M EN ENO d D300 0 RST_M EN ENO d Ai RST_M EN ENO d tok Read slave diagnostic request flag from BFM 7208 Read slave diagnostic information data from BFM 7210 to 7335 Write slave number to read slave diagnostic information data to BFM 7209 Reset DP Slave diagnosis available flag BFM 29 Bit 9 Reset cyclic slave communication error flag for DP Slave station No 1 BFM 7200 Bit 0 Reset Command input device kk mark when this device is set 116 E X3u 64DP M PROFIBUS DP Master Block 8 Example Program User s Manual 8 2 Example Programs to Read Alarm Message from mmh 8 2 Example Programs to Read Alarm Message from PROFIBUS DPV1 O Slave Alarm Model 2 2 8 2 1 An Example Program using GX Developer An example program using GX Developer is shown below which reads Alarm Messages from the DP Slave station 2 No 41 using the automatic acknowledge function The alarm message from the DP slave is stored in D350 to D384 When inserting this program to the GX Developer example in Subsection 8 1 4 do not program the circled part with e the mark since it is redundant EEN 3 lt CO O O O e Z Z E KA N C S ii NO CO D N CO O
170. tion etc A wie Do not read from Set the Slave Diagnostic Request BFM 7210 to 7335 Flag BFM 7208 Bit 0 to ON It will during this time Se be automatically reset after the Slave Diagnostic is read ON Ip Read the Slave Diagnostic Information Data from BFM 7210 to 7335 by FROM instruction etc N Read gt By user program Automatically by 64DP M 76 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BF Ms User s Manual 6 29 Slave Diagnostic Information 6 29 1 Slave Diagnostic Status Flags BFM 7200 to 7203 I BFM Access Read Write only reset to 0 z Slave Diagnostic Status Flags show which DP Slaves have sent Slave Diagnostic Information If the Bit is ON the DP Slave has sent a Slave Diagnostic Information If any of these Bits are ON the corresponding Bit in BFM 29 Bit 9 will also be ON Resetting BFM 29 Bit 9 2 will clear BFM 7200 to 7203 to KO D For Slave Diagnostic Available Flag details refer to Subsection 6 13 8 3 For Slave Diagnostic Information Data format refer to Subsection 6 29 4 8 Slave Diagnostic Status Flags for each DP Slave assignment are shown in the following table 2 BFM No BitNo Station No BFM No BitNo Station No i x BFM 7200 3 BFM 7202 35 z 7 9 4 BFM 7201 19 BFM 7203 51 a 6 29 2 Slave Diagnostic Request BFM 7208 opz BFM Access Read Write only 1 scan oF Set to ON write K1 to BFM 7208 when Slav
171. uest Slave Number BFM SO 77 6 29 4 Slave Diagnostic Information Data BFM 7210 toile 78 6 30 Diagnostic Information FIFO wisest ieee a See eee aces dese eee 82 6 30 1 FIFO Diagnostic Request BFM 7336 EE 83 6 30 2 Internal FIFO Counter BEM eeh 83 6 30 3 Diagnostic FIFO Data Area BFM 7338 to 7463 ccccccccceecceceeeeeceeeeseeeeeeseeeeeseesessaeeesanes 83 6 31 Slave Diagnostic Status Data BFM 7464 to 7591 ou ccc ccccccseceeeeeeeceeeeeseeeeseeeesseeeesaeeees 84 6 Way ANTS Mag EE dee Eed T eee 85 6 32 1 Automatical Acknowledge Setting BFM 8784 to 2p 8 l 87 6 32 2 Alarm Acknowledge Status BFM 8792 tool 87 6 32 3 Alarm Message Status BFM 8800 to Sppo02 cc cccccceecceceececeeeceesee cesses eeeseeeeeseeeessaeeesanes 88 6 32 4 Alarm Message Counter BFM 8808 topp 88 6 32 5 Alarm Message Request BFM SoO33 88 6 32 6 Request Slave Number BFM SGO34l 88 6 32 7 Alarm Message BFM ZpO3ptIoSp0onl 89 6 32 8 Alarm ACK Request BFM Spo 90 0329 Slave Number BRI F897 14 EE 90 6 33 Address Information Area BFM 9140 to O02pG l 90 6 34 Total Input Data Length BFM 9328 Ver 1 04 or later 91 6 35 Total Output Data Length BFM 9329 Ver 1 04 or later 91 SE uge EE EE 92 6 36 1 Global Control Area BFM 9390 ege deerigedt de deeg e geg enee Eege Ae E 92 6 30 2 SYNC aNd UNSYNC Global Control csc eat Accented ae ieee eet a da Re ee 93 6 36 3 FREEZE and UNFREEZE Global Control cccccssssosser
172. umber was written to BFM 8934 e Write request was executed while 64DP M was in STOP or Offline mode slave alarm e Wrong value was written to BFM 8970 Bit 12 e Unused slave number was written to BFM 8971 e Write request was executed while 64DP M was in STOP or Offline mode slave alarm acknowledge e Wrong value was written to BFM 9390 Bit 10 SES e Write request was executed while 64DP M was in STOP or Offline mode Global Control Area Bit 14 e Wrong value was written to BFM 9394 Information Dwell Time Setting Bit 15 e Wrong value was written to BFM 10052 e Write request was executed while 64DP M was not in STOP mode Get slave list request 56 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 13 Master Error Status BFM 29 mmh 6 13 Master Error Status BFM 29 S BFM Access Read Write S The Master Status buffer memory is allocated as shown in the following table All Bits 0 to 15 are latched until turned OFF by user program or until power down or next reset Switching the 64DP M from STOP mode 2 into RUN mode data exchange mode will also clear the latched error flags if the error does not exist any more Si sel weg Te E mr oos 4 Deactivation Flag DP Slave is deactivated Seo Note Bae OO ae e When Bit 9 set to OFF by user program all Slave Diagnostic Status Flags will be reset in BFM 7200 to 7203 e When Bit 13 set to OFF by user progra
173. usage methods and usage environment etc which follow the conditions and precautions etc given in the instruction manual user s manual and caution labels on the product 2 Even within the gratis warranty term repairs shall be charged for in the following cases a Failure occurring from inappropriate storage or handling carelessness or negligence by the user Failure caused by the user s hardware or software design b Failure caused by unapproved modifications etc to the product by the user c When the Mitsubishi product is assembled into a user s device Failure that could have been avoided if functions or structures judged as necessary in the legal safety measures the user s device is subject to or as necessary by industry standards had been provided d Failure that could have been avoided if consumable parts battery backlight fuse etc designated in the instruction manual had been correctly serviced or replaced e Relay failure or output contact failure caused by usage beyond the specified Life of contact cycles f Failure caused by external irresistible forces such as fires or abnormal voltages and failure caused by force majeure such as earthquakes lightning wind and water damage g Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi h Any other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the
174. user 2 Onerous repair term after discontinuation of production 1 Mitsubishi shall accept onerous product repairs for seven 7 years after production of the product is discontinued Discontinuation of production shall be notified with Mitsubishi Technical Bulletins etc 2 Product supply including repair parts is not available after production is discontinued Overseas service Overseas repairs shall be accepted by Mitsubishi s local overseas FA Center Note that the repair conditions at each FA Center may differ Exclusion of loss in opportunity and secondary loss from warranty liability Regardless of the gratis warranty term Mitsubishi shall not be liable for compensation of damages caused by any cause found not to be the responsibility of Mitsubishi loss in opportunity lost profits incurred to the user or third person by Failures of Mitsubishi products special damages and secondary damages whether foreseeable or not compensation for accidents and compensation for damages to products other than Mitsubishi products replacement by the user maintenance of on site equipment start up test run and other tasks Changes in product specifications The specifications given in the catalogs manuals or technical documents are subject to change without prior notice Product application 1 In using the Mitsubishi MELSEC programmable logic controller the usage conditions shall be that the application will not lead to a
175. ve Diagnostic Information Data reading procedure Write the FIFO Di tic R i Do not read from gt By user program rite the lagnostic Reques BFM 7338 to 7463 flag BFM 7336 Bit 0 to ON It will during this time iq cb Automatically by 64DP M be automatically reset after the FIFO Diagnostic is read Read the Diagnostic FIFO Data Area from BFM 7338 to 7463 by FROM instruction etc Internal FIFO Counter BFM 7337 is decremented and the Slave Diagnostic Information is read then deleted from Internal FIFO Memory Note The FIFO Slave Diagnostic Information can be cleared by one of the following 3 methods e Change mode from STOP to RUN Changes value in BFM 1 from KO to K1 e Reset Clear Internal FIFO Counter BFM 7337 Writes KO to BFM 7337 e Reset Diagnostic FIFO Full flag BFM 29 Bit 13 when this bit is ON When it is a problem that all FIFO Diagnostic Information is cleared in one step read out the information one by one from BFM 7336 to 7463 until the Internal FIFO Counter BFM 7337 becomes 0 and BFM 29 Bit 13 will be reset automatically 82 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 30 Diagnostic Information FIFO mmh 6 30 1 FIFO Diagnostic Request BFM 7336 a BFM Access Read Write only 1 scan z Set ON write K1 to BFM 7336 to read a Slave Diagnostic Information from the Internal Slave Diagnostic FIFO When BFM 733
176. vibration or impacts or exposed to high temperature condensation or wind and rain D If the product is used in such conditions electric shock fire malfunction deterioration or damage may occur 2 e Install the product securely using a DIN rail or mounting screws 8 e 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 e When drilling screw holes or wiring make sure cutting or wire debris does not enter the ventilation slits Failure to do so may cause fire equipment failures or malfunctions e Be sure to remove the dust proof sheet from the PLC s ventilation port when the installation work is completed Failure to do so may cause fires equipment failures and malfunctions e Connect the extension and communication cables securely to their designated connectors Unsecured connection may cause malfunctions e Do not touch the conductive parts of the product directly to avoid failure or malfunction uogejje su buum d Qi pPON 101 U09 IPOO SUULUOD gq SW49 SOLOWS JONG Jo uoneoolly Dune N uoneinByuo5 pue siajoWeled wesbold aiduexy OO sonsoubeiq Lo gt UONEWWOJUT UOISIO 31 FX3u 64DP M PROFIBUS DP Master Block 3 Installation User s Manual 3 1 Arrangements 3 1 Arrangements The 64DP M connects on the right side of an FX3uU FX3uc series main unit or extension units bl
177. your device 6 TRANSPORTATION PRECAUTIONS E e The PLC is a precision instrument During transportation avoid impacts After transportation verify 28 the operations of the products iii iv FX3u 64DP M PROFIBUS DP Master Block User s Manual FX3U 64DP M PROFIBUS DP Master Block User s Manual Manual revision 4 2015 Foreword This manual contains text diagrams and explanations which will guide the reader in the correct installation safe use and operation of the FX3U 64DP M and should be read and understood before attempting to install or use the unit Store this manual in a safe place so that you can take it out and read it whenever necessary Always forward it to the end user 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 2005 MITSUBISHI ELECTRIC CORPORATION FX3u 64DP M PROFIBUS DP Master Block User s Manual Outline Precautions e This manual provides information for the use of the FX3U 64DP M The manual has been written to be used by trained and competent personnel The definition of such a person or persons is as follows a Any engineer who is responsible for the planning design and construction of autom
178. yte error 5 Channel Type 1 Word error 6 Channel Type 2 Word error Module number 0 to 63 0 1 Input channel Output channel Reserved Short circuit Undervoltage Overvoltage Overload Excess temperature Cable break Upper limit value exceeded Lower limit value exceeded Error 80 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 29 Slave Diagnostic Information mmh ExtDiagData 4 BitOto5 Channel number 0 to 63 Bit 6 1 Input channel 2 Bit 7 1 Output channel S ExtDiagData 5 BitOto4 0 Reserved BitOto4 1 Short circuit 2 BitOto4 2 Undervoltage oS BitOto4 3 Overvoltage 3 BitOto4 4 Overload S BitOto4 5 Excess temperature BitOto4 6 Cable break BitOto4 7 Upper limit value exceeded BitOto4 8 Lower limit value exceeded BitOto4 9 Error BitOto4 10 to 15 Reserved BitOto4 16 to 31 Vendor specific Bit5to7 1 Channel Type 1 Bit error BitSto7 2 Channel Type 1 2 Bit error Bit5to7 3 Channel Type 4 Bit error Bit5to7 4 Channel Type 11 Byte error Bit5to7 5 Channel Type 1 Word error Bit5to7 6 Channel Type 2 Word error uonegteut LA Suum d LD Opol SWUULUOD gq Q O oO Ei Q O a Ss o 1 The channel type is only used for diagnosis and has no influence on the identifiers or modules from the configuration data ew 29 SaUOoUlaul JONG JO UOUEOI

Download Pdf Manuals

image

Related Search

Related Contents

Manual de Instalação    ardenmas[er  メラ アクアコンフォート  BETOLEVEL 15  Samsung NX2000  2 - LE BAR  Programme Spectacles à domicile Le Hublot 13-14  Sony KDL-32EX500 32" Full HD Black LCD TV  Noviembre 2004 MANUAL DE INSTALACION USO GENERAL VX  

Copyright © All rights reserved.
Failed to retrieve file