Home
FX2N-64DP-M Profibus-DP Master Block User`s Manual
Contents
1. 4 42 4 22 Information Dwell Time Setting BFM 422184 Read Write 4 43 4 23 Slave Status Area BFM 2212 3122216 Read 4 43 4 24 Input Output Start Address Area BFM 2228 312347 Extended Service Mode Only Read Only 4 44 Global COMO asas duci OUS vts qas RAS DEUS hoa COP lea 5 1 5 1 SYNC and UNSYNC Global Control seeneme 5 1 5 2 FREEZE and UNFREEZE Global Control adorate ese Fera gta eee 5 1 5 3 Global Control Service Pro668S e e oeste ce t der a E cea e 5 2 6 Mode and Displayed Station 6 1 SNB Io TP 6 1 6 1 1 Mode Setting Switch nennen eene nnns nennen 6 1 6 2 Displayed Station AddIess net rere ualen e ER RU E RES gx ce bear 6 2 a MITSUBISHI vii FX2N 64DP M Profibus DP Master Block 7 Setting Parameters and Configuration 7 1 Zt Master Parameter peer fesso iro SEU vere eio rede pipe ste Le 7 2 7 2 Bus tec OP eie iq md ad p ha 7 3 7 3 Network CoODIgUEallgn ors ttt Dr teles del d Tae 7 4 o Example PIOGF GU 8 1 8 1 System Configuration epo
2. BFM No Bit No Station No BFM No Bit No Station No Bit 0 1 Bit 0 33 Bit 1 2 Bit 1 34 BFM 11 Bike 13 Bite 28 Bit 15 16 Bit 15 48 Bit 0 17 Bit 0 49 Bit 1 20 Bit 1 50 Bit 2 21 Bit 2 51 BFM 12 BFM 14 Bit 11 60 Bit 15 32 Bit 12 15 Not used Output Data Sending End Flags lt BFM 15 18 gt Read Only These buffer memories are allocated to the Output Data Sending End flags When output data has been stored in the send buffer the bit which corresponds to the Output Data Sending End flag is turned ON by 64DP M Allocation of the Output Data Sending End flags is shown in the following table For further information on this flag refer to subsection 4 5 1 Table 4 8 Allocated Output Data Sending End Flags lt BFM 15 18 gt BFM No Bit No Station No BFM No Bit No Station No Bit 0 1 Bit 0 33 Bit 1 2 Bit 1 34 15 Bite 17 PI 29 Bit 15 16 Bit 15 48 Bit 0 17 Bit 0 49 Bit 1 20 Bit 1 50 Bit 2 21 Bit 2 51 BFM 16 BFM 18 Bit 11 60 Bit 15 32 Bit 12 15 Not used a MITSUBISHI FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 5 4 Output Data Send Error Flags BFM 19 22 gt Read Write These buffer memories are allocated to the Output Data Send Error flags In operation t
3. 4 10 4 4 Communication Stop Timer Setting BFM 29 Read Write 4 12 4 5 Slave Data Consistency Mode BFM 10 22 gt 4 13 4 5 1 Slave Data Consistency Mode Process sss 4 14 4 5 2 Output Data Send Request Flags BFM 11 14 gt Read Write 4 15 4 5 3 Output Data Sending End Flags BFM 15 18 gt Read Only 4 15 4 5 4 Output Data Send Error Flags lt BFM 19 22 gt Read Write 4 16 4 6 Master Reset BFM 27 gt Read 4 18 4 7 Initial Data Set BFM 28 gt Read 4 18 4 8 Master Status BFM 29 gt Read Only 4 19 4 9 Module ID code BFM 30 gt Read 4 19 4 10 Number of Used Input Byte BFM 37 gt Read 4 19 4 11 Number of Allocated Slave BFM 238 Read 4 19 4 12 Operation Service Mode BFM 39 gt Read 4 19 4 13 Input Slave State BFM 40 43 gt Read 4 20 4 14 Output Slave State BFM
4. BFM No AA Hex code Name Description BFM 0 000 H Communication Status Read only BFM 1 001 H Flags Read only BFM 42 002 H Communication Control Read Write flags BFM 3 003 Not used 8 008 H ee Communication Stop PE M49400 Timer Setting BFM 10 00A H Slave Data Consistency Mode BFM 11 00B H 14 Output Data Send 00E H Request Flags BFM 15 00F H 18 Output Data Sending 012 H Flags need only BFM 19 013 H 22 Output Data Send Error 016 H Flags Read Write BFM 23 N 26 01A H oud BFM 27 01B H Master Reset Read Write BFM 28 01C H Initial Data Set The initial data writing reading instruction signal BFM 29 01D H Master Status Read only BFM 30 01E Module ID Code K7060 Read only BFM 31 01F H N 36 024 H 37 025 Number of Used Input Byte 38 026 Number of Allocated Slave BFM 39 027 Operation mode BFM 40 028 H 43 02B H Input Slave State BFM 44 02C 47 02F H Output Slave State Read only BFM 48 030 H 99 063 H Not used BFM 100 064 H 1059 423 H Input Data Area This is the area that stores the input data from the slave Read only BFM 1060 424 H 2019 7E3H Output Data Area This is the area that stores the output data to the slave Read Write BFM 2020 7E4 H 2139 85BH
5. Address Information Area This is the area that shows the slave address and I O data length 4 bytes slave Read only a MITSUBISHI 4 1 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 Table 4 1 Buffer Memory BFM List BFM No Hex code Name Description BFM 2140 85C 2179 883 H Communication Trouble Area This is the area that shows the diagnostic information that occurred during communication Read only BFM 2180 884 H Slave Diagnostic Status Cancel This is buffer memory that sets the data that masks the slave the Diagnostic Status Read Write BFM 2181 885 H Global Control Area This is the global control function hold cancel selection area Read Write BFM 2182 886 H 2183 887 H Not used BFM 2184 888 H Information Dwell Time Setting This is used to set the wait time before informing the communication diagnostic after the exchange start Read Write BFM 2185 889 H 2195 893 H Not used BFM 2196 894 H 2210 8A2 H Expansion Communication Trouble Area This area shows the extension information of the diagnostic information which is occurred during the communication Read only BFM 2211 8A3 Not used BFM 2212 8A4 2216 8A8 H Slave Status Area This is the area that shows the status information of
6. Configuration setting Configuration of the 64DP M can be set easily by MELSEC ProfiMap configuration software V3 00 or more For MELSEC ProfiMap configuration software hereafter called ProfiMap refer to MELSEC ProfiMap Configuration System for Open Networks Software Manual For choosing module type refer to Appendix B Communication The 64DP M supports 9 6k 19 2k 93 75k 187 5k 500k 1 500k 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 cable complying with EN50170 See chapter 2 Global control The 64DP M supports Sync global control Unsync global control Freeze global control and Unfreeze global control s MITSUBISHI 1 1 FX2N 64DP M Profibus DP Master Block Introduction 1 1 2 External Dimensions and Each part Name Dimensions mm inches MASS Weight Approx 0 4kg 0 88 Ibs Accessory Special block No label Figure 1 1 External Dimensions Je POWER ozez SY PUISI e 7 REE sz 9 b Remove Top Cover a Extension cable b Direct mounting hole 2 24 5
7. Subroutine Program P2 Write output data of slave 2 to BFM 1076 1091 RUN monitor M8000 P2 Write output data of slave 1 FNC 79 K WDT Reset the watchdog timer of FX2N PLC SRET Return to main program Subroutine Program P3 Read input data of slave 2 from BFM 116 131 78 K116 Read input data of slave 2 FROM from BFM 116 131 Reset the watchdog timer of FX2N PLC SRET Return to main program Subroutine Program P124 Initialize the send data in the 64DP M Allocate the Slave Diagnostic Status Cancel Set the Information Dwell Time Medu FNC 79 K2180 H02B9 Allocate the Slave Diagnostic TO Status Cancel See section 4 19 WDT FNC 79 Set the Information Dwell FNC 79 Initialize the send data in the K K1 D K32 FNC 79 Set K1 to BFM 28 the Initial KO K2 K1 K1 Reset the watchdog timer of FX2N PLC SRET Return to main program WDT a MITSUBISHI 8 20 FX2N 64DP M Profibus DP Master Block Example Program 8 Figure 8 14 Example Program of 64DP M ne j i Subroutine Program P125 Reset DO D183 and MO M543 Set the Communication Stop Timer RUN monitor P125 M8000 TO FNC 40 FNC 40 SRET Subroutine Program P126 Read the Diagnostic Information from BFM 2140 2179 Read the Extension Diagnostic Information from BFM 2196 2210 P126 M8000 FNC 78 Y000 WDT SET D122 H200 FNC 232 1 D120 H200 1 FNC 23 D122 H1 D1 PV
8. 5 126 Max retry limit 0 7 Cancel Default Note Max ST delay resp Max Tsdr Quiet Time Tqui Setup Time Tset in the parameter to be set by the ProfiMap must match the maximum value connected to the network including the master station The value of 64DP M show the following table Table 7 1 Max Tsdr Tqui Tset and Baud Rate Items 1 500kbps 1 5Mbps 3Mbps 6Mbps 12Mbps Max Tsdr 60 100 150 250 450 800 Tqui 0 0 0 3 6 9 Tset 1 1 1 4 8 16 s MITSUBISHI 7 3 Setting Parameters and Configuration 7 FX2N 64DP M Profibus DP Master Block 7 3 Network Configuration Set the slave parameter and system configuration in the following dialog box Figure 7 1 Network Configuration Zoor Network Configuration are possible 3 slaves installed 60 DP Network Layout PB92D Mode 0 Slave Mr 002 125 i i j Slave Nr_003 gt Slave Nr 001 124 126 i Cancel Create POU iij ud 7 4 s MITSUBISHI FX2N 64DP M Profibus DP Master Block Example Program 8 8 1 8 2 Example Program System Configuration Figure 8 1 System Configuration FX2N FX2N 64DP M Series Address No 0 Terminating 3 0 or more resistor ie Terminating resistor FXON FXON Series 32NT DP Slave station No 1 Slave station No 2 Address No 1 Address No 2 FX2N 16EX
9. Bit 7 6 5 2 1 1 0 2 word Bit 7 6 5 2 1 1 1 Reserved 4 Identifier Number and Channel Number The identifier number is that which is attached from the header of each slave module Each module can have multiple channels as in Figure 4 37 For the channel numbering method refer to the manual of each slave Figure 4 37 ldentifier Number and Channel Number Slave 16 points 32 points DI DO byte byte 2 channels 4 channels 1 channel Profibus DP network Slot Number 0 1 2 Identifier Number 0 1 2 Channel Number 0 1 0 1 2 3 0 s MITSUBISHI 4 39 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 19 4 Example of the Expansion Communication Trouble Area Figure 4 38 Example of the Expansion Communication Trouble Area BFM Address Bit15 Upper Byte Lower Byte 0 Expansion Diagnostic Information ATIG PIE Byte Length 14 2197 895 H This BFM is fixed 0 2198 896 H Device information data Length 4 bytes 0508 1100 Device Related Diagnostic Device information data Device information data Information 2199 897 H 4th byte es Identifier Related Diagnostic Information Identifier No 0 and No 2 have diagnostic information 2200 898 H 2201 899 H 2202 89A H Identifier No 0 0 0 0 0 0 1 Channel Related Diagnostic 2203 89B H 0 1 100 Abeer information of jojo ojo 1 0 1 00 identifier No 0 and No 2 refer 2204 89C H 11
10. SET M20 Global Control End flag M20 M34 SET M94 ee FREEZE and SYNC flag for RST M20 group 1 b Reset source device for the Bit shift left instruction Switching the sending data to slave 2 HFFFF is stored the 1st and 2nd output data of slave 2 H0000 is stored the 1st and 2nd output data of slave 2 Read M120 M123 from the Communication Status For All in BFM 2212 Read M130 M193 from the Communication Status For Each Station in BFM 2213 2216 Read M340 M403 from the output data sending end flag for each station in BFM 15 18 Read M410 M473 from the output data send error flag for each station in BFM 19 23 Set the global control command in BFM 2181 Global Control Area Object group Group 1 Global control FREEZE and SYNC Set flag of FREEZE and SYNC for group 1 Set Global Control Request flag Reset flag of FREEZE and SYNC for group 1 c s MITSUBISHI 8 13 FX2N 64DP M Profibus DP Master Block Example Program 8 Figure 8 14 Example Program of 64DP M c c Communication valid flag Group 1 access order flag Global Control End flag M110 M130 M6 Mii M34 tt 41 aed 22 Slave 1 error Group 1 access flag flag Output Data Sending End flag of slave 1 M110 M130 M6 M11 M340 cn 1 FNC 79 K2181 H0114 SET M11 Output Data Send Error flag of slave 1 M110 M130 M6 M11 M410 ri Reset Global Control
11. 0 18 c RS 232C port 9 pin D SUB Connector 4 40unc inch screw thread The cable connecting between 64DP M and personal computer is Blue ProfiCab cable For Blue ProfiCab refer to MELSEC ProfiMap Configuration System for Open Networks Software Manual d Status LEDs Table 1 1 Status LEDs LED Name Description ON During normal operation OFF Error Flashes during communication with slave on the Profibus network The flashing interval is the time interval of the bus parameter s Data Control Time TOKEN LED ON when token is maintained RUN LED SD RD LED ON when the Profibus DP network subscription preparation is completed and READY LED de during subscription FROM TO LED ON when a FROM TO instruction from the programmable controller is operating PRM SET LED ON PARAMETER SET when in the parameter setting mode When flashing during normal operation the parameter is not written RSP ERR LED ON when a communication error occurs FAULT LED ON when an error occurs e POWER LED ON when 24V DC power is supplied form the external power supply or FXsN series PLC s MITSUBISHI 1 2 FX2N 64DP M Profibus DP Master Block Introduction 1 f TEST LED and STATION LED Table 1 2 TEST LED and STATION LED LED Name Description TEST LED ON when self diagnosis is executing STATION Displays the station address during normal operation Binary Displ
12. 1107 453H 4 1075 433 H Szthbyte athi byte N 1076 434 H 2nd byte 1st byte 1078 436 H 7th byte 5th byte i 2004 7D4 H EB 1079 437 H 9th byte 8th byte 60th station N 2019 7E3 H x V 1091 443 H 32th byte 31th byte Note If the output data of the slave is less than 32 byte the output data area of this slave will have a free area If output data of the slave is more than 32byte the Extended Service Mode will need to be used 1077 435 H a MITSUBISHI 4 24 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 Note In the update of the data between 64DP M and the slave the consistency can usually be kept to only the units of 1 word Therefore 64DP M has Slave Data Consistency Mode and Global Control Function Refer to the table below for consistency of sending receiving data and the relation of each function Table 4 16 Consistency of Exchanged Data Using Function m Sending Data Receiving Data Using Slave Data Consis Using Global Control To Slave From Slave tency Mode Function Single word data v Multiple word data Single word data Slave data Slave data consistency consistency v Single word data ae m consistency Example When the 1st station has 20 bytes for output data the output data area of 1st station has free area of 21th 32th byte The value of t
13. 44 47 gt Read Only 4 20 4 15 Input Data Area BFM 100 1059 gt Read Only 4 21 4 15 1 Normal Service Mode Mode Switch 0 esses 4 21 4 15 2 Extended Service Mode Mode Switch gt 4 23 4 16 Output Data Area BFM 1060 2019 gt Read Write 4 24 4 16 1 Normal Service Mode Mode Switch 0 eesssssssseeeeeennes 4 24 4 16 2 Extended Service Mode Mode Switch gt 4 26 4 17 Address Information Area BFM 2020 2139 gt Read Only 4 27 4 18 Communication Trouble Area BFM 2140 2179 gt Read Only 4 29 4 18 1 Fixed Type and Ring Type methods sese 4 30 4318 2 ETTOr COdGS essit eise etu aes tud met 4 31 4 19 Expansion Communication Trouble Area BFM 2196 2210 gt Read Only 4 34 4 39 1 BEMA2I965 4 35 4 19 2 2197 pe teen iure at iier ete 4 36 4 19 3 BFM 2198 82210 4 36 4 19 4 Example of the Expansion Communication Trouble 4 40 4 20 Slave Diagnostic Status Cancel BFM 2180 gt Read Write 4 41 4 21 Global Control Area BFM 2181 gt Read
14. M8000 FNC 78 FROM vee FNC 78 FROM ee FNC 78 FROM eee FNC 78 FROM uem Communication Watchdog Timer READY flag Error flag M61 M63 M30 EL 4 3 Module READY Exchange Start flag End flag a Execute subroutine program P125 for setting the Communication stop timer and select the Communication trouble area type Read M30 M45 from the communication status flags in BFM 0 Read M50 M65 from the communication status flags in BFM 1 Read M70 M85 from the master status in BFM 29 Read D165 from the Number of used input byte in BFM 37 Read D166 from the Number of allocated slave in BFM 38 Read M200 M263 from the Input slave state in BFM 40 43 Read M270 M333 from the Output slave state in BFM 44 47 Write M90 M105 to the communication control flags in BFM 2 Communication valid flag a MITSUBISHI FX2N 64DP M Profibus DP Master Block Example Program 8 Figure 8 14 Example Program of 64DP M a Initial pulse M8002 Module READY flag M63 M84 M85 M110 Group 1 access request flag M110 M10 T M22 M22 4 ser we Initial Output Data Set flag Initialize Output Data Area flag Communication valid flag Fk Group 2 access request flag FNC 79 K1 K1 K1 Pr NU ERI Communication valid flag l 7 Data Exchange Start flag FNC 35 M11 J Group 1 acces
15. 0122 H100 D180 FNC 78 1 Set the Communication Stop Timer Reset DO D183 Reset MO M543 Return to main program Read the diagnostic information from BFM 2140 2179 Set the received Diagnostic Information flag Reset the watchdog timer of FX2N PLC Divide D122 into master D160 and slave D161 address Read the extension diagnostic information from BFM 2196 2209 Reset the watchdog timer of FX2N PLC Return to main program s MITSUBISHI FX2N 64DP M Profibus DP Master Block Example Program 8 Figure 8 14 Example Program of 64DP M Subroutine Program 127 Operate program for restarting 64DP M unit Interval timer 1 for restarting 64DP M unit TO P127 RUN monitor M8000 64DP M stop to access Profibus DP system Operate interval timer 1 for restarting 64DP M unit 64DP M restart Reset the Exchange Start Request flag Operate interval timer 2 for restarting 64DP M unit Reset 64DP M unit restart request flag Reset interval timer 1 for restarting 64DP M unit Return to main program Program end s MITSUBISHI 8 22 FX2N 64DP M Profibus DP Master Block Example Program 8 Figure 8 15 Example Program of FXon 32NT DP Initial pulse M8000 FNC 79 KO K21 KO K1 ml 79 K K27 K1 K1 FN it RUN monitor M8000 TO FNC 78 Data ex
16. 424 1060 424 2nd byte ust station 1061 425H 4th byte 1062 426 H 6th byte 2nd station M 1063 427 H 8th byte Use N 1071 42F Not used 23th byte istbyte 1071 42F H 1072 430 H 1075 433 H 1076 434 H 2nd byte 1st byte 431 4th byte 1074 432 H 6th byte Not used 1076 434 2nd byte Note 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 When the data length is 0 byte the output data area for this station will not be in the Output Data Area buffer memory a MITSUBISHI 4 26 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 17 Address Information Area lt BFM 2020 2139 gt Read Only This Address Information Area buffer memory can check that the slave address number the input data bytes length and the output data length of all slaves is assigned by the configuration software ProfiMap The Address Information Area assign as follows The station number is not the slave address number Therefore the setting range of slave address number is 1 126 Slave addresses do not need to be sequential numbers Figure 4 18 Address Information Area BFM Address Bit15 Upper byte Lower
17. 64DP M finishes to initialize data for input Bit 15 Initialize Input Data Area flag of the slaves OFF when writing 0 to the Initial Data Set buffer memory BFM 28 Module ID code lt BFM 30 gt Read Only The identification code for a 64DP M is available using a FROM instruction The identification code for the 64DP M is K7060 By reading this identification code the user may create built in checking routines to check whether the physical position of 64DP M matches the software Number of Used Input Byte lt BFM 37 gt Read Only This buffer memory is used to check the 64DP M for the number of bytes used in the input data area This value may be more than the value of the configuration software As the occupied number of bytes is included in this value Number of Allocated Slave lt BFM 38 gt Read Only This buffer memory is used to check the number of slaves connected to the 64DP M This value is same as the number of slaves in the configuration software Operation Service Mode lt BFM 39 gt Read Only This buffer memory is used to check the operation service mode of the 64DO M Table 4 12 Operation Service Mode Value Hex Description 0 64DP M is in normal service mode 64DP M is in extended service mode Other value Configuration error will be occurred in 64DP M s MITSUBISHI 4 19 FX2N 64DP M Profibus DP Master Block Allocation of Buffer
18. Bit 11 is OFF when Error Code 0200 H This Information has the Expansion Diagnostic Information when Diagnostic status Bit 11 is ON when Error Code 0200 s MITSUBISHI 4 34 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 19 1 BFM 2196 The latest Expansion Diagnostic Information stored from BFM 2198 is stored as a byte length unit in BFM 2196 Figure 4 27 Expansion Diagnostic Information Data Length in BFM 2196 BFM Address Upper Byte Lower Byte Expansion Diagnostic Information Data 2196 894 H Length 21 bytes Over 27 Bytes Status OFF Bit 7 OFF 2197 895 H Information Data Information Data 2198 8908 2nd Byte 1st Byte Information Data Information Data 2199 89709 4th Byte 3rd Byte Information Data Note When using a slave with expansion diagnostic information of more than 32 bytes the network will be limited Maximum expansion diagnostic information data length is the smaller of the value obtained from a slave address by the following equation or 244 bytes Maximum expansion diagnostic information data length bytes 12600 N 10 or 244 1 The value of N is the smaller of the value obtained by the following equation or 300 N Max slave address value Min slave address value 1 x 5 or 300 It is not possible to communicate normally with the slave when the maximum diagnosis information data length Max Diag Data
19. Block Introduction 1 1 Connecting 1 master class 1 on the Profibus DP network Figure 1 3 Connecting 1 Master class 1 on the Profibus DP Network EXON FX2N 64DP M Configuration Series Master of Class 1 Software Terminati No 40 1 ProfiMap ne resistor c Terminating resistor 1 In this system configuration this 640 can connect maximum 31 slaves As the total units masters slaves repeaters is 32 units when DP network is 1 segment 2 Connecting 1 master class 1 and 1 repeater on the Profibus DP network Figure 1 4 Connecting 1 Master class 1 and 1 Repeater on the Profibus DP Network FX2N FX2N 64DP M Configuration Series Master of Class 1 _ Software p 1a Ne ProfiMap Terminating resistor Lem Terminating resistor L RI Slave Slave Slave Slave Slave Repeater No 1 No 2 No 3 No 29 No 30 fal Slave Slave Slave Slave Slave ead No 31 No 32 No 33 No 59 No 60 1 In this system configuration this 64DP M can connect maximum 60 slaves as a repeater is used s MITSUBISHI 1 5 FX2N 64DP M Profibus DP Master Block Introduction 1 3 Connecting 1 master class 1 and 3 repeaters on the Profibus DP network Figure 1 5 Connecting 1 master class 1 and 3 Repeaters on the Profibus DP Network FX2N 64DP M ens Master of Class 1 No 70 C Configuration Software e ProfiMap Terminating resistor 7 Terminating resistor Slave
20. DP Master Block Allocation of Buffer Memories BFMs 4 4 15 2 Extended Service Mode lt Mode Switch E gt This area is assigned in variable length according to the parameter file set in the configuration software ProfiMap The data length can be set in the range of 0 244 bytes The number of stations that can be set will vary in the range of 1 60 However this Input Data Area is 1920 bytes 32 bytes x 60 stations 1920 bytes for all slaves 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 value of this free area is OO hex code Figure 4 14 Example of Input Data Area Using Extended Service Mode BFM Address BFM Address Upper byte Lower byte Bit 0 100 064 H 100 064 H 2nd byte 2nd byte 111 06F 112 070 T0080 t 2nd station 3 103 067 H 115 073 H Mo 116 074 H m a ee tl 111 06F H Not used 498 070 Hy 2nd byte 072H 6th byte 5th byte HIS Ufot 1 Not used 7th byte 116 074 H 2nd byte 1st byte 070 H E 113 071 H 4th byte 072 H 073 H Note 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 When the data length is 0 byte the input data area for
21. ES UL Profibus DP Network FX2N 32DP IF FX2N 16EYR ES UL Contents of Operation DO 015 of master 2 PLC is written in DO 015 of slave station 1 FXon PLC and D20 035 of slave station 1 is written to 040 055 of master In slave station 1 DO is moved to D20 and D1 is moved to D21 Therefore the value of DO and D1 that sent from master to slave station 1 returns to D40 and D41 060 in master FX2N PLC is output to the FX2n 16EYR ES UL on the slave station 2 FX2N 32DP IF and the input status of FX2N 16EX ES UL on the slave station 2 are read to 020 in master When an error occurs on Profibus DP the error information is stored in D400 D439 and Y00O is turned ON When X000 is turned ON 64DP M recovers from error and YOOO is turned OFF When X001 is turned ON the diagnostic information in D400 D439 are cleared When X002 is turned ON the 64DP M will restart When X003 is turned ON with a watchdog timer error in 64DP M 64DP M recovers from this error and the 64DP M will restart s MITSUBISHI 8 1 FX2N 64DP M Profibus DP Master Block Example Program 8 8 3 Parameter Setting When setting the parameter of 64DP M for Profibus DP use ProfiMap V3 00 For operation of ProfiMap please see the MELSEC ProfiMap Configuration System for Open Networks Software Manual 1 Make Example Project After selecting the command New in the File menu choose the module type Profibus DP A 1S J7
22. J71PB92D 32 Byte Operation Mode 0 all releases all releases 244 Byte Operation Mode E s BE and later all releases s MITSUBISHI 74 FX2N 64DP M Profibus DP Master Block Setting Parameters and Configuration 7 7 1 Master Parameter Set each part in the following dialog box Figure 7 3 Master Parameter Master Settings Module JAGS JAIPB92D00 VO Mode Vendor JMITSUBISHIELECTRIO CORPORATION PB92D ModeD 7 Baudrate 1500 Mbps FDL address p 125 Head address on o 0 03 Get HA Error action flag Goto Clear State Min slave interval po 7 1 65535 100 us Polling timeout pO 1 65535 ms Data control time 100 1 65535 10 ms Download Selection Use CPU Network Select Port Default Bus Param s MITSUBISHI 7 2 FX2N 64DP M Profibus DP Master Block Setting Parameters and Configuration 7 7 2 Bus Parameter Set each part in the following dialog box Figure 7 4 Bus parameter Bus Parameter Select Baudrate fi 500 Mbps v Profibus FDL Parameters Slot Time T sh 00 65535 0200000 ms min T sdr D 65535 007333 max T_sdr 50 0 65535 10000 ms Quiet Time T qui D 255 000000 ms Setup Time T set fi 1 255 000667 ms Target Rot Time tr oo 1 1048576 333333322 ms GAP factor M 10 HSA
23. Len has been decided by the slave s GSD file is larger than the value obtained by the above expression In this case please try the following things 1 Make the slave address consecutive number if possible 2 Change setting so that this value may become small if the maximum diagnosis informa tion data length on the slave side can be set 3 Reduce connected number of the slave s MITSUBISHI 4 35 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 19 2 2197 Only Bit 7 is valid BFM 2197 Other bits always are turned OFF 0 Bit 7 is turned ON when the slave sends Expansion Diagnostic Information of 27 bytes or more 4 19 3 BFM 2198 2210 The following information is stored in this area Device related diagnostic information This stores the slave module inherent diagnostic information that is not set by the Profibus DP standards Identifier related diagnostic information For slave modules whether or not a module error has occurred is stored as bit information Channel related diagnostic information For slave modules this area stores the diagnostic information for each module that is outputting an error For individual information refer to 4 18 3 1 2 3 1 Device related diagnostic information This stores the slave module inherent diagnostic information that is not set by the Profibus DP standards The device related diagnostic information can be divide
24. M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 15 Input Data Area lt BFM 100 1059 gt Read Only This Input Data Area buffer memory is used to store input data for the slaves on the DP network The input data format is 2 type Normal Service Mode type and Extended Service Mode type These modes can be selected by using the mode switch 4 15 4 Normal Service Mode Mode Switch 0 gt This area is fixed to an allocation of 32 bytes 16 words per station for input data of 60 stations The configuration of the input data area is as follows Figure 4 12 Input Data Area Using Normal Service Mode BFM Address BFM Address Upper byte Lower byte Bit O 100 064 H p 7070770777777 00 084 H 115 073 H TO IUD 116 074 H 102 056 H 2nd station ia 103 067 H 131 083 H 23 132 084 H NEN M 3 147 093H N 115 073 H byte Sith byte A iTe 074 H 3 117 075 H 118 076 H 1044 414 H N 119 077 H 9th byte 8th byte 60th station N 1059 423 H N 131 083 H 2 byte 3ithbyte Note If the input data of a slave is less than 32 byte the input data area of this slave will be a free area If the input data of the slave is more than 32byte the Extended Service Mode is needed Q Note In the update of the data between 64DP M and the slave the consistency can usually be kept to only the units of 1 word Therefore 64DP M
25. Memories BFMs 4 4 13 Input Slave State lt BFM 40 43 gt Read Only These buffer memories are allocated to the input slave state When the 64DP M already has an input slave the bit which corresponds to the input slave state is turned ON Allocation of the input slave is shown in the following table Table 4 13 Allocated Input Slave BFM No Bit No Slave No BFM No Bit No Slave No Bit 0 1 Bit 0 33 Bit 1 2 Bit 1 34 40 Bit 42 Bite 2 Bit 15 16 Bit 15 48 Bit 0 17 Bit 0 49 Bit 1 18 Bit 1 50 Bit 2 19 Bit 2 51 BFM 41 BFM 43 Bit 11 60 Bit 15 32 Bit 12 15 Not used 4 14 Output Slave State lt BFM 44 47 gt Read Only These buffer memories are allocated to the output slave state When the 64DP M already has an output slave the bit which corresponds to the output slave state is turned ON Allocation of the output slave is shown in the following table Table 4 14 Allocated Output Slave BFM No Bit No Slave No BFM No Bit No Slave No Bit 0 1 Bit 0 33 Bit 1 2 Bit 1 34 44 Bite 3 46 Pt zm Bit 15 16 Bit 15 48 Bit 0 17 Bit 0 49 Bit 1 18 Bit 1 50 Bit 2 19 Bit 2 51 BFM 45 BFM 47 Bit 11 60 Bit 15 32 Bit 12 15 Not used a MITSUBISHI 4 20 FX2N 64DP
26. Programmable Controller 1 9 1247 LAG p 1 9 1 44 Polling Gycle atid teet bette eas 1 10 2 Wiring and Mounting iu cdccancntereasensdecuntuataeawncatcenantpisacaneitedenumpatseawenenedes 2 1 BRR OLUTO ilaa etree 2 1 2 1 14 Arrangements ii ovi me tto qa e ER e E T 2 1 2 1 2 gt ccce o Ee ee Pedes 2 1 22 WANING is sis m 2 2 2 241 tt eee item ol ele aided Bes Ske Sd 2 2 2 2 2 Wirllig dst ent esten e 2 3 2 253 Wiring of Power Supply eee rt ig ED Hel e E Feet ga lae te dud 2 3 2 2 4 Wining Of Profibus DP i rie i niet oe i p e iube dee qs 2 4 2 2 5 Terminating fesistOr rrt Peer ean Antec co i o ee are tas 2 4 C FD DOCIICA TONG PRENNE TIT 3 1 3 1 General Specifications eret t eu de keen Eod 3 1 3 2 Power Supply SpeciliGalloriss rite 3 1 9 3 Performance Specifications scuro 3 2 s MITSUBISHI vi FX2N 64DP M Profibus DP Master Block 4 Allocation of Buffer Memories 5 4 1 4 1 Buffer Memories BFM Lists iege roh 4 1 4 2 Communication Status Flags BFM 0 BFM 1 gt Read Only 4 3 4 3 Communication Control Flags BFM 22 Read Write
27. Self diagnostic mode Mode Setting Switch The mode is decided by the mode setting switch Default setting is 0 Online 1 mode Caution When changing the Mode the power supply of the PLC and 64DP M should be OFF Figure 6 1 Mode Switch 45 45 45 345 WO aire D 02595 Sg SOF Siege SOF WA wA wA e G58 SOS ONLINE 1 ONLINE 2 PRE SET TEST Normal Service Mode Extended Service Mode Parameter Setting Mode Self Diagnostic Mode Table 6 2 Mode Switch postions ial 0 ONLINE 1 Normal service mode 1 PRE SET Parameter Setting mode 2 TEST Self diagnostic mode E ONLINE 2 Extended service mode 3 D F Not used s MITSUBISHI 6 1 FX2N 64DP M Profibus DP Master Block Mode and Displayed Station Address 6 6 2 Displayed Station Address The station address set by parameter is displayed by the STATION LEDs when 64DP M is ONLINE 1 and ONLINE 2 mode The station address is displayed by the STATION LED BO B6 in binary The parameter is set by configuration software ProfiMap For the ProfiMap configuration software please see the MELSEC ProfiMap Configuration System for Open Networks Software Manual Example When station address is 10 display is as follows Figure 6 2 Example Displayed Station Address 64 OBO OOO0O MN TEST B6 B5 B4 B3 B2 B1 BO si LED
28. Y x 0 0 0 1 x x x Y 1 1 or 0 1 1 1 or 0 1 Y x Y x 0 1 1 1 or 0 1 x Y Y x 1 1 or 0 1 0 1 Y x x 0 1 0 1 v x v Vv Execute X Not Execute 1 The global control command from which either state is executed is the same a MITSUBISHI 4 42 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 22 4 23 Information Dwell Time Setting lt BFM 2184 gt Read Write The Information Dwell Time Setting buffer memory is used to set the time period where the Diagnostic Information is not received after the exchange start The buffer memory is adjusted in one second steps Default value is 20 20 x 1 second 20 second The setting range is 1 30 Note By this setting when the master power supply ON is faster than the slave power supply ON etc it is made not to detect a temporary error that occurs during starting up system Slave Status Area lt BFM 2212 2216 gt Read Only The Slave Status Area is used to check the status for communicating to each slaves The communication status of all slaves can be checked by BFM 2212 value If BFM 2212 value is KO all slaves are normal status If the BFM s value is K1 all slaves are faulty This faulty slave can be checked by viewing each bit status in BFM 2213 2216 When 64DP M has faultily slave the bit which corresponds to the faultily slave state is turned ON by 64DP M Allocation of the input faultily is shown in the following
29. be mounted with M4 screws by using the direct mounting holes An interval space between each unit of 1 2 mm is necessary a MITSUBISHI 2 1 FX2N 64DP M Profibus DP Master Block Wiring and Mounting 2 2 2 Wiring 2 2 1 Caution 1 Do not lay signal cable near to high voltage power cable or house them in the same trunking duct Effects of noise or surge induction may occur Keep signal cables a safe distance of more than 100 mm 3 94 from these power cables 2 Ground the shield wire or the shield of a shielded cable at one point on the programmable controller Do not however ground at the same point as high voltage lines 3 Terminal screws of the 64DP M are M3 0 12 therefore crimp style terminals see drawing suitable for use with these screws should be fitted to the cable for wiring Figure 2 3 Crimp Terminals For 0 12 For 0 12 6 2 mm 0 24 6 2 mm 0 24 or less Cir or E Sr 4 The terminal tightening torque is 0 5 0 8 N m Tighten securely to avoid malfunction 5 Cut off all phases of power source before installation or performing wiring work in order to avoid electric shock or damage of product 6 Replace the provided terminal cover before supplying power and operating the unit after installation or wiring work in order to avoid electric shock s MITSUBISHI 2 2 FX2N 64DP M Profibus DP Master Block Wiring and Mounting 2 2 2 2 Wiring 2 2 3 Wiring of Power Supply The 64D
30. byte Bit 0 2020 7E4 Slave address of 1st station 1st station output byte length 1st station input byte length 2021 7 5 2022 7 6 Slave address of 2nd station 2023 7E7 H 2nd station output byte length 2nd station input byte length 2138 85A H Slave address of 60th station 2139 85B 60th station output byte length 60th station input byte length Note Any station address that is not assigned by the configuration software ProfiMap is assigned FFFF hex code the input or output byte length is FF hex code Example When using the Extended Service Mode the relation among the Address Information Area BFM 2020 2139 Input Data Area BFM 100 1059 and Output Data Area BFM 1060 2019 is as follows Figure 4 19 Example of Address Information Area BFM Address Bit 15 Upper byte Lower byte Bit 0 2020 7E4 H Slave address of 1st station 5 1st station output byte length 0 1st station input byte length 3 Slave address of 2nd station 10 H 2021 2022 7E6 7E5 7E6 H eves TET 7E8 H 7E9 H 7E5 H 2024 7E8 H Slave address of 3rd station FFFF H 2025 7 9 3rd station output byte length FF H 3rd station input byte length FF H 2138 85A H Slave address of 60th station FFFF H 2139 85B H 60th station output byte length FF H 60th station input byte length FF H s MITSUBISHI 4 27 FX2N 64DP M Profibus DP Master Block Alloc
31. e If an error is detected then the LED status at the tie the error occurs for that test will be displayed If error state is displayed please contact a service representative Table 9 10 Self Diagnostic Items LED State Description Order TEST B6 BB BA B3 B2 B1 BO During test a8 MPU test Error During test b Timer test Error During test Interrupt test Error e d During test DRAM test e O O Error e e This LED is not lit This LED is lit Figure 9 1 LED Location TEST B6 B5 B4 B3 B2 C LED is not lit BO LED is iit Oe0 90000 9 4 Diagnostic Information and Error Code For error code and diagnostic information refer to section 4 18 For expansion diagnostic information refer to section 4 19 s MITSUBISHI 9 4 FX2N 64DP M Profibus DP Master Block Appendix A Appendix A Further Information Manual List Table A 1 Further Information Manual List Manual name Manual No Discription FX2N Series This manual contents expianations for wiring Programmable controllers JY992D66301 installation and specification etc about FX2n Series Hardware Manual programmab
32. each slave Read only BFM 2217 8A9 H 2227 8B3 H Not used BFM 2228 8B4 2347 92B H Input Output Start Address Area This is the area that shows the addresses to start the input area and output area of each slave Extended service mode only lt Read only gt BFM 2348 92C 9999 270F H Not used Caution 1 Do not access the buffer memory of Not used BFM 3 8 10 26 31 99 2182 2183 2185 2195 2211 2217 2227 2348 9999 by FROM TO instruction There is a possibility to cause abnormality to the operation of the 64DP M if accessing these buffer memories 2 Do not write to access by TO instruction the buffer memory of Read only BFM 0 1 29 30 100 1059 2020 2179 2196 2210 2212 2216 2228 2347 in the programmable controller It is possible to operate the 64DP M by writing to accessing by TO instruction these buffer memories 3 When large input output data is read from or written to 64DP M by many FROM TO instructions in a scan the scan time is very slow Therefore it is necessary to execute the FROM TO instruction to read and to write the input output data little by little during the numerical scan cycle 4 When writing data to BFMs do not changed the value for 500 ms or more If changing value in BFMs last data will not use by 64DP M system s MITSUBISHI 4 2 FX2N 64DP M Pro
33. has Slave Data Consistency Mode and Global Control Function Refer to the table below for consistency of sending receiving data and the relation of each function Table 4 15 Consistency of Exchanged Data Using Function e Sending Data Receiving Data Using Slave Data Consis Using Global Control To Slave From Slave tency Mode Function Single word data v Multiple word data Single word data Slave data Slave data consistency consistency v Single word data SAVE consistency s MITSUBISHI 4 21 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 Example When the 1st station has 20 bytes of input data the corresponding input data area has free sectors from 21th to 32th byte The value of these free sectors is 00 hex code Figure 4 13 Example of Input Data Area Using Normal Service Mode BFM Address _ Address Upper byte Lower byte Bit 0 100 064 H 100 064 2nd byte 1st byte paci Smbye 115 073 H is 065 an 116 074 02 066 H th byte 5th byte 2nd station 103 067 H 9th byte 8th byte 131 083 H Y 132 084 H de 3rd stati i 147 093 109 060 H 20th byte 19th byte MO 6E H 1044 414 H LS REN 60th station 116 074 H 2nd byte 1st byte 1059 423 H 117 075 H 4th byte 3th byte s MITSUBISHI 4 22 FX2N 64DP M Profibus
34. is not lit s MITSUBISHI 6 2 FX2N 64DP M Profibus DP Master Block Setting Parameters and Configuration 7 7 Setting Parameters and Configuration Use ProfiMap to set the parameters and configuration for Profibus DP For information on ProfiMap refer to the ProfiMap manual For example setting of parameter and configuration refer to section 8 3 Note The module type is chosen Profibus DP A 1S J71PB92D from the drop down list box in the Network Setup Figure 7 1 Network Setup Network Setup Select Module Type MELSEG Device Profibus DP AQS J71PB92D The operation mode is chosen by the 32 Byte Operation Mode 0 or 244 Byte Operation Mode E button in the following window Figure 7 2 Select Operation Mode AQSXJ71PB92D LO Operation Mode Selection You need to define the operation mode of your 44S5 J71PB92D PROFIBUS DP master module Which operation mode do you want to use This operation mode supports 32 byte send and 32 byte receive data per slave This Mode is compatible to PLC sequence programs previously made for 415J71PB92D parametrized with MELSEC ProfiMap 1 x or for the older AJ71PB92 module This operation mode supports up to 244 bytes send and or 244 byte receive data per slave The memory structure inside the AQ S J71PB92D master module is optimized for less delay of PLC sequence program Mode Selection Model Support DIP Position A1SJ71PB92D 4 amp
35. is same as the 64DP M turn power supply OFF ON Caution The 64DP M restarts when this flag is operated Therefore please make sure this bit is turned OFF default status when it is not necessary to restart a MITSUBISHI 441 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 4 Communication Stop Timer Setting lt BFM 9 gt Read Write The communication stop timer is adjusted in 10 ms steps Default value is 50 50 x 10 ms 500 ms When this value is 0 the setting of the communication stop timer assumes it is default value The setting range is 0 and 10 6 000 When FROM TO instructions do not access any buffer memories the communication timer begins operating Note When restarting the communication between the 64DP M and slaves on the DP network do in the following process 1 Write new values of communication stop timer to the Communication Stop Timer Setting BFM 9 The FROM TO Error flag BFM 29 Bit 9 is turned OFF 2 Write initial or new output data to the Output Data Area BFM 1060 2019 as the contents of the Output Data Area is held when the FROM TO Error occurs 3 Turn OFF to ON the Exchange Start Request flag BFM 2 Bit 0 The 64DP M will start to communicate to the slaves on the DP network Caution If the communication timer reaches it is set time BFM 9 x 10 ms the 64DP M experiences a communication time out At this time The FROM TO E
36. must be written to BFM 1060 424 42019 7E3 For the Initial Data Set buffer memory refer to section 4 7 For the Initial Output Data Set flag and the Initialize Input Data Area flag refer to section 4 8 There is a possibility that it is not possible to communicate with the slave even if the Exchange Start Request flag BFM 2 Bit 0 is turned ON when the slave power supply is turned ON simultaneously with 64DP M Therefore please turn ON the Exchange Start Request flag after Communication READY flag BFM 1 Bit 11 is turned ON e Itis not possible to stop the communication with slaves even if the FXan plc is in STOP Therefore please turn OFF the Exchange Start Request flag or each power supply of the 64DP M and FXsN plc before the FXan plc is in STOP s MITSUBISHI 4 10 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 3 Communication Trouble Area Clear Request flag lt BFM 2 Bit 2 gt The Communication Trouble Area Clear Request flag is used to clear all of the Communication Trouble Area BFM 2140 2179 and the Expansion Communication Trouble Area BFM 2196 2210 For further explanation refer to section 4 2 3 4 Communication Trouble Area Type Selection flag lt BFM 2 Bit 3 gt The Communication Trouble Area Type Selection flag is used to select Ring type or Fixed type This flag is turned ON when selecting Fix type or turned OFF when selecting Ring type Th
37. polling Note When using FREEZE global control command input data receiving from slave is not refreshed until next FREEZE or UNFREEZE global command is send to the slave That is even if input receive data from the slave reads the input data area BFM 1000 2019 by FROM instructions these are not refreshed until the following FREEZE or UNFREEZE global command is issued from the Profibus DP in FREEZE global control mode s MITSUBISHI 54 FX2N 64DP M Profibus DP Master Block Global Control 5 5 3 Global Control Service Process Figure 5 1 Global Control Service Process Set global control command and group to BFM 2181 Turn global control request Ifag BFM 2 Bit4 to ON Starts global control service on Profibus DP The global control end flag BFM 0 bit4 is turned ON s MITSUBISHI 5 2 FX2N 64DP M Profibus DP Master Block Mode and Displayed Station Address 6 6 1 Mode and Displayed Station Address Mode The 64DP M has 4 modes decided by the mode setting switch For setting instructions refer to subsection 6 1 1 Table 6 1 Mode Mode Description ONLINE 1 Normal service mode 64DP M can exchange 32 bytes slave ONLINE 2 Extended service mode 64DP M can exchange 244 byte slave PRE SET Parameter Setting mode This mode is used for setting the parameter This mode is used for checking hardware of 64DP M For self test refer to subsection 9 3 TEST
38. 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 co ordinated 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 Note the term completed equipment refers to a third party constructed device which contains or uses the product associated with this manual Notes on the Symbols Used in this Manual At various times through out this manual certain symbols will be used to highlight points of information which are intended to ensure the users personal safety and protect the integrity of equipment Whenever any of the following symbols are encountered its associated note must be read and understood Each of the symbols used will now be listed with a brief description of its meaning Hardware Warnings 1 Indicates that the identified danger WILL cause physical and property damage 2 Indicates that the identified danger could POSSIBLY cause physical and property damage 3 Indicates a point of further interest or further explanation OPE o o o 2 o 4 Indicates special care must be taken when using this element of software 5 Ind
39. result the 64DP M selects the slave and it is possible to conduct the global control The global control function is executed using the Communication Status flag BFM 0 1 the Communication Control flag BFM 2 and the Global Control Area BFM 2181 This section explains about the Global Control Area The buffer memory assigned as follows can decide group and function for executing global control For further explanation of global control refer to chapter 5 For the Communication Status flag refer to section 4 2 For the Communication Control flag refer to section 4 3 Table 4 21 Global Control Area Bit No Description ON 1 OFF 0 Bit 0 1 Not used Bit2 5 AODA For global control command executed refer to Table 4 22 commands Bit 6 7 Not used Bit 8 1 Group 1 Bit 9 1 Group 2 Bit10 1 Group 3 Bit11 1 Group4 This group executes global control This group does not execute global Bit12 1 Group 5 command Bit 2 5 control command Bit 2 5 Bit13 1 Group 6 14 1 Group 7 bit 15 1 Group8 1 when executing the global command multiple groups can be chosen Table 4 22 Selecting Global Control command Bit No Global Control Commands Bit 2 Bit 3 Bit 4 Bit 5 UNFREEZE FREEZE UNSYNC SYNC 0 0 0 0 x x x x 1 1 or 0 1 0 0 x x x 0 1 0 0 x Y x x 0 1 1 0r 0 1 x x
40. setting Leen This diagnostic information will always occur at exchange start so it Bit 7 communication 5 Master sto can be ignored If this bit is ON check the parameter on the DP network was changed by class 2 master Nocomms with Master can not communicate with slave Bit 8 slave Check the slave status and communication circuit And check the Master parameter The slave is not ready to exchange Bit9 Slave not ready This diagnostic status will always occur at exchange start check slave the slave status and communication circuit The parameter received for byte length of Input Output from the Parameter Bit10 master does not match that of the slave slave mis match Check the slave parameter Expansion Bit 11 Expansion Diagnostic Information received Master Information received Bit 12 oe The function requested by the master is not supported in the slave slave Bit 13 en Sag Data from the slave is incorrect Master Bit 14 Deor oct The parameter transmitted to this slave by the master is incorrect slave parameter Bit 15 This slave is controlled by another master Master comms a MITSUBISHI 4 32 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 2 Error code 1121 H This error means that the slave address specified in the parameter is the same as that of the master This error occurs immediately after the power supply is turned ON or the 64DP M is
41. table 4 21 The Slave Status Area is allocated as follows Figure 4 41 Slave Status Area BFM 2212 2216 BFM Address 2212 8A4 H Communication status for all stations value KO or K1 2213 8A5 H 2214 8A6 H Communication status for station No 1 station No 60 2215 8A7 For allocation of bits refer to Table 4 19 2216 8A8 H Table 4 23 Status of Each Slave BFM 2213 2216 BFM No Bit No Slave No BFM No Bit No Slave No Bit 0 1 Bit 0 33 Bit 1 2 Bit 1 34 BFM Bit 2 3 BFM Bit 2 35 2213 2215 Bit 15 16 Bit 15 48 Bit 0 17 Bit 0 49 Bit 1 18 Bit 1 50 BEM Bit 2 19 BEM Bit 2 51 2214 2216 Bit 11 60 Bit 15 32 Bit 12 15 Not used s MITSUBISHI FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 24 Input Output Start Address Area lt BFM 2228 2347 gt Extended Service Mode Only lt Read Only gt The Input Output Start Address Area is used to check start address of input and output data for each slave However This value is effective when the extended service mode ONLINE 2 is used When the normal service mode ONLINE 1 use this value is K 100 in all areas Data is set in this area during module startup according to the parameters stored in the 64DP M The start address is set in 1 word units for both input and output The data range is from K100 K
42. the Communication Trouble Detection flag BFM 0 Bit 1 has been turned OFF s MITSUBISHI 4 5 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 3 Communication Trouble Area Clear End flag lt BFM 0 Bit 2 gt The Communication Trouble Area Clear End flag can check that all of the Communication Trouble Area BFM 2140 2179 and the Expansion Communication Trouble Area BFM 2196 2210 are cleared This flag is turned ON when all of the Communication Trouble Area and Expansion Communication Trouble Area are cleared by turning ON the Communication Trouble Area Clear Request flag BFM 2 Bit 2 This flag is turned OFF when the Communication Trouble Area Clear Request is turned OFF Figure 4 3 Communication Trouble Area Clear End Flag Communication Trouble Area Clear Request flag BFM 2 002 H Bit 2 Communication Trouble Area Clear End flag BFM 0 000 H Bit 2 SS user program Automatically by 64DP M Note The Communication Trouble Area Clear Request flag BFM 2 Bit 2 is turned OFF by a TO instruction after it has been confirmed that the Communication Trouble Area Clear End flag BFM 0 Bit 2 has been turned ON s MITSUBISHI 4 6 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 Global Control End flag lt BFM 0 Bit 4 gt The Global Control End flag can check the finishing action of the global control service This fl
43. this station will be not be in the Input Data Area buffer memory s MITSUBISHI 4 23 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 16 Output Data Area lt BFM 1060 2019 gt Read Write This Output Data Area buffer memory is used to stored output data for the slaves on the DP network The output data format is 2 type Normal Service Mode type and Extended Service Mode type These mode can be chosen by mode switch Caution Even if the programmable controller is in STOP output data is maintained Therefore 1 Appropriate output data must be sent before the programmable controller is STOP 2 The entire system must stop before the programmable controller enters in STOP Note Appropriate initial data should be stored in the send buffer Output Data Area lt BFM 1060 2019 gt before it begins to communicate 4 16 1 Normal Service Mode Mode Switch 0 gt This area is fixed to an allocation of 32 bytes 16 words per station for input data of 60 stations The configuration of output data area is as follows Figure 4 15 Output Data Area Using Normal Service Mode BFM Address BFMAddress Upper byte Lower byte Bit 0 1060 424 H 1060 424 H 2nd byte 1st byte 1st station 1061 425H 4th byte 3th byte n one 1062 426 H 7th b 5th b 1076 434 H i Mi 2nd station T 1063 427 H 9th byte 8th byte 1091 443 H ES 1092 444 H x LN 3rd stati i
44. user program about this process before this operation should be done to the error station next time a MITSUBISHI 4 16 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 Figure 4 9 Example 1 Rewrites to BFMs for same slave Writes data to the output data area Z by TO instruction Output Data Send Request flag Output Data Sending End flag Output Data Send Error flag Haan gt user program Automatically by 64DP M Figure 4 10 Example 2 Rewrites to BFMs for same slave Writes data to the output data area d by TO instruction Output Data Send Request flag Output Data Sending End flag Output Data Send Error flag ON SS By user program Automatically by 64DP M Figure 4 11 Example 3 Rewrites to BFMs for same slave Writes data to the output data area 7d by TO instruction Output Data Send Request flag Output Data Sending End flag Output Data Send Error flag eS user program Automatically by 64DP M a MITSUBISHI 447 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 6 4 7 Master Reset lt BFM 27 gt Read Write The Master Reset buffer memory is used when changing to the test mode or the parameter set mode When the value of this buffer memory is K1 the 64DP M can be changed to the test mode or parameter set mode When the value of this buffer memory is
45. 0 Chane Ne 0 0 0 11 1 jo o oj0oj0j0 2205 89D In this case this BFM is fixed 0 2210 8A2 H In this case this BFM is fixed O Table 4 19 Example of channel related diagnostic information Identifier No Channel No Input onu Channel Type Error Status Status No 0 No 1 Input Byte Overload No 2 No 0 Output 2 words Upper limited exceeded Figure 4 39 Example Identifier Number and Channel Number Slave 16 points 32 points Profibus DP network Slot Number Identifier Number 0 Channel Number 0 1 a MITSUBISHI 4 40 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 20 Slave Diagnostic Status Cancel lt BFM 2180 gt Read Write This stores the value that masks the slave Diagnostic status error code 0200 H detailed data 2 Even if the slave diagnostic status corresponding to this area bit occurs the Communication Trouble Detection flag BFM 0 Bit 1 and RSP ERR LED does not turn ON In addition the diagnostic information is not stored in the Communication Trouble Area BFM 2140 2179 The default value is 02B9 For the Diagnostic Status of further information refer to 4 17 2 Note This 02B9 H diagnostic information also occurs during normal situation and is masked This value can only be changed when Exchange Start Request flag BFM 2 Bit 0 is OFF If this flag is turned ON changes are ignored Fig
46. 1PB92D from the drop down list box in the Network Setup Figure 8 2 Network Setup Network Setup Select Module Type MELSEG Device Profibus DP AQS J71PB92D 802 3 tA T71 MBGEF2 Profibus FMS A0 5 J71PB96F IJ i1 PB92D IP MALTS Cancel Click OK button the dialog box below is displayed Figure 8 3 Operation Mode Selection MTL AQSJ71PB92D 1 0 Operation Mode Selection You need to define the operation mode of your ACISX I71 PB92D PROFIBUS DP master module Which operation mode do you want to use Mode 0 This operation mode supports 32 byte send and 32 byte receive data per slave This Mode is compatible to sequence programs previously made for A1SJ71PB92D parametrized with MELSEG ProfiMap 1 x or for the older 4J71PB92 module Mode E This operation mode supports up to 244 bytes send and or 244 byte receive data per slave The memory structure inside the ACS3J71PB92D master module is optimized for less delay of PLC sequence program Mode Selection Model Support DIP Position ATSJ71PB92D AJ71PB92D 32 Byte Operation Mode 0 e all releases all releases 244 Byte Operation Mode E BE and later all releases In this example click on the 32 Byte Operation Mode 0 button in the above dialog box The dialog box on the next page is automatically displayed s MITSUBISHI 8 2 FX2
47. 2 Bytes Max User_Prm_Data size 2 Bytes m Module Configuration Note If you select an installed module D and than press Add the selected module from the available list box will be inserted in the slot before D If you don t select any installed module will be installed into the next free module slot Available Modules Slot Installed Module O00 16 words input area 001 16 words output area 16 words output area 4 words input area 4 words output area owes s MITSUBISHI 87 FX2N 64DP M Profibus DP Master Block Example Program 8 b Setting of FXon 32NT DP When 1 is selected in Slave Device Group the GSD Device Database dialog box appears as shown below Figure 8 10 Select Slave module GSD Device Database Note Only DP slave devices are visible within this dialog sorted by group vendor and model name Slave Device Group Vendor MITSUBISHI ELECTRIC CORP m E Revision 0 cC E TEN EE Available Slave Systems 6 Bitmap MT DP12 FX2N modular station FAZN modular station VT AJ95TB2 16T 16 DO 4J95TB3 16D 16 DI AJ95TB32 16DT 8 DI 800 GSD DDB File melcF232 esd Bitmap File FXONS2_Ndib When an 2 modular station V1 10 is selected and the lt OK gt button has been pressed the Slave Parameter Settings dialog box appears as shown on the next page Figure 8 11 Slave Parameter Settings Slave Parameter Settines Model FX
48. 2 gt Read Write The Communication Control flags are allocated as follows Table 4 4 Communication Control Flags Read Write Bit No Name Description Refer to 1 and Bit 0 Exchange Start Request flag section 4 2 1 Bit 1 Communication Trouble Detection Flag Reset flag pelt section 4 2 2 Refer to 3 and Bit 2 Communication Trouble Area Clear Request flag section 4 2 3 Bit 3 Communication Trouble Area Type Selection flag Refer to 4 Refer to 5 Bit 4 Global Control Request flag section 4 2 4 and chapter 6 Bit5 12 Notused Bit 13 Restart Request flag Refer to 6 Bit 14 15 Not used Caution Do not write 1 ON to any bit that is Not used Bit 5 12 14 15 from the programmable controller There is the possibility of corrupting the operation of the 64DP M if writing 1 to these bits 1 Exchange Start Request flag BFM 2 Bit 0 gt The Exchange Start Request flag is used for exchanging data between the 64DP M and the slaves on the DP network For further explanation refer to section 4 2 1 2 Communication Trouble Detection Flag Reset flag BFM 2 Bit 1 gt The Communication Trouble Detection Flag Reset flag is used to reset the Communication Trouble Detection flag BFM 0 Bit 1 and turn PSR ERR LED to OFF For further explanation refer to section 4 2 2 Note Before the Exchange Start Request flag is turned ON the output data initial value
49. 2019 If nothing is assigned K100 will be set Figure 4 42 Input Output Start Address Area BFM Address 2228 8B4 H 1st station 2229 8B5 H 2nd station 2230 8B6 H 3rd station Start Address of Input data for each slaves 2285 8EDH 58thstation 2286 BEE H 59th station 2287 8EF H 60th station 1st station 2nd station 3rd station 2288 8F0 H 2289 8 1 2290 8F2 Start Address of Output data for each slaves 2345 929 H 58th station 2346 92A H 59th station 2347 92B H 60th station s MITSUBISHI 4 44 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 Example Configuration is as follows Table 4 24 Example Configuration Station No Input Data Length Output Data Length Station No 1 Address No 0 3 bytes 5 bytes Station No 2 Address No 2 6 bytes 2 bytes Figure 4 43 Input Output Start Address Area of Example BFM 2228 2347 BFM Address 2228 8B4 H Input start addres of 1st station is 100 064 2229 8B5 H Input start addres of 2nd station is 102 066 H 2230 8B6 H Input start addres of 3rd station is 100 064 H Input start address area 2285 8EDH 2286 8EE 2287 8EF H 2288 8F0 H 2289 8 1 2290 8F2 Input start addres of 58th station is 100 064 Input start addres of 59th station is 100 064 H Input start addres of 60th station is 100 064 Outpu
50. 2N modular station V1 10 Revision Vendor MITSUBSHIELECTRIC CORP _ Slave Properties Name Slave Group 7 FDL Address mp 128 Watchdog Watchdog time 0 65525 10 m min T sdr fh 255 Group identification number Gp Gp2 Gp3 Grp 4 Gp5 T Gp6 Gp Grp8 v Active Syne Output Freeze Addresses in MELSEC CPU Memory Input CPU Device None m 0 Output CPU Device None ES 0 0 tc Dp Cancel Default User Param Select Modules s MITSUBISHI 8 8 FX2N 64DP M Profibus DP Master Block Example Program 8 When an FXoN 32NT DP module is selected the type of module can be defined after clicking on lt SELECT MODULES This button is enabled depending on the GSD file of the selected Profibus DP slave The following dialog box is displayed Figure 8 12 Select Modules Configuration Slave Modules Info 4 Modules installed 82 are possible Max Data size Byte s VO usage 2 Bytes Max I O sizes 82 B Bytes User Prm Data usage 2 Bytes Max User_Prm_Data size 200 Bytes Module Configuration be installed into the next free module slot Available Modules Slot Installed Module 0001 8 bit input 001 8 bit input pa pit output N hort cfg it output FXON 4AD PT ext cfe FX2N 4AD PT ed ctg FX2N 4AD TO text FX2N 4AD TC short cfe FX2N 1H
51. 5 Figure 4 5 Global Control Error End Flag Global Control Request flag BFM 2 002 H Bit 4 ON Global Control Error End flag L BFM 0 000 H Bit 5 ON gt user program gt Automatically by 64DP M Note The Global Control Request flag BFM 2 Bit 4 cannot operate if the Exchange start End flag BFM 0 Bit 0 is OFF In this case the Global Control End flag BFM 0 Bit 4 and the Global Control Error End flag BFM 0 Bit 5 will turn ON When the Global Control Error End flag is ON the Input Output data of the slave is not held deleted on the DP network 6 Watchdog Timer Error flag lt BFM 0 Bit 13 gt The Watchdog Timer Error flag can check that the Watchdog Timer Error occurs Table 4 3 Watchdog Timer Error Flag Status Bit Status Description ON Watchdog timer error occurs in the 64DP M In this case 64DP M cannot exchange input data and output data to the slaves on the DP network OFF The 64DP M is operating normally Caution If this flag is turned ON the 64DP M can restart by the following method When it is not possible to restart by these methods please contact a service representative Adjust the Master Reset BFM 27 from 1 O0 However interval of 1 second or more is necessary when the Master Reset is changed from 1 2 O For explanation of the Master Reset BFM 27 refer to section 4 5 Turn the Restart
52. ADVANCED AND EVER gt OYANCINGSMATTSUBISHI ELECTRIC MITSUBISHI i PROGRAMMABLE CONTROLLERS ELSE if b i n FX2N 64DP M Profibus DP Master Block Foreword ISO 9001 This manual contains text diagrams and explanations which will guide the reader in the cor rect installation and operation of the FX2N 64DP M Profibus DP Master Block It should be read and understood before attempting to install or use the unit Further information can be found in the FX2n Series Hardware Manual FX Series Program ming Manual MELSEC ProfiMap Configuration System for Open Networks Software Man ual and manual of Profibus DP slave units If in doubt at any stage of the installation of FX2N 64DP M Profibus DP Master Block always consult a professional electrical engineer who is qualified and trained to the local and national standards which apply to the installation site If in doubt about the operation or use of FX2N 64DP M Profibus DP Master Block please consult the nearest Mitsubishi Electric distributor This manual is subject to change without notice T M c UL us NATIONAL OF CERTIFICATION BODIES LISTED s MITSUBISHI FX2N 64DP M Profibus DP Master Block FX2n 64DP M PROFIBUS DP Master Block USER S MANUAL Manual number JY992D88001 Manual revision B Date March 2001 s MITSUBISHI FX2N 64DP M Profibus DP Master Block s MITSUBISHI FX2N 64DP M Profibus DP
53. ER LED is OFF check the wiring of the 24V DC power supply and check whether the 24V DC voltage source capacity is sufficient 2 Check RUN LED If HUN LED is OFF check status of the Exchange Start Request BFM 72 BitO If this bit is OFF turns this bit to ON 3 Check FAULT LED If FAULT LED is OFF check the diagnostic information in the Communication Trouble Area BFM 2140 2179 For diagnostic information refer to section 4 12 4 Check the wiring and connection for the Profibus DP If the wiring and connection for the Profibus DP is incorrect correct wiring and connection 5 Check the system configuration and parameter of the 64DP M for the Profibus DP If the system configuration of Profibus DP is not corresponding to parameter of the 64DP M match them 6 Check the error of the PLC If the FROM TO instruction error occurs at this instruction for the 64DP M in the PLC operate correctly this instruction s MITSUBISHI 9 1 FX2N 64DP M Profibus DP Master Block Diagnostics 9 9 2 Check the Status of the LEDs for the 64DP M 1 POWER LED check Table 9 1 POWER LED Check State Description Lit The 24V DC power supply PLC or external power supply is correctly supplied Check wiring of power supply and check whether the 24V DC voltage source capacity Unit of 24V DC power supply 2 RUN LED check Table 9 2 RUN LED Check State Description Lit Norm
54. Example Program of 64DP M h h 64DP M unit restart request 4008 ser we Initialize the 64DP M unit restart request process Set 64DP M unit restart 64DP M unit restart request flag request flag 2 FNC 01 pyo7 Call subroutine P127 CALL Operate program for 64DP M Profibus DP system restart restarting 64DP M unit Watchdog Timer Error flag moe Ma3 SET M103 Initialize the process to reset the process for the recovery 64DP M watchdog timer out Set request flag for recovery Restart request flag for recovery of of Profibus DP system in 64DP M system 64DP M M103 K10 Operate interval timer for recovery of Profibus DP system in 64DP M T3 Reset restarts request flag RST M1 M for recovery of Profibus DP system in 64DP M FEND Main program end Subroutine Program PO Write output data of slave 1 to BFM 1060 1075 PO RUN monitor M8000 FNC 79 Write output data of slave 1 K K1 emm to BFM 1060 1075 WDT Reset the watchdog timer of FX2N PLC SRET Return to main program Subroutine Program P1 Read input data of slave 1 from BFM 100 115 P1 RUN monitor i FNC 78 po we Read input data of slave 1 FROM from BFM 100 115 eto Reset the watchdog timer of FX2N PLC SRET Return to main program i i WDT s MITSUBISHI 8 19 FX2N 64DP M Profibus DP Master Block Example Program 8 Figure 8 14 Example Program of 64DP M A i i
55. Expansion Trouble Area from BFM 2140 2159 2196 2210 s MITSUBISHI 8 17 FX2N 64DP M Profibus DP Master Block Example Program 8 Figure 8 14 Example Program of 64DP M 9 9 Error reset Received Diagnostic 4 Information flag X000 YOOO SET M91 Error reset start flag Mo CT2 510 Error Communication Trouble Detection flag T2 M31 RST M91 RST Y000 S J 4 Big M Diagnostic Message Clear X001 SET M92 Communication trouble Area clear start flag Communication Trouble TE n Clear End flag M1 M32 M92 c 2 op 4 3 FNC 40 ZRST D120 D159 h h Start the error reset process Set error reset start flag Set the Communication Trouble Detection Flag Reset flag Operate interval timer of the Communication Trouble Detection Flag reset flag Reset the Communication Trouble Detection Flag Reset flag Reset the Received Diagnostic Information flag Reset error reset request flag Start the Diagnostic Message Clear process Set Communication Trouble Area Clear Start flag Set the Communication Trouble Clear Reset flag Operate interval timer of the Communication Trouble Clear Reset flag Reset the Communication Trouble Clear Reset flag Reset Communication Trouble Area Clear Start flag Clear the diagnostic message in D120 D159 s MITSUBISHI FX2N 64DP M Profibus DP Master Block Example Program 8 Figure 8 14
56. G ext cfe FX2N 1HG short ctg FX2N 1PG Note If you select an installed module D and than press Add the selected module from the available list box will be inserted in the slot before D If you don t select any installed module will s MITSUBISHI FX2N 64DP M Profibus DP Master Block Example Program 8 When the device configuration has been entered click OK and the bitmap for that model is inserted into the graphical network layout The bitmap of the installed slave device is shown in the following dialog box Figure 8 13 Network layout Network Configuration 2 slave s installed 60 possible DP Network Layout Zoom PB92D Mode 0 re 0 2 Max F d Slave Group 1 1 FR Norm 2 E Slave Group 2 2 Min SS Ej ues Cancel Create POU s MITSUBISHI 8 10 FX2N 64DP M Profibus DP Master Block Example Program 8 8 4 Example Program Figure 8 14 page 8 11 8 22 is an example program for 64DP M in the FX2n PLC Figure 8 15 page 8 23 is an example program in the FXon PLC For FXon 32NT DP refer to the FXon 32NT DP User s Manual For an explanation of each instruction refer to FX Programming Manual Il Figure 8 14 Example Program of 64DP M Initial pulse 8002 01 CALL P125 Restart system interval Restart system interval
57. Ha FNC 79 K2181 H0228 Set the global control TO command in BFM 2181 Global Control Area Siaya 2 Object group Group 2 enar tag Global control FREEZE and SYNC Set flag of FREEZE and SYNC for group 2 P1 SET M21 M21 M34 E di FREEZE and SYNC flag 1 Reset flag of FREEZE and for group 2 SYNC for group 2 SET M94 eG Global Control Request JI op 4 M110 M131 M7 M12 M34 M94 Reset Global Control Request flag Group 2 access flag EE FNC 01 Call subroutine P1 write CALL output data to BFM 1076 1091 Set Output Data Send ET M481 p 9 Request flag of slave 2 e e s MITSUBISHI 815 FX2N 64DP M Profibus DP Master Block Example Program 8 Figure 8 14 Example Program of 64DP M e e Communication valid flag Group 2 access request flag Global Control End flag M110 M131 M7 M12 M341 E SE MA EI 1 nei aed Slave 2 error Group 2 access flag flag FNC 79 K K2181 H02 1 Output Data Send Error flag of slave 2 M110 M131 M7 M12 M411 ri Retry counter for accessing group 2 Retry request flag for accessing group 2 M110 M131 M16 M481 M411 C2 c P di Output Data Send Request flag of slave 2 Reset Output Data Send Request flag of slave 2 Set the global control command in BFM 2181 Global Control Area Object group Group 2 Global control UNFREEZE and UNSYNC Set Global Control Request flag Set G
58. I 84 FX2N 64DP M Profibus DP Master Block Example Program 8 3 Network configuration When clicking on the Define l O Slaves button a symbolic graphical display of the network comes up which contains only the master station and the ProfiMap PC with the currently selected connection to the master station Figure 8 6 Insert New Insert DP Slave Network Configuration 0 slaves installed 60 possible DP Network Layout r oom PB82D Mode 0 A 0 E Max ak Insert DP Slave Delete DE Slave 1 Norm Modify Settings Min posuer Create POU Right click within the graphical network configuration editor and select Insert DP Slave to access the Device Database s MITSUBISHI 8 5 FX2N 64DP M Profibus DP Master Block Example Program 8 After having selected a group in the window Device Database a list of all slave models assigned to the respective group is displayed For the selected slave the vendor and revision string the path of the GSD file along with a thumbnail image of the bitmap and the bitmap file are displayed a Setting of FXon 32NT DP When PLC is selected in Slave Device Group the GSD Device Database dialog box appears as shown below Figure 8 7 Select Slave module GSD Device Database 16 GSD devices Note Only DP slave devices are visible within this dialog sorted by group vendor and model name Slave Device Group V
59. Master Block FAX BACK Mitsubishi has a world wide reputation for its efforts in continually developing and pushing back the frontiers of industrial automation What is sometimes overlooked by the user is the care and attention to detail that is taken with the documentation However to continue this process of improvement the comments of the Mitsubishi users are always welcomed This page has been designed for you the reader to fill in your comments and fax them back to us We look forward to hearing from you Fax numbers Your MAME Mitsubishi Electric a i a e e a a e a e eE America 01 847 478 2283 Your Company ade see eher ode dee ines eruta ees Australia O2 638 7072 xiigtuveevsitadensmadi vad aaa AKA T EEEE Ea Germany 0 21 02 4 86 1 12 Your locatio irean South Africa 0 27 11 444 0223 United Kingdom 01707 278 695 Please tick the box of your choice What condition did the manual arrive in LlGood LlMinordamage LlUnusable Will you be using a folder to store the manual LlYes LINo What do you think to the manual presentation LlUnfriendly Are the explanations understandable lYes LINot too bad LlUnusable Which explanation was most difficult to understand ssss Are there any diagrams which are not clear OYes ONo IF SO 2 eerte eet e ea ree re ou Row e a What do you think to the manual layout LlGood ONot too bad LlUnhelpful If ther
60. N 64DP M Profibus DP Master Block Example Program 8 Figure 8 4 Project Config Module Access Module Profibus DP amp A S J71 PB92D A Check Unit Start DP Stop DP Write to AJ71 Device Database Master Parameter i i Verify When clicking on the Master Parameter button the master setting window opens For master setting refer to next page 2 Master parameter When clicking on the Define I O Slaves button the network configuration window opens For network configuration refer to 3 Network configuration When clicking on the Write to AJ71 button this project data is downloaded to 64DP M s MITSUBISHI 83 FX2N 64DP M Profibus DP Master Block Example Program 8 2 Master Setting Within the Master parameters the baud rate different addresses and other parameters for the 64DP M can be set Figure 8 5 Master Setting Master Settings Module aa 5 J71PB92D I O Made 15 71 71 Vendor MITSUBISHI ELECTRIC CORPORATION Revision p Aa PB92D Mode 0 Baudrate 1500 Mbps FDL address p 0 125 Head address on foo 0 0 0 Get Error action flag Goto Olear State Min slave interval 20 1 65535 100 us Polling timeout po 1 65535 1 ms Data control time 100 1 65535 10 ms Download Selection Use GPU Network Select Port Default Bus Param s MITSUBISH
61. NNNNN NNNNNN Slave No 123 Slave No 108 Slave No 107 Slave No 86 1 This 64DP M has total 38 slaves No 1 14 19 85 107 2 This 64DP M has total 32 slaves No 15 17 56 84 8 This 64DP M has total 53 slaves No 18 20 55 108 123 1 7 s MITSUBISHI FX2N 64DP M Profibus DP Master Block Introduction 1 Note In Configuration that use multiple master stations multimaster configuration when reconnecting a cable after disconnecting a PROFIBUS cable for 1 master that is exchanging data at allow baud rate the communications of the master for which the cable is not disconnected could stop and the slave output could be turned OFF To prevent this the master PROFIBUS cable must be secured In addition there is a high possibility that the above phenomena can be avoided if care is taken with the following points when configuring a system 1 Set the slave watchdog timer setting value to larger than TTr x G BR However TTr Target token rotation time Unit Bit Time G Gap update factor BR Baud rate Unit bps 2 Use a high baud rate 3 The HSA Highest Station Address value is made to match the maximum station No that is actually connected s MITSUBISHI 1 8 FX2N 64DP M Profibus DP Master Block Introduction 1 1 3 2 1 4 Applicable Programmable Controller For setting up a system the 64DP M can be connected directly to the FX2N series programmable controller s extension po
62. P M needs power to be supplied from an FX2N series PLC or external power supply Caution When the 64DP M is supplied with 24V DC from external power supply this external power supply needs to be started up at same time as the FX N series PLC If this external power supply is late to start up FX2n series PLC could be down Figure 2 4 Power Supply From PLC FX2N Series PLC FX2N 64DP M Figure 2 5 Power Supply From External Power Supply External power supply rf O 24V FX2N 64DP M FX2N Series PLC a MITSUBISHI 2 3 FX2N 64DP M Profibus DP Master Block Wiring and Mounting 2 2 2 4 Wiring of Profibus DP To connect the 64DP M to a Profibus DP network use only the Profibus connectors and shielded twisted pair cable complying with EN50170 For Profibus connectors see the Profibus connector manual Figure 2 6 Wiring External power supply or the For Profibus connection service power supply of PLC refer to Figure 2 7 Shielded twisted pair cable complying with EN50170 to Profibus DP network RS 232C connector for connecting configuration software ProfiMap FX2N 64DP M Grounding plate Profibus DP Master Grounding resistance of eee 100 Q or less o For noise prevention please attach at least 50 mm Class D 1 97 of the twisted pair cable along the grounding plate to which the ground terminal is connected Figure 2 7 Profibus Connection Sh
63. Request flag Call subroutine PO write output data to BFM 1060 1075 Set Output Data Send Request flag of slave 1 Reset Output Data Send Request flag of slave 1 Set the global control command in BFM 2181 Global Control Area Object group Group 1 Global control UNFREEZE and UNSYNC Set Global Control Request flag Set Group 1 access flag Reset retry counter for accessing group 1 Reset Output Data Send Request flag of slave 1 Reset Output Data Send Error flag of slave 1 Operating retry counter for accessing group 1 Set error flag for accessing group 1 Set retry request flag for accessing group 1 a MITSUBISHI FX2N 64DP M Profibus DP Master Block Example Program 8 Figure 8 14 Example Program of 64DP M d d Communication valid flag Retry request flag for accessing group 1 Output Data Send Error flag of slave 1 M110 M130 M15 M480 M410 cn zer Slave 1 error Retry counter T5 flag for accessing SET M480 Set Output Data Send group 1 Request flag of slave 1 Operate interval timer A Output Data Send Request flag of slave 1 Reset retry request flag for RST M15 accessing group 1 Global Control End flag Md iis o MM 1 RST M94 Reset Global Control Request flag Group 1 access flag ENC 01 CALL Call subroutine P1 Read input data from BFM 100 115 Group 2 access request flag X Reset Group 1 access flag M110 M131
64. Request flag BFM 2 Bit 13 ON gt OFF For the Restart Request flag refer to subsection 4 3 6 Turn power supply of the 64DP M and programmable controller OFF ON a MITSUBISHI 4 8 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 7 Communication READY flag lt BFM 1 Bit 11 gt The Communication READY flag can be used as an interlock when the Exchange Start Request flag BFM 2 Bit 0 turn ON by a TO instruction This flag is turned ON when the status of the 64DP M can communicate to slaves on the DP network after the 64DP M has started up and the Module READY flag BFM 1 Bit 13 has turned ON This flag is turned OFF when an error occurs in the 64DP M and it is impossible to communicate with slaves on the DP network 1 When this error occurs the FAULT LED will be ON For checking point of the FAULT LED refer to chapter 10 Co Module READY flag BFM 1 Bit 13 gt The Module READY flag can check that the 64DP M has started up If this flag is OFF the 64DP M cannot receive FORM TO instructions form the programmable controller or communicate to slaves on the DP network This flag is turned ON when the 64DP M is started up Therefore it is turned ON regardless of the operation mode This flag is OFF when the 64DP M is powered down s MITSUBISHI 4 9 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 3 Communication Control Flags lt BFM
65. Slave Slave Slave Slave Repeater No 1 No 2 No 3 No 17 No 18 E a ni Panesar Slave Save Slave Slave 19 20 34 35 E E Slave Save Slave Slave now No 36 No 37 No 43 No 44 1 Communications can be conducted via a maximum of 3 repeaters from an arbitrary master or arbitrary slave to an arbitrary master or arbitrary slave However the whole network can contain more than 3 repeaters s MITSUBISHI 1 6 Introduction 1 FX2N 64DP M Profibus DP Master Block 4 Connecting 126 stations 3 masters 60 slaves or more on the Profibus DP network Please see Note on the next page Connecting 126 Stations 3 Masters 60 Slaves or More on the Profibus DP Network Figure 1 6 FX2N 64DP M FX2N 64DP M FX2N 64DP M Master of Class 1 No 126 3 Master of Class 1 No 125 2 Master of Class 1 No 124 1 Terminating resistor i i iif i iif i if i ii I i i i I LLL o 2 SE n FX2N Series NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN o 2 SE n D o pun D E x o H N x Ui P M A Slave No 14 Slave No 15 NNNNNN NNNNNN NNNNNN NNNNNN NNNNNN NNNNNN MOOS Slave No 17 Slave No 18 Slave No 1 Profibus DP Network Slave No 55 Slave No 56 Slave No 19 Slave No 20 NNNNNN Slave No 84 Slave No 85 Slave No 57 Ui P A Ui M M A Ui i LLL NNNNNN NNNNNN N
66. Y LED ON when the Profibus DP network subscription preparation is completed and during subscription FROM TO LED ON when a FROM TO instruction from the programmable controller is operating a MITSUBISHI 3 2 FX2N 64DP M Profibus DP Master Block Specifications 3 Table 3 3 Performance Specifications Item Specifications ON PARAMETER SET when in the parameter setting mode When PRM SET LED flashing during normal operation the parameter is not written RSP ERR LED ON when a communication error occurs FAULT LED ON when an error occurs indicators TEST LED ON when self diagnosis is executing Displays the station address during normal operation Binary STATION EED Displays the test type during a self diagnosis BO to B6 Note 1 When using a slave with expansion diagnostic information of more than 32 bytes the network will be limited Maximum expansion diagnostic information data length is the smaller of the value obtained from a slave address by the following equation or 244 bytes Maximum expansion diagnostic information data length bytes 12600 N 10 or 244 1 The value of N is the smaller of the value obtained by the following equation or 300 N Max slave address value Min slave address value 1 x 5 or 300 In this case please try the following things 1 Make the slave address consecutive number if possible It is not possible to
67. ag is turned ON when the global control has finished after the Global Control Request flag BFM 2 Bit 4 is turned ON by a TO instruction This flag is turned OFF when the Global Control Request flag is turned OFF For the Global Control refer to chapter 5 Figure 4 4 Global Control End Exchange Start End flag BFM 0 000 H Bit 0 Sus Global Control Request flag BFM 2 002 H Bit 4 N Global Control End flag BFM 0 000 H Bit 4 Tone FROM TO instruction for the Global Control gt user program Automatically by 64DP M Note The Global Control Request flag BFM 2 Bit 4 is turned OFF by a TO instruction after it has been confirmed that the Global Control End flag BFM 0 Bit 4 has turned ON The Global Control Request flag BFM 2 Bit 4 cannot operate if the Exchange start End flag BFM 0 Bit 0 is OFF In this case the Global Control End flag BFM 0 Bit 4 and the Global Control Error End flag BFM 0 Bit 5 will turn ON s MITSUBISHI 47 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 5 Global Control Error End flag lt BFM 0 Bit 5 gt The Global Control Error End flag can check that the global control service does not operate This flag is turned ON when the global control service does not operate This flag is turned OFF when the Global Control Request BFM 2 Bit 4 turned ON OFF For global control refer to chapter
68. al Operation Unlit The watchdog timer timed out Please contact a service representative 3 SD RD LED check Table 9 3 SD RD LED Check State Description If 64DP M is the exchange start processing or exchange stop processing status this Lit state of LED is normal operation However when 64DP M exchange to slave s check parameter setting of slave in 64DP M Flashing 64DP M exchanges data to the slave s Unlit 64DP M does not exchanges data to the slave s Check correctly state of the Exchange start end flag BFM 0 bit 0 4 TOKEN LED check Table 9 4 Token LED Check State Description Lit 64DP M is in operation mode 0 or E Flashing 64DP M is in operation mode 0 or E with a multi master configuration 64DP M is in not operation mode 0 or E Check mode switch wiring address setting Unlit about duplicate address and if the HSA exceeds the network maximum station Number 5 RADY LED check Table 9 5 RADY LED Check State Description Lit 64DP M is in operation mode 0 or E If it is not in these mode please contact a service representative Unlit 64DP M is not operation mode 0 or E If it is in these mode please contact a service representative 6 FROM TO LED check Table 9 6 FROM TO Check State Description Lit BFM in 64DP M is accessed from PLC Unlit BFM in 64DP M is not accessed from PLC Please check pr
69. annel No 1st byte of 3rd channel related diagnostic information Identifier No Figure 4 34 Identifier Number First Byte Data 15 re n Identifier Number 0 63 Bit 6 is fixed OFF 0 and Bit 7 is fixed ON 1 These bits shows that this information is the Channel Related Diagnostic Information Figure 4 35 Channel Number Second Byte Data er refe ee Channel Number 0 63 Input Output Status of this channel Bit 7 6 0 0 Reserved Bit 7 6 0 1 Input only module Bit 7 6 1 0 Output only module Bit 7 6 1 1 Input and Output module a MITSUBISHI 4 38 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 Figure 4 36 Error Status Third Byte Data 65 srs re n Error Status Bit 0 4 KO Reserved Bit 0 4 K1 Shrt circuit Bit 0 4 K2 Voltage too low Bit 0 4 K3 Voltage too high Bit 0 4 K4 Overload Bit 0 4 K5 Temperature too high Bit 0 4 K6 Disconnected wire Bit 0 4 K7 Upper limit exceeded Bit 0 4 K8 Lower limit exceeded Bit 0 4 K9 Error Bit 0 4 K10 15 Reserved Bit 0 4 K16 31 Manufacturer Channel type Bit 7 6 5 0 0 0 Reserved Bit 7 6 5 0 0 1 Bit Bit 7 6 5 0 1 0 2 bit Bit 7 6 5 0 1 1 4 bit Bit 7 6 5 1 0 0 byte Bit 7 6 5 2 1 0 1 word
70. ation of Buffer Memories BFMs 4 Figure 4 20 Input Data Area and Output Data Area BFM Address BFM Address Upper byte Lower byte Bit O 100 064 H 100 064 101 065 H 102 066 H 103 067 H 104 068 H This area is HUS not used 109406 this system 107 06B H 101 065 H 102 066 H 105 069 H 106 06A H configuration 1059 423 H s This slave does not have 1st station 7 1059 423 output _ 77 1060 424 H 1060 424 H 1061 425 H 4th byte 2 station 1062 426 H Not used 1062 426H 8 Ju oe eee cur e ik 1063 427 1063 427 H Not used This area is 1064 428 H Not used not used in this system 2019 Configuration 2019 7E3 Figure 4 21 System configuration of Example FX2N 32MR FX2N 64DP M Slave address No 10 Slave address No 5 Input data length 7 bytes Input data length 3 bytes Output data length 5 bytes Output data length 0 bytes a MITSUBISHI 4 28 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 18 Communication Trouble Area lt BFM 2140 2179 gt Read Only This Communication trouble area can check the Diagnostic Information of a slave when a communication error occurs on the DP network in this case the Communication Trouble Detection flag BFM 0 Bit 1 will be ON When some kind of error occurs on the DP network Diagnos
71. ays the test LED type during self diagnosis BO B6 g Hook for mounting DIN rail h PROFIBUS DP port 9 pin D SUB Connector 4 40unc inch screw thread i Groove for mounting DIN rail DIN 46277 DIN rail width 35mm 1 38 gt j DC power supply terminals screws terminal Mode setting switch Default setting 0 For mode refer to Chapter 4 Table 1 3 Mode Switch Switch No Mode 0 ONLINE1 Normal service mode 1 PRM SET Parameter setting mode 2 TEST Self diagnostic mode 3 D Cannot use ONLINE2 Extended service mode F Cannot use l port for extension cable 1 21 Pin configuration of Profibus DP Connector The connector is a 9 pin D SUB 4 40unc inch screw thread type the pin configuration is shown below Figure 1 2 Pin Layout of Profibus DP Connector Table 1 4 Profibus DP Connector Pin Configuration Signal Pin No Name Meaning 3 RXD TXD P Receive transmit Data P 5 DGND Data Ground Assigned 7 o Not assigned 6 VP Voltage Plus 8 RXD TXD N Receive transmit Data N p NC Pin not assigned s MITSUBISHI 1 3 FX2N 64DP M Profibus DP Master Block Introduction 1 1 3 System Configuration 1 3 1 Applicable Profibus DP Network The maximum number of slaves that can be connected to a 64DP M is 60 Number that can be connected for 1 segment Masters slaves repeat
72. change mode flag M31 FNC 78 mo EE 8 FNC 15 ay 00 020 Ke Set KO to BFM 21 Swap byte order See FXON 32NT DP User s Manual Set K1 to BFM 27 Slave address See FXoN 32NT DP User s Manual Set MO M7 to BFM 28 User diagnosis See FXoN 32NT DP User s Manual Read the Error status from BFM 29 See FXoN 32NT DP User s Manual Read the Data exchange status bit from BFM 20 See FXoN 32NT DP User s Manual Check the Data exchange status bit When FXON 32NT DP is in data exchange mode M31 is turned ON See FXoN 32NT DP User s Manual Read the following status from BFM 22 25 D22 Length of send data BFM 22 D23 Length of received data BFM 23 D24 Baud rate BFM 24 D25 DP module communication status BFM 25 See FXoN 32NT DP User s Manual Read input data from BFM 0 15 See FXoN 32NT DP User s Manual Reset the watchdog timer of FXON PLC Copy 2 words input data DO D1 to output data D20 D21 Write output data to BFM 0 15 See FXoN 32NT DP User s Manual Reset the watchdog timer of FXON PLC Program End a MITSUBISHI 8 23 FX2N 64DP M Profibus DP Master Block Example Program 8 MEMO s MITSUBISHI 8 24 FX2N 64DP M Profibus DP Master Block Diagnostics 9 9 Diagnostics If the 64DP M does not see to operate normally check the following items 9 1 Preliminary Checks 1 Check POWER LED If POW
73. changed to KO the 64DP M will restart However interval of 1 second or more is necessary when the Master Reset is changed to KO When finished in the test mode or parameter mode reset the power supply for PLC and 64DP M Table 4 10 Master Reset Value Description 64DP M will restart Do not access 64DP M for 1 second by FROM TO instruction at when 64DP M is restarting gt 64DP M stop to access Profibus DP system KO 5 An interval of 1 second or more is necessary when the Master Reset is changed to KO Caution The 64DP M restarts when the value of this buffer memory changes to KO Therefore please do not access this buffer memory when it is not necessary to restart or change the test mode and the parameter set mode Initial Data Set lt BFM 28 gt Read Write The Initial Data Set buffer memory is used to check that the initial data for output to slaves on the DP network has finished to write to the Output Data Area buffer memory BFM 1060 BFM 22019 A value of 1 is written to this BFM when the initial contents of the Output Data Area is for all slaves after these status flags BFM 29 Bit 14 15 are turned ON When these flags are ON a value of 0 is written to this BFM and the Exchange Start Request flag BFM 2 Bit 0 is turned ON At this time the Exchange Status Request flags are turned OFF For status flags BFM 29 Bit 14 15 refer to se
74. communicate normally with the slave when the maximum diagnosis information data length Max Diag Data Len has been decided by the slave s GSD file is larger than the value obtained by the above expression 2 Change setting so that this value may become small if the maximum diagnosis informa tion data length on the slave side can be set 3 Reduce connected number of the slave Note 2 Length that the bus can be expanded by using repeaters Maximum Bus Length Number of repeaters 1 x Bus Length segment Table 3 4 Maximum Bus Length and Baud Rate Baud Rate bps Maximum Bus Length No repeater 1 repeater 2 repeaters 3 repeaters 9 6k 19 2k 93 75k 1 200 m 3 9377 2 400 m 7 8747 3 600 m 11 8117 4 800 m 15 748 187 5k 1 000 m 3 281 2 000 6 562 3 000 9 843 4 000 m 13 123 500k 400 m 1 312 800 m 2 625 1 200 8 937 1 600 m 5 249 1 5 M 200 m 656 400 m 1 312 600 m 1 969 800 m 2 625 3M 6M 12M 100 m 328 200 m 6567 300 m 9847 400 m 1 312 s MITSUBISHI 3 3 FX2N 64DP M Profibus DP Master Block Specifications 3 MEMO s MITSUBISHI 34 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 1 Allocation of Buffer Memories BFMs Buffer Memories BFM Lists Table 4 1 Buffer Memory BFM List
75. controlled by the user program in Slave Data Consistency Mode Input Data Area BFM 100 1059 Output Data Area BFM 1060 2019 4 This process can be controlled by the user program with the Global Control Function Note In the update of the data between 64DP M and the slave the data consistency can usually be kept to only the units of a single word Therefore 64DP M has Slave Data Consistency Mode and Global Control Function Refer to the table below for consistency of sending receiving data and the relation of each function Table 4 6 Consistency of Exchanged Data Using Function E A Sending Data Receiving Data Using Slave Data Consis Using Global Control To Slave From Slave tency Mode Function Single word data v Multiple word data Single word data Slave data Slave data consistency consistency Single word data slave m consistency a MITSUBISHI 4 13 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 5 1 Slave Data Consistency Mode Process The Slave Data Consistency Mode process is shown in Figure 4 8 When sending output data to the slave the Output Data Send Request flag is turned ON When output data has been stored in the send buffer the Output Data Sending End flag is turned ON by 64DP M In this case the output data of the 64DP M will be sent to the slave If an error occurs t
76. ction 4 8 Caution This process is necessary for the 64DP M to communicate correctly with the slaves on the DP network If the Exchange Start Request flag is turned ON before the initial data is prepared in the 64DP M it will communicate incorrectly with slaves on the DP network a MITSUBISHI 4 18 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 8 4 9 4 10 4 11 4 12 Master Status lt BFM 29 gt Read Only The Master Status buffer memory is allocated as shown on the following table Table 4 11 Master Status lt BFM 29 01D H gt Bit No Name Description ON when the value of the Master Reset buffer memory Bit 0 Master Reset Status flag BEM 27 is 1 Biti 7 Notused Bit 8 BFM Access Error flag ON when accessing the buffer memory of Not used Communication Stop Timer Timed Up flag Bit 10 11 Not used Bit 9 ON when the Communication Stop Timer is timed up ON when writing to the Communication Control flags Writing Communication Control buffer memory BFM 2 by TO instruction This flag uses Status flag an interlock for exclusive assessing to the Communication Control flags buffer memory Bit 12 Bit 13 Not used ON when the 64DP M finishes to set initial data for output Bit 14 Initial Output Data Set flag of the slaves OFF when writing O to the Initial Data Set buffer memory BFM 28 ON when the
77. d to header and diagnostic information Please see Figure 4 29 for the constitution of the header byte Figure 4 28 Device Related Diagnostic Information BFM Address Upper Byte Lower Byte Information Data Header 2nd Byte 1st byte Information Data Information Data 2198 896 H 2199 897 H 4th Byte 3rd Byte Device Related Diagnostic Information length 2 63 bytes Both bits are fixed OFF 0 These bits shows that this information is the Device Related Diagnostic information s MITSUBISHI 4 36 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 2 Identifier related diagnostic information For slave modules whether or not a module error has occurred is stored as bit information The identifier related diagnostic information can be divided to header and diagnostic information Please see Figure 4 30 for the constitution of the header byte and Figure 4 31 for the constitution of the diagnostic information For identifier number refer to subsection 4 18 3 4 Figure 4 30 ldentifier Related Diagnostic Information BFM Upper Byte Lower Byte Information Data Header 2nd Byte 1st Byte Information Data Information Data 4th Byte 3rd Byte Last device related diagnostic information area Figure 4 31 Header Byte for Identifier related Diagnostic Information Identifier Related Diagnostic Information area length 2 63 bytes Bit 6
78. e one thing you would like to see improved what is it seseeeee Could you find the information you required easily using the index and or the contents if possi ble please identity your experience rper repetere eei or dern pua ze Po Thank you for taking the time to fill out this questionnaire We hope you found both the product and this manual easy to use a MITSUBISHI i FX2N 64DP M Profibus DP Master Block s MITSUBISHI FX2N 64DP M Profibus DP Master Block Guidelines for the Safety of the User and Protection of the FX2N 64DP M Profibus DP Master Block This manual provides information for the use of the FX2N 64DP M Profibus DP Master Block The manual has been written to be used by trained and competent personnel The definition of such a person or persons is as follows a Any engineer who is responsible for the planning design and construction of 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
79. endor Mitsubishi Electric Corp x Revision MEU GER V1 02 Available Slave Systems 1 Bitmap FXON 32NT DP GSD DDB File 2 esd Bitmap File e o When a FXoN 32NT DP is selected and the OK button has been pressed the Slave Parameter Settings dialog box appears as shown below Figure 8 8 Slave Parameter Settings Slave Parameter Settings Model FXON 32NT DP Revision Vendor Mitsubishi Electric Corp MEU CGERVIO 7 Slave Properties Slave Groupi 7 FDL Address fis 0 126 Watchdog WatchugE time 65525 10 me min T_sdr Group identification number Gp1 Gp2 Grp4 Gp5 T Gp Grp8 Active Syne Output Freeze Addresses in MELSEC CPU Memory Input GPU Device None Em 0 0 Output CPU Device None eee oo OK Default User Param a MITSUBISHI 8 6 FX2N 64DP M Profibus DP Master Block Example Program 8 When an FXoN 32NT DP module is selected the type of module can be defined after clicking on lt SELECT MODULES This button is enabled depending on the GSD file of the selected Profibus DP slave The following dialog box is displayed Figure 8 9 Select Modules Configuration Slave Modules Info 2 Modules installed 4 are possible Max Data size 64 Byte s VO usage 82 82 Byte s Max I O sizes 82 29 Bytes User_Prm_Data usage
80. eo olla Rn en i oc rsen ad 8 1 8 2 Contents of Operation sic isc ert e iere ten ek cus Ee a du ERE endi 8 1 9 32 Parameter Settlhigz e epic rt tud ee ace 8 2 9 4 Example eatem poc 8 11 SEDISUOSUCS dte eon bL a oe 9 1 9 4 Preliminary Checks arte Dei Lek REPE ede Rd 9 1 9 2 Check the Status of the LEDs for the 64DP M 9 2 9 3 Self Diagnostic of the 640 9 4 9 4 Diagnostic Information and Error Code 9 4 Appendix A Further Information Manual List A 1 s MITSUBISHI ix FX2N 64DP M Profibus DP Master Block s MITSUBISHI FX2N 64DP M Profibus DP Master Block Introduction 1 1 1 Introduction Features of the 64DP M The FX2N 64DP M Profibus DP Master Block hereafter called 64DP M is a Class 1 master for the Profibus DP network hereafter called DP network The FX2N series programmable controller by connecting 64DP M can read input data from the Profibus DP slave hereafter called DP slave and write output data to the DP slave Controlled maximum slaves A 64DP M can control a maximum of 60 slaves using repeaters on the DP network For system configuration of the DP network refer to section 1 3
81. ers lt 32 units Number of units that can be connected to the entire network using repeaters Masters slaves lt 126 units Communications can be conducted via a maximum of 3 repeaters from an arbitrary master or arbitrary slave to an arbitrary master or arbitrary slave However the whole network can contain more than 3 repeaters See note above Note When using a slave with expansion diagnostic information of more than 32 bytes the network will be limited Maximum expansion diagnostic information data length is the smaller of the value obtained from a slave address by the following equation or 244 bytes Maximum expansion diagnostic information data length bytes 12600 10 or 244 1 The value of N is the smaller of the value obtained by the following equation or 300 N Max slave address value Min slave address value 1 x 5 or 300 Note It is not possible to communicate normally with the slave when the maximum diagnosis information data length Max Diag Data Len has been decided by the slave s GSD file is larger than the value obtained by the above expression In this case please try the following things 1 Make the slave address consecutive number if possible 2 Change setting so that this value may become small if the maximum diagnosis informa tion data length on the slave side can be set 3 Reduce connected number of the slave a MITSUBISHI 1 4 FX2N 64DP M Profibus DP Master
82. etworks Software s MITSUBISHI A 1 FX2N 64DP M Profibus DP Master Block Appendix A MEMO s MITSUBISHI A 2 USER S MANUAL FX2N 64DP M Profibus DP Master Block s MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE MITSUBISHI DENKI BLDG MARUNOUCHI TOKYO 100 8310 TELEX J24532 CABLE TOKYO HIMEJI WORKS 840 CHIYODA CHO HIMEJI JAPAN Effective MAR 2001 JY992D88001B Specification are subject MEE to change without notice
83. fibus DP Master Block Allocation of Buffer Memories BFMs 4 4 2 Communication Status Flags lt BFM 0 BFM 1 gt Read Only The Communication Status flags are allocated as follows Table 4 2 Communication Status Flags Read Only BFM No Bit No Name Description Bit 0 Exchange Start End flag Refer to 1 Bit 1 Communication Trouble Detection flag Refer to 2 Bit 2 Communication Trouble Area Clear End flag Refer to 3 Bit 3 Not used Bit4 Global Control End flag Refer to 4 Bit 5 Global Control Error End flag Refer to 5 Bit6 12 Not used Bit 13 Watchdog Timer Error flag Refer to 6 Bit14 15 Bito 10 Not used Bit 11 Communication READY flag Refer to 7 aot b Bit 12 Not used Bit 13 Module READY flag Refer to 8 Bit 14 15 Not used s MITSUBISHI 43 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 1 Exchange Start End flag BFM 0 Bit 0 gt This Exchange Start End flag can be used as an interlock for programmable controller write read output data and Input data to from 64DP M This flag is ON when the 64DP M exchanges data with slave on the DP network This flag is turned ON when the Exchange Start Request flag BFM 2 Bit 0 is turned ON by a TO instruction This flag is turned OFF when Exchange Start Request flag is turned OFF by a TO instruction or when an error occurs that stops the exchange of da
84. he Output Data Send Error flag is turned ON For allocation of the Output Data Send Request flags refer to Table 4 7 For allocation of the Output Data Sending End flags refer to Table 4 8 For allocation of the Output Data Send Error flags refer to Table 4 9 Figure 4 8 Slave Data Consistency Mode Process Writes the data to the output area by Bi TO instruction write gt of the slave at this time Write gt N EL Output Data Send Request flag Output Data Sending End flag ae cere oe user program Automatically by 64DP M Note Output data is not stored in the send buffer unless the Output Data Request flag is ON The data is written only to the Output Data area BFM 1060 2019 See Figure 4 7 s MITSUBISHI 4 14 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 5 2 4 5 3 Output Data Send Request Flags lt BFM 11 14 gt Read Write These buffer memories are allocated to the Output Data Send Request flags When sending output data to the station the bit which corresponds to the Output Data Send Request flag is turned ON Allocation of the Output Data Send Request flags is shown in the following table For further information on this flag refer to subsection 4 5 1 Table 4 7 Allocated Output Data Send Request Flags BFM 11 14
85. he bit which corresponds to the Output Data Send Error flag is turned ON Allocation of the Output Data Send Error flags is shown in the following table For further information on this flag refer to Figure 4 9 4 11 Table 4 9 Allocated Output Data Send Error Flags BFM 19 22 gt BFM No Bit No Station No BFM No Bit No Station No Bit 0 1 Bit 0 33 Bit 1 2 Bit 1 34 BFM 11 ee 13 B 39 Bit 15 16 Bit 15 48 Bit 0 17 Bit 0 49 Bit 1 20 Bit 1 50 Bit 2 21 Bit 2 51 BFM 12 BFM 14 Bit 11 60 Bit 15 32 Bit 12 15 Not used Situations when the Output Data Send Error flag is turned ON 1 When the Output Data Send Request flag is turned ON by a station which does not exist Output Data Send Error flag for that station is turned ON 2 When the Output Data Send Request flag is turned ON by a station which does not have output Output Data Send Error flag for that station is turned ON 3 When making mistake as like Figure 4 9 4 11 in Slave Data Consistency Mode process Output Data Send Error flag for that station is turned ON n Figure 4 9 and 4 11 case output data will not be stored to send buffer incorrectly Check user program about this process before this operation should be done to the error station again In Figure 4 10 case output data will be stored to send buffer correctly But check
86. his free area is 00 hex code Figure 4 16 Example of Output Data Area Using Normal Service Mode Upper byte 2nd byte BFM Address 1060 424 H 1st station 1075 433 H 1092 444 H 1107 453H 1076 434 2nd station 1091 443 H 444 H 3rd station 2004 7D4 H 60th station 2019 7E3 H 1060 424 H 425 H 426 H 1063 427 H 1061 1062 1069 42C H 20th byte 19th byte 1070 420 H X 1075 433 1076 434 H Lower byte Bit 0 Ath byte 7th byte 9th byte 2nd byte 1st byte 1077 435 4th byte 3th byte s MITSUBISHI 4 25 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 16 2 Extended Service Mode lt Mode Switch E gt This area is assigned in variable length according to the parameter file set in the configuration software ProfiMap The data length can be set in the range of 0 244 bytes The number of stations that can be set will vary in the range of 1 60 However this Output Data Area is 1920 bytes 32 bytes x 60 stations 1920 bytes for all slaves The value of this free area is OO hex code Example An example is shown below where the output data length of the 1st station is 23 bytes and the output data length of the 2nd station is 7 bytes Figure 4 17 Example of Output Data Area Using Extended Service Mode BFM Address BFM Address Upper byte Lower byte Bit 0 1060
87. icates a special point which the user of the associate software element should be aware of 6 Indicates a point of interest or further explanation s MITSUBISHI v FX2N 64DP M Profibus DP Master Block Under no circumstances will Mitsubishi Electric be liable responsible for any consequential damage that may arise as a result of the installation or use of this equipment All examples and diagrams shown in this manual are intended only as an aid to understanding the text not to guarantee operation Mitsubishi Electric will accept no responsibility for actual use of the product based on these illustrative examples e Owing to the very great variety in possible application of this equipment you must satisfy yourself as to its suitability for your specific application s MITSUBISHI vi FX2N 64DP M Profibus DP Master Block Table of Contents CUICISIING Ol Safety Gee thks CN 1 1 dat Features of the 64D P M deh en Fa dene 1 1 1 2 External Dimensions and Each part 1 2 1 2 1 Pin configuration of Profibus DP Connector ssssseeeeeenn 1 3 1 3 System Configuration sedato eo utei aieo dex dum UR e E Od deste 1 4 1 3 1 Applicable Profibus DP Network 1 4 1 3 2 Applicable
88. ielded twisted pair cable to Profibus DP network FX2N 64DP M Profibus DP Master Block 2 2 5 Terminating resistor The units at each end of the Profibus DP network must have a terminating resistor This will either be in the master or slave unit or in the Profibus connector However the 64DP M does not have a terminating resistance built in s MITSUBISHI 24 FX2N 64DP M Profibus DP Master Block Specifications 3 3 Specifications 3 1 General Specifications Table 3 1 General Specifications Items Description General specifications excluding Dielectric Withstand Voltage those OF eA 500 V AC 1 min tested between DC power supply terminals and earth Complies With UL508 Dielectric Withstand Voltage 3 2 Power Supply Specifications Table 3 2 Power Supply Specifications Items Description External Power Supply 250 mA at 24 V DC Internal Power Supply 30 mA at 5 V DC supplied via extension cable s MITSUBISHI 34 FX2N 64DP M Profibus DP Master Block Specifications 3 3 3 Performance Specifications Table 3 3 Performance Specifications Item Specifications Transmission Type Bus network Unit type Profibus DP master Class 1 Transmission Data Maximum Exchanged Data Length Maximum Number of Repeaters Network Maximum Number of Stations Segment ONLINE1 Normal service mode 32 bytes
89. ing cycle time 2 the higher value of MSI or 2 Pt Slave i Tsdi M Lr Explanation of MSI Pt Slave i Treq i Max Tsar i Tres i Tsdi M Lr see following table Table 1 6 Wording for Polling Cycle Time Wording Description Pt Slave i The polling time of the slave Treq i Max Tsdr i Tres i Treq i The request transmission time of the slave 9 number of output bytes to this slave 9 11 baud rate Max i Response time of the slave This value is recorded in this slave GSD file baud rate Tres i Response transmission time of the slave Number of input bytes from this slave 9 x 11 baud rate Tedi M Processing time of master request response This value is recorded in this slave GSD file baud rate Lr Data refresh time Max 260 ms 5 ms x number of slaves MSI Minimum slave interval is set in the configuration software ProfiMap s MITSUBISHI FX2N 64DP M Profibus DP Master Block Introduction 1 Figure 1 7 Polling Cycle Time Time Programmable controller TO instruction FROM instruction BFM of the wd 3 64DP M System Data Area for communication in 64DP M Slave No 1 DI Slave No 2 Slave No 3 Lr Pt Slave1 6 Pt Slave2 Pt Slave3 6 EL Polling cycle time 3 This ti
90. is fixed ON 1 and Bit 7 is fixed OFF 0 These bits shows that this information is the Identifier Related Diagnostic Information Figure 4 32 Diagnostic Information Data Byte Bit 7 Identifier No Bit 0 2nd byte When slave has error on some modules the bit which corresponds to the module number is anes s MITSUBISHI 4 37 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 3 Channel related diagnostic information For slave modules this area stores the Diagnostic Information for each module that is outputting an error This area does not have a header and stores this information at the end of the identifier related diagnostic information Each channel of diagnostic information consists of an identifier number channel number and error status of 3 bytes For identifier number and channel number refer to subsection 4 18 3 4 Figure 4 33 Channel Related Diagnostic Information BFM Upper Byte Lower Byte Last identifier related diagnostic information area 2nd byte of 1st channel related diagnostic 1st byte of 1st channel related diagnostic information Channel No information Identifier No 1st byte of 2nd channel related diagnostic 3rd byte of 1st channel related diagnostic information Identifier No information Error status 3rd byte of 2nd channel related diagnostic 2nd byte of 2nd channel related diagnostic information Error status information Ch
91. is flag becomes valid when the Exchange Start End flag BFM 0 Bit 0 change OFF ON or the Communication Information Area Clear Communication Trouble Area Clear flag BFM 0 000 Bit 2 changes from OFF ON For Ring type and Fix type refer to section 4 17 1 Figure 4 6 Communication Trouble Area Type Selection Flag Communication Trouble Area Type Selection flag BFM 22 002 H Bit 3 ON Ring Type is chosen gt This timing is for when the Exchange Start Fixed Type is chosen End flag is turned OFF gt ON or the Communication Trouble Area Clear Request flag is turned ON OFF Note The content of the selection does not change even if this flag is switched to the other type Fixed or Ring after the selection has become valid Therefore if changing the content of the selection it is necessary that the Exchange Start Request flag BFM 2 Bit 0 is turned OFF ON or the Communication Trouble Area Clear Request flag BFM 2 Bit 2 is turned ON OFF 5 Global Control Request flag lt BFM 2 Bit 4 gt The Global Control Request flag is used for operating global control For further explanation refer to the subsection 4 2 4 and chapter 5 6 Restart Request flag lt BFM 2 Bit 13 gt The Restart Request flag is used for restarting the 64DP M when the main power fails either the FAULT LED is ON or Module READY flag is OFF When this flag is turned ON OFF the 64DP M is restarted This action
92. is not possible to stop the communication with slaves even if the FX2N plc is in STOP Therefore please turn OFF the Exchange Start Request flag or each power supply of the 64DP M and FXsN plc before the FXan plc is in STOP 2 Communication Trouble Detection flag BFM 0 Bit 1 gt The Communication Trouble Detection flag can check that the communication diagnostic error occurred This flag is turned ON when the communication diagnostic error occurs At the same time the RSP ERR LED turns ON and Diagnostic Information is stored in BFM 2140 2179 Communication Trouble Area This flag is turned OFF when the Communication Trouble Detection Flag Reset flag BFM 2 Bit 1 turns ON by a TO instruction At the same time the RSP ERR LED is turned OFF Figure 4 2 Communication Trouble Detection Flag Communication Trouble Detection Flag Reset flag BFM 2 002 H Bit 1 Communication Trouble Detection flag BFM 0 000 H Bit 1 The Diagnostic Information is read form the Communication Trouble Area lt BFM 2140 85 2179 883 H gt by FROM instruction Read c gt gt By user program Automatically by 64DP M Note e If this flag is turned ON Diagnostic Information needs to be read from the Communication Trouble Area area BFM 2140 2179 by a FROM instruction The Communication Trouble Detection Reset flag BFM 2 Bit 1 is turned OFF by a TO instruction after it has been confirmed that
93. le controller FX Series of This manual contains explanations for instruction of Programmable controllers JY992D88101 the FXis FXin FX2n and FXenc Series Programming Manual II programmable controller FXoN 32NT DP This manual contents expranations for wiring Profibus DP Interface Unit JY992D61401 installation specification and allocation BFM s etc User s Manual about FXon 32NT DP Profibus DP Interface Unit This manual contents explanations for wiring FX2N 32DP IF installation and specification etc about FXa2N 32DP IF Profibus DP Interface Unit JY992D77101 Profibus DP Interface Unit Hardware Manual However this hardware manual s text is already contained in this user s manual This manual contents expranations for wiring FX2n 32DP IF installation specification and parameter etc about Profibus DP Interface Unit JY992D79401 FX2n 32DP IF Profibus DP Interface Unit User s Manual However this hardware manual s text is already contained in this user s manual This manual contents expranations for wiring FX2N 64DP M installation and specification etc about FX2n 64DP M Profibus DP Master Block JY992D82901 Profibus DP Master Block Hardware Manual However this hardware manual s text is already contained in this user s manual MELSEC ProfiMap Configuration System for Open Networks Software Manual This manual contents expranations for operation of MELSEC ProfiMap Configuration System for Open N
94. me is Treq for each slave This time is Maximum Tsdr for each slave This time is Tres for each slave This time is Tsdi M 1 The polling cycle time is the larger of the value obtained from the equation on the prior page or the MSI MSI Minimum slave interval is set in the configuration software ProfiMap Note FROM TO instruction and the polling cycle are asynchronous s MITSUBISHI 1 11 FX2N 64DP M Profibus DP Master Block Introduction 1 MEMO s MITSUBISHI 1 12 FX2N 64DP M Profibus DP Master Block Wiring and Mounting 2 2 Wiring and Mounting 2 1 Mounting 2 1 1 Arrangements The 64DP M connects on the right side of an FX2N series main unit or extension unit block include special function block For further information of mounting arrangements refer to FX2n Series Hardware Manual 2 1 2 Mounting Mounting method of the 64DP M is DIN rail mounting or direct wall mounting 1 DIN rail mounting Align the upper side of the DIN rail mounting groove of the 64DP M with a DIN rail 1 and push it on the DIN rail See Figure 2 1 When removing the 64DP M from the DIN rail the hook for DIN rail is pulled G and the 64DP M is removed 9 See Figure 2 2 Figure 2 1 Attach to DIN Rail E 1e Figure 2 2 Remove from DIN Rail 1 Uses DIN 46277 lt 35mm 1 38 gt 2 Direct mounting to back walls The 64DP M can
95. n 8 pieces of Diagnostic Information are stored areas 2 to 8 are fixed so when the next new diagnostic communication occurs only header area 1 is updated Refer to Figure 4 23 Ring type is stored in order from the header with the header always being the last Diagnostic Information Refer to Figure 4 24 Figure 4 23 The Fixed Type 1st Information 2nd Information 8th Information 9th Information 8th 9th Information Information 1 7th 7th 1st Information 2nd Information Information area 1 1st Information Information area 2 Information Information Information Thisareais TEE area 3 the oe This area is Diagnostic j notthe Information 2 2 o now Information Information Information Information 1st 1st area 8 Information Information 1 This Diagnostic Information is discarded Figure 4 24 The Ring Type M 8th Information 9th Information 1st Information 2nd Information 1st 2nd area 8 Information Information 1 8th 9th area 1 Information Information Information Information Information 1st 7th 8th area 2 Information Information Information Information This area is not the tac MEC Diagnostic notthe Information 2nd now Milos Information I
96. nformation Information 1 This Diagnostic Information is discarded a MITSUBISHI 4 30 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 18 2 Error codes Error codes are shown in the following table Table 4 17 Error Codes in the Diagnostic Information Error Data Detailed Data SX Communication Status Further Information code length Data1 Data 2 Data 0200 H 3 Refer to 1 Continues communication Refer to 1 1121 H 1 03 H Refer to 2 1300 H 2 Refer to 3 pope communication after Refer to 3 the error occurs 3000 H 1 Ignored Refer to 4 1 Error code 0200 H When this error occurs configuration of the Diagnostic Information assigns following figure 4 25 In addition the Expansion Diagnostic Information is stored in the Expansion communication Trouble Area lt BFM 2196 2210 gt for only the latest the Diagnostic Information of the error code 0200 H Figure 4 25 Configuration of the Diagnostic Information Occurring 0200 H Error Code Error Code 0200 H Detailed data length 3 H Detail Data 1 Master Address 1 Detail Data 3 hex code Slave Address 2 hex code Detail Data 2 Diagnostic Status Refer to Table 4 14 3 hex code Slave ID 4 hex code 1 The address of the master that controls the slave in which this Diagnostic Information occurred is sto
97. o the slave 1 SYNC global control command The output data to the slave which belongs to the group which is specified by BFM 2181 is made to freeze not refresh output data When the following SYNC UNSYNC global control command is sent output data to those slaves is updated 2 UNSYNC global control command SYNC global control mode of the slave which belongs to the group which specifies by BFM 2181 is released Output data is updated by usual polling Note When using SYNC global control command output data sending to slave is not refreshed until next SYNC or UNSYNC global command is send to the slave That is even if output send data to the slave writes new data in the output data area BFM 1060 2019 by TO instructions these are not refreshed until the following SYNC or UNSYNC global command is issued from the Profibus DP in SYNC global control mode FREEZE and UNFREEZE Global Control The FREEZE UNFREEZE global control commands the input data communication from the slave to the master 1 FREEZE global control command The input data of the slave which belongs to the group which specifies by BFM 2181 is made to freeze not refresh input data When the following FREEZE UNFREEZE global control command is sent input data from those slaves is updated 2 UNFREEZE global control command FREEZE global control mode of the slave which belongs to the group which specifies by BFM 2181 is released Input data is updated by usual
98. ogram about FROM TO instruction s MITSUBISHI 9 2 FX2N 64DP M Profibus DP Master Block Diagnostics 9 7 PRM SET LED check Table 9 7 PRM SET LED Check State Description Lit 64DP M is in operation mode 1 Flashing When this LED is flashing in operation mode 1 there is not parameter in 64DP M Please write parameter to 64DP M Unit 64DP M is in operation mode 0 or E 8 RSP ERR LED check Table 9 8 RSP ERR Check State Description Lit 64DP M is fault when exchange data to slave Check diagnostic information For diagnostic information refer to section 4 12 Unit 64DP M is normal operation 9 FAULT LED check Table 9 9 FAULT LED Check State Description 1 When exchange start request flag BFM 2 bit 0 is turned OFF to ON check parameter about following points Lit There is no active slave on the network There is slave station of same as master station address 2 In other case please contact a service representative Uniit 64DP M is normal operation s MITSUBISHI 9 3 FX2N 64DP M Profibus DP Master Block Diagnostics 9 9 3 Self Diagnostic of the 64DP M When setting the self diagnostic mode The mode switch is 2 position TEST LED and ST NO LED will be lit as following table When the test result is normal these tests are repeated in order of a
99. on 1 3 1 5 Error code 3000 H This error means that 64DP M had an error code of 1300H or 1121H or has an unexpected error When this error has occurred the FAULT LED will turn ON and operation will stop Check Points a When the above error 1300 H or 1121 H had occurred refer to the individual error codes subsection 4 17 3 2 3 b Otherwise An unexpected error has occurred In this case please contact a service representative s MITSUBISHI 4 33 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 19 Expansion Communication Trouble Area lt BFM 2196 2210 gt Read Only The Expansion Communication Trouble Area shows only the latest Expansion Diagnostic Information in error code 0200 H For Communication Trouble Information Area refer to section 4 17 For Error code 0200 H refer to 4 17 2 Figure 4 26 Expansion Communication Trouble Area Communication Trouble Area Communication Trouble Area choosing Fixed type Expansion Communication Trouble Area BFM Address BFM Address Upper Byte Lower Byte 2144 860 H data Information 2150 866 6th Diagnostic Stevie 2154 86A H data data 4th Byte 3rd Byte 2175 87F 1st Diagnostic Information 2179 883 H data 2210 8A2 H Information Data Information Data C 26th Byte 25th Byte L This Information does not have the Expansion Diagnostic Information when Error Code 0200 H or Diagnostic status
100. red However FF H is stored when the Diagnostic Information shows that communication to the slave is failed 2 The address of the slave in which this Diagnostic Information occurred is stored 8 This diagnostic status is assigned as follows table 4 16 4 The NPO ID code of the slave is stored However FF H is stored when the Diagnostic Information shows that communication to the slave is failed s MITSUBISHI FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 Table 4 18 Diagnostic Bit Status Bit Rone 4 Seiting No Name Description and Check points Station Master parameter allocation request from slave This diagnostic information will always occur at exchange start so it Parameter Bit 0 allocation readest eo be ignored slave 9 If this diagnostic information occurs during exchange check the slave status and communication line Bit1 Sieve status error Master diagnostic data read request from slave RT If this bit is ON check the slave status Bit2 Not used This bit is OFF Bit3 WDT monitoring Watchdog monitoring is being conducted in the slave saye normal operation Bit4 FREEZE mode This slave in FREEZE mode normal operation slave Bit5 SYNC mode This slave in SYNC mode normal operation slave Bit6 Not used This bit is OFF The cyclic communication for this module was separated by the The cyclic parameter
101. reset Even though this error is occurring if the Exchange Start Request BFM 2 Bit 0 is ON then error code 3000h will occur the FAULT LED will turn ON and operation will stop Check Point Check the slave address and master address If these are same address set these address correctly 3 Error code 1300 H This error means that no active slaves are set in the parameter When this error occurs the detailed data is set number of slaves set in the parameter to the detailed data 1 This error occurs immediately after the power supply is turned ON or the 64DP M is reset Even though this error is occurring if the Exchange Start Request BFM2 b0 is on then error 3000h will occur the FAULT LED will turn ON and operation will stop Check Points a Set 1 or more active slave in the parameter b When the FAULT LED is turned on reset by turning OFF gt ON OFF the BFM 0 Bit 13 for a above 4 Error code 1302 H This error means that the capacity of the parameter area is insufficient This error occurs immediately after the power supply is turned ON or the 64DP M is reset When this error has occurred the FAULT LED will turn ON and operation will stop Check Points Check capacity of the parameter area and expansion diagnostic information data length Please decrease the number of slaves or change slave s type For expansion diagnostic information data length refer to the either Note on subsection 4 18 1 or Note on subsecti
102. roup 2 access flag Reset retry counter for accessing group 2 Reset Output Data Send Request flag of slave 2 Reset Output Data Send Error flag of slave 2 Operating retry counter for accessing group 2 Set error flag for accessing group 2 Set retry request flag for accessing group 2 Set retry request flag for accessing group 2 Set Output Data Send Request flag of slave 2 Reset retry request flag for accessing group 2 s MITSUBISHI FX2N 64DP M Profibus DP Master Block Example Program 8 Figure 8 14 Example Program of 64DP M f M110 M131 M12 M110 M35 Retry request flag M17 M34 M35 Group 2 access flag Communication valid flag Slave 2 error flag Control End flag M34 I M TL 15 RST M94 FNC 01 CALL RST M12 FNC 79 K K11 K4M480 K4 Exp Global Control Error End flag RST M94 SET M17 Retry counter of the Global control CO SET M94 RST M17 FNC 01 P12 GE 9 Reset Global Control Request flag Call subroutine P3 Read input data from BFM 116 131 Reset Group 2 access flag Write the output data send request for each slave to BFM 11 14 Reset Global Control Request flag Set the retry request flag Count the number of retries Set Global Control Request flag Reset the retry request flag Reset the retry counter Call subroutine P126 Read Communication Trouble Area and
103. rror flag BFM 29 Bit 9 is turned ON and data will not be exchanged with slaves on the DP network The Exchange Start Request flag BFM 2 Bit 0 will turn OFF a MITSUBISHI 4 12 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 5 Slave Data Consistency Mode lt BFM 10 22 gt BFM 10 is used for the selection of Slave Data Consistency Mode This mode is used to control the storage of data written in the output data area BFM 1060 2019 in the send buffer This mode is used to control output data is controlled Output Data Send Request flags and Sending End flags are used in each slave For details on the Slave Data Consistency Mode refer to subsection 4 5 1 For allocation of Output Data Send Request flags refer to subsection 4 5 2 For allocation of Output Data Sending End flags refer to subsection 4 5 3 Table 4 5 Slave Data Consistency Mode lt BFM 10 gt Read Write Value Description KO Slave Data Consistency Mode disabled Other KO Slave Data Consistency Mode enabled Note When 64DP M is exchanging data to the slaves an error will result if the mode is changed When changing this mode the Exchange Start End flag BFM 0 bit 0 has to be OFF and the Exchange Start Request flag BFM 2 bit 0 is turned OFF Figure 4 7 Input Output Data Areas and Receive Send Buffers 64DP M DP Slave Receive Buffer Send Buffer This process can be
104. rt or to any other extension unit block s right side extension port The 64 DP M occupies 8 points of I O on the FX2n s expansion bus The 8 points can be allocated from either inputs or outputs The maximum l O for a FX2n system is 256 I O Table 1 5 Applicable Programmable Controller Programmable Controller Type Version From first product FX2N series All versions Communication Time The communication time is the data exchange time between FXe2n series programmable controller and slave on the Profibus DP This communication time can be requested by the expression below Communication time Total of polling cycle time for each slave 2 x Scan time 2 1 The polling cycle time is a data update cycle time between 64DP M and slave on the DP network For how to obtain the polling cycle time refer to subsection 1 4 1 2 The scan time can be checked with D8010 D8012 of the programmable controller Note The polling cycle time and FROM TO instruction are operated asynchronously If data is written to the 64DP M in the polling cycle this data will move to the system area on the next polling cycle s MITSUBISHI 1 9 FX2N 64DP M Profibus DP Master Block Introduction 1 1 4 1 Polling Cycle Time An explanation of the polling cycle time for one master is given in figure 1 6 In this example there are 3 slaves The polling cycle time is the larger of Number of slaves Poll
105. s flag M12 Group 2 access flag Communication valid flag 9 Group 1 access request flag FNC 67 Data change flag of slave 1 FNC 16 FNC 16 b a Set Initial Output Data to D80 D111 for slave station Execute subroutine program P124 for initializing the send data in the 64DP M Set Exchange Start Request flag Write KO to the Initial data set in BFM 28 Set source device for the Bit shift left instruction First input for shift left instruction Set Slave Data Consistency Mode Bit shift left instruction for accessing group order M5 Source device for Bit shift left instruction M6 Group 1 access request flag M7 Group 2 access request flag Reset source device for the Bit shift left instruction Switching the sending data to the slave K1000 is stored the 1st and 2nd output data of slave 1 K2000 is stored the 1st and 2nd output data of slave 1 a MITSUBISHI FX2N 64DP M Profibus DP Master Block Example Program 8 Figure 8 14 Example Program of 64DP M b b Communication valid flag Group 2 access request flag M110 M7 mi FNC 66 Data change flag of slave 2 M23 FNC 12 imd FNC 12 Deo MOV Communication valid flag M110 FNC 78 FROM nels wi 78 K4M1 FROM 78 78 Communication valid flag Group 1 access request flag M110 M130 M6 fa NCS K2181 H0128 E TO slave 1 Error flag
106. slave ONLINE2 Extended service mode 244 byte slave 3 units 32 stations See Note 1 Maximum Number of Slaves 60 slaves See Note 1 See Note 1 Master Number Connection of Nodes Number of Repeaters 32 62 1 92 2 126 3 See Note 1 9 6k 19 2k 93 75k 1 200 m 3 937 segment Supported Baud Rates 187 5k 1 000 m 3 281 segment bps and 500k 400 m 1 312 segment Bus Length 15M 200 m 656 segment 3M 6M 12M 100 m 328 segment PNO ID F264 H RS 232C Port for download configuration 9 pin D SUB Connector 4 40unc inch screw thread Connector _ Profibus DP Port for Profibus DP network Network 9 pin D SUB Connector 4 40unc inch screw thread Synchronization unsynchronization freeze and unfreeze modes shall be supported Terminal Resistor Not built in Synchronization 8 points taken from the programmable controller extension bus can Number of occupied I O points be either input or output Applicable Programmable Controller FX2N Series POWER LED ON when 24V DC power is supplied form the PLC or external power supply ON During normal operation OFF Error Flashes during communication with slave on the Profibus network LED SD RDLED The flashing interval is the time interval of the bus parameter s Data indicators Control Time TOKEN LED ON when token is maintained READ
107. t start addres of 1st station is 1060 424 H Output start addres of 2nd station is 1063 427 Output start addres of 3rd station is 100 064 H Output start address area 2 1 a 2 1 2345 929 Output start addres of 58th station is 100 064 H 2346 92A H Output start addres of 59th station is 100 064 H 2347 92B H Output start addres of 60th station is 100 064 H Figure 4 44 Input Data Area and Output Data Area of Example BFM 100 2019 BFM Address Upper byte Lower byte 100 064 H 101 065 H 102 066 H 103 067 H 104 068 H Aa 105 069 H 2 X TDS 2nd byte of 1st station 1st byte of 1st station 1059 423 H 1060 1061 1062 1063 1064 424 H 425 H 426 H 427 H 428 H 4th byte of 1st station 3rd byte of 1st station 5th byte of 1st station 2nd byte of 2nd station 1st byte of 2nd station Output Data Area 2019 7E3 H pur ur pe 2 a MITSUBISHI 4 45 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 MEMO s MITSUBISHI 4 46 FX2N 64DP M Profibus DP Master Block Global Control 5 5 1 5 2 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 SYNC and UNSYNC Global Control The SYNC UNSYNC global control commands the output data communication from the master t
108. ta with the slave on the DP network Figure 4 1 Exchange Start End Exchange Start Request flag BFM 2 002 H Bit 0 Exchange Start End flag BFM 0 000 H Bit 0 The initial output data is write to the Output Data Area BFM 1060 424 H 2019 7E3 7 by instruction The Initial Data Set BFM 28 01C BFM 28 0 gt 1 The Initial Output Data Set flag BFM 29 01D H Bit 14 The Initalize Inout Data Area flag BFM 29 01D H Bit 15 SSS user program Automatically by 64DP M Maximum 200 ms d gt NC em Exchanging data to the slaves BFM 28 1 gt 0 pin ON s MITSUBISHI 4 4 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 Note Before the Exchange Start Request flag is turned ON the output data initial value must be written to BFM 1060 424 H 2019 7E3 H For the Initial Data Set buffer memory refer to section 4 7 For the Initial Output Data Set flag and the Initialize Input Data Area flag refer to section 4 8 There is a possibility that it is not possible to communicate with the slave even if the Exchange Start Request flag BFM 2 Bit 0 is turned ON when the slave power supply is turned ON simultaneously with 64DP M Therefore please turn ON the Exchange Start Request flag after Communication READY flag BFM 1 Bit 11 is turned ON e It
109. tic Information is stored in this area It contains the Error Code Detailed Data Length and Detailed Data The method storing is 2 type Ring Type and Fixed Type These 2 types can be chosen by the Communication trouble Area Type Selection flag BFM 2 Bit 3 turned ON or OFF When this flag is turned ON Fixed Type is chosen When this flag is turned OFF Ring Type is chosen Regardless of the storage method Fixed Type or Ring Type up to 8 sets of Diagnostic Information can be stored in this area The area can be cleared by turning ON the Communication Trouble Area Clear Request flag BFM 2 Bit 2 This area is assigned as follows For the Communication Trouble Detection flag refer to section 4 2 For the Communication Trouble Area Clear Request flag refer to section 4 3 Figure 4 22 Communication Trouble Area configuration BFM Address BFM Address 2140 85C H Information 2140 85C H Error code Refer to subsection 4 17 2 area 1 2141 85D Detailed data length 0 N 2142 85E H Detail data 1 Information area 2 2144 860 H 2145 861 H M 2143 85F H Detail data 2 n 2144 860 H Detail data 3 2149 865 H 2150 866 H 2154 86A H Information area 3 2175 87F Information 2179 883 H iiia s MITSUBISHI 4 29 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 18 1 Fixed Type and Ring Type methods With Fixed type whe
110. ure 4 40 Slave Diagnostic Status Channel Area Bit Bit 15 14 13 12 1110 9 8 7 6 5 4 3 2 1 0 BFM 2180 884 H 0 2 B 9 lt Default i value 02B9 H The Diagnostic Status of this bit is masked For the diagnostic Status refer to table 4 14 or 4 16 Table 4 20 Diagnostic Status Bit No Name Bit No Name 0 Parameter allocation request 8 No comms with slave Slave status error 9 Slave not ready 2 Not used This bit is OFF 10 Parameter mis match 3 WDT monitoring 11 dd Diagnostic Information 4 FREEZE mode 12 Not support function 5 SYNC mode 13 Incorrect slave data 6 Not used This bit is OFF 14 Incorrect parameter 7 The cyclic communication stop 15 Multiple master comms s MITSUBISHI 441 FX2N 64DP M Profibus DP Master Block Allocation of Buffer Memories BFMs 4 4 21 Global Control Area lt BFM 2181 gt Read Write Global control contains 4 functions SYNC UNSYNC FREEZE and UNFREEZE These are functions used to maintain cancel slave I O for which multicast communication is conducted at the same time Each slave which executes a global control function belongs to 1 or more groups among 8 groups The number of the group containing the slaves is set by the configuration software In the 64DP M the group can be arbitrary specified and the global control commands transmitted using multicast communication As a
Download Pdf Manuals
Related Search
Related Contents
Samsung CE2933N دليل المستخدم Gebrauchsanleitung Manual Mode d`emploi rauchsanleitung e d Trendnet 1-Port Print Server Compact Tester II 446 300 430 0 User Manual Owner`s Manual Emtec C410 8GB TGL/DGL Installation Instructions Copyright © All rights reserved.
Failed to retrieve file