Home
FX3U-64DP-M PROFIBUS-DP Master Block USER'S MANUAL
Contents
1. Refer to FX3u PLC Hardware Edition Item Specifications Withstand voltage 500 V AC for 1 min Conformance to JEM 1021 l i 5 MQ or more by 500 V DC Between communication connector frame and ground Insulation resistance Megger terminal of PLC main unit 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 j a PPly main unit via extension cable 24 FX3u 64DP M PROFIBUS DP Master Block 2 Specifications Users 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 al Maximum Number of 32 stations 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 9k 1 000 m 3 281 segment Speed bps 500k 400 m 1 312 segment Refer to Note 1 ana 200 m 656 segment ome 3M 6
2. JO UOHedO Y N Bumes uoneunByuo5 pue sus oWeled wesbold ajduexy OO sonsoubeiq Lo FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BF Ms User s Manual 6 23 Cyclic Input Data 6 23 Cyclic Input Data 58 Input data areas are used to store cyclic input data form the DP Slaves on the PROFIBUS DP network There 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 consistency handling described in Section 5 1 The 64DP M has to use Data Consistency Mode to exchange data to DP Slaves when input data is more than 16 bits When using the Data Communication Consistency Mode communication procedure is shown in 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 For data format detail of Extended Service Mode refer to Subsection 6 23 4 Cyclic Input Data Communication For Cyclic output data communication refer to Section 6 24 FX3U PLC main Unit 64DP M Master Class 1 Buffer memory 1 FROM or RBFM instructions Input Data Area BFM direct designation in applied for Cyclic Data instruction Communication 2 TO or WBFM instructions O
3. FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 29 Slave Diagnostic Information 6 29 1 Slave Diagnostic Status Flags BFM 7200 to 7203 BFM Access Read Write only reset to 0 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 will clear BFM 7200 to 7203 to KO For Slave Diagnostic Available Flag details refer to Subsection 6 13 8 For Slave Diagnostic Information Data format refer to Subsection 6 29 4 Slave Diagnostic Status Flags for each DP Slave assignment are shown in the following table BFM No BitNo Station No BFM No BitNo Station No BFM 7200 3 BFM 7202 35 Bit 15 16 Bit 15 A8 BFM 7201 19 BFM 7203 51 Bit 15 32 Bit 15 64 6 29 2 Slave Diagnostic Request BFM 7208 BFM Access Read Write only 1 scan Set to ON write K1 to BFM 7208 when Slave Diagnostic Information of DP Slave specified by BFM 7209 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 Bit No Description Bit O Slave Diagnostic Request Flag Bit 1 to 15 Not used 6 29 3 Request Slave Number BFM 7209 BFM Access Read
4. cccccccccccssseeecceeeeeeeceeeseeseuseeeseaeaeeeesseseeesseaees 14 1 3 OY SLEM OM OQUPAU OM irs aa ch eh asl ie holden acne a an cuid ace dyuratulSa gon ch hs eae 14 1 3 1 Applicable PROFIBUS DP Network cccccccecccceseeceeeeeeeeeeceseeceeeaeeeeeaeeceeaeeeessueeessuesessaeeeeananess 14 IZ ADPICIDIE xl Ba Gap ei i eM Pe PE oon 17 IA Ove galagie O ill aa Meets tne else att erie te mee aerrert a Lnee a ee ene eee ee ee 18 1 4 1 COMMUNICATION TIME 0 cece ee cec ec eccececeececeeeeceeeenececaeaecueaeceeeuececueseaeseeaeaecueaesecueesecueaeseeaeseeueaeseeaess 18 14 2 PROFIBUS BUS Cy Cle TINE narran nacass cones inna gn ance ata an aed EE N a 19 1 5 System Start Up PrOCCOUE sis 62 2 255 ben rasscdcnahushticanagshadogusbasdadeaatesoausmecssais aden E E 22 2 Specifications 23 ZV General DECI CAUONS siita aaa tone kinwbuiedinehwinbinbeiahiveboabinwhuieninek 24 2 2 Power Supply SPECICATION S ash istic iusto daettcsn sd sucday sich etaeSdsuaden Sishedunddee hon ddshadsnadceaiecbudatle tetbaaeandsiendtes 24 2 3 F CHOMMANCE SD ESCIICALIONS Sc sionsiuspavaas sinter whalstsn ap atin R Unie Sinise le dchie sates EEE 25 3 Installation 26 GMP ATFAING MVS IMS esc echt a E A E E E E E 28 SA MOUNUN esa E A cern eee te eee ere ee renee ere 29 O22 WIRE CIVIOUMUING ae sics 2 cot eees Sores eve a a a a ea a e a at EES Bae 29 32 IN RAI AIVIOUIIA LING aa vaccinia slosh tatcac eases alae wes ocaeta N AA eaves 30 4 Wiring 31 4 1 App
5. Global Control Area 6 Allocation of Buffer Memories BFMs 6 1 Buffer Memories BFM Lists BFMs Access Reference Shows Alarm Message Status when using Automatic Acknowledge Function 6 32 3 ON when receiving Alarm Message from DP Slave Shows the number of stocked Alarm Messages for each DP Slave when not using Automatic Acknowledge Function 6 32 4 64DP M can stock up to 2 Alarm Messages in Internal Alarm Message FIFO Area Sets to ON when storing the Alarm Message of specified DP Slave by 6 32 5 BFM 8934 to BFM 8935 to 8969 Write to slave number for storing the Alarm Message to BFM 8935 to 6 32 6 8969 6 32 7 Sets to ON when sending the Acknowledge for Alarm Message to 6 32 8 specified DP Slave by BFM 8971 Writes the slave number which sends Acknowledge for Alarm 6 32 9 Message O data length of each project DP 6 33 Slave Writes the Global Control Command and groups when issuing Global 6 34 1 Control Command Notus l Information Dwell Time Setting Writes the dwell time in 1 second steps which does not detect Diagnostic Information after exchange start Default K4 4 sec k Notus l Cyclic Slave Status Area The status flag of corresponding DP Slave is ON when the O data via v 6 36 cyclic communication exchanges Notus l FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs Users Manual 6 1 Buffer Memori
6. 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 I O 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 1 Acyclic I O Data Communication FX3U PLC main Unit 64DP M Master Class 1 Buffer memory Input Data Area 1 FROM or RBFM instructions for Acyclic Data BFM direct designation in applied Communication instruction 2 TO or WBFM instructions Output Data Area BFM direct designation in applied for Acyclic Data instruction Communication Z E a o PROFIBUS DP Network Slaves 2 Acyclic Input Data Communication reading procedure gt By user program Write input request data of the DP Slave to area 1 of BFM 4520 amp Automatically by 64DP M to 4523 by TO instruction etc Do not read from the Acyclic Input Data Area during this time Set the Acyclic Input Data Request Flag for the area 1 BFM 4500 Bit 0 to ON and wait until it is reset by 64DP M N ON D Read the Acyclic Input Data from area 1 BFM 4520 to 4643 A p Read 66 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BF Ms User s Manual 6 25 Acycli
7. 2 D 6 32 9 Slave Number BFM 8971 BFM Access Read Write z Write the slave number which shall be sent Acknowledge for Alarm Message 6 33 Address Information Area BFM 9140 to 9267 uonejesu Oo 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 BuUlAA A e Output data length bytes Note 5 e The slave FDL address is different from the projected slave number Slave FDL addresses do not need to sas be sequential numbers but are displayed in ascending order e o3 e Any station address that is not assigned is set to FFFF hex code the input or output byte length is a3 FF hex code Address Information Area assignment wee TZO BFM Address Bit 15 Upper byte Lower byte Bit 0 3 S O BFM 9140 Slave FDL address of 1st station o n 9141 1st station output byte length 1st station input byte length 9142 Slave FDL address of 2nd station N 9143 2nd station output byte length 2nd station input byte length oyy So eis v D O D 53 o 9266 Slave FDL address of 64th station 2 9267 64th station output byte length 64th station input byte length 8 nu 5 a5 sonsoubeiq Lo 85 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 33 Address Information Area BFM 9
8. BF Ms 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 g For Automatic Acknowledge Setting Alarm Message Status Alarm Message Counter a Alarm Message Request Request Slave Number Alarm Message Data 7 Alarm ACK request Slave number refer to Subsection 6 32 1 6 32 3 to 6 32 9 2 gt By user program a The slave sends Alarm S Message to 64DP M gt Automatically by 64DP M 8 Message 2 Slave Alarm Message Available BFM 29 Bit 10 uone jeisuy Oo Alarm Messgage Status BFM 8800 to 8803 ON Write the slave number for reading Alarm Message Data N E V 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 in BFM 8934 Do not read from BFM 8935 to lt 8969 during i 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 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 G Bui A Qi pPON swwo geq Q O o D O O a JO uonevo i
9. 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 6 9 Acyclic Slave Communication Deactivation Message Flags BFM 18 to 21 50 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 then the Acyclic Communication with this Salve has been stopped These flags are turned on by the 64DP M if an error has occurred during Acyclic Communication or in General after the 64DP M has switched to STOP mode during slave Acyclic Communication 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 in cyclic communication mode or the watchdog timer of the DP Slave has expired If BFM 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 BFM No
10. 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 Channel number 0 to 63 1 Input channel 1 Output channel 0 Reserved 1 Short circuit 2 Undervoltage 3 Overvoltage 4 Overload 5 Excess temperature 6 Cable break 7 Upper limit value exceeded 8 Lower limit value exceeded 9 Error 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 Byte error 5 Channel Type 1 Word error 6 Channel Type 2 Word error 6 Allocation of Buffer Memories BFMs 6 29 Slave Diagnostic Information The channel type is only used for diagnosis and has no influence on the identifiers or modules from the configuration data 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 O The 64DP M can stack the Slave Diagnostic Information to a maximum of 64 entries in the Internal Diagnostic S 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
11. Bus Parameter dialog box 2 For details refer to Section 7 2 and GX Configurator DP Software Manual Bus Parameter Select Baudrate 1 5Mbps Profibus FDL Parameters Slot Time T_sl 300 37 16383 0 200000 min T_sdr fio ft 1023 0 007333 max T_sdr 15000 37 1023 0 100000 Quiet Time T_qui 0 127 0 000000 wesbold jdwex4 Setup Time T_set fo 1 255 0 000667 Target Rot Time Tt 50000 256 16777215 33 333332 GAP factor 10 p 100 HSA h26 2 125 Max retry limit fi 1 7 sonsoubeiq Lo Cancel Default 101 FX3u 64DP M PROFIBUS DP Master Block 8 Example Program User s Manual 8 1 Example Program 1 3 Network Configuration Make network configuration as follows on graphical network editor window For operation details refer to GX Configurator DP Software Manual PROFIBUS Master oF untitled DP3 Sele A Slave_Nr_001 1 4 FXON 32NT DP Setting For operation for Module Configuration selection and Slave Parameter refer to GX Configurator DP Software Manual 1 Module Configuration Setting Set the Module Configuration for FXON 32NT DP as follows in the Slave Modules dialog box Slave Modules Info 2 Modules installed 4 are possible Max Data size 80 Byte s 1 0 usage 32 132 Byte s Max 1 0 sizes 40 Byte s User_Prm_Data usage 2 Byte s Max User_Prm_Data size Byte s Module Configuration Available Modules Slot Installed Module 4 words_inp
12. 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 2 Manual Hardware Manual For details refer to FX3u Series User s Manual Hardware Edition Additional FX3U Series Describes FX3U Series PLC specification User s Manual JY997D16501 details for I O wiring installation and 09R516 Manual a Hardware Edition maintenance Programming for FX3uU FX3uc Series Describes PLC programming for basic applied instructions and devices 09R517 FX3uU FX3UC Series Additional Programming Manual Manual Basic amp Applied o SRAD G90 Instruction Edition Manual for the PROFIBUS DP Master Block Interface Block PROFIBUS DP Master Block Describes FX3u 64DP M PROFIBUS DP Master Block specification for wiring and Supplied FX3U 64DP M JY997D19901 installation extracted from the FX3U 64DP i Manual Installation Manual M User s Manual For details refer to FX3U 64DP M User s Manual a Describes FX3u 64DP M PROFIBUS DP E Pe A JY997D19201 Master Block specification details for wiring Manual User s Manual i installation and allocation BFM s etc PROFIBUS DP Interface Block l Describes FXON 32NT DP PROFIBUS DP ouppiieg PAOA EDE JY992D61401 Interface Unit specification details for wiring Manual User s Manual installation and allocation BFM s etc Describes FX2N
13. FX3U Series main unit A Q lt P F x lt LL 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 gt 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 28 FX3u 64DP M PROFIBUS DP Master Block 3 Installation User s Manual 3 2 Mounting 3 2 Mounting a Q The 64DP M can be mounted on a DIN rail DIN46227 or mounted directly using screws S 3 2 1 Direct Mounting 2 The 64DP M can be mounted with M4 screws by using the direct mounting holes g The 64DP M mounting hole pitches are shown below Q For details refer to FX3U PLC Hardware Edition 2 4 39 D 0 16 1 54 ris EARD aj 8 8 i o Point BuuiAA A 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 Qi Direct Mounting Procedure sas D o 1 Make mounting holes in the mounting surface referring to 93 the above diagram ee 2 Fit the 644DP M right fig A based on the holes and secure it with M4 screws right fig B 6 wre Sas 3 2 Ooo
14. Master Class 1 Buffer memory Global Control Area Example Sending the Global Control command to DP Slaves in groups 1 and 2 i l E PROFIBUS DP Network De wee es ee teen eee eee ee eee ee ee eT Le ee rt I i I E i I I 1 I I I 1 i l i I I It h i l i l l ia i AE E A itm he eee eee ee eee eee Oe ee eee S i a a ee et we e Se 38 FX3u 64DP M PROFIBUS DP Master Block 5 Mode Data Communication Global Control Users Manual 5 4 Global Control 5 4 1 SYNC and UNSYNC Global Control S The SYNC UNSYNC Global Control controls the output data communication from the 64DP M to the DP 3 For details on Global Control refer to Section 6 34 For Cyclic Output Data refer to Section 5 1 and 6 34 1 2 FX3U Series PLC 64DP M Master Class 1 g Buffer memory Cyclic Output Data Area S _ i Example Sending the SYNC command to DP Slaves in group 1 PROFIBUS DP Network Group 1 ean 7 Group 1 DP Slave 1 DP Sla DP uonejesu Oo i 4 5 Output image memory Data is always refreshed using polling D 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 O4JUOD JEQO D 1 SYNC Global Control command I
15. The program varies depending on the user configured network DER 1 ee 2 Please do your Profibus initialization here Initialization of dwell time to 4 l seconds must be longer than the QU MIsood longest bootup time from each slave TOP M 2 8 a EN ENO eo Kal 5 v oD kO ni oF K9394 n2 Ki n3 pu Initialization of outputdata amp FMO Mi 30 EN ENO KI s d D80 KIE n FMOV_M EN ENO 5 9 KI s d D40 s Ki ii amp Read Error status to D200 3 Attention The evaluation of the Error status must be done in the application specific PLC program FROM M EN ENO R Ko ni d D200 K9 nz Ki n3 115 FX3u 64DP M PROFIBUS DP Master Block 9 Diagnostics User s Manual 9 1 Preliminary Checks 9 Diagnostics STARTUP AND MAINTENANCE PRECAUTIONS DANGER 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 malfu
16. _ 160 g op O 140 120 2 j jae 1 5MBaud g 12MBaud 3 S 80 f V 60 z 3 To S O 20 QA 0 Number of slaves 32 Byte Input 32 Byte Output per slave BuUlAA f gt Qi pPON ONUOD JEGO D SWWWOD geq SW4g s now y yng Jo uoneoojiy N Gunes uoneunByuo5 pue sus oWeled weJBOld ajduexy OO sonsoubeiq Lo 21 FX3u 64DP M PROFIBUS DP Master Block User s Manual 1 5 System Start up Procedure 1 Introduction 1 5 System Start up Procedure 22 FX3U 64DP M Outline Refer to Chapter 2 Check of specifications Refer to Chapter 1 and 2 System configuration Refer to Chapter 3 and 4 Installation and wiring Refer to Chapter 7 Communication setting for 64DP M Turn ON power Refer to Chapter 7 Test run communication test Refer to Chapter 5 and 6 Create program Refer to Chapter 9 If the error status data is abnormal refer to Chapter 9 Refer to Chapter 1 o Outline of system e Applicable PLC e Applicable PROFIBUS configuration tool 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 System configuration Installation e Arrangements e Mounting Wiring e Applicable cable and co
17. ve O FE 30 3 Connect extension cable right fig C to the main unit I O extension unit block or special function unit block to the left 9 side For extension cable connection procedure 3 refer to FX3U PLC Hardware Edition 3 WWW WMNIINIV 29 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 refer to FX3U 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 644DP 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 refer to FX3U PLC Hardware Edition WYWVWVVVWOD ANNY L k 6 J Ay A o ae Q a ae oy d A 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 of the DIN rail mounting hook right fig A 3 Using a screwdrive
18. 2 Slave Diagnostic Request BFM 7208 cccccccccecccceeeeeeeeeeeeaeeeceeeeeseeeeeseeecesseeeesseesesseeessanes 72 6 29 3 Request Slave Number BFM 7209 ccccccccccccssceceeseesseeeeeeeeeeseeseeseaeeeseeeeeseeesseaeessaaeeseages 72 6 29 4 Slave Diagnostic Information Data BFM 7210 to 7335 cccccccccccsseeeceeeeseeeeeseeeeeseaeeeeeaes 73 6 30 Diagnostic Information FIFO sinerien e Eea ia sod EEEE EA eed EANA EE E A Jee 77 6 30 1 FIFO Diagnostic Request BFM 7336 cccccccccseccccenececeeeeeseeeeeseeseeseeeeeseeeeessaeeesseneeseeeessaaes 78 6 30 2 Internal FIFO Counter BFM 7337 sass cach cate es then cs eae ha Seca eh ade aa Senden sa eee eee 78 6 30 3 Diagnostic FIFO Data Area BFM 7338 to 7463 cece cecccceeceeeeeeeeaeeeetaaeeeeeaeeeesaneeeeaeeeeenes 78 6 31 Slave Diagnostic Status Data BFM 7464 to 7591 ccc cecccceececeeeeeseeeeeseeeeseeesseeeesaeeees 79 6 SZ AAMIM MICS SA Cs irdi i eit vie des eed sas Sida aca sissies a oh eased oe oe E E TEE 80 6 32 1 Automatical Acknowledge Setting BFM 8784 to 8787 cccccccecccceseeceseeeeeaeeeeeaeeeeeeeeeeeees 82 6 32 2 Alarm Acknowledge Status BFM 8792 to 8795 cccccceeccccesececeeeeeceeeesseeeeeeaeeeesseeeeeseeeesees 82 6 32 3 Alarm Message Status BFM 8800 to 8803 ccccecccsecccceeeeeeeeeeeeaeeeesseeeeseeesesseeeesseeeeesaes 83 6 32 4 Alarm Message Counter BFM 8808 to 8871 cccccc
19. BFM 28 details refer to Section 6 12 For BFM 29 Bit 12 details refer to Subsection 6 13 10 Value Hex Description 0 64DP M is in Normal Service Mode 3 64DP M is in Extended Service Mode default setting 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 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 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 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 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 th
20. Block 8 Example Program Users 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 acknowledge 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 RUN an n d 0290 Monitor Ki ng Slave alarm P148 s Write request slave 2 K n number to BFM 8934 mensage KB934 n2 available flag TOPR_M NO Ki E Set alarm message request Ko ni BFM 8933 Bit 0 KE933 n2 Ki n3 4 MEO00 FROM Mi ss ENO il Read alarm messa e ge RUN a a request from BFM 8933 ne Monitor KK m Read alarm message data from BFM 8935 to 8969 To the next page 113 uononpou suoleolioeds N uonejesu OO BuUlAA A Qi pPON ONUOD JEGO D SWWWOD geq SW4g s now y yng Jo uoneoojiy N Bues uoneun6yuo5 pue sua oWeled D Q gt n O n FX3u 64DP M PROFIBUS DP Master Block User s Manual SS SS See SSS a SSR SR RS Se Se Se SS SS SS eS SS SS SS oS i Turn ON when the check completes for the alarm message of DP Slave station No 41 HO
21. Communication can only be used in RUN BFM 0 K1 Clear BFM 0 K3 or AutoClear BFM 0 K4 mode FX3U PLC main Unit 64DP M Master Class 1 Buffer memory i Output Data Area for Acyclic Data Communication VA P E E i Slaves 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 instruction 36 FX3u 64DP M PROFIBUS DP Master Block 5 Mode Data Communication Global Control User s Manual 5 3 Diagnostic Information 5 3 Diagnostic Information z Q 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 o single specified DP Slave 3 1 Direct read the current Slave Diagnostic Information S The 64DP 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 FX3U PLC main Unit 64DP M Master Class 1 Buffer memory Internal Slave Diagnostic Slave FIFO Area 1 FROM or RBEM instructions Diagnostic BFM direct designation in Information applied instru
22. ExtDiagData 2 Bit 0O 1 Module 9 has diagnosis Bit 1 1 Module 10 has diagnosis Bit 2 1 Module 11 has diagnosis BuUlAA f gt 3 Channel related 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 BitOto5 Module number 0 to 63 5 ogz Bit 6 0 gE S Bit 7 1 93 ExtDiagData 1 BitOto5 Channel number 0 to 63 S Bit 6 1 Input channel Bit 7 1 Output channel ExtDiagData 2 BitOto4 0 Reserved ERS BitOto4 1 Short circuit H BitOto4 2 Undervoltage aS BitOto4 3 Overvoltage BitOto4 4 Overload N Bit O to4 5 Excess temperature SoS BitOto4 6 Cable break BEE BitOto4 7 Upper limit value exceeded ar BitOto4 8 Lower limit value exceeded d BitOto4 9 Error 8 BitOto4 10 to 15 Reserved Dm BitOto4 16 to 31 Vendor specific EE 30 Bit5 to 7 1 Channel Type 1 Bit error Bit 5to7 2 Channel Type 2 Bit error Bit 5to7 3 Channel Type 4 Bit error BitSto 4 Channel Type 1 Byte error Bit 5to7 5 Channel Type 1 Word error Bits to 6 Channel Type 2 Word error ExtDiagData 3 BitOto5 Module number 0 to 63 Bit 6 0 Bit 7 1 sonsoubeiq Lo 75 FX3u 64DP M PROFIBUS DP Master Block User s Manual 76 ExtDiagData 4 ExtDiagData 5 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
23. I O Extension block and powered extension unit Generic name of FX2N Series extension block Generic name of FX2N Series powered extension unit Abbreviated name of the PROFIBUS DP network Generic name of the PROFIBUS DP master module include FX3uU 64DP M Abbreviated name of FX3U 64DP M PROFIBUS DP master block Generic name of the PROFIBUS DP slave module Abbreviated name of FX2N 32DP IF PROFIBUS DP interface block 32NT DP Abbreviated name of FXoN 32NT DP PROFIBUS DP interface block GX Configurator DP Programming Tools Programming tool Programming software GX Developer Generic name of configuration system for open networks software Version 7 00A or later Generic name of the programming software and handy programming panel Generic name of the following programming software GX Developer FX PCS WIN E Generic name of programming software packages SWLID5C GPPW J and SWLID5C GPPW E 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 RS 232 RS 422 conversion interface USB RS 422 conversion interface Manuals Programming Manual FX3U PLC Hardware Edition Analog Control Edition Positioning Control Edition Data Communication Edition GX Configurator DP Software Manual FX 20P E FX 10P E Generic name of the
24. 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 cyclic 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
25. M For datails on Global Control refer to Section 6 34 For Cyclic Input Data refer to Section 5 1 and 6 23 FX3U Series PLC 64DP M Master Class 1 Buffer memory Cyclic Input Data Area Global Control Area Example Sending the FREEZE command to DP Slaves in group 3 Group 8 Group 3 DP Slave 1 DP Slave 2 e Input image memory The data is always refreshed by polling lt X gt 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 command 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
26. 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 suoleoioeds NO uone jesuy OO eg 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 calculation Tsdi M 9 6k 10 19 2k 93 75k 15 5 187 5k 500k 80 QUE o 8 1 5M 3M 6M 12M 150 S oP QOL 33 Lr Data refresh time Max 8 ms 0 1 ms x number of DP slaves a2 MSI Minimum slave interval is set
27. Write Writes to slave number which stores the current Slave Diagnostic Information to BFM 7210 to 7335 The valid range lies between 1 and 64 slaves 72 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 g BFM Access Read Only 8 Reads the current Slave Diagnostic Information from BFM 7210 to 7335 i 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 2 BFM No Description 3 BFM 7210 SlaveAddress 3 BFM 7211 StationStatus BFM 7212 StationStatus2 BFM 7213 StationStatus3 3 BFM 7214 MasterAddress a BFM 7215 IdentNumber S 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 BuUlAA f gt 2 StationStatus1 Bit No Description BitO This bit is set by the 64DP M if the DP Slave can no longer be reached via the bus 5 ogz Bit 1 The DP Slave cannot supply any valid input data The 64DP M fetches diagnoses until this Bit is reset by gS g the DP Slave Os Bit 2 The comparison of the configuration data transferred by the 64DP M with the actual configuration data of 3a the DP Slave has failed The DP Slave waits for a new
28. 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 For Slave Diagnostic Information refer to Section 6 29 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 g BFM 29 Bit 10 is also set to ON If this error occurs check the reason for the DP Slave alarm by checking a the users manual of the DP Slave The content of the DP Slave s alarm can be read out by using BFM 8934 7 to 8969 For Alarm Message refer to Section 6 32 2 10 No Configuration Available Flag BFM 29 Bit 11 a 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 75 kbps and default address is 0 Gj 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
29. chart 2 Moreover after stocking up to 64 Slave Diagnostic entries in the Internal Diagnostic FIFO Area new Slave w Diagnostic Information is not stocked until Diagnostic FIFO is Full flag BFM 29 Bit 13 is OFF E For Diagnostic FIFO is Full flag BFM 29 Bit 13 refer to Subsection 6 13 12 8 FX3U PLC main Unit 64DP M Master Class 1 Buffer memory Internal Slave Diagnostic FIFO Area 1 FROM or RBFM instructions BFM direct designation in applied instruction FIFO Diagnostic Diagnostic FIFO Data da te max 64 entries ata uone jeisuy Oo 2 TO or WBFM instructions BFM direct designation in applied instruction ay ERs BuUlAA f gt Slave Diagnostic Information for FIFO function mr E 3 PROFIBUS DP Network Qi pPON swwo geq Q O o D O O a FIFO Slave Diagnostic Information Data reading procedure Write the FIFO Di tic R i Do not read from gt By user program rite the iagnostic Reques BFM 7338 to 7463 flag BFM 7336 Bit 0 to ON It will during this time gt Automatically by 64DP M TE be automatically reset after the Ta FIFO Diagnostic is read HS 3 2 Read the Diagnostic FIFO Data D Area from BFM 7338 to 7463 by FROM instruction etc N Internal FIFO Counter BFM ae 7337 is decremented and aS the Slave Diagnostic See Information is read then sO deleted from Internal FIFO i Memory Note um Se a E5 The FIFO Slave Di
30. 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 please 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 89 336 EEC when used as directed by the appropriate documentation Type Programmable Controller Open Type Equipment Models MELSEC FX3u series products identified here manufactured from August 1st 2005 FX3U 64DP M PROFIBUS DP Master Block for FX3U Series Main Processing Units Standard Remark EN61131 2 2003 Programmable controllers Compliance with all relevant aspects of the standard Equipment requirements e Radiated Emissions and tests e Mains Terminal Voltage Emissions e RF immunity e Fast Transients e ESD e Conducted e Surge e Power magnetic fields 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 connected For detail of wiring refer to Sect
31. 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 uOoI e e SU BuuiAA f gt Qi pPON ONUOD JEGO S SWWWOD geq SW4g s now y yng Jo uogeoojy N Bunjas uoneunByuo5 pue sus oWeled weJBOld ajduexy OO sonsoubeiq Lo 27 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 FX3U series main unit or extension units blocks 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 FX3U PLC Hardware Edition 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
32. factor Controls the GAP update time T_gud 4 to 100 Default 10 Highest station address cle Default 126 ence Maximum retry limit 1to7 Max retry limit Default 1 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 99 uononpou suoleolioeds N uonejesu OO BuUlAA f gt Qi pPON 101 U09 JEGO S swwo geq O w w Ww S D D D 3 3 D n JO UOHedOIY Bunjas uoneinByuo5 pue sis oWeled wesbold ajduexy OO sonsoubeiq Lo FX3u 64DP M PROFIBUS DP Master Block 8 Example Program User s Manual 8 1 Example Program 1 8 Example Program STARTUP AND MAINTENANCE PRECAUTIONS DANGER 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 rep
33. following models FX 232AW FX 232AWC FX 232AWC H Abbreviated name of the FX USB AW USB RS 422 Conversion Interface Abbreviated name of FX3U FX3UC Series Programming Manual Basic amp Applied Instruction Edition Abbreviated name of FX3U Series User s Manual Hardware Edition Abbreviated name of FX3uU FX3UC Series User s Manual Analog Control Edition Abbreviated name of 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 FX3u 64DP M PROFIBUS DP Master Block User s Manual Reading of the Manual re 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 andthe indexes the chapter number currently opened title of the section for the page currently opened for the page currently opened 0 16 1 54 SHI ae ee FX3u 64DP M Profibus DP Master Block l 3 Installation User s Manual l I 3 2 Mounting Ne ee ee oe ee o e a a e j A e E 1 14 3 2 Mounting 3 I l l The 64DP M can be mounted on a DIN rail DIN46227 or mounted directly using screws l 3 l 3 2 1 Direct Mounting i 2 The 64DP M
34. grounding Shared grounding Common grounding Best condition Good condition Not allowed e The grounding wire size should be AWG 14 2 mm or larger 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 32 FX3u 64DP M PROFIBUS DP Master Block 5 Mode Data Communication Global Control User s Manual 5 1 Cyclic I O Data Communication 5 O O Q O O 5 Mode Data Communication Global Control 5 1 Cyclic I O Data Communication Cyclic I O Data Communication is used for periodic data communication e g I O analog input value etc between 64DP M and DP Slaves The 64DP M can exchange data to DP Slaves without using the Data Consistency Mode in cyclic I O data communication when I O data is 16 bit 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 automatical
35. in the configuration software GX Configurator DP 6 wre ES 3 2 D OUV O D o 23 D oo 53 2 pu O 0 E 30 sonsoubeiq Lo 19 1 Introduction FX3u 64DP M PROFIBUS DP Master Block User s Manual 1 4 Communication Time PROFIBUS bus cycle time O SS A c 5 N eo r y O O O MSE v 5 Z Z Z OS se 2 Oo gt gt gt 2 S DT amp amp amp ED gt pani v v op G Se lt e go a a a A m oO QO QO 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 As 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 20 FX3u 64DP M PROFIBUS DP Master Block 1 Introduction User s Manual 1 4 Communication Time Reference The 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 w g
36. is stored in D100 to D125 100 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 8 7 00A or later gt For operation of GX Configurator DP refer to the GX Configurator DP Software Manual Point 2 WM 1 Module type 3 Select the PROFIBUS DP V1 FX3U 64DP M on Network Setup dialog box 5 2 Download the project 3 When making the project download it to 64DP M For download operation details refer to GX Configurator DP Software Manual 1 Master Parameter Setting uone jesuy OO 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 BuUlAA A Revision SENA Vendor MITSUBISHI ELECTRIC CORPORATION Name PROFIBUS Master Baudrate 1 5 Mbps Y 5 FDL address 0 0 125 2 T S ow Head address on PLC fo 0x0 0x7 o O Error action flag Goto Clear State S n Min slave interval 30 1 65535 2 Polling timeout 50 1 65535 6 Data control time 100 1 65535 Watchdog w So o o OEA 5 3 O om oo D Mn OK Cancel Default _ BusParam 7 OUV oouo m tow 3 Bus Parameter Setting cao So i i Kb Set the bus parameter as follows in the
37. l Shows the slot number This number is defined by the ODL addressing for acyclic services 235 e When writing request data aS BFM BFM BFM BFM 4 Writes the index value rf 4522 4646 4770 4894 MIGeX e When reading data Shows the index value of the data 8 a i je 33 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 BFM User data Data T For data format details refer to the manual of DP Slave 4524 to 4643 to 4767 to 4891 to 5015 1 One byte is written to one separate BFM except for the Data field 2 Size of Datal is 240 bytes sonsoubeiq Lo 67 F X3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BF Ms User s Manual 6 26 Acyclic Output Data 6 26 Acyclic Output Data 68 The acyclic communication can be used for setting and change the DP Slave parameter during cyclic communication 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 output communication The data communication procedure of acyclic I O data communication functions according to the following timing c
38. 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 121 FX3u 64DP M PROFIBUS DP Master Block User s Manual Revised History Revised History Date Revision Discription 8 2005 A Firs
39. o a MOO OO QL No 126 FX3U Series No 125 2 PROFIBUS DP Network FX3U Series FX3U Series Bus terminator x SSS SSS RSS DP Slave No 23 DP Slave No 24 DP Slave No 16 DP Slave No 17 DP Slave No 1 MQ OOOQQLL MQ OVAL 0 0b o X DP Slave No 51 DP Slave No 52 Slave No 26 DP Slave No 25 DP EE a m D DP Slave No 80 DP Slave No 81 DP Slave No 53 AANS AANS DP Slave No 123 Slave No 104 DP Slave No 103 DP DP Slave No 82 This 64DP M has a total of 40 slaves No 1 to 16 25 81 to 103 sa gA pcr This 64DP M has a total of 36 slaves No 17 to 23 52 to 80 M has a total of 47 slaves No 24 26 to 51 104 to 123 This 64DP 16 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 T
40. point a doubtful error etc please contact the nearest Mitsubishi Electric distributor Registration 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 PRECAUTIONS earnan dcadiretacediccnidladedcetiwtte tis a cucetanedtfecteeds i A PpICaDIE Standards anisenana a N 7 Location and Usage of Manual sasnannnnnnsnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnmnnn nnne 8 Associated ManualS aannnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnnm nnna 9 Generic Terms and Abbreviations ccccccccecececececcececeececececeneececeneceaceneaeneaeeaeneaceeeaeaeensneaeass 10 REAGING OF th Manual sissen teens sce cdees esti ccaxeceveeneCespadencesteetavesseeceeCsssacennesteceaedenecetecaatensceses 11 1 Introduction 12 1 4 Peaturesof the FXSUs64D PW a 12 1 2 External Dimensions and Each Part Name ccc cccccccceccccccececececececucececececeaeaeaeaeaeaceeeneaeneaeananas 13 1 2 1 External Dimensions and Each Part Name 2 0 0 0 ccc cece eccececececeeeeeeeeeeeeaececeeeeaeueaeaeseceeeeneneeeneneaeaes 13 1 2 2 Pin Configuration of PROFIBUS DP Connectol
41. same time BuUlAA f gt Qi pPON 6 34 3 FREEZE and UNFREEZE Global Control swwo geq Q O o D O O a 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 34 1 For Cyclic Input Data refer to Section 5 1 and 6 23 SW4g Seow yng FX3U Series PLC 64DP M Master Class 1 Buffer memory Cyclic Input Data Area Global Control Area JO UOHedO Y N OUN Example Sending the FREEZE command to DP Slaves in Sa E SH group 3 PROFIBUS DP Network 23e z aa 5 go Group 8 Group 3 Group 3 a DP Slave 1 DP Slave 2 8 a on O D O O 30 Input image memory The data is always refreshed by polling lt X gt lt During UNFREEZE execution default gt The actual input is input to the input memory immediately normal condition lt During FREEZE execution gt 3 The actual input is input once into the input image memory at the FREEZE service timing A n 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
42. to Global Control Area BFM 9390 by TO instruction etc y FREEZE or UNFREEZE Do not read from Set Input Data Send Flag BFM 100 to the Input Data 163 to ON for the DP Slave which Stave na gt changed to UNFREEZE mode only needs ime if Input Data Consistency Activate Deactivate Flags of DP Slave is ON S ON Read the input data of the DP Slave in FREEZE mode from the Cyclic Input Data Area BFM 350 to 1373 by FROM instruction etc by amp Read input data 64DP M will receive by input data specified DP Slaves in FREEZE mode via cyclic communication by polling Information Dwell Time Setting BFM 9394 90 BFM Access Read Write The Information Dwell Time is used to specify a time period after the start of data exchange where any Diagnosis Information from DP Slaves is not displayed in the 64DP M The time value in the buffer memory 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 Note If the error action flag Goto Clear State is set in the Master Parameter Settings of GX Configurator DP the 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 D
43. 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 40 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 1 Buffer Memories BFM Lists E m z 6 Allocation of Buffer Memories BFMs 6 1 Buffer Memories BFM Lists o O aN ot BFMs Access Ref 2 O escription read write eference S BFM 0 Communication Status 6 2 3 BFM 1 Communication Control Flags 6 3 BFM 2 Consistency Handling Error Flags 6 4 z BFM 3 PROFIBUS Error Flags 6 5 BFM 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 ae 4 BFM 7 Min PROFIBUS bus cycle time for cyclic data exchange ve 6 8 BFM 8 Max PROFIBUS bus cycle time for cyclic data exchange Le amp BFM 9 to Noruscd i BFM 17 ait 9 Acyclic Slave Communication Deactivation Message Flags 6 9 5 QUE BFM 22 to 58S BFM 26 PROFIBUS Module ID PNO Nr F364 Hex 6 10 ae oe BFM 27 v 6 11 BFM 28 d 6 12 O JF o a s m 2 r n S o aa T Q n J BFM 29 se O GRE BFM 33 Clear Control Flag 6 1
44. v 6 42 2 O a7 T BFM 10060 l l 295 configuration and the detected e220 configuration aa Shows the current scanned address j After the scan this value is set to 0 BFM 10061 Scan Slave FDL Address May not show it because speed 6 42 3 8 scanning is faster in high baud rate Pm setting 63 3 30 BFM 10062 Number of Detected Slave Sno Pianeta 6 42 4 Slaves Shows the Slave Number Slave ee Detected Slave List FDL address and PNO ID of each v 6 42 5 9 BFM 10443 detected DP Slave After amp ermaoasa NO ooo a O Caution Qi pPON swwo geq Q O o D O O a SW49 Seow yng JO uonevo iy 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 of the 64DP M if accessing these buffer memories 45 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 2 Communication Status BFM 0 6 2 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 i 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 on
45. y Os etc 3 o Reset Data Exchange Start Request Flag BFM 1 Bit 0 ps Set Data Exchange Start Request Flag BFM 1 Bit 0 to ON aN BFM 1 bit 0 ON N wre TZO 23 data exchange mode eS Exchange Start End Flags BFM 0 RUN Exchange Start End Flags 3 9 is set to 1 by 64DP M to indicate BFM 0 is reset to 0 by T Data Exchange Mode RUN wN 64DP M to indicate STOP mode BFM 0 K1 N All projected DP Slaves are O D D exchanging data with 64DP M 5a Whole Config Data Exchange Flag ST BFM 4 Bit 1 is set to ON by 64DP M S o to indicate that all projected DP Slaves L 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 exchange with the DP Slaves if J 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 ajduexy OO wesbold sonsoubeiq Lo 47 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 48 BFM Access Read Write These Bits show the reasons
46. 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 Error action flag 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 65535 Default 30 30 x 100 us 3 ms In case of master master communication this parameter specifies the max amount of time it may take the requestor to fetch the response 1 to 65535 Default 50 50 ms 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 Polling timeout x 1 ms x 10 ms than the watchdog control of DP Slaves 11009923 Default 100 100 x 10 ms 1 second Watchdo This check box enables the watchdog checking in all DP Slaves i g Default Not checked When the check box Watchdog is checked this specifies the maximum 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
47. 0 24 CYCliG OUPU Dale anadi a a a aa aa 62 6 24 1 Cyclic Output Data Consistency Activate Deactivate Flags BFM 92 to 95 cece 63 6 24 2 Cyclic Output Data Send Flags BFM 225 to 288 cccccccccceecccceeeeeaee cesses eeseeecessaeeessaeensaes 63 6 24 3 Cyclic Output Data Area in Normal Service Mode BFM 2350 to 3373 cccceceeeceeeeeeeeee es 64 6 24 4 Cyclic Output Data Area in Extended Service Mode BFM 2350 to 3373 cece eee cee e eee 65 629 AAGVCIIG NIN DUU LIAL este Sysae tad O 66 6 25 1 Acyclic Input Data Request Flags BFM 4500 to 4503 cc ceccccceecceseeeeeeeeeeeeeeeeeaeeseeeensees 67 6 25 2 Acyclic Input Data Area BFM 4520 to 5015 eccccceeecceeeeeeeeeceeseeeesseeeeeeaeeeseeeesseeeensees 67 6 20 AGYGCIIC OUMU Dalier ee ee ate 68 6 26 1 Acyclic Output Data Send Flags BFM 4510 to 4513 0 ccc cecccceeeeeseeeeeeeeeeeeeeeessaeeeeeaes 69 6 26 2 Acyclic Output Data Area BFM 5760 to 6255 cc ccccccccececeeeeeceeeeeseeeeeeeeeeesseeesseeesseeeessaes 69 6 27 Master Slave Internal Slave Parameter Error Flags BFM 7000 to 7003 ccccecceeeeeeees 70 6 28 Master Slave Internal Slave Parameter Error Data BFM 7008 to 7071 ceccceeeeeeeeeees 70 6 29 Slave Diagnostic INIOPMaAllOM sereine e a A O ean abmeanits 71 6 29 1 Slave Diagnostic Status Flags BFM 7200 to 7203 ccc ccccccecccceseeeeeeeeeeeeeeseeeeeeeseaeeeeeeseeeeeeas 72 6 29
48. 1 s B D13 READY Cyclic input data request flag Signal E for DP Slave station No 2 ao 0 NOS 366 d poo Mov M EN NO K1 s d une Cyclic output data consistency activate D2 1 deactivate flag for DP Slave station No 2 MOW M p _ _ lt _ _ _ gt L i WOS366 d D20 M800 MOY hl EM ENG a RUN Un G29 d D290 Monitor seee a When the PLC needs to read the alarm message from DP Slave include the sample program shown in the section 8 2 manoa EMO M EN ENG i RUN NOG 200 Monitor kK4 n riri MOWP_M EM ENG M Slave ae S 5 d UONG F209 diagnosis Cyclic slave communication error available flag for DP Slave station No 1 ee aaa ae flag KI s d _uove7208 To the next page 8 Example Program 8 1 Example Program 1 Read cyclic input data request flag from BFM 100 Read cyclic input data of DP Slave station No 1 from BFM 350 to 365 Set cyclic input data request flag of DP Slave station No 1 to ON Read cyclic input data of DP Slave station No 1 from BFM 350 to 365 Read cyclic input data request flag from BFM 101 Read cyclic input data of DP Slave station No 2 from BFM 366 Set cyclic input data request flag to ON Read cyclic input data of DP Slave station No 2 from BFM 366 Read master error status from BFM 29 Read cyclic slave communication error flag from BFM 7200 to 7203 Write slave number to r
49. 10063 1 Slave Number BFM 10072 4 Slave Number BFM 10064 1 Slave FDL address BFM 10073 4 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 127 Slave FDL address BFM 10071 PNO ID BFM 10443 PNO ID 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 2 precautions SS DANGER 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 uone jesuy OO An operation error may damage the machinery or cause accidents BuUlAA A STARTUP AND MAINTENANCE PRECAUTIONS NCAUTION Do not disassemble or modify the unit Doing so may cause fire equipment failures or malfunctions For repair contact your local Mitsubishi Electric distributor Qi Do not drop the product and exert strong impact D oing so may cause damage SIS Turn off the power to the PLC before
50. 140 to 9267 Example In following configuration and I O data assignment case Address Information Area is shown the below 1 System configuration of example FX3U Series FX3U 64DP M 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 2 Input Data Area and Output Data Area of example BFM Address BFM Address Upper byte Lower byte Bit O BFM 350 2nd byte 1st byte saci Notused 3rd byte H351 Not used 3rd byte 352 2nd byte 1st byte 2nd station 4th byte 3rd byte 6th byte oth byte 355 This area is not used in this system configuration 2349 This DP Slave ee does not have nee output data 1st station TEN assigned 2nd byte 1st byte 2350 4th byte 3rd byte 2352 2353 This area is not used in this system configuration 3373 3 Example of Address Information Area BFM Address Bit 15 Upper byte Lower byte Bit O BFM 9140 Slave FDL address of 1st station 5 H 9141 9142 Slave FDL address of 2nd station 10 H 9143 9144 9145 9266 Slave FDL address of 64th station FFFF H 9267 64th station output byte length FF H 64th station input byte length FF H 86 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 34 Global Control 6 34 Global Control z The 64
51. 207 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 BFM 8792 to BFM 8795 BFM 8796 to BFM 8799 Description ON when Master Slave Internal Parameter Error occurs during DP Slave s initialization Master Slave Internal Parameter Error Flags Not used Checks this error data when Master Slave Internal Parameter Error occurs Master Slave Internal Parameter Error Data 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 Slave Diagnostic Request 6 29 2 Slave Number 6 29 3 6 29 4 Sets to ON when storing the FIFO Slave Diagnostic Information of specified DP Slave to BFM 7338 to 17463 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 Diagnostic FIFO Data Area Reads the FIFO Slave Diagnostic Information from this area FIFO Diagnostic Request 6 30 1 Internal FIFO Counter 6 30 2 6 30 3 Slave Diagnostic Status Data Automatical Acknowledge Setting diagnosis Sets th
52. 32DP IF PROFIBUS DP Interface Unit specification for wiring and Supplied FX2N 32DP IF JY992D77104 installation extracted from the FX2N 32DP i Manual Hardware Manual IF Users Manual For details refer to FX2N 32DP IF Users Manual ne Describes FX2N 32DP IF PROFIBUS DP Eaa a miean JY992D79401 Interface Unit specification details for wiring Manual User s Manual i i i installation and allocation BFM s etc Configuration Software GX Cofigurator DP Configuration System for Describes operation details of GX Open Networks Software Configurator DP Configuration System for Manual Networks Software FX3u 64DP M PROFIBUS DP Master Block User s Manual Generic Terms and Abbreviations Generic Terms and Abbreviations Generic Name and Abbreviation ad E OF FX3U Series Main unit FX2N Series FXON Series Expansion board Special adapter Special function units block Extension unit block I O Extension block Powered extension unit PROFIBUS DP Network PROFIBUS DP network DP Master 64DP M DP Slave 32DP IF Description Generic name of the FX3U Series Abbreviated name of the FX3U Series PLC main unit Generic name of the FX2N Series Generic name of the FXON Series Generic name of the FX3u Series expansion board Generic name of the FX3U Series special adapter Generic name of the FXON FX2N Series FX3UC Series special function block and FX2N Series special function unit Generic name of
53. 38 31 BFM 8870 63 BFM 8839 32 BFM 8871 64 6 32 5 Alarm Message Request BFM 8933 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 6 32 6 Request Slave Number BFM 8934 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 83 Q O O D O O a SW49 Seow yng uonesn iyuon pue sus oWeled j uononpou suoleolioeds N uonejesu Oo BuUlAA A Qi pPON swwo geq JO uonevo iy N Buijas wesbold aiduexy OO sonsoubeiq Lo FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BF Ms User s Manual 6 32 Alarm Message 6 32 7 Alarm Message BFM 8935 to 8969 84 BFM Access Read Only Reads the Alarm Message from this area Data format of Alarm Message shows the following BFM 8935 SlaveAddress BFM 8936 Type BFM 8937 SlotNumber BFM 8938 Specifier BFM 8939 BlockLength BFM 8940 to 8969 DiagnosticUserData 59 bytes SlaveAddress PROFIBUS address of the DP Slave whose alarm entry has been read The valid range lies between 1 and 125 Type Value Description 0x01 Diagnostic alarm e g short circuit or excess temperature 0x02 Process alarm event in the connected process 0x03 Pull alarm module removed 0x04 Plug alarm
54. 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 49 uononpou suoleolioeds N uonejesu Oo BuUlAA f gt Qi pPON swwo geq Q O o D O O a SW49 Seow yng Jo UOHEDO IV N Bunjes uonein6yuo5 pue sus oWeled wesbold aiduexy OO sonsoubeiq Lo FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 7 Module READY Signal BFM 5 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 startup procedure and all BFMs are initialized the flag is set to ON Data exchange BFM 1 should start after this flag becomes ON BFM 5 K1 Bit O Module READY Signal 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 PROFIBUS bus cycle time Default value 0 BFM 7 Min PROFIBUS bus cycle time Default value FFFF hex
55. 7 7 BFM 34 PROFIBUS Error Mask Flag 6 18 OUO BFM 35 to TE f a e BFM 37 E Ze o ODO BFM 38 Number of Allocated Slaves px 6 19 oo BFM 39 Operation Service Mode 6 20 2 BFM 40to Not used i 8 BFM 72 um xX BFM 73 to eS V V 3 BEM 76 Data Swap Activate Flag rar 6 21 ao BFM 77 to er elena Slave FDL Address p p 9 ag This BFM is used to change the 6 29 g BFM 82 Old Slave FDL address Slave FDL address O BFM 83 New Slave FDL address 2 PTM ROS lO Cyclic Input Data Consistency Activate Deactivate Flags v v 6 23 1 BFM 87 BFM 88 to ai 2 Cyclic Output Data Consistency Activate Deactivate Flags 6 24 1 41 FX3u 64DP M PROFIBUS DP Master Block User s Manual 42 BFM No BFM 96 to BFM 99 BFM 100 to BFM 163 BFM 164 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 BFM 5760 to BFM 6255 BFM 6256 to BFM 6999 6 Allocation of Buffer Memories BFMs 6 1 Buffer Memories BFM Lists BFMs Access Description read Reference Nowe l l This flag is used to exchange the ae PPL Mata dequect cyclic input data of more than 16 bits v v 6 23 2 g to DP Slaves Noted l This flag is used to exchange the Cyclic Output Data Send Flags
56. BitNo Station No BFM No BitNo Station No Bit 15 16 Bit 15 48 Bit 15 32 Bit 15 64 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 10 PROFIBUS Module ID PNO ID BFM 26 6 10 PROFIBUS Module ID PNO ID BFM 26 BFM Access Read Only Shows the PROFIBUS Module ID from PNO The value is F364 Hex 6 11 Master Reset BFM 27 BFM Access Read Write When the Master Reset Request is set to K2 the 64DP M will do a Hardware reset This reset is equivalent to a Power down reset After the reset this Register will automatically be erased to KO 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 Wrong value was written to BFM 1 Communication Control Flag to BFM 33 Clear Control Flag or on 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 Inpu
57. Changes for the Better a MITSUBISHI i PROGRAMMABLE CONTROLLERS MlelLSEGelF USER S MANUAL FX3U 64DP M PROFIBUS DP Master Block GHEE S2fcty Precautions D 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 DANGER and A CAUTION DANGER 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 lt SDANGER 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 ci
58. Cyclic Input Data Start Address Area BFM 9426 to 9489 6 38 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 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 st
59. DP M can connect a maximum of 61 slaves as a repeater is used BuUlAA f gt 3 Connecting 1 Master Class 1 and 3 repeaters on the PROFIBUS DP network C GX Configurator DP FX3U 64DP M Ver 7 00A or later FX3u Series Master of Class 1 Bus terminator Qoz Bus terminator SS 8 a BO E E Ee 23 ag PROFIBUS DP Network DP Slave DP Slave DP Slave lt lt O OOOO DP Slave DP Slave Repeater E No 1 No 2 No 3 No 17 No 18 P SSS eas z 5 Os J ae 3 Rehealer DP Slave DP Slave lt lt lt lt Z DP Slave DP Slave l i No 19 No 20 No 34 No 35 See sss 9 eae D E A oo 5 o 2 DP Slave DP Slave _ lt _ lt _ lt DP Slave DP Slave Repeater 8 No 36 No 37 No 43 No 44 p ea Es 38 E a 2 DP Slave DP Slave DP Slave lt lt gt O OOOO DP Slave DP Slave No 45 No 46 No 47 No 63 No 64 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 sonsoubeiq Lo 15 1 Introduction FX3u 64DP M PROFIBUS DP Master Block User s Manual 1 3 System Configuration 4 Connecting 126 stations 3 Masters 60 Slaves or more on the PROFIBUS DP network Please see NOTE on the next page FX3U 64DP M Master of Class 1 FX3U 64DP M Master of Class 1 FX3U 64DP M Master of Class 1 No 124 1 E terminator
60. DP M supports SYNC UNSYNC and FREEZE UNFREEZE Global Control Service S 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 2 FX3U Series PLC 64DP M Master Class 1 WwW Buffer memory 8 a Example Sending the Global Control command 2 to DP Slaves in groups 1 and 2 l __ PROFIBUS DP Network F ee ee ee 5u gt _ N oOo l l i i l i l l It l I I 1 i l i I I It i l l l Ii H I H I I wee uone jeisuy Oo PGi jojo ono CR eka aaa eee mmc mmc ccc pm es ce ns me a a a a a a a a E 1 eee eee 6 34 1 Global Control Area BFM 9390 BuUlAA f gt 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 Qi QUZ among 8 groups The group number assignment for each DP Slave is set by GX Configurator DP In the SS 8 64DP M the group can be arbitrarily specified and the transmission of a Global Control Command can be o9 triggered As a result the 64DP M broadcasts a group specific Global Control Command which will enable ae the related DP Slaves to perform the requi
61. Data Area in Normal Service Mode BFM 350 to 1373 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 2nd byte 1st byte 4th byte 3rd byte 6th byte oth byte 8th byte 7th byte BFM 350 1st station 365 366 2nd station 381 382 32thbyte 31thbyte 2nd byte 1st byte X 4th byte 3rd byte 6th byte oth byte 8th byte 7th byte 1358 4 64th station ha 1373 sca 381 32th byte 31th byte Note 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 3rd station N 397 Example When the 1st station has 20 bytes of input data the corresponding input data area has free sectors from 21st to 32nd byte The value of these free sectors is 0 BFM Address BFM Address Upper byte Lower byte Bit O 2nd byte 1st byte 1350 360 S 1865 366 2nd byte 1st byte 367 4th byte 3rd byte 64th station 1373 BFM 350 1st station 365 366 b 2nd station 381 382 3rd station 60 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BF Ms 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 exch
62. ER 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 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
63. F BF F je KU ni k29 f2 k1 n3 TOF Ml EN ENO HO FEFF KO ni ABO na K1 n3 114 8 Example Program 8 2 Example Programs to Read Alarm Message from Reset alarm massage available flag BFM 29 Bit 10 Reset alarm acknowledge status of DP Slave station No 41 in BFM 8802 Reset Command input device xxx mark when this device is set FX3u 64DP M PROFIBUS DP Master Block 8 Example Program User s Manual 8 3 Initializing the Network 8 3 Initializing the Network i O The Create POU functionality enables GX Configurator DP to output an IL Instruction List Program from the F 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 2 To import the IL Program to GX IEC Developer follow the procedures below These procedures include GX p Configurator DP Operations and GX IEC Developer Operations Make sure to complete the GX E 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 P Primary procedures GX Configurator DP Operations 1 Set the Input CPU Device and Output CPU Device in the Slave Parameter Set
64. FM 225 Write output data of DP Slave station No 1 D80 to D95 to BFM 2350 to 2365 Set cyclic output data send flag of 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 109 j uononpou suoleolioeds N uonejesu OO BuUlAA A Qi pPON ONUOD JEGO D SWWWOD geq SW4g s now y yng Jo uogeoojy N Buijas uoneun6yuo5 pue sis OWeled D Q gt n O n FX3u 64DP M PROFIBUS DP Master Block User s Manual 110 Cyclic input data consistency activate ia I deactivate flag for DP Slave station No 1 E Module UO G100 s d p12 READY Cyclic input data request flag Signal 012 0 for DP Slave station No 1 Brg M EN ENO NOS 350 5 di DBD k16 ee Mov M EM ENG Ki 5 d UO WG100 Cyclic input data consistency activate D2 0 deactivate flag for DP Slave station No 1 BMOV_M EN ENO UDG350 s d Dio K1b n ee ome a De deactivate flag for DP Slave station No 2 MOV M EN ENO Module UN G10
65. FM 7466 Slave FDL address BFM 7467 Station Status 2 BFM 7468 Slave FDL address BFM 7469 Station Status 2 BFM 7470 Station Status 3 Status 3 Slave FDL address BFM 7471 San Status 1 Station Status 2 Station Status 3 Status 3 Slave FDL address a Status 1 Station Status 2 BFM 7590 BFM 7591 79 Q O o D O O af SW49 s now y Jeng uonesn iyuon pue sus oWeled uononpou suoleolioeds N uonejesu Oo BuUlAA f gt Qi pPON swwoN geq JO uogevoliy N Bunjas wesbold ajduexy OO sonsoubeiq Lo FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BF Ms User s Manual 6 32 Alarm Message 6 32 Alarm Message 80 The 64DP M can handle Alarm Messages from the PROFIBUS DPV1 slaves alarm model The Alarm 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 For acknowledging procedure and Alarm Message reading procedure see following time chart Note This function can only be used in RUN BFM 0 K1 Clear BFM 0 K3 or AutoClear BFM 0 K4 mode FX3U PLC main Unit 64DP M Master Class 1 Buffer memory Internal Alarm Message FIFO Area 4 FROM or RBEM instructions Alarm BFM direct designation in Message For each DP Slave 2 Alarm applied
66. ISu uUe This manual contains explanations on wiring installation specification and allocation BFM s etc of the FX3u 64DP M PROFIBUS DP Master Block 0000 00000 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 FX2N 32DP IF FXon 32NT DP For detailed explanation refer to user s manual E For explanation on installation and wiring Hardware Manual Supplied Manual Manual is supplied with product power PE RUN 000 sws For detailed explanation User s Manual Additional Manual 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 refer 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 cane Manual Name Description Number Manual for the Main Module FX3u Series PLCs Main Unit
67. 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 0 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 uone jesuy OO BuUlAA f gt 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 Qi 205 Area until this bit is OFF SEG For Diagnostic Information FIFO refer to Section 6 30 oF Note SP To clear this flag execute the following 3 methods e Change modes from STOP to RUN Changes value in BFM 1 from KO to K1 wre e Reset Clear Internal FIFO Counter BFM 7337 Writes KO to BFM 7337 T g e Reset Diagnostic FIFO Full flag BFM 29 Bit 13 when this bit is ON i gt 13 Data Exchange Error BFM 29 Bit 14 This flag shows a data exchange interruption of a DP Slave For example this err
68. 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 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 Unllit 64DP M is in normal operation 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 117 O4JUOD EGO SW4g s now y yng uonesnpiyuon pue sis oWeled uononpou suoleolioeds NO uone jesuy OO BuUlAA f gt Qi SPON swwo geq JO UOHedOIY N Bunjas aiduexy OO I 3 ro Q o 3 FX3u 64DP M PROFIBUS DP Master Block 9 Diagnostics User s Manual 9 2 Detail Error Check 9 2 Detail Error Check 118 Please check the bit status in Master Error Status BFM 29 Master Reset Status Flag BFM 29 Bit 0 This flag is set to ON after 64DP M software is reset by Master Reset 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 Secti
69. M 10055 BFM 10059 BFM 10056 a BFM 10060 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 95 Q O o D O O af SW49 s now y yng uonesnpiyuon pue sis OWeled uononpou suoleolioads NO uone jeisuy Oo BuUlAA f gt Qi pPON swwoN geq JO uogevoliy N Bunjas wesbold ajduexy OO sonsoubeiq Lo FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 42 PROFIBUS Scan Function 6 42 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 42 4 Number of Detected Slave BFM 10062 BFM Access Read Only Shows total number of detected DP Slaves 6 42 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 Station No BFM address BFM
70. M 12M 100 m 328 segment PNO ID F364 hex PROFIBUS DP Connector Newark 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 Applicable PLC FX3U Series PLC Lit when 24V DC power is supplied form the PLC or external power supply POWER LED For other LED status refer to Section 9 1 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 No of repeaters 1 x Bus Length segment Transmission Maximum Bus Length 9 6k 19 2k 93 75k 4 800 m 15 748 25 O4JUOD EGOS SW4g s now y yng uonesn iyuon pue sis oWeled gt oO Q O re 5 suoeoioeds uone jesuy Oo BuUlAA f gt Qi pPON swwo geq JO UOHedOIY N Bunjas wesbold aiduexy OO sonsoubeiq Lo FX3u 64DP M PROFIBUS DP Master Block 3 Installation User s Manual 3 Installation DESIGN PRECAUTIONS Q DANG
71. Master Block hereafter called 64DP M is a master Class 1 for the PROFIBUS DP network The FX3U 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 series PLC s extension port or to any other extension unit block s right side extension port 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 and 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 operati
72. NSTALLATION PRECAUTIONS 1 gt DAN G E Ie eo 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 CAUTION 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 H S 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 ma
73. ON swwo geq Jo UOHEDO IV N Bunjes wesbold ajduexy OO sonsoubeiq Lo FX3u 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 6 27 Master Slave Internal Slave Parameter Error Flags BFM 7000 to 7003 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 Slave Internal Parameter problem with this DP Slave 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 clear BFM 7000 to 7003 to KO Master Slave Internal Parameter Error 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 6 28 Master Slave Internal Slave Parameter Error Data BFM 7008 to 7071 70 BFM Access Read Only For each DP Slave there is a Master Slave Parameter Error Data implemented with the following error codes If any of these Bits is ON the corresponding Bit in BFM 29 Bit 3 and in BFM 7000 to 7003 will also be ON Resetting BFM 29 Bit 3 will clear BFM 7000 to 7003 and BFM 7008 to 7071 to KO Bit No BitO Cyclic Output Data Error Slave FDL Address is invalid Bit 1 Cyclic Input Data Error DP Slave does not participate in cyclic data ex
74. PV1 Slave Alarm Model 8 2 1 112 An Example Program using GX Developer An example program using GX Developer is shown below which reads Alarm Messages from the DP Slave station 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 the mark since it is redundant RUN monitor D290 A D312 8 ______t pels K41 Slave alarm messa vallaole flag M8000 FNC 15 BMOV U0 G8800 D310 Alarm acknowledge status of DP Slave station No 41 U0 G8934 FNC 12 Ps U0 G8933 K1M110 RUN monitor Te FNC 15 BMOV U0 G8935 D350 M20 Ti Eclat arin Reis ini gd en oe i ee k Check program for alarm message of station No 41 j Turn ON when check is complete for alarm I Ae Me message of DP Slave station No 41 FNC 12 oF RFE i MOVP U0 G29 Eg 12 M Eg HOFEFF Loiceso2 D290A A 03128 Ezg END Write request slave number to BFM 8934 Set alarm message request BFM 8933 BitO Read alarm message request from BFM 8933 Read alarm message data from BFM 8935 to 8969 Reset alarm massage available flag BFM 29 Bit10 Reset alarm acknowledge status of DP Slave station No 41 in BFM 8802 Reset Command input device mark when this device is set FX3u 64DP M PROFIBUS DP Master
75. Subsection Shows the present scanned address during scan process 0 to 126 6 42 3 BFM 10062 BFM 10063 to 10443 94 Number of Detected DP Slaves Subsection Shows total number of detected DP Slaves 6 42 4 Detected DP Slave Lists Shows the Slave Number Slave FDL address and PNO ID of each PU ETIEN detected DP Slave 6 42 5 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 42 PROFIBUS Scan Function 6 42 1 Get DP Slave List Request BFM 10052 BFM Access Read Write only 1 scan Set to ON to 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 42 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 10053 BFM 10057 BFM 10054 i BFM 10058 BF
76. a a a sAcencusbaetactiademusadddoessstds 99 FX3u 64DP M PROFIBUS DP Master Block User s Manual 8 Example Program 100 Oc eI POGAM Fosan e e A tosis seas EE eect eet 100 OA SYSLE MC OMNOQUEALION e222 cavcsescaans cd nctss tanaekaceecesace AEEA 100 8 1 2 COMMS OF CDC r ALON saprei e a tuodaaaaens ada H setae ER 100 8 1 3 Setting Network Configuration and Parameter for Example Program ccccccsseeeeeeeeeeeeeeeees 101 8 1 4 Example Program by GX Developer cccccccceeeeecceeeeeeeeeeeeeesseeeeesaeeeeeesseeeeeeeseeeeessgeeeeesaaeeeeees 105 8 1 5 Example Program by GX IEC Developer Ver 7 00 or later ccceeccceesseeeeeeeeeeeeesaeeeeeeseaeeeess 108 8 2 Example Programs to Read Alarm Message from PROFIBUS DPV1 Slave Alarm Model 112 8 2 1 An Example Program by GX DeVelOpel ccccccccseseeeeeceeeeeeeseeeeeeeeaeeeeeeseeeeeesseeeeeesaeeseeesaaeeeeeas 112 8 2 2 An Example Program by GX IEC Developer Ver 7 00 or later cccceseeeeeeeeeeeeeeeeeeeeeseaeeeees 113 BS InitlaliZING ThE NCtWONK chosesaecenecct a E E iawn ac uasmiosmuann A N 115 9 Diagnostics 116 OA Premna y DOCKS scons Ai aceccctenaccalcceare A aa 116 OF Detallt Error CNCC ipare E 118 Warran eier Coit ciecauaucnatoid laden e a a 121 Revised HISTO oaio a a a 122 FX3u 64DP M PROFIBUS DP Master Block User s Manual Applicable Standards re Applicable Standards Compliance with EC Directive CE Marking This note
77. agnostic Information can be cleared by one of the following 3 methods BS 49 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 sonsoubeiq Lo 1T FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BF Ms User s Manual 6 30 Diagnostic Information FIFO 6 30 1 FIFO Diagnostic Request BFM 7336 6 30 2 BFM Access Read Write only 1 scan Set ON write K1 to BFM 7336 to read a Slave Diagnostic Information from the Internal Slave Diagnostic FIFO When BFM 7336 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 FIFO Diagnostic Request Flag assignment shows in the following table Bit No Description Bit O Slave Diagnostic Request Flag Bit 1 to 15 Not used 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 Not
78. air 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 _ Ver 7 00A or more FX3U Series PLC Fee a Bus terminator e D60 to D75 e D40 Bus terminator e D80 to D95 e D20 E i E Pa DN e DO to D15 PROFIBUS DP Network e D20 to D35 FX1N FXON 32NT FX2N 16EX FX2N 16EYR Series PLC EACN OZDEIE ESAIL 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
79. al 8 1 Example Program 1 V V Q MO e a E S Check program for slave diagnostic information data of slave stationNo t Turn ON when check is complete We We for slave diagnostic information FNC 12 Reset DP Slave diagnosis 2 Sr a MOVP HOFDFF UO G29 available flag BFM 29 es call Bit9 no O 2 Reset cyclic slave 5 ae 12 communication error flag for gt n ae HOFFFE 0167200 DP Slave station No 1 BEM 7200 Bit0 0290 9 9 ao Reset Command input device xx mark when this device is set uone jesuy OO buum A Qi END SPON ONUOD JEGO D SWWWOD geq SW4g s now y yng Jo uogeoojy N Bumes uoneun6yuo5 pue sjajawesed D Q gt n O n 107 8 Example Program FX3u 64DP M PROFIBUS DP Master Block User s Manual 8 1 Example Program 1 8 1 5 Example Program using GX IEC Developer Ver 7 00 or later 108 TF TAE Wait for 64DP M RUN UDG5 s k E no initialisation BFM 5 Monitor AND_EQ Ml SET M EN ENO EN ENO M DO s d tMi ki 5E Module READY Signal is ON hi Ne ia Initialisation of dwell time ect 7a a E m 4 seconds READY Signal En Set cyclic input data 4 request flag for 1st ki 5 HOS 100 Kha n Module WO WG92 5 d i DE READY ao Ln Signal BMO M EN ENO WO FGb4 s d D2 k To the next page reading process to ON Write ini
80. an occur when connecting a new device to the PROFIBUS DP network Bit No Name Description If an PROFIBUS error occurs 64DP M will set the BFM 29 Bit 8 and detail flags in BFM 3 Then 64DP M changes to 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 not set BFM 29 Bit 8 and will not change to STOP mode 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 OFF default setting Bit 0 Mask PROFIBUS Error 6 19 Number of Allocated Slaves BFM 38 BFM Access Read Only This buffer memory is used to check the number of DP Slaves connected to the 64DP M This value is same as the number of projected DP Slaves in the GX Configurator DP 6 20 Operation Service Mode BFM 39 BFM Access Read Write Sets the Operation Service Mode of the 64DP M If the mode change is not possible an error is displayed 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 3 to mode 0 when at least one DP Slave has a input or output data area bigger than 32 byte For more detailed information on the structure of the I O Data Area refer to Section 5 1 6 23 and 6 24 For
81. ange 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 1st station 361 362 2nd station l N 365 366 3rd station A s 6 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 When the data length is 0 bytes the input data area for this station will not be in the input data area 61 Q O o D O O a SW49 Seow yng uonesn iyuon pue sus oWeled uononpou suoleolioads NO uone jeisuy Oo BuUlAA f gt Qi pPON swwo geq JO uonevo iy N Bunjas wesbold ajduexy OO sonsoubeiq Lo FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BF Ms User s Manual 6 24 Cyclic Output Data 6 24 Cyclic Output Data 62 Output data areas are used to store cyclic output data to the DP Slaves on the PROFIBUS DP network There are 2
82. art 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 92 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs Users Manual 6 39 Cyclic Output Data Start Address Area BFM 9551 to 9614 6 39 Cyclic Output Data Start Address Area BFM 9551 to 9614 i O BFM Access Read Only S 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 2 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 a available after the Module READY Signal BFM 5 Bit 0 is set to ON by the 64DP M BFM Address z BFM 9551 1st station 9552 2nd station 9553 3rd station Start Address of Output data for each DP Slaves uonejesu Oo 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 BuUlAA f gt 1 Output configuration a Station No and output data length Station No Output Data Length Qi opg Stat
83. ase contact a certified electronic waste disposal company for the environmentally safe 24 recycling and disposal of your device 6 TRANSPORTATION PRECAUTIONS a e The PLC is a precision instrument During transportation avoid impacts After transportation verify 24 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 Bo 4 2006 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 i
84. at 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 22 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 0 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 N Write the old present FDL address to gt By user program BFM 82 and the new FDL address to Automatically by 64DP M BFM 83 by TO instruction etc tl a yay 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 57 uononpou suoleolioeds N uonejesu Oo Bul A Qi SPON swwo geq Q O o D O O a SW4g Seow Jeng
85. ata size 193 Byte s D Module Configuration 7 Available Modules Slot Installed Module FX2N 4AD INTEL ext cfg 000 8 bit input E FX2N 44D INTEL short cfg a 001 8 bit input 30 FX2N 4DA INTEL ext cfg 002 8 bit output a3e6 FX2N 4DA INTEL short cfg 003 8 bit output lt 0 Pao easel AE a8 FX2N 44D PT short cfg Oo FXON AAD TC INTEL ext cfa _Add after 7E FX2N 44D TC INTEL short cfa FX2N 1HC ext cfg Remove FX2N 1HC short cfg FX2N 1PG INTEL PLATE II IRI TI i Cancel D Q D O Z 103 FX3u 64DP M PROFIBUS DP Master Block User s Manual 2 Slave Parameter Setting 8 Example Program 8 1 Example Program 1 Set the slave parameter for FX2N 32DP IF as follows in the Slave Parameter Settings dialog box Slave Parameter Settings Model Fx2N modular station 2 10 Revision Vendor MITSUBISHI ELECTRIC CORP 2 10 Slave Properties Name Slave_Nr_002 FDL Address 2 0 125 Watchdog fE min T_sdr 11 1 255 Group identification number Gpl T Gp2 f Gp3 f Gp4 l Gp5 f Gp6f Gp Gps IV Active Syne Output Freeze Input m ee Addresses in MELSEC CPU Memory Input CPU Device D X 20 0 12287 Output CPU Device D 40 0 12287 F Swap 1 0 Bytes in Master Cancel Default User Param Select Modules 104 FX3u 64DP M PROFIBUS DP Master Block 8 Example Program User s Manual 8 1 Example Program 1 8 1 4 Examp
86. ate 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 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 59 uononpou suoleolioeds N uonejesu Oo BuUlAA f gt Qi pPON swwo geq Q O o D O O a SW49 Seow yng Jo UOHEDO IV N Bunjes uoneunByuo5 pue sus oWeled wesbold ajduexy OO sonsoubeiq Lo FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 23 Cyclic Input Data 6 23 3 Cyclic Input
87. attaching or detaching the peripheral devices aoe Failure to do so may cause equipment failures or malfunctions 33 oF Use GX Configurator DP Ver 7 00A or later for the setting of the parameters and configuration for 6 PROFIBUS DP network including 64 DP M For operation details on GX Configurator DP refer to Bee the GX Configurator DP Software Manual 28 For example setting of parameter and configuration refer to Section 8 1 3 TS O Point 3 1 Module type Select the PROFIBUS DP V1 FX3U 64DP M on Network Setup dialog box SooF 2 Operation mode REFE Set Operation Mode in BFM 39 by user program ae For Operation Mode refer to Section 6 20 S wesbold ajduexy OO sonsoubeiq Lo 97 FX3u 64DP M PROFIBUS DP Master Block 7 Setting Parameters and Configuration GX Configurator DP User s Manual 7 1 Master Parameter 7 1 Master Parameter 98 Set the master parameter about the following parameters on Master Setting dialog box For details on Master Setting dialog box refer to GX Configurator DP Software Manual Parameter Description Setting Range or Select Item Name Name of the DP Master i Default PROFIBUS Master 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 piade FDL GOArERS Slave FDL address 0 to 125 Default
88. atus Area BFM 9407 to 9410 ccc cecccceececeeeeeeeeeeseeeeeseeeeseeeesseeeesaeeesaes 91 6 38 Cyclic Input Data Start Address Area BFM 9426 to 9489 uu ecccecccceeeeeeeeeeseeeeeeeeeeeaeeeees 92 6 39 Cyclic Output Data Start Address Area BFM 9551 to 9614 cee cccseeeeseeeeeeeeeesaeeeees 93 6 40 Number of Configured Slaves BFM 9676 ccccccsscccceececeececeeeeeeeeeeseeeeseeeesseeeeseesesaeeeesees 94 6 41 Slave Number Slave FDL Address Slave PNO ID BFM 9677 to 9868 ceeeeee 94 6 42 PROFIBUS Scan FUNGUHOMN ed bate E a a chet eels 94 6 42 1 Get DP Slave List Request BFM 10052 cece ceccccceeeecseeeeeseeeeeseeeeeseecesseaeessaaeessaaeeseaaes 95 6 42 2 Configuration Difference Status BFM 10053 to 10060 cece ceccecceeeeeeeeeeeeeeeeseeeeeeaes 95 6 42 3 Scan Slave FDL Address BFM 10061 ccccccccscecccesseeeeeeeceecesccceesessedeceesececeasesseeeeeeseneess 96 6 42 4 Number of Detected Slave BFM 10062 ccccecccceeccceseeeeeeeeeseeeeeceeeeeseeeeeeseeeeeseeessaeeeesans 96 6 42 5 Detected Slave Lists BFM 10063 to 10443 ooo ceececcccccceeseceeeeeeeeeseeeeeeesasaeeeeeeeeeeeseaeaaas 96 7 Setting Parameters and Configuration GX Configurator DP 97 Tay WIGSTCH Paramete casas senses pcre etches Sv ek ws eee ewe ea ess a nae a gels mene es 98 FZ BUSP Al AMG UCL oa a a E A A nat unas tia nsaae A E A OA toscay 99 Ts NGIWOIK Conngur atose nenia
89. ave FDL Address This Bit is set to ON if writing a Slave FDL address Change Request while Request Consistency Error the Change Slave FDL Address Flag is ON FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BF Ms User s Manual 6 5 PROFIBUS Error Flags BFM 3 6 5 PROFIBUS Error Flags BFM 3 6 6 BFM Access Read Write 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 O to each Bit Resetting BFM 29 Bit 8 will also clear BFM 3 to 0 An error occurs if there is a problem with the PROFIBUS 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 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 Bit O Conflict of Addresses Bus Protocol is disturbed faulty bus termination Bit 1 Possible causes are deviatio
90. be Slave Watchdog _ Set to either 10 ms or 1 ms depending on the setting of the Watchdog 140 G8098 O time x 10 ms Timebase flag in the user parameters of the DP Slave NOTE 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 FX3u 64DP M PROFIBUS DP Master Block 7 Setting Parameters and Configuration GX Configurator DP User s Manual 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 Transfer rate Must be supported by all DP Slaves Transfer rate can 9 6k 19 2k be selected when opening Bus parameter dialog box 93 75k 187 5k bps from Master setting dialog box 500k 1 5 M Default 1 5Mbps 3M 6M 12M l Slot time Max Interval to wait for response Slot time T_sl TBIT Default 300 300 TBIT 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 TBIT 137 to 1023 Quiet time T_qui TBIT aen e ROTE PEARED EGN 0 to 127 Setup time T_set TBIT a ee 1 to 255 Baud Rate Transmission speed Target token rotation time 256 to Target Rot T_tr ITBIT Default 50000 5000 Tair 16777215 GAP
91. 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 Alarm 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 turne
92. c Input Data 6 25 1 Acyclic Input Data Request Flags BFM 4500 to 4503 z BFM Access Read Write z 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 2 See Acyclic Input Data Area BFM No Description G Bit 0 Acyclic Input Data Request Flag for data area 1 BFM 4520 to 4523 BFM 4524 to 4643 8 BFM 4500 5 eee BFM 4501 E S ea en BEM 4502 219 BFM 4772 to 4891 ee BFM 4503 29 P alas 6 25 2 Acyclic Input Data Area BFM 4520 to 5015 uone jeisuy Oo BuUlAA f gt 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 Qi BFM No n opg Data Data Data Data Description 3 So Area 1 Area 2 Area 3 Area 4 Os 289 3 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 4644 4768 4892 1 e When reading data Shows the projected slave number The valid range lies between 1 and 64 slaves E TR Fe e When writing request data 29 Writes the slot number for reading This number is defined by D BFM BFM BFM BFM 4 the addressing for acyclic services 4521 4645 4769 4893 SlotNumber When reading data
93. can be mounted with M4 screws by using the direct mounting holes l 9 The 64DP M mounting hole pitches are shown below m m e e m g l 1 8 OO OLE SS SS SE SS NE D l Shows the reference The mark of gt is expressing the reference destination and the reference manual Mounting screw M4 screw An interval space between each unit of 1 to 2 mm 0 04 to 0 08 is necessary 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 5 Direct Mounting Procedure 2975 gos 1 Make mounting holes in the mounting surface referring to 3 the above diagram 33 2 Fit the 64DP M right fig A based on the holes and secure it with M4 screws right fig B SW sauoWey Jeyng jo uoneooy OD uoneunByuod buyes N pue sisjeuieleg weJ6olg ajdwexyg OO 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 refer to FX3U PLC Hardware Edition sonsoubeig O re ALLILLAN WHY g g v Py AE a NAN l ANTIS 11 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
94. ccceeeccceeeeeeeeeesaeeeeeseeeeeeaeeeesaeeeseaeeeesaes 83 6 32 5 Alarm Message Request BFM 8933 ccccccccccsececceeeceseeeeeeeeeeseeseeseeeeeseeeeseeaeeseuaeesaaaeessaaes 83 6 32 6 Request Slave Number BFM 8934 cccccccccceeseceeeeeceeceeeeeseeeeeseeeeeseeeeeseeceseueesseeeessueessanes 83 6 52 7 Alarm Message BFM 8935 to O969 voces cos iosed roiroi i iaaa a 84 6 32 8 Alarm ACK Request BFM 8970 cccccccccecsssssecceeseeeseceeeceeseeeceeseseeneseeeseesaeeseeeeeeesaaeseeeeeess 85 6 32 9 Slave Number IBEW AS89741 watt ta Gaited eas ee re eke anaes 85 6 33 Address Information Area BFM 9140 to 9267 cccccccccecccseececeeeeeseeeeseeeeeseeeeseeeesseeesaneeesees 85 6 94 GlODal COMO sisienacutwevtacsnat Sec eculenuh easton onus oun otncsdanlichandauamatanauiashandaiateanseiaaicauaeetanadabronm innit 87 6 34 1 Global Control Area BFM 9390 Scc cccenieceewsi ens ocdsed te siencanests al tcae es aben ten eda eedehe en we elia te eeecee Wane 87 6 34 2 SYNC and UNSYNC Global Control zesinn Side eaten cated eects endian 88 6 34 3 FREEZE and UNFREEZE Global Control cccccsssssseererecsessssesecesscceseeenscnenensesseestencuseeeees 89 6 35 Information Dwell Time Setting BFM 9394 ccccccsecceceeeeeseeeseeeeeseeeesseeeeseeeeseeeesseeees 90 6 36 Cyclic Slave Status Area BFM 9399 to 9402 0 0 cece cecccceeeeeceeeeeeeeeseeeeeseeeeseeeeeseeeesaaeesees 91 6 37 Acyclic Slave St
95. change Bit 2 Cyclic Input Data Error Slave FDL Address is invalid l Parameter Bit 3 Configuration Download Loading of a Slave parameter set has failed Bit 4 The Slave FDL Address is invalid or the DP Slave has not been activated Bit 6 Slave FDL Address is invalid or the DP Slave has not been activated Bit 7 No alarms available e There are no alarms to be acknowledged matching the sequence number e There is no alarm of this type to be acknowledged e There is no alarm to be acknowledged since the alarms are disabled for this DP Slave Description Bit8 Alarm Acknowledge Bit9 Not Used Bit 10 Acyclic Input Data Error On by all errors l e Service blocked by the partner station ple e The DP Slave eae this service Bit 12 Wrong request parameter Bit 13 On by all errors Bit 14 Service blocked by the partner station Bit 15 Wrong request parameter FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 29 Slave Diagnostic Information 6 29 Slave Diagnostic Information z The 64DP M can directly read the current Slave Diagnostic Information from the selected DP Slave by S BFM 7209 to BFM 7210 to 7335 For reading current Slave Diagnostic Information procedure see the following timing chart Point 2 n This function can only be used in RUN BFM 0 K1 Clear BFM 0 K3 or AutoClear BFM 0 K4 mode 3 FX3U PLC main Unit 64DP M Master Class 1 S Buffer mem
96. configuration Bit 3 If this Bit is set the diagnostic data will receive additional information in the ExtDiagData This data is vendor specific Boe Bit4 This Bit is set by the DP Slave if functionality requested in the parameterization data is not supported o3 BitS The 64DP M sets this flag if it has received an implausible response from the DP Slave o O Bit 6 If the last parameterization data of the 64DP M was incorrect e g wrong identification mark The DP Slave D requests new parameterization data N This Bit is set by the 64DP M if the master FDL address in the diagnosis data does not correspond to the Bint actual station address or contains a invalid master FDL address OxFF Bunjas uoneun6yuo5 pue sis OWeled wesbold ajduexy OO sonsoubeiq Lo 73 F X3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BF Ms 74 User s Manual 6 29 Slave Diagnostic Information 3 StationStatus2 Bit No Description Parameterization of the DP Slave has not yet been performed or has failed The DP Slave waits for new Bit O pace parameterization data from the 64DP M The DP Slave cannot supply any valid input data The 64DP M fetches diagnoses until this Bit is reset by the DP Slave During this time there is no exchange of process data Bit2 This Bit is fixed to ON by the DP Slave Bit 1 With this flag the DP Slave indicates that its watchdog timer is active If it receives no valid message fro
97. ction uone jeisuy Oo Diagnostic FIFO Data max 64 information 2 TO or WBFM instructions Current Slave BFM direct designation in Diagnostic applied instruction Information 4 5 Request Slave Diagnostic Information for FIFO function P l PROFIBUS DP Network O S T Slaves 6 Point Bae O 238 This function can only be used in RUN BFM 0 K1 Clear BFM 0 K3 or AutoClear BFM 0 K4 mode 222 30 2 Slave Diagnostic FIFO History 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 T Area can be read stored in BFM 7338 to 7463 as history by the FIFO function SEG Moreover after stocking up to 64 Slave Diagnostic Information in Internal Diagnostic FIFO Area the new EE Slave Diagnostic Information is not stocked will be ignored D For allocation of flags refer to Section 6 4 6 13 and 6 30 oo For details on Slave Diagnostic Information FIFO refer to Section 6 30 2 FX3u PLC main Unit 64DP M Master Class 1 8 Buffer memory Internal Slave Diagnostic Pm SEG FIFO Area 4 FROM or RBFM instructions sE Diagnostic Diagnostic FIFO Data Be a 39 Information E max 64 entries applied instruction 2 TO or WBFM instructions BFM direct designation in 9 applied instruction z Slave Diagnostic Information f
98. cyclic output data of more than 16 v v 6 24 2 bits to DP Slaves Noted l Reads input data of cyclic communication from this area e Normal Service Mode Mode 0 32 bytes slave Cyclic Input Data Area ended Seice Node v 6 23 3 Mode 3 Maximum 244 bytes slave total 2048 bytes for all DP Slaves Notus l Writes output data of cyclic communication to this area e Normal Service Mode Mode 0 32 bytes slave tput Data A v v 6 24 3 E PUTRANE Extended Service Mode Mode 3 Maximum 244 bytes slave total 2048 bytes for all DP Slaves Noted l This flag is used to exchange the ag MU Hagean eect Acyclic Input Data for each acyclic v v 6 25 1 g DP Slave channel Noted l l This flag is used to exchange the a Jai r deen Acyclic Output Data for each acyclic v v 6 26 1 g DP Slave channel Noted l Reads input data of Acyclic Communication for each acyclic DP Acyclic Input Data Area Slave channel from this area v v 6 25 2 4 acyclic DP Slave channel maximum 240 248 bytes channel Noted l Writes output data of Acyclic Communication for each acyclic DP Acyclic Output Data Area Slave channel to this area v v 6 26 2 4 acyclic DP Slave channel maximum 240 248 bytes channel Notes l FX3u 64DP M PROFIBUS DP Master Block User s Manual BFM No 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 7
99. d 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 53 Q O O D O O a SW49 Seow yng uonesn iyuon pue sus oWeled j uononpou suoleolioeds N uonejesu Oo BuUlAA A spony QI swwo geq Jo UOHEDO IV N Bues wesbold aiduexy OO sonsoubeiq Lo 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 39 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 change from STOP mode into RUN mode If this Bit is ON the ERROR LED will be turned ON OFF in 500ms interva
100. data read from those DP Slaves into the 64DP M updated 89 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 35 Information Dwell Time Setting BFM 9394 6 35 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 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 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 FREEZE and UNFREEZE Global Control command sending procedure Write the FREEZE Global Control command and group setting to Global By user proaram Control Area BFM 9390 by TO pari Sen instruction etc Automatically by 64DP M Read the input data of the DP Slave from the Cyclic Input Data Area BFM 350 to a vw Read input Write the FREEZE or UNFREEZE Global data Control command and group setting
101. e 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 78 BFM Access Read Only Read the Diagnostic FIFO Information from BFM 7338 to 7463 Data format of Slave Diagnostic Information shows the following One byte is written to one separate BFM except for the ExtDiagData field Details of each data are shown below For details of StationStatus1 StationStatus2 StationStatus3 MasterAddress IdentNumber ExtDiagData refer to Subsection 6 29 4 BFM No Description BFM 7338 SlaveAddress BFM 7339 StationStatus 1 BFM 7340 StationStatus2 BFM 7341 StationStatus3 BFM 7342 MasterAddress BFM 7343 IdentNumber BFM 7344 Length BFM 7345 to 7463 ExtDiagData 238 byte SlaveAddress Address of the DP Slave whose diagnosis state has been read The valid range lies between 0 and 125 slaves Length Length of the diagnostic data FX3u 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 ug byte Low byte BFM 7464 Slave FDL address BFM 7465 Station Status 2 B
102. e 31th byte 2nd byte 1st byte R 4th byte 3rd byte 2366 2nd station 3rd station 6th byte oth byte 8th byte 7th byte 3358 R 64th station ar 3373 a 2381 32th byte 31th byte Note 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 2397 Example When the 1st station has 20 bytes for output data the output data area of the 1st station has a free area between the 21st and 32nd byte The value of this free area is 0 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 2350 1st station 2365 3 2360 N 2366 2381 2382 _ _ 2365 2366 2nd byte 1st byte 2367 Ath byte 3rd byte 2397 3358 64th station 3373 64 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BF Ms 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 sho
103. e 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 Read Alarm Request This Bit is set to ON if writing a Alarm Message Request while the Alarm Bit 11 Consistency Error Message Request 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 l Alarm Acknowledge Write This Bit is set to ON if writing an Alarm ACK request while the Alarm ACK Bit 13 i 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 Sl
104. e cable and connector for a PROFIBUS DP network 3 2 D Item Description PROFIBUS DP network cable Shielded twisted pair PROFIBUS cable complying with EN50170 T Applicable only to PROFIBUS connector EA Connector 9 pin D SUB Connector 4 40unc inch screw thread 258 For PROFIBUS connectors see the PROFIBUS connector manual aS on 3 ym O 0 FE 30 sonsoubeiq Lo 31 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 cable to PROFIBUS DP network PROFIBUS connector FX3U 64DP M PROFIBUS DP Master Block For noise prevention please attach at least 50 mm 1 97 of the twisted pair PROFIBUS cable FX3U 64DP M along the grounding plate to PROFIBUS DP which the ground terminal is Master Block connected FX3U Series PLC Shielded twisted pair PROFIBUS cable complying with EN50170 to PROFIBUS DP network NE Grounding plate e ne Grounding resistance of 100 Q or less Class D 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
105. ead slave diagnostic information data to BFM 7209 Set slave diagnostic request BFM 7208 Bit 0 to ON FX3u 64DP M PROFIBUS DP Master Block User s Manual MB000 MOV MI EN ENO RUN Monitor UDG7208 5 d kK1 M100 LDF hl EMO M EN EN ENO 100 s Slave diagnostic request U0Gr210 d 0100 K126 Weve MOVPE M EN ENO HOFDFF s d UO G29 MOP M EN ENO HOFFFE s d UO G7200 RST M EN ENO d D290 9 RST_M EN ENO d D300 0 RST_M EN ENO d MI10 RST_M EN ENO d tek 8 Example Program 8 1 Example Program 1 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 x mark when this device is set 111 uononpou suoleolioeds N uonejesu OO BuUlAA f gt Qi pPON ONUOD JEGO D SWWWOD geq SW4g s now y yng Jo uogeoojy N Bunjas uoneun6yuo5 pue sis OWeled D Q gt n O n FX3u 64DP M PROFIBUS DP Master Block User s Manual 8 2 8 Example Program 8 2 Example Programs to Read Alarm Message from Example Programs to Read Alarm Message from PROFIBUS D
106. ee detested esos a ee 53 6 13 5 Consistency Error Flag BFM 29 Bit 5 ccccccsceccecceeeeeeeeeeeeeeeseeeeesseeeseeseaeseeeseaseeeeseeeeeseeeas 53 6 13 6 Acyclic Communication Deactivation Message Flag BFM 29 Bit 7 ccccccceccceeeeeseeeeeeeeee 53 6 13 7 PROFIBUS Error Flag BFM 29 Bit 8 ccccccccceseseceeeceeceessseeeeeeeeeceeeeeeseessasaaeeseeeeeeeeeeneness 53 6 13 8 Slave Diagnosis Available Flag BFM 29 Bit 9 c cc ceeccccecseeeeeeeeeeeeeaeeeeeeeeaeeeeeessaeeeeeeaeeeeeeas 53 6 13 9 Alarm Message Available Flag BFM 29 Bit 10 0 cccecceceeeeeeeeeeeseeeeeeeeaeeeeeesaaeeeeseaeeeeeas 53 6 13 10 No Configuration Available Flag BFM 29 Bit 11 i ccecceccseeeeeeseeeeeeesaeeeeeeseeeeeeseeeeeeeas 53 6 13 11 Mode Change Not Possible Flag BFM 29 Bit 12 cc cceccccseeeeeeseeeeeeeeeeeeeesaeeeeesseeeeeeeeas 54 6 13 12 Diagnosis FIFO Full BFM 29 Bit 13 ccc cccccccccccecceeeeseeeeeceeeeeesseeeesseeeeeeeessessaeeaeaeeseeeeeeeess 54 6 13 13 Data Exchange Error BFM 29 Bit 14 2 0 0 cccceccccsseeecenseeseeseeseaseeseaseeseaeeseaaeesseeessaeenseas 54 6 13 14 Slave Change Address Error BFM 29 Bit 15 0 ceccccseeeeceeeeeseeeeeseeeeeseeeeeseeeesseeeensnes 54 6 14 Module ID Code BFM 30 esicnc cadsencncgsnetncr ns csteceeieed A 54 6 15 PROFIBUS Master Address BFM 31 cccccccccccsececeeeeeseeeeeeeeeeeeeeeseeeeseeeeeseeeeseeeeseeeesaeee
107. ees 54 6 16 PROFIBUS Transmission Speed BFM 32 cccccecccceeccceeececeeceeeeeeeeeeeeeseeeesseeeeseeeeseeeesseeeees 55 6 17 Clear Control Flag BFM H33 jt se cectiete die scccebe ian E te gieeamtenduh E E E E 55 6 18 PROFIBUS Error Mask Flag BFM 34 cccccccccceecccceeeeeeeeesee cess eeseeeeeseeeeeseeeeseeeeeseeeesaeeeees 56 6 19 Number of Allocated Slaves BFM 38 cccccccccceeccceeecceeeeeeeeeeseeeesseeeeseeeeeseeeesseesseeetaeeeeas 56 6 20 Operation Service Mode BFM 39 cccccccccccsscecseseeceeeeeecesseseeseeeesseeeeseaeesseeeessaeesseeessneeees 56 6 21 Data Swap Activate Flag BFM 73 to 76 cccccccccceccececeeeeeeeeeeeeeeeeeeseeeeeseeeeteeeesseeeesaneeeas 57 6 22 Change Slave FDL Address BFM 81 to 83 cccceccccecceseeceeeeeeeseeeeseeeesseeeeseeesseeeesaeeees 57 6 20 CY GlIG IUD alae ctinceceicoss satan a tetees tens ee tans beatae aac a a narases a oasamensanoatatcaits 58 6 23 1 Cyclic Input Data Consistency Activate Deactivate Flags BFM 84 to 87 ceccceeeeee eee 59 6 23 2 Cyclic Input Data Request Flags BFM 100 to 163 ceccccceeceeceeeeeeeeeeeeseeeceeeeseaeeeenes 59 6 23 3 Cyclic Input Data Area in Normal Service Mode BFM 350 to 1373 cceccceessseeeeeeeeeeeeees 60 6 23 4 Cyclic Input Data Area in Extended Service Mode BFM 350 to 1373 cece eeeceeeeeeeee es 61 FX3u 64DP M PROFIBUS DP Master Block User s Manual 6
108. es BFM Lists a BFMs Access BFM No Description Reference uononpou The status flag of the corresponding BFM 9407 to Acyclic Slave Status Area DP Slave is ON when the I O data is BFM 9410 being exchanged via Acyclic Communication Exchange BFM 9411 to BFM 9425 BFM 9426 to Cyclic Input Data Start Address Shows the starting address of cyclic 6 38 BFM 9489 Area input data for each DP Slave l BFM 9490 to Not used 7 BFM 9550 BFM 9551 to Cyclic Output Data Start Shows the starting address of cyclic 6 39 BFM 9614 Address Area output data for each DP Slave l BFM 9615 to BFM 9676 _ Number of Configured Slaves OWS tne total number of 4 6 40 configured DP Slaves BFM 9677 to Slave Number Slave FDL gt nWS he Slave Number Save d BFM 9868 Address Slave PNO ID l Not used suoleolioeds NO uone jeisuy Oo BuUlAA f gt projected DP Slave ammoosi Net e BFM 10051 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 BFM 10052 Get Slave List Request network when using this function vV V 6 42 1 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 7 DP Slave is ON when discrepancies oo Configuration Difference Satus exist between the projected
109. es BFMs 41 6 1 Bufer Memories BEM LIStS essnee R R a R E S AAE 41 6 2 Communication Status BFM 0 oree r a r a int Wace tanhecee ene 46 6 3 Communication Control Flags BFM 1 ccccsccccssceceeseecesceseeseeseaeessueeessaeesseeessaeesseeseaeeesas 47 6 4 Consistency Handling Error Flags BFM 2 ccs cocci nGini et nei ei eee ae 48 659 PROFIBUS Eror Flags BF MF 3 i os acacti teers ascnsedansessdisjuatan NA E NE Aor 49 6 6 Dwell Time Flag Whole Config Data Exchange Flag BFM 4 cccccecceeeseeeeeeeeeeeesaeeeeeeeees 49 6 7 Module READY Signal BEIM Fo rerna E 50 6 8 PROFIBUS Bus Cycle Time BFM 6 to 8 cece cccccceececeeeeceeeeeseeeeseaeeeseusesseeeesesesseeesees 50 6 9 Acyclic Slave Communication Deactivation Message Flags BFM 18 to 21 ceceeeeeees 50 6 10 PROFIBUS Module ID PNO ID BFM 26 00 cccccceececseeceseeeeeseeeeseeeeeseeeeseeeeseeeesseeeeeees 51 61d Master Reset IBFM PZT r A E E E 51 6 12 Setting Error Flags BEM 28 rnia a a a a eee 51 6 13 Master Error Status BFM 29 scn E E E O E A 52 6 13 1 Master Reset Status Flag BFM 29 Bit 0 0 cece ecccceeseeeeeeeeceeeeeseeeeeseeeseseeeeesseeeeseeessages 52 6 13 2 Master Hardware Error BFM 29 Bit 1 scsctscce2 son coe ie eee A 52 6 13 3 Slave Parameter Error BFM 29 Bit 3 cece ecccceeeeeeeeseeeeeeeeseeeeeseeeeeseeeeeseeeeesseeesseeeeesaes 52 6 13 4 Setting Error Flag BFM 29 Bit 4 r ee a e
110. 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 BIEG 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 Acyclic Input Data Request This Bit is set to ON if writing a request to an acyclic 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 Slav
111. 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 Q DANGER 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 26 FX3u 64DP M PROFIBUS DP Master Block 3 Installation User s Manual S INSTALLATION PRECAUTIONS NCAUTIO 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 SO or 2 NO flammable gas 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
112. fter 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 54 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 z BFM Access Read Only S BFM 32 shows the current baud rate of the PROFIBUS DP ne
113. hart for communication data consistency For data format detail refer to Subsection 6 26 2 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 For mode details refer to Section 6 2 Acyclic I O Data Communication FX3U PLC main Unit 64DP M Master Class 1 Buffer memory Input Data Area 1 FROM or RBFM instructions for Acyclic Data BFM direct designation in applied Communication instruction 2 TO or WBFM instructions Output Data Area BFM direct designation in applied Area 3 C icati Neas ommunication E A Slaves 2 Acyclic Output Data Sending procedure gt By user program Automatically by 64DP M Write output data for the DP Slave to area 1 of BFM 5760 to 5883 by TO instruction etc Do not write to Acyclic Output Data Area during this Pa Set the Acyclic Output Data Send Flag for the area 1 BFM 4510 Bit 0 to ON and wait until it is reset by 64DP M 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 Descripti
114. he 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 Bit O 2nd byte 1st byte 4th byte 3rd byte BFM 350 1st station 361 362 a 2nd station S 365 p i S 366 S 3rd station 7 2 E i S 64th station 1373 2350 Ist station 2357 2358 S lt 2360 GN g 2361 B o gt n 3 S 6 64th station 3373 35 O4JUOD JEQO D SW4g seOwe Jeng uoneunByuo5 pue sus oWeled uononpou suoleolioeds N uonejesu Oo 4 5 JO uonevo iy N Bunjas weJBOld ajduexy OO sonsoubeiq Lo 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 I O Data Communication The acyclic communication can be used for setting and change the DP Slave 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
115. iagnostic Informations to the 64DP M After these have been cleared the 64DP M will enter the data exchange state RUN During this time the RUN LED of the 64DP M will be turned on off in 500ms intervals FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BF Ms User s Manual 6 36 Cyclic Slave Status Area BFM 9399 to 9402 6 36 Cyclic Slave Status Area BFM 9399 to 9402 O BFM Access Read Only S 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 2 The flag assignments are shown in the following table WwW BFM No BitNo Station No BFM No BitNo Station No 8 BFM 9399 3 BFM 9401 35 3 Bit 15 16 Bit 15 48 a BFM 9400 19 BFM 9402 51 4 6 37 Acyclic Slave Status Area BFM 9407 to 9410 BFM Access Read Only 5 The Acyclic Slave Status Area is used to check the acyclic communication status for each DP Slave A Bit set QE to ON signals that the communication is OK for this DP Slave 3 3 The status flag assignment is shown the following table Og 35 BFM No BitNo Station No BFM No BitNo Station No wre BFM 9407 3 BFM 9409 35 278 3 o Bit 15 16 Bit 15 48 D i 1o 7 OUV BFM 9408 19 BFM 9410 51 gag 7 7 a8 Bit 15 32 Bit 15 64 S rf u m 3s 33 30 g amp 3 91 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 38
116. ic output data sending procedure in consistency mode When Cyclic Output Data Consistency Activate Deactivate Flag BFM 92 to 95 is ON for the DP Slave by setting slave parameter in GX Configurator DP the following procedure should be used Write the output data of the gt By user program DP Slave to the Output Data Area BFM 2350 to 3373 p Automatically by 64DP M by TO instruction etc Do not write to the Output Data Area of the DP Set Output Data Send Flag k Slave during this time gt BFM 225 to 288 Bit 0 for the DP Slave to ON 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 5 BFM 92 to 95 BFM Access Read Write i These flags are used to handle the 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 2 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 D by the user by writing to this BFM 8 Cyclic Output Data Consistency Activate Deactivate Flags of each DP Slave assignment is shown in the 9 following table 3 BFM No BitNo Station No BFM No BitNo Station No 3 BEM BFM 94 3 7 9 s Note 5 Ta aa a a Da Activating deactivating these flags by writing
117. ier and channel related diagnosis information 1 Device related diagnosis DPV0O 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 coding is device specific For further evaluation the IdentNumber and the GSD must be used ExtDiagData 0 BitOto5 Block length including header if value 63 then 62 bytes of diagnosis follows Bit 6 0 Bit 7 0 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 29 Slave Diagnostic Information 2 Identifier related diagnosis module diagnosis The block for identifier related diagnosis consists of a header byte and a variable number of bytes with a identifier related diagnostic information One bit is reserved for each identifier byte assigned during S configuration The bit structure is always filled up to the byte limit non configured bits are to be assigned gt 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 2 ExtDiagData 0 BitOto5 Block length including header wn if value 63 then 62 bytes of diagnosis follows 3 Bit 6 1 S O Bit 7 0 D ExtDiagData 1 Bit 0 1 Module 1 has diagnosis Bit 1 1 Module 2 has diagnosis 3 Bit 2 1 Module 3 has diagnosis z l i zj
118. ime 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 51 Q O o D O O a SW49 Seow yng uonesn iyuon pue sus oWeled uononpou suoleolioeds N uonejesu Oo BuUlAA f gt Qi pPON swwo geq Jo UOHEDO IV N Bunjes wesbold ajduexy OO sonsoubeiq Lo FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 13 Master Error Status BFM 29 6 13 Master Error Status BFM 29 BFM Access Read Write 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 into RUN mode data exchange mode will also clear the latched error flags if the error does not exist any more Beno mame Deseipton custom Deactivation Flag DP Slave is deactivated Note 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 program all Internal FIFO Counters will be reset cleared and all Diagnostic FIFO Information will be reset in Internal Slave Diagnostic FIFO Area 6 13 1 Master Reset Status Flag BFM 29 Bit 0 This Bit is set to ON after Software reset BFM 27 and after Configuration download It wil
119. ing the product for special purposes such as nuclear power electric power aerospace medicine 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
120. 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 consistency handling described in Section 5 1 The 64DP M has to use Data Consistency Mode to exchange data to DP Slaves when output data is more than 16 bits When using the Data Communication Consistency Mode communication procedure is shown in 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 Cyclic Output Data Communication For Cyclic input data communication refer to Section 6 23 FX3U PLC main Unit 64DP M Master Class 1 Buffer memory 1 FROM or RBFM instructions Input Data Area BFM direct designation in applied for Cyclic Data instruction Communication 2 TO or WBFM instructions Output Data Area BFM direct designation in applied for Cyclic Data instruction Communication H A PROFIBUS DP Network E ae data Input a Es data image image Pe Output data image Slaves Cycl
121. instruction messages can be stocked 2 TO or WBFM instructions BFM direct designation in applied instruction ee aay i i PROFIBUS DP Network 7 x y v Slaves p Send acknowledge to DP Slave v Send Alarm Message to 64DP M master 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 gt By user program The slave sends the Alarm Message to 64DP M Alarm Automatically by 64DP M Message Slave Alarm Message Available BFM 29 Bit 10 ON V All Alarm Messages of all DP Slaves are read Then reset the Slave Alarm Message Available Flag BFM 29 Bit 10 when all Alarm Message Status flags in BFM 8800 to 8803 become OFF Alarm Message Status BFM 8800 to BFM 8803 Write the Slave Number for reading Alarm Message Data in BEM 8934 we Alarm Message Request Flag BFM 8933 Bit 0 Do not read from BFM 8935 to 8969 during this time a Read the Alarm Message Data of the selected DP Slave from BFM 8935 to a 8969 S Read Acknowledgement for the DP Slave will be sent to the DP Slave when storing the Alarm Message in BFM 8935 to 8969 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories
122. ion 4 2 2 Installation in Enclosure For details on installation in Enclosure refer to FX3u User s Manual Hardware Edition Certification of UL cUL Standards The following product has UL and cUL certification UL cUL File Number E95239 Models FX3U 64DP M PROFIBUS DP Master Block for FX3U Series Main Processing Units 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 Series PLC can both read and write data from and to the slaves PLC FX3U 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 60866808 no eT Programming Manual Basic amp Applied Instruction Edition Additional Manual PROFIBUS DP Master FX3U 64DP M Installation manual is supplied with product For detailed explanation refer to this user s manual jeno For information on installation and wiring FROMTOO uae FX3U 64DP M Installation Manual Supoledlivanual Manual is supplied with product FX3U 64DP M For detailed explanation FX3U 64DP M User s Manual Additional Manual
123. ion No 1 Address No 0 5 bytes 3 So Station No 2 Address No 2 2 bytes 93 S b Output data area assignment for Example BFM 2350 to 3373 BFM Address Upper byte Lower byte a P 2353 2nd byte of 2nd station 1st byte of 2nd station Output Data 2354 ne N OVU 1 of o 39 3 3 G32 So gt o 2 Output Start Address Area for Example BFM 9551 to 9614 a BFM Address 8 BFM 9551 Output start address of 1st station is 2350 3 5 9552 Output start address of 2nd station is 2353 a2 9553 Output start address of 3rd station is OxFFFF Output start address area 9612 Output start address of 62nd station is OxFFFF 9613 Output start address of 63rd station is OxFFFF 9614 Output start address of 64th station is OxFFFF sonsoubeiq Lo 93 FX3u 64DP M PROFIBUS DP Master Block User s Manual 6 Allocation of Buffer Memories BFMs 6 40 Number of Configured Slaves BFM 9676 6 40 Number of Configured Slaves BFM 9676 BFM Access Read Only Shows the total number of projected DP Slaves in 64DP M 6 41 Slave Number Slave FDL Address Slave PNO ID BFM 9677 to 9868 BFM Access Read Only Shows the following information of each projected DP Slave These values are set by GX Configurator DP 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 becomes
124. is flag when using Automatic Acknowledge Function for Alarm v v 6 32 1 PROFIBUS DP V1 slave 1 Noted l Shows an overview of each DP Slave over the PROFIBUS v 6 31 Noted l Message Default setting Shows the Alarm Acknowledge status when not using Automatic Acknowledge Function y 6 32 2 ON when a receiving Alarm was read by the PLC program but not yet Acknowledge Notes l Alarm Acknowledge Status 43 6 Allocation of Buffer Memories BFMs 6 1 Buffer Memories BFM Lists BFMs Access Reference Q O o D O O a SW49 Seow yng uonesn iyuon pue sus oWeled uononpou suoleolioeds NO uone jeisuy Oo BuUlAA f gt Qi pPON swwo geq JO uonevo iy N Bunjas wesbold aiduexy OO sonsoubeiq Lo FX3u 64DP M PROFIBUS DP Master Block User s Manual 44 BFM No BFM 8800 to BFM 8803 BFM 8804 to BFM 8807 BFM 8808 to BFM 8871 BFM 8872 to BFM 8932 BFM 8933 BFM 8934 BFM 8935 to BFM 8969 BFM 8970 BFM 8971 BFM 8972 to BFM 9139 BFM 9140 to BFM 9267 BFM 9328 to BFM 9389 BFM 9390 BFM 9391 to BFM 9393 BFM 9394 BFM 9395 to BFM 9398 BFM 9399 to BFM 9402 BFM 9403 to BFM 9406 Description Alarm Message Status Not used Alarm Message Counter Not used Alarm Message Request Request Slave Number Alarm ACK Request Slave Number Address Information Area Not used
125. 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 For Consistency Handling Error Flag BFM 2 refer to Section 6 4 Acyclic Communication Deactivation Message Flag BFM 29 Bit 7 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 PROFIBUS Error Flag BFM 29 Bit 8 This flag is ON if there is a PROFIBUS problem More details are displayed in BFM 3 If this error occurs check the wiring of the PROFIBUS network Reasons can be the short circuit of communication lines unmatching network bus terminators or an excessive Bus length for the selected baud 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 For PROFIBUS Error Flag BFM 3 refer to Section 6 5 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 Slave Diagnostic Available BFM 29 Bit 9 This flag is ON if a DP Slave sends a diagnostic message If
126. l be reset by writing a KO and after Mode change from STOP to RUN 6 13 2 Master Hardware Error BFM 29 Bit 1 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 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 7003 and BFM 7008 to 7071 This Flag will be reset after the Mode changes from STOP to RUN If this Bit is ON the ERROR LED will be permanently turned ON FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 13 Master Error Status BFM 29 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
127. l 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 suoleolioads uone jeisuy Oo BuUlAA f gt Qi DESIGN PRECAUTIONS NC AUTION ogz STR BG e Make sure to observe the precautions below to prevent damages to the system due to the abnormal data writing E 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 O 2 Ground the shield wire with the PLC Do not ground together with high voltage lines za e Install module so that excessive force will not be applied to peripheral device connectors Failure to do so may DER result in wire damage breakage or PLC failure S 5 d STARTUP AND MAINTENANCE T PRECAUTIONS DANGER e Do not touch any terminal while the PLC s power is on Se Doing so may cause electric shock or malfunctions a 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 o
128. le Program using GX Developer S z M8000 3 FNC 12 UOG5 Wait for 64DP M MOV initialisation BFM 5 RUN monitor 2 FNC 232 Module READY Signal is op Favor 00 Kt ON 3 F a Initialisation of dwell time U0 G9394 4 seconds i MOVE Module READY MOVP Signal FNC 16 Set cyclic input data request flag for 1st reading process to ON uone jesuy OO Write initial output data of DP Slave station No 1 BuUlAA f gt Write initial output data of DP Slave station No 2 Read cyclic output data a FNC 15 U0 G92 oe Ka consistency activate Module READY BMOV ae Tags from BFM Qi Signal woe ENC 4 Read cyclic input data or 2 5 consistency activate DoS BMOV oes deactivate flags from BFM Os 84 to 87 23 o yi se FNC 12 uoG225 D10 Read cyclic output data 6 Modul MOV send flag from BFM 225 RE ADY Cyclic output data send flag for DP e Signal Slave station No 1 Pz D10 0 ENC 4 Write output data of DP zog 5 Slave station No 1 D80 to 2z BMOV Deo uoieza5d k16 D95 to BFM 2350 to z gt 2365 O P Set cyclic output data send Ba U0 G225 H flag of DP Slave station T Cyclic output data consistency activate No 1 to ON OVP deactivate flag for DP Slave station No 1 a D6 0 ENC 4 Write output data of DP a2a 5 Slave station No 1 D80 to a oO BMOV ee oe D95 to BFM 2350 to Sa 2365 MO DO I FNCU lnea Ga Read cyclic output data Modul MOV send flag from BFM 226 READY C
129. lfunctions 3 WIRING PRECAUTIONS lt SDANGER e Cut off all phases of the power supply externally before installation or wiring work in order to avoid 31 damage to the product or electric shock CAUTION 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 il GHEE S2fcty Precautions D Read these precautions before use 4 STARTUP AND MAINTENANCE PRECAUTIONS E 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 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 ia e Ple
130. licable Cable and CONN CCUM a eke cesincee austen bene ence edin Samunavisnectatner duce yuteriessnacduetetateneaneans 31 42 PRORIBUS DP WINING 2eiccscedecdincask sxecestesutcasietestatecd ease eencancs E E 32 A SSVOUN GING siene R EE eae EA A Haack os Poconos panned 32 DAES Fe SEV Fates R EEA A A E EEA E ere aw E oan ew re ba poeta E PE E cient E T E A 32 FX3u 64DP M PROFIBUS DP Master Block User s Manual 5 Mode Data Communication Global Control 33 5 1 Cyclic VO Data COMmmMuUniGatiOm saves aaa N E a a A 33 5 1 1 Mode in Cyclic I O Data COMMUNICATION cee cc cceeeeceeeceeeeeeeeeeeeeeeeaeeeeesaeeeeeeeaeeeeeesaeseeeeseaeeeeeeas 33 5 1 2 Normal Service Mode Mode 0 nnnaannnannnnnnnnnnnnnnnnsnnnnnnrnnnrrnnrrresnrnnsrrnrrrrnnrrrnnrreenrrnnrrsnrrnerrrennrrrene 34 5 13 Extended Service Mode Mode 3 srani eee el E ee a 35 5 2 Acyclic O Data COMMUNICATION seemne oa eed coon EEEE Sele leis 36 Dd DIAQGMOSIIG INGON MAU ON setceeas eyes secoece so oe ete Soren aoa ceeco uae hat enc anaemia eet 37 Dee AVS DIAG INO SU Gee Sigal he sa sree acne dees can te eee seein casa ace agteeead eet eae 37 57922 PAIK INC SS AOC sai note saree aacateaccans seen sea A eane eae maaan enncee eeu 38 5 4 GloDal CONTO eenean aodidon acon ien saalcoa nannies sd E a eeiseeitenesdeeaeeies 38 5 4 1 SYNC and UNSYNC Global Control scoir cscs aaa a a iaeiei 39 542 FREEZE and UNFREEZE Global Control area es Re eet 40 6 Allocation of Buffer Memori
131. ls 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 watchdog timer for the cyclic communication with the DP Slaves should be set This Flag will be reset a
132. ly 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 suoleolioeds N uonejesu Oo FX3U PLC main Unit 64DP M Master Class 1 4 5 Buffer memory 1 FROM or RBFM instructions Input Data Area BFM direct designation in applied for Cyclic Data instruction Communication 2 TO or WBFM instructions Output Data Area BFM direct designation in applied for Cyclic Data instruction Communication H Jf ff PROFIBUS DP Network E O4JUOD JEQO D E a Input data Input data Output data ZF image image image eg Output data 3 2 image D Slaves oF 5 1 1 Mode in Cyclic I O Data Communication zi The 64DP M has Normal Service Mode mode 0 and Extended Service Mode mode 3 in cyclic I O data E communication decided by BFM 39 In cyclic I O data communication the maximum exchanged data length 8 to DP Slave is decided by this mode setting e For the maximum exchanged data length refer to the following table amp 5 Moreover the mode setting can be checked by value in BFM 39 2 For mode setting BFM 39 refer to Section 6 21 ET Setting Mode Maximum Exchanged Data Length Normal Service Node Maximum 32 byte slave KO 64DP M can exchange 32 bytes 16 words of cyclic I O data to every DP amp mode 0 5 Slave D Maximum 244 b
133. ly 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 46 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs Users Manual 6 3 Communication Control Flags BFM 1 6 3 Communication Control Flags BFM 1 i O Q S BFM Access Read Write 5 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 3 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 S 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 sets 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 uone jeisuy Oo gt By user program Automatically by 64DP M BuUlAA f gt Module READY Signal BFM 5 Bit 0 BFM 5 bit 0 ON Qi The initial output data is writen to the Cyclic Output 2 SS Data Area BFM 2350 to BO 3373 by TO instruction
134. m ae the 64DP M during this time it will leave the transmission of cyclic data and go into the fail safe state The DP Slave sets this Bit as soon as it has received the FREEZE control command from the 64DP M Bit 4 Control commands are transferred by the Global Control service The DP Slave sets this Bit as soon as it has received the SYNC control command from the 64DP M Bit 5 i Control commands are transferred with the Global Control service 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 been removed from cyclic processing 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 alee application sets this Bit if there are more diagnosis information than the DP Slave can process even by repeated diagnosis information MasterAddress Station address of the 64DP M which has parameterized the DP Slave If the DP Slave has not yet been parameterized the master FDL address will receive the value IdentNumber A DP Slave is uniquely identified by the identification mark Length Length of the diagnostic data ExtDiagData In this data the DP Slave can store additional vendor specific diagnosis information Block structures are defined for device identif
135. me Communication time Total PROFIBUS bus cycle time for each DP Slave 2 x Scan time 1 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 2 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 1 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 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 FX3u 64DP M PROFIBUS DP Master Block 1 Introduction
136. module added 0x05 Status alarm change of state 0x06 Update alarm change of parameters 0x20 User specific alarms The maximum possible number of user specific alarms is Ox5E SlotNumber Number of the slot which has caused the alarm This number is defined by the addressing for acyclic services Specifier Characterizes the state of the alarm and contains the sequence number of the alarm The range for the sequence number lies between 0 and 31 States e 0 no furthers differentiation e 1 Alarm appears e 2 Alarm disappears e 3 Alarm disappears and pending e 4 Alarm requires additional user acknowledge Note In addition to the Alarm Acknowledge the alarm needs a special acyclic write service for resetting BlockLength Length of the alarm data The valid range lies between 4 and 63 DiagnosticUserData In this data the DP Slave can store additional vendor specific alarm data For additional vendor specific alarm data please see manual of the DP Slave module 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 I BFM Access Read Write only 1 scan z 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
137. n 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 DP Slaves until the next SYNC UNSYNC Global Control command is sent then the output data of those g2 DP Slaves are updated The first SYNC command sent to the DP Slaves will switch them into SYNC DER mode D 2 UNSYNC Global Control command D When sending an UNSYNC Global Control command to a DP Slave which is in SYNC mode the DP 7 Slave will be released from SYNC mode and will update the output data continuously By specifying a group of DP Slaves in BFM 9390 the UNSYNC command is sent to arbitrary DP 998 Slaves similar to the SYNC command e353 Note 2 When using the SYNC Global Control command output data sent to the DP Slave is not refreshed until the a 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 me or UNSYNC global command is issued from the PROFIBUS DP in SYNC Global Control Mode gs 3 5 sonsoubeiq Lo 39 FX3u 64DP M PROFIBUS DP Master Block 5 Mode Data Communication Global Control User s Manual 5 4 Global Control 9 4 2 FREEZE and UNFREEZE Global Control The FREEZE UNFREEZE Global Control controls the input data communication from the DP Slave to the 64DP
138. n 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 34 1 For Cyclic Output Data refer to Section 6 25 FX3U Series PLC 64DP M Master Class 1 Buffer memory Cyclic Output Data Area Global Control Area Example Sending the SYNC command to DP Slaves in group 1 l PROFIBUS DP Network Group 1 DP 1 DP p Group 1 Output image memory Data is always refreshed using polling D 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 1 SYNC Global Control command 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 DP Slaves until the following SYNC UNSYNC Global Control command is sent then the output data of those DP Slaves are updated The first SYNC command sent to the DP Slaves will switch them into SYNC mode 2 UNSYNC Global Control command When sending an UNSYNC Global Control command to a DP Slave which is in SYNC mode the DP Slave will be released from SYNC mode and will cause that output data sent to thi
139. nctions 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 from FX3U Series PLC via the extension cable to 64DP M The power is being incorrectly supplied from FX3U 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 series PLC For FX3u Series PLC refer to FX3U Hardware Edition For power supply specifications for 64DP M refer to Section 2 2 116 FX3u 64DP M PROFIBUS DP Master Block 9 Diagnostics User s Manual 2 RUN LED LED State Lit 9 1 Preliminary Checks Description 64DP M is in normal operation For data exchange the RUN LED must be lit Flickers in 500ms intervals Flicker Unlit 3 ERROR LED LED State The Dwell Time that was set in BFM 9394 is probably not expired yet For Dwell Time Setting refer to Section 6 35 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 network configuration is probably different
140. nnector e PROFIBUS DP wiring e Bus terminator Configuration setting e Create network configuration by configuration tool e Set parameter for DP Master and DP Slave Configuration Communication test e Download project by the configuration tool e Check communication status RUN LED 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 FX3u 64DP M PROFIBUS DP Master Block 2 Specifications User s Manual 2 Specifications gt Q Q O re 5 DESIGN PRECAUTIONS Q DANGER 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 contro
141. ns 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 Bit 3 Master State Hardware Error Note If any of Bit 0 Bit 2 or Bit 3 is ON while the 64DP M is in cyclic data exchange RUN mode the 64DP M will automatically change to Offline mode 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 al of the downloaded GX Configurator DP project are disconnected from the PROFIBUS this flag will be automatically reset Note e For startup 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
142. on Header Data BEM 4510 E BFM 5764 to 5883 Bit 1 fo 15 BFM 4511 on BFM 5888 to 6007 Bit 1 to 15 BFM 4512 n BFM 6012 to 6131 Bit 1 to 15 BEM 4513 Lo BFM 6136 to 6255 Bit 1 to 15 6 26 2 Acyclic Output Data Area BFM 5760 to 6255 suoleolioeds N uonejesu Oo Bul A 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 Area 4 BFM BFM BFM BFM SlaveNumber Destination slave number 5760 5884 6008 6132 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 zddressing for acyclic services SE a on a 1 Index value for sending data 5762 5886 6010 6134 PREX 9 BFM BFM BFM BFM 4 Length of user data 5763 5887 6011 6135 Length The valid range lies between 1 and 240 bytes BFM BFM User data 5764 6136 Datal 2 For data format details refer to the to 5883 to 6007 to 6131 to 6255 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 Description 69 Q O o D O O a SW49 Seow yng uonesn iyuon pue sus oWeled uononpou Qi SP
143. on 6 11 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 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 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 monitor function of the Programming software i e GX Developer For Master Status BFM 28 refer to Section 6 12 Consistency Error Flag BFM 29 Bit 5 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
144. on 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 5 6 suoleoioeds N RUN O TOKEN O FROM TO O ERRORO uone jesuy OO BuUlAA A Qi 87 3 43 O9 89 3 51 Boe 1 PROFIBUS DP port 9 pin D SUB Connector 4 40unc inch screw thread oe 2 Extension cable 6 3 Direct mounting hole 2 04 5 0 18 mounting screw M4 screw Bee 710 4 Status LEDs DER oS LED Name Description 3 9 Lit During normal operation amp 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 N TERNI PICKET For details refer to Section 9 1 Sag SSE Unlit 64DP M is in STOP mode or an error has occurred D For diagnostic details refer to Section 9 1 oe TOKEN _ Green Lit when token i
145. or FIFO function 3 E pa E PROFIBUS DP Network 37 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 FX3U PLC main Unit 64DP M Master Class 1 Buffer memory Internal Alarm Message FIFO Area 1 FROM or RBFM instructions Alarm BFM direct designation in Message For each DP Slave 2 Alarm applied instruction messages can be stocked 2 TO or WBFM instructions BFM direct designation in applied instruction Slaves p Send acknowledge to DP Slave 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 34 FX3U Series PLC 64DP M
146. or will occur if a DP Slave is removed from the network during cyclic data exchange by a loose cable connection or a watchdog timer N OUV error from a DP Slave So E If the networking cable is installed in an area of extreme electromagnetical noise sometimes this error will 23 occur To avoid effect from extreme electromagnetical noise lay the network cable in a different cable duct o without high voltage cables and far from to other sources of electromagnetic noise a Attention 8 When it is necessary to the application that communication not continue during this error the Error Action ye Flag should be selected to Goto Clear Flag in GX Configurator DP Master Settings RE 30 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 Addresses 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 F
147. ory Internal Slave Diagnostic Slave FIFO Area 4 FROM or RBFM instructions Diagnostic BFM direct designation in Information applied instruction Diagnostic FIFO Data max 64 information 2 TO or WBFM instructions Current Slave BFM direct designation in Diagnostic applied instruction Information uone jeisuy Oo Request Slave Diagnostic Information for FIFO function BuUlAA f gt E 7 P l PROFIBUS DP Network m 7 l l a m Slaves Qi QUZ o 2S l S oP Current Slave Diagnostic Information reading procedure or S 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 DL BO Slave Diagnostic Status Flags gt BFM 7200 to 7203 ON q E S O Write the slave number which Slave Diagnostic Status Flags can be reset to write KO to reads Slave Diagnostic BFM 7200 to 7203 7 Information Data into BFM 7209 by TO instruction etc ae 33 eae l l Do not read from R Set the Slave Diagnostic Request BFM 7210 to 7335 S w Flag BFM 7208 Bit 0 to ON It will during this time a be automatically reset after the Slave Diagnostic is read ON 8 7 u m So 8 Read the Slave Diagnostic as Information Data from BFM 7210 52 to 7335 by FROM instruction etc N Read gt By user program Automatically by 64DP M sonsoubeiq Lo 71
148. r 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 30 FX3u 64DP M PROFIBUS DP Master Block 4 Wiring User s Manual 4 1 Applicable Cable and Connector 4 Wiring 2 DESIGN PRECAUTIONS NC AUTION g 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 uone jeisuy Oo WIRING PRECAUTIONS Q DANGER 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 o0z oS om OQ WIRING PRECAUTIONS CAUTION A 23 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 6 z o2z 4 1 Applicable Cable and Connector ES ante The following table shows the applicabl
149. r 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 4 STARTUP AND MAINTENANCE PRECAUTIONS NCAUTION 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 23 FX3u 64DP M PROFIBUS DP Master Block 2 Specifications User s Manual 2 1 General Specifications DISPOSAL PRECAUTIONS NC AUTION e Please contact a certified electronic waste disposal company for the environmentally safe recycling and disposal of your device TRANSPORT AND STORAGE PRECAUTIONS NCAUTION e The PLC is a precision instrument During transportation avoid impacts After transportation verify the operations of the products 2 1 General Specifications 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
150. ransmission 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 Minimum Slave Interval suoleoioeds N uonejesu OO 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 BuUlAA f gt 1 3 2 Applicable PLC Qi For setting up a system only one 64DP M can be connected directly to the FX3U series PLC s extension port or to any other extension unit block s right side extension port QUE The 64DP M occupies 8 points of I O on the FX3U s expansion bus The 8 points can be allocated from either oa 8 inputs or outputs The maximum I O for a FX3U system is 256 I O 38 PLC Type Version a FX3U series PLC Ver 2 21 or later 6 Note SS ele When connecting two 64DP M or more to FX3uU PLC a hardware error will occur in the FX3U PLC main unit o8 Error code K6107 ss DSP ve as 33 sonsoubeiq Lo 17 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 18 The communication time is the data exchange time between the FX3U series PLC and DP Slaves The expression below gives this communication ti
151. rcuit for preventing damage to the machine at the upper and lower positioning limits should 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 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 GEER S2fecty Precautions D Read these precautions before use 2 I
152. reading the Alarm Message from BFM 8935 to 8969 this status flag will reset automatically BFM No BitNo Station No BFM No BitNo Station No BFM 8792 3 BFM 8794 35 Bit 15 16 Bit 15 A8 BFM 8793 19 BFM 8795 51 Bit 15 32 Bit 15 64 82 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BF Ms User s Manual 6 32 Alarm Message 6 32 3 Alarm Message Status BFM 8800 to 8803 BFM Access Read Write Shows Alarm Message Status when not using Automatical Acknowledge Function The Alarm Message Status Flag shows acknowledgement of an Alarm 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 BFM No BitNo Station No BFM No BitNo Station No BFM 8800 3 BFM 8802 35 Bit 15 16 Bit 15 48 BFM 8801 19 BFM 8803 51 Bit 15 32 Bit 15 64 6 32 4 Alarm Message Counter BFM 8808 to 8871 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 BFM No Station No BFM No Station No BFM 8808 1 BFM 8840 33 BFM 8809 2 BFM 8841 34 BFM 8810 3 BFM 8842 35 BFM 8823 16 BFM 8855 48 BFM 8824 17 BFM 8856 49 BFM 8825 18 BFM 8857 50 BFM 8826 19 BFM 8858 51 BFM 88
153. red action The Global Control Function is executed using the Global Control Area BFM 9390 1 Global Control Area BPE TZO e238 Bit No Description ON 1 OFF 0 o Bit0 1 Not used E Bit 2 to 5 ORA CONIO See 2 Selecting a Global Control command commands N Sas 7 This group does not execute the global 8 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 38 groups B 1 Selection of multiple groups is possible je Note amp ee P In case a Global Control Command is sent with no group set the Global Control Command is sent to all Groups B 1 to 8 87 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 34 Global Control 2 Selecting a Global Control command Bit No Global Control Commands oO O O 4 lt N O Oj f gt li N vit N DS N N eS ee ee E a es ee eee E 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 34 2 SYNC and UNSYNC Global Control The SYNC UNSYNC Global Control controls the output data communicatio
154. rogram as the reference in the section 8 2 M8000 ENI U0G7200 D300 se Cyclic sl icati monit yclic slave communication error acl flag for DP Slave station No 1 D290 9 D300 0 h St 1 vowe7209 Slave diagnosis alae ag FNC 12 M8000 oy U0 G7208 K1M100 RUN monitor Slave diagnostic request Yy Continue to the next page 106 M100 FNC 15 4 BMOV U0 G7210 D100 K126 8 Example Program 8 1 Example Program 1 Read communication status from BFM 4 Module READY Signal is OFF Read cyclic input data request flag from BFM 100 Read cyclic input data of DP Slave station No 1 from BFM 350 to 365 Set cyclic input data request flag of DP Slave station No 1 to ON Read cyclic input data of DP Slave station No 1 from BFM 350 to 365 Read cyclic input data request flag from BFM 101 Read cyclic input data of DP Slave station No 2 from BFM 366 Set cyclic input data request flag to ON Read cyclic input data of DP Slave station No 2 from BFM 366 Read master error status from BFM 29 Read cyclic slave communication error flag from BFM 7200 to 7203 Write slave number to read slave diagnostic information data to BFM 7209 Set slave diagnostic request BFM 7208 Bit 0 to ON Read slave diagnostic request flag from BFM 7208 Read slave diagnostic information data from BFM 7210 to 7335 FX3u 64DP M PROFIBUS DP Master Block 8 Example Program User s Manu
155. s DP Slave are continuously updated By specifying a group of DP Slaves in BFM 9390 the UNSYNC command can be performed on arbitrary DP Slaves similar to the SYNC command 88 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 34 Global Control Note Seen nnn enn ee ee ee O When using the SYNC Global Control command output data sent to the DP Slave is not refreshed until the S next SYNC or UNSYNC global command is sent to the DP Slave That is even if new data is written to the 9 Output Data Area BFM 2350 to 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 2 SYNC and UNCYNC Global Control command sending procedure A Write the output data of the DP Slave Le By User program 8 to the Cyclic Output Data Area BFM Writ gt Automatically by 64DP M F 2350 to 3373 me output Write the SYNC Global Control data command and group setting to Global Control Area BFM 9390 by TO instruction etc N sne 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 uonejeisuy Q9 Write output data Write the SYNC or UNSYNC Global Control command and group setting to Global Control Area BFM 9390 by TO instruction etc k E Output data of specified DP Slaves in SYNC mode are refreshed at
156. s as follows a Any engineer who is responsible for the planning design and construction of automatic 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 us
157. s maintained z p Lit PLC access to 64DP M by FROM TO instruction 8 FROM TO Seen PLC does not access to 64DP M by FROM TO instruction PT O 0 FE 30 iy Perevere error has occurred For diagnostic details refer to Section 9 1 and 9 2 ERROR Flicker pel error or problem has occurred For diagnostic details refer to Section 9 1 and 9 2 During normal operation Lit while 24V DC power is properly supplied from main unit oes For other LED status refer to Section 9 1 sonsoubeiq Lo 5 Extension port under the top cover 6 Name plate 7 DIN rail mounting groove DIN rail DIN46277 8 DIN rail mounting hook 13 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 00 O A 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
158. 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 ON by the 64DP M For Module READY Signal BFM 5 Bit 0 refer to Section 6 7 e Projected slave number e PROFIBUS Slave FDL address e PNO ID BFM No BFM address BFM No Station No BFM address BFM 9677 1 Slave Number BFM 9686 4 Slave Number BFM 9678 1 Slave FDL address BFM 9687 4 Slave FDL address BFM 9679 PNO ID BFM 9688 PNO ID BFM 9680 2 Slave Number BFM 9681 2 Slave FDL address BFM 9682 PNO ID BFM 9683 3 Slave Number BFM 9866 64 Slave Number BFM 9684 3 Slave FDL address BFM 9867 64 Slave FDL address BFM 9685 PNO ID BFM 9868 PNO ID 6 42 PROFIBUS Scan Function Lists the following detected DP Slave information on PROFIBUS DP network when using this function These information acquired by this function is stored in the buffer memory described by the table below 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 BFM No Description Reference Get DP Slave List Request Subsecian BFM 10052 Set to ON when using the PROFIBUS Scan Function in mode except a 42 1 Cyclic Exchange Mode Ki Configuration Difference Status Siberion BFM 10053 to 10060 Shows difference between the projected configuration and the pi D detected configuration Di BFM 10061 Scan Slave FDL Address
159. t 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 number 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 ents 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 T
160. t Edition FROM TO Cycle Time and PROFIBUS Cycle Time charts added Subsection 1 4 1 1 4 2 Example programs using GX IEC Developwer added Chapter 8 Program importing procedures from GX Configurator DP to GX IEC Developer added Chapter 8 4 2006 USER S MANUAL FX3U 64DP M PROFIBUS DP Master Block a MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN HIMEJI WORKS 840 CHIYODA CHO HIMEJI JAPAN JY997D19201B Effective Apr 2006 MEE Specifications are subject to change without notice
161. 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 42 The FX3U PLC switches to STOP mode which will cause the master to also switch to STOP mode 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 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 A Hardware error or Network error has occurred Check ERROR LED and contents of BFM 29 For details refer to Section 9 2 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 Flicker 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 Slave in the network that requires a longer time for booting For Dwell Time Setting refer to Section 6 35 If the ERROR LED starts flickering after the FX3U main unit switches to RUN mode There might be a mistake in the user program
162. tial output data of DP Slave station No 1 Write initial output data of DP Slave station No 2 Read cyclic output data consistency activate deactivate flags from BFM 92 to 95 Read cyclic input data consistency activate deactivate flags from BFM 84 to 87 FX3u 64DP M PROFIBUS DP Master Block User s Manual Cyclic output data consistency activate me a deactivate flag for DP Slave station No 1 Bao Module U0 G225 s d pio READY Cyclic output data request flag D10 0 Bhias il Signal Loy for DP Slave station No 1 NO p50 s d i WOWS2550 ki n MOY M EM ENG kK 5 d UOWG225 Cyclic output data consistency activate D6 0 deactivate flag for DP Slave station No 1 BMO M Loy jy ENO Ds 5 d i UOWG 2350 KiE n Cyclic output data consistency activate N ra deactivate flag for DP Slave station No 2 asda Module U0 G226 5 d p11 READY Cyclic output data request flag Signal ay for DP Slave station No 2 ae es 5 040 d unve2366 Mov M EN NO Kk s d UNG Cyclic output data consistency activate va deactivate flag for DP Slave station No 2 Dee L ARAA D4 s d _unve2366 G MO MOP M EM ENG Module READY Signal K E M une ME000 MOY M NO RUN UGA s d or Monitor AND NE Ml RST M ENG EN NO i D1 s1 d mii Ki 57 To the next page 8 Example Program 8 1 Example Program 1 Read cyclic output data send flag from B
163. tings 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 Software manual uone jesuy OO 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 BuUlAA f gt Note 5 e After finishing the import the GX IEC Developer creates 2 new POUs lt Copy_Pou gt and lt Profibus_Init gt QZ in the Project Navigator Window The lt Copy_Pou gt body text is composed of the IL Program by the GX 3 3 Configurator DP compiled for the cyclic communication with the PROFIBUS DP master If data Oe consistency gt 16bit is not necessary for example there are no 32bit counter it is possible to copy the gt a 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 6 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 Bee
164. to BFM 92 to 95 will not permanently change the S 3 configuration that was downloaded to the 64DP M After the power supply of the 64DP M is switched off Os once the 64DP M will startup with the original configuration that is stored in the 64DP M s internal Flash Sa 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 SW49 Seow yng JO uonevo iy 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 7 Output Data Send Flags of each DP Slave assignment is shown in the following table ere oO D BFM No BitNo Station No BFM No BitNo Station No S32 es n D p BEM 243 E BEM 275 5 9 O 5 63 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 24 Cyclic Output Data 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 2nd byte 1st byte 4th byte 3rd byte 6th byte oth byte 8th byte 7th byte BFM 2350 1st station 2365 l 2381 2382 32th byt
165. twork The following table shows the supported transmission speed and the value of BFM 32 2 Value Hex code Baud rate Value Hex code Baud rate G 96E2H 9 6 kbps 15E5H 1 5 Mbps 3 19E3H 19 2 kbps 03E6H 3 Mbps 2 93E3H 93 75 kbps O6E6H 6 Mbps z 18E4H 187 5 kbps 12E6H 12 Mbps O5E5H 500 kbps uone jeisuy Oo 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 BuUlAA f gt Qi ele Spar GONO PAG the 64DP M is exchanging only input data with the DP Slaves while the output data remain in the safe state on 5 oO oS 23 oe STOP mode RUN mode SW4g Seow Jeng JO UOHedO Y N Ovo SA gt 9 ase a o o o s oo gt Q 2a Clear mode N a8 Q 9O 30 RUN mode STOP mode sonsoubeiq Lo 55 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BFMs User s Manual 6 18 PROFIBUS Error Mask Flag BEM 34 6 18 PROFIBUS Error Mask Flag BFM 34 BFM Access Read Write 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 c
166. unction details refer to Section 6 42 119 FX3u 64DP M PROFIBUS DP Master Block 9 Diagnostics User s Manual 9 2 Detail Error Check MEMO 120 FX3u 64DP M PROFIBUS DP Master Block User s Manual Warranty o 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
167. 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 PLC No 40 1 C GX Configurator DP FX3U 64DP M Ver 7 00A or later FX3U Series Master of Class 1 Bus terminator gaus terminator E m PROFIBUS DP Network DP Slave DP Slave DP Slave lt lt OOO DP Slave DP Slave DP Slave No 1 No 2 No 3 No 29 No 30 No 31 1 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 14 FX3u 64DP M PROFIBUS 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 FX3u 64DP M gt _ Ver 7 00A or later ies Master of Class 1 aj S M Ngga Bus terminator wo terminator 7 PROFIBUS DP Network DP Slave DP Slave DP Slave lt _ lt lt 2 _ DP Slave DP Slave Repeater No 1 No 2 No 3 No 29 No 30 j suoleoioeds NO uone jesuy OO DP Slave DP Slave DP Slave _ _ lt _ lt DP Slave DP Slave No 31 No 32 No 33 No 60 No 61 1 In this system configuration the 64
168. 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
169. 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
170. ut_area 4 words_output_area Add before Add after Remove OK Cancel 102 FX3u 64DP M PROFIBUS DP Master Block 8 Example Program User s Manual 8 1 Example Program 1 2 Slave Parameter Setting 3 3 H Q Set the slave parameter for FXON 32NT DP as follows in the Slave Parameter Settings dialog box S 3 Slave Parameter Settings Model FXON 32NT DP Revision 2 Vendor Mitsubishi Electric Corp MEU GER 1 02 A WwW Slave Properties D Name Slave_Nr_001 a FDL Add a D ress Roo 0 125 z watchdog min T_sdr f1 1 255 Group identification number Gpl f Gp2f Gp3 f Gp4 Gp5 Gp6f Gip Gps Iv Active Syne Output Freeze Input Pe Addresses in MELSEC CPU Memory Input CPU Device b fe 10 1223 to f5 Output CPU Device bD fso 0 122723 t f5 l Swap 20 Bytes in Master Cancel Default User Param Select Modules uone jesuy OO BuUlAA A 5 FX2N 32DP IF Setting Qi For operation for Module Configuration selection and Slave Parameter aos owo refer to GX Configurator DP Software Manual as i 3 re 1 Module Configuration Setting a Oo Set the Module Configuration for FX2N 32DP IF as follows in the Slave Modules dialog box 6 Slave Modules Dr Info a 4 Modules installed 32 are possible Max Data size 200 Bytefs Dn 20 usage 2 a Byte s Max 1 0 sizes 200 200 Byte s o User_Prm_Data usage 2 Byte s Max User_Prm_D
171. utput Data Area BFM direct designation in applied for Cyclic Data instruction Communication LAK oy se ie PROFIBUS DP Network m Input data l Input data Output data image image image Output data image Slaves Cyclic input data reading procedure in consistency mode When Cyclic Input Data Consistency Activate Deactivate Flag BFM 84 to 87 is ON for the DP Slave by setting slave parameter in GX Configurator DP the following procedure should be used Input Data Area of the DP Slave during this time Set Input Data Send Flag BFM 100 to 163 Bit 0 to ON for the DP Slave Automatically by 64DP M lt Do not read from the _ gt By user program Read from the Input Data Area BFM 350 to 1373 EA by FROM instruction etc y V Read input data FX3u 64DP M PROFIBUS 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 Deactiv
172. wn 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 l 2nd station N 2365 2366 3rd station S 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 65 Q O o D O O a SW49 Seow yng uonesn iyuon pue sus oWeled uononpou suoleolioeds N uonejesu Oo BuUlAA f gt Qi pPON swwo geq Jo UOHEDO IV N Bunjes wesbold ajduexy OO sonsoubeiq Lo 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 The acyclic communication can be used for setting and change the DP Slave parameter during cyclic communication 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
173. y Seow yng O Z BFM 8792 to 8795 QuUMN of o 9 S Q Write the slave number for 5 D sending Alarm Message oo Acknowledgement in BFM 8971 h wne pu Alarm ACK request Flag s3 BFM 8970 Bit 0 V on ew 30 amp gt P 5 81 FX3u 64DP M PROFIBUS DP Master Block 6 Allocation of Buffer Memories BF Ms 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 Acknowledge 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
174. yclic output data send flag for DP Signal Slave station No 2 Pie FNC 12 MOV D40 BFM 2366 FNC 12 Set cyclic output data send U0 G226 H flag of DP Slave station No 2 to ON Cyclic output data consistency activate deactivate flag for DP Slave station No 2 D40 U0 G23664 Slave station No 2 D40 to BFM 2366 MG FNC 12 Uog Set Data Exchange Start Module READY Signal MOVP Request Flag to ON Continue to the next page Write output data of DP Slave station No 2 D40 to D Q gt n O n 105 FX3u 64DP M PROFIBUS DP Master Block User s Manual MELIO FNC 12 MOV U0 G4 D1 RUN monitor FNC 236 Cyclic input data consistency activate deactivate flag for DP Slave station No 1 M D2 0 FNC 12 U0 G100 D12 Module MOV READY Cyclic input data request flag for Signal DP Slave station No 1 D12 0 FNC 15 FNC 12 Cyclic input data consistency activate deactivate flag for DP Slave station No 1 D2 0 FNC 15 Cyclic output data consistency activate deactivate flag for DP Slave station No 2 Mo D2 1 FNC 12 Juo G101 D13 Module i MOV READY Cyclic input data request flag for Signal DP Slave station No 2 D13 0 FNC 12 UOG366 D20 FNC 12 Cyclic output data consistency activate deactivate flag for DP Slave station No 2 D2 1 FNC 12 UOG366 D20 M8000 Moy Uo G29 D290 RUN monitor i E When reading the alarm message form DP slave please include the processing p
175. yte slave o 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 2048 2048 bytes 33 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 z 381 S 382 A 3rd station 3 a 1358 64th station 1373 2350 Ist station 2365 2366 T aman En 8 2nd station ae lt 2381 aoe S 2382 i i ard station 5 3 MESE N 6 PN 8th byte 7th byte 3358 N 64th station i 3373 on 2381 32th byte 31th byte 34 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 t
Download Pdf Manuals
Related Search
Related Contents
BENDIX BW2151S User's Manual 農作業現場改善チェックリストと解説 Philips Bedienungsanleitung Laserfax 825/855 Manual Badisco novotam Verbatim CompactFlash 1GB Copyright © All rights reserved.
Failed to retrieve file