Home

PROFIBUS-DP Slave Module User`s Manual

image

Contents

1. 4 FUNCTION GE MELSEC Q 2 How to prevent data inconsistency The I O data separation prevention function is executed by either of the following methods This function is not available when the MOV or FROM TO instruction is used for buffer memory reading writing a Using automatic refresh Automatic refresh can be set in GX Configurator DP To use the data separation prevention function at the time of automatic refresh check the Enable and Consistency boxes in the Autom Refresh area on the parameter setting screen D Sample dpx PROFIBUS Settings EDL Address 10 0 125 IV Enable IV Consistency Input Size in words 32 0 122 Output Size in words 32 0 122 Input CPU Device D X 1000 0 12256 to Output CPU Device D e 1100 I0 122p6 to For the automatic refresh setting method refer to Section 5 3 1 b Using dedicated instruction Using the BBLKRD or BBLKWR instruction to read or write data prevents I O data separation Refer to Chapter 8 Refer to Section 7 3 1 and 7 3 2 for program examples of the I O data communication using dedicated instructions 4 FUNCTIONS MELSEC Q 3 Precautions a Applicable CPU module To utilize the separation prevention function use a CPU module whose first five digits of the serial No is 02092 or later Refer to Section 2 3 b Transmission delay time caused by the separation prevention functi
2. x1 X0 X1D D U0 LE d LE FWOVP G256 lt Input send area refresh start gt SET M20 X1 XO X1D X3 Litt lt Output data read gt D XO XOA X1D kH Kal kt E BBLKRD Up KO D100 Toun D100 K4Y40 x70 Un BMOY D102 Gl lt Input data write gt x1 10 X0B X1D LE pm vun D200 X60 E U6 oam en D202 c JG BBLKWR Up Wi D200 lt Error handling gt X3 UO Lu G2040 M30 SET X3 Y3 Jr RST lt Extension trouble information notification request gt PST 7 10 lt gt D20 HO BET e w e Du on H40 XID 2 U0 H d H BWOVP D300 Go SET no x2 d RST RST SET Wi um H moy 2040 K6 M20 YO YOA YOB K K2 K4 K2 K4 K6 D20 Y3 Y3 M30 Wu D300 D301 K2 Y2 Y2 M40 WI D20 Initial input data write Input send area refresh start Output data read Outputs data to Y40 to Y5F Writes digital value to Q64DA Stores data in X20 to X3F into D200 Reads digital value from Q64AD Input data write Stores error code Resets error Turns on extension trouble notification flag when error code is other than 0 Sets extension trouble notification data length Sets extension trouble notification data Stores extension trouble notification data in buffer memory Extension trouble notification request Resets extension trouble
3. No 0 No 1 No 2 No 3 No 4 o0 JOE XO to XE Oto VIF 1 dox x20 to xF 2 Jove AO SF 1 Modules are to be mounted to the base unit from slot 0 as shown in the figure Start I O No data are to be set as follows 140 Assignment A siot Type Modelname pos stary Loke o Dm S Ee inteli Jooren eat x 2 inu lun Teo 3 Refer to Section 5 2 2 for details of the LUMP mode 2 Settings The following configuration and operation are set in the program example given in this section a Data module setting of QJ71PB93D Data module 0 Input 2 words word unit Data module 1 Output 2 words word unit Data module 2 Input 4 words word unit Data module 3 Output 4 words word unit 7 PR RAMMIN Gs S MELSEC Q b Used states of QJ71PB93D output receive area and input send area 1 When dedicated instruction BBLKRD BBLKWR is used CPU module QJ71PB93D Device D Output receive area Data output Data module 1 0 0H D100 to D101 to QY41P Output 2 words 4 14 DA conversion Data module 3 D102 to D105 value output Output 4 words 4 4H to Q64DA o Q6 5 5H Data input 6 6H D200 to D201 from QX41 Empty AD conversion TEBEH value input from Q64AD 2 Input send area D202 to D205 256 100H 257 101H 258 102H Data module 0 259 103x Input 2 words Data module 2 Input 4 words 260 104x
4. Upon reception of the SYNC service the SYNC mode is started and refresh from the output data area to the output receive area is stopped During the SYNC mode the SYNC LED of the QJ71PB93D is on When the SYNC service is received during the SYNC mode refresh to the output receive area is performed only once Even during the SYNC mode refresh from the input send area to the input data area is executed continuously Upon reception of the UNSYNC service the SYNC mode is terminated and refresh from the output data area to the output receive area is restarted When the UNSYNC service is received and the SYNC mode is ended the SYNC LED of the QJ71PB93D turns off 4 FUNCTIONS MELSEC Q b When receiving FREEZE and UNFREEZE services 1 Before receiving FREEZE service QJ71PB93D Class 1 master Input Output Buffer station Image memory memory Input Input data ch Input data send area Output Output data Output data receive area 2 After receiving FREEZE service FREEZE service QJ71PB93D Class 1 master Input Output Buffer station ec Input data Image memory memory _ Output data Output data 3 After receiving UNFREEZE service ASS service Input Output Class 1 master station Input data Input data Image memory Input mim send area QJ71PB93D Buffer memor
5. XID x0 xl 5 x6 I if d H f LPLS W100 J Receives SYNC service mon I SET M102 J M102 is on during SYNC service x6 e s per M102 M102 is off before SYNC service 7 reception lt Global control FREEZE gt up x0 D i H f d 1 SE M10 J M110 is on during FREEZE service ei G wun M1110 is off before FREEZE 4 service reception 7 22 7 22 8 DEDICATED INSTRUCTIONS MELSEC Q 8 DEDICATED INSTRUCTIONS A dedicated instruction is defined as an instruction designed to make programming easy for use of the intelligent function module functionality This chapter describes the dedicated functions available for the QJ71PB93D 1 List of dedicated functions The following list shows the dedicated instructions available for the QJ71PB93D Dedicated instruction Reads data from the buffer memory of a specified module G BBLKRD Section 8 2 ensuring data consistency Writes data to the buffer memory of a specified module i BBLKWR Section 8 3 ensuring data consistency 2 Available devices The following devices are available for the dedicated instructions Internal devices File register Constant 1 D Ttsteow 1 Available devices are given in each of the Constant field 8 1 Precautions for Execution of Dedicated Instructions 1 CPU module usable for dedicated instructions For execution of dedicated functions use a CPU module whose firs
6. 3 The max transmission distance in the table above is based on the case where 3 repeaters are used The calculation formula for the transmission distance extended using a repeater s is Max transmission distance m network Number of repeaters 1 x Transmission distance m segment 3 1 3 1 3 SPECIFICATIONS MELSEC Q 3 2 Network Configuration This section explains the basic PROFIBUS DP configuration for using the QJ71PB93D as a slave station 1 System equipment The following table shows the equipment required for the PROFIBUS DP system System Equipment Slave station QJ71PB93D Class 1 master station QJ71PB92V QJ71PB92D etc Configuration tool Configurator applicable to the master station Repeater Required when 32 or more slave stations are connected PROFIBUS cable Bus terminator Refer to section 5 7 1 2 Network configuration In the PROFIBUS DP system configuration the following conditions must be satisfied a Number of connectable modules in the whole network when repeaters are used Master station Slave station 1 126 1 Including the QJ71PB93D b Number of connectable modules per segment Master station Slave station 1 repeaters 2 S32 1 Including the QJ71PB93D 2 A repeater is counted for both segments c Maximum number of repeaters Up to 3 repeaters can be used for communication between master station and the QJ71PB93D d Number of slave stat
7. CPU module Transmission delay time for input Refer to Section 6 2 3 6 TRANSMISSION DELAY TIME MELSEC Q 6 1 Transmission Delay Time of Output Receive Master station QJ71PB93D The formulas for calculating the delay time for the output receive data transmission are shown below The following symbols are used in the calculation formulas Bc Bus cycle time Scan Scan time 1 When BBLKRD instruction is used Transmission delay time of output receive Bc Scan 0 2 ms 2 When MOV FROM instruction is used Transmission delay time of output receive Scan 0 2 ms 3 When automatic refresh is used a When the separation prevention function is not used Transmission Delay Time in Output Reception Scan 0 5 0 2 ms Scan re b When the separation prevention function is used Transmission Delay Time in Output Reception Scan 1 5 0 2 ms Scan 3 0 2 ms For the calculation formula of the bus cycle time refer to the manual of the PROFIBUS DP module used on the master station 6 TRANSMISSION DELAY TIME MELSEC Q 6 2 Transmission Delay Time of Input Send QJ71PB93D gt Master station The formulas for calculating the delay time for the input send data transmission are shown below The following symbols are used in the calculation formulas Bc Bus cycle time Scan Scan time 1 When BBLKVVR instruction is used a When Scan lt Bc Transmission delay time in in
8. QJ71PB93D Output receive area Empty Data module 1 Output 2 words Data module 2 Output 2 words Data module 3 Output 2 words Empty Input send area Data module 0 Input 2 words Empty Data module 2 Input 2 words Empty 191 BFH 256 100n 257 101H 258 102h 259 103n 260 104n 261 105n 262 106n 447 1BFH 1 The output receive area data are read to D1000 to D1005 using the BBLKRD instruction The data in D1000 to D1005 are written to the QY41P and QH42P x2 Data of the QX41 and QH42P are read to the D1100 to D1105 beforehand The data in D1100 to D1105 are written to the input send area using the BBLKWR instruction 7 PR RAMMIN ss MELSEC Q 2 When MOV instruction is used CPU module QJ71PB93D Output receive area Output Y Y40 to YSF Y60 to Y7F Data module 2 Output 2 words Data module 3 Y80 to YOF Output 2 words Input X Input send area Data module 0 256 100x Input 2 words 257 101n 258 102n X20 to X3F QxX41 inputs 259 103n X40 to X5F Empty Data module 2 260 104n Input 2 words 261 105n 262 106n X60 to X7F QH42P inputs 447 1BFH 1 The output receive area data are read to output Y using the BMOV instruction 2 With the BMOV instruction the data in input X are written to the input receive area Refer to Section 5 2 1 for the data module setting
9. area image sk 1 Reads with BBLKRD MOV FROM instruction or automatic refresh 2 Writes with BBLKWR MOV TO instruction or CPU module automatic refresh QJ71PB93D slave station Communication can be made by merely setting the master station parameters After you have set the parameters at the master station the QJ71PB93D can make communication by merely setting the station number Refer to Section 5 1 1 2 1 OVERVIEW MELSEC Q 4 Swapping of I O data When I O data is sent received from to the master station their upper and lower bytes can be swapped Though PROFIBUS DP handles the upper and lower bytes of I O data differently depending on the master station type the I O data need not be swapped ina sequence program Refer to Section 4 1 4 5 Start stop of refreshing the input send area Refreshing of send data from the QJ71PB93D to the master station is controllable by an output signal YOO Providing an interlock disables the buffer memory data from being sent to the master station at error occurrence Refer to Section 4 1 1 6 Extended trouble notification function Data stored in the extended trouble information area of the buffer memory can be sent to the master station as extended trouble information when the host is faulty for example When the host is not faulty anymore notify the master station that there is no fault Refer to Section 3 4 2 9 x Diagnostics Information
10. MELSEC Q 3 Assignment of devices in program examples The program examples given in this section use the following device assignments a Devices used by module 1 QJ71PB93D xt vcommunication o a XOA BBLKWR start request xD ModuleREADY S l gt E 2 QX41 X20 to X3F inputs of QX41 O gt O 3 QY41P pd woow oupusoravar 4 Q64AD X60 Mate READY O gt O 5 Q64DA X70 Mate READY Pp b Devices used by user mo Operation mode change flag Extension trouble notification flag m Operation mode change storage Extension trouble notification completion flag Initial input data write Extension trouble cancel flag M30 Error handling flag M100 Self diagnosis mode change 7 8 7 8 7 PR RAMMIN Ge MELSEC Q c Devices used for automatic refresh or buffer memory reading D200 to dE mode storage D201 QX41 X20 to X3F input data storage D202 to Analog to digital conversion value to be input Operation mode change result D205 rom the Q64AD CH 1 to 4 D20 Error code Error code storage D300 Extension trouble information data length D100 to D101 QY41P Y40 to Y5F output data storage D301 Extension trouble information data D102 to Digital to analog conversion value to be output D105 jto Q64DA CH 1 to 4 7 9 7 9 7 PROGRAMMING 4 Program example lt Initial input data write gt MELSEC Q a When using dedicated instructions BBLKRD BBLKWR
11. Operation outline for swap function The data stored in the input sending area are sent to the master station after their high and low bytes have been swapped The data received from the master station are stored into the output receiving area after their high and low bytes have been swapped Master station QJ71PB93D Input data Input sending area Input image Swap processing Output image S Y PROFIBUS DP data communication H High byte L Low byte 2 Swap function setting The setting required for swapping UO data the setting by master station type and the operation outline are described below a Swap function setting by master station type The swap function setting changes depending on the master station type as described below Master station type Swap function setting of QJ71PB93D QJ71PB92V master station side Default setting QJ71PB92D When swap is not executed on master station side A1SJ71PB92D AJ71PB92D Disable Not swapped i Set according to the specifications of Other master station the master station Enable Swapped 4 FUNCTION le MELSEC Q b Operation outline When the QJ71PB92V QJ71PB92D A1SJ71PB92D or AJ71PB92D is used as the master station the operation outline is as shown below 1 When the master station is the the QJ71PB92V QJ71PB92D A1SJ71PB92D AJ71PB92D not swapped Master station Input data Input sending area
12. Yo2 x03 x04 X05 i Y06 YO7 Yo08 Yo09 A B X06 SYNC receive signal A a Use prohibited X07 FREEZE mode signal X08 PE Use prohibited X09 X0A BBLKRD start request acceptance completion signal YO BBLKRD start request signal X0B BBLKWAR start request acceptance completion signal YO BBLKWAR start request signal YOC x x x DC E Use prohibited Use prohibited xX 0 X10 X11 Operation mode change completion signal Y11 Operation mode change request signal X12 Use prohibited Y12 Use prohibited X13 Station number change completion signal Y13 Station number change request signal X14 Y14 X15 X16 X17 X18 Use prohibited X19 X1A X1B 7 aN Use prohibited aN X1D Module READY signal X1E Pe Use prohibited Do not output turn ON the Use prohibited signals Doing so may cause the programmable controller system malfunction 3 SPECIFICATIONS MELSEC Q 3 3 2 I O signal detail description 1 Watchdog timer error X00 a This signal turns on when a watchdog timer error occurs on the QJ71PB93D b The watchdog timer error X00 does not turn off until the following operation is performed e Turning the programmable controller power OFF to ON e Resetting the CPU module If the signal turns on again a hardware error may be the cause 2 I O communication signal X01 a This signal turns on when the module is ready to communicate with the master station properly b While the I O
13. b This signal turns off when the error is reset by turning on the module error reset request signal Y03 or resetting the CPU for example At this time the ERR LED goes off and the error code is cleared c The module error reset request signal Y03 turns off after confirming that the module error signal X03 have turned off Error reset Module error reset request signal Y03 Error detection Module error signal X03 Module error information area Buffer memory address 7F8H The error code is read from the buffer memory to the CPU module 5 SYNC mode signal X05 a This signal turns on when the QJ71PB93D is placed in the SYNC mode by a SYNC request from the master station b The SYNC mode signal X05 turns off when the SYNC mode is terminated by an UNSYNC request from the master station a communication stop or a CPU reset 3 5 3 5 PECIFICATION eS A ae MELSEC Q c The SYNC LED turns on off in synchronization with the on off of the SYNC mode signal X05 d The SYNC mode signal X05 turns off if a communication time out error occurs due to a stop of communication with the master station while the SYNC mode signal X05 is on However if the communication watchdog timer setting in the master station side parameters is invalid the SYNC mode signal X05 does not turn off since a communication time out error does not occur The output data in the output receive area is held Commu
14. b When completed abnormally If the self diagnostic result is an error consult your local service center or representative Cautions a Buffer memory monitoring during self diagnostics During the self diagnosis do not monitor the QJ71PB93D buffer memory from the GX Developer Monitor may stop if the buffer memory is monitored during the self diagnosis b When changing the operation mode from GX Developer Do not change the operation mode from GX Configurator DP when changing it from GX Developer 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q 5 7 Wiring 5 7 1 PROFIBUS cable wiring The following describes the pin assignments of the PROFIBUS interface connector on the QJ71PB93D the PROFIBUS cable wiring specifications bus terminator and other information 1 Pin assignments of the PROFIBUS interface connector The following shows the pin assignments of the PROFIBUS interface connector D sub 9 pin female connector on the QJ71PB93D Signal Code Description Cable color SHIELD 1 Shield protective ground a Se a e ee AA 1 Optional signal 2 Signal used to connect the bus terminator 2 PROFIBUS cable The following shows the PROFIBUS cable and wiring specifications a PROFIBUS cable Use a PROFIBUS cable that meets the following specifications EN50170 Volume 2 Type A compliant Applicable cable Shielded twisted pair cable Capacity Less than 30 pF m Conductor resistance
15. base unit a When mounting to CPU module The following shows the mountable CPU modules No of mountable modules and mountable base unit of the QJ71PB93D Power shortage may occur depending on the combination with other mounted modules or the number of mounted modules When mounting modules pay attention to the power supply capacity When the power shortage occurs review the combination of modules to be mounted Mountable CPU module No of mountable Mountable base unit 2 CPU type CPU model name modules 1 Extension base unit Basic model aooceu sid BE een to 24 och o Eo SC to 64 12PHCPU Process CPU SE lazspucpu VP to 64 Ge Redundant CPU Q12PRHCPU Not mountable on T govori lUpto36 to 36 Universal model lQo3UDCPU QCPU Dee Up to 64 QO6UDHCPU O Mountable x Not mountable x1 Limited to the range of the number of I O points in the CPU module x2 Mountable on any I O slot of the mountable base unit 3 GX Configurator DP cannot be used for setting Set station numbers in sequence programs Refer to Section 7 2 Substitute dedicated instructions or MOV FROM TO instructions for automatic refresh Refer to Sections 4 1 1 1 and 7 3 2 SYSTEM CONFIGURATION SE MELSEC Q 1 There are restrictions on the number of automatic refresh parameters that can be set for CPU modules For details refer to Section 5 3 1 5 2 To utilize the data consistency function and dedicated instruction use a
16. buffer memory address 8CEH Un G2254 Stores the current operation mode Refer to Section 3 5 for the operation mode Stored Value 0000H Normal operation mode 0002H Self diagnostic mode At power on or CPU reset the module starts in the normal operation mode 11 Operation mode change request area buffer memory address 8CFH Un G2255 Set any of the following values when changing the operation mode of the QJ71PB93D with the operation mode change request signal Y11 Set Value 0000H Normal operation mode 0002H Self diagnostic mode At power on or CPU reset FFFEH is stored If an operation mode change request is executed with any value other than the set value the operation cannot be guaranteed 12 Operation mode change result area buffer memory address 8DOH Un G2256 Stores the result of changing the operation mode in response to the operation mode change request signal Y11 0 Normal completion 1 Abnormal completion A change request was made with an illegal value set in the operation mode change request area buffer memory address 8CFh 3 SPECIFICATIONS 13 Current communication watchdog timer value parameters MELSEC Q buffer memory address 8D1H Un G2257 Stores the communication watchdog timer value set in the master station side The stored value is invalid if the I O communication signal X01 is off 0 Communication watchdog timer setting invalid Other than 0 Communication
17. or bring them close Doing so may cause the QJ71PB93D to be affected by noise and surge induction 2 Wiring from I O modules among programmable controllers Keep the PROFIBUS cable away from I O module cables as much as possible Input module Output module y QJ71PB93D fee Wiring of input module PROFIBUS cable i Wiring of output module Shield jacket 3 Grounding a When using the QJ71PB93D basically ground the FG and LG terminals of the power supply module of the programmable controller b Grounding the module and other device with the same FG terminal may apply noise through the FG terminal and result in a communication error If this error occurs disconnect the FG terminal from the module 6 TRANSMISSION DELAY TIME MELSEC Q 6 TRANSMISSION DELAY TIME This section explains the processing time of the QJ71PB93D Communication processing between the master station and QJ71PB93D is shown below 1 Class 1 master station PROFIBUS DP Bus cycle time QJ71PB93D UO image memory Buffer memory CPU module Class 1 master station PROFIBUS DP QJ71PB93D UO image memory Buffer memory CPU module The processing of the output receive data The following shows how the output data from the master station are read out to a CPU module a When BBLKRD instruction is used Refer to the relevant manual for the processing time of the master stat
18. 0 0 0 0 0 0 0 0 0 0 0 0 0 1 status 8F2H 22900 o 00 0 0 0 0 00 00 0 0000 l i 0 OFF 1 0N Areas where input data are being sent to master station 3 SPECIFICATIONS 3 5 Operation Mode MELSEC Q The QJ71PB93D has two operation modes normal operation mode and self diagnostic mode The modes will be described a Reference Operation Mode Description Section Normal operation mode Self diagnostic mode In this mode communication is made as in the slave parameters set to the master station Communication can be made if the slave parameters are within the setting ranges Set only the station number in a sequence program or Section 4 1 1 GX Configurator DP After power is switched on or the programmable controller CPU is reset the QJ71PB93D operates in the normal operation mode In this mode the QJ71PB93D is tested alone to diagnose a hardware fault Section 5 6 No communication is made with the master station 1 When setting operation mode using output signal Set the operation mode using the operation mode change request area Buffer memory address 8CFH and the operation mode change request signal Y11 2 When setting operation mode using GX Configurator DP Set the operation mode using GX Configurator Client of GX Configurator DP Refer to Section 5 6 for changing the operation mode 4 FUNCTIONS MELSEC Q 4 FUNCTIONS 4 1 Functions for Communication with Class
19. A0 X1D X3 i t Kl EE J Input send area refresh start lt Output data read gt xX xo mp um 3 HF d LR G2 K4Y40 K5 J Outputs data to Y40 to Y9F lt Input data write gt D A0 rom vm i ke T Write data in X20 to X7F to the input send area lt Error handling gt 3 UO E NOV G2040 D20 J Stores error code N30 2 SET Y3 X3 Y3 RST Y3 J Resets error RST 430 lt Extension trouble information notification request gt S Turns on extension trouble Le p20 HO SET naa notification flag when error code is other than 0 mov K2 D300 Sets extension trouble notification data length HOY D20 D301 y Sets extension trouble notification data M40 X1D X1 X2 UO Stores extension trouble SR Kat S bh notification data in buffer memory SET Y2 Extension trouble notification request M40 X2 2 II RST Y2 Resets extension trouble RST wm notification request SET N41 h Extension trouble notification completion flag WI UO Tv G2040 D20 Stores error code 7 20 7 20 7 PR RAMMIN S MELSEC Q lt Cancel of extension trouble information notification gt Cancels extension trouble information notification RST Wi J Xi X2 Um Notifies master station of d H MOVP KO 62041 canceling extension trouble notification SET yo Extension trouble notification request N m RST Y2 J k Resets extension trouble information notific
20. CPU module whose first 5 digits of the serial No is 02092 or later If this function is used in any other models I O data may be identified as invalid values 2 b When mounting to remote I O station of MELSECNET H The QJ71PB93D cannot be mounted to remote I O station of the MELSECNET H Mount it next to the CPU module on the MELSECNET H remote master station 2 Compatibility with a multiple CPU system When using the QJ71PB93D in a multiple CPU system first read the QCPU User s Manual Multiple CPU System a Compatible QJ71PB93D The function version of the QJ71PB93D has been B from the first release and it supports the multiple CPU system 3 Compatibility with online module change The QJ71PB93D cannot be changed online 4 Applicable software packages Please configure the system by combining QJ71PB93D and software package as follows GX Developer For setting CPU module parameters and creating sequence programs Required GX Configurator DP For setting the QJ71PB93D station number and automatic refresh parameter zi x1 GX Configurator DP is required when using automatic refresh The station number can also be set on a sequence program Refer to Section 5 3 Software Version GX Developer GX Configurator DP Q00J Q00 Q01CPU Single CPU system Version 7 or later Multiple CPU system Version 8 or later Single CPU system Version 4 or later Q02 Q02H Q06H Q12H Q25HCPU Version 5 or later Multiple CPU system Versio
21. DP The following functions are executable e I O data exchange e Diagnostic information notification etc PROFIBUS DPV1 A PROFIBUS DP version for which the following functions have been added to the basic functionality of PROFIBUS DPVO e Acyclic communication e Alarm function etc PROFIBUS DPV2 A PROFIBUS DP version for which the following functions have been added to the PROFIBUS DPV1 functionality e Time stamping etc Class 1 master station A device exchanging I O data with a slave stations QJ71PB92V QJ71PB92D etc Class 2 master station A device that communicates with slave stations and checks their station number settings and or operation states The Class 2 master station is used as a master station for supervising the network which can start maintain and diagnose the system Slave station Repeater A device that exchanges UO data with a Class 1 master station QJ71PB93D ST1H PB etc A device used to connect different segments of PROFIBUS DP Bus terminator A terminating resistor that is connected to either end of each segment on PROFIBUS DP Configuration tool GSD file Software used to set slave parameters etc and to write them to a master station GX Configurator DP etc An electronic file that contains parameters of a slave station The GSD file is used to set up the slave parameters on configuration tool Station number The numbers assigned to
22. Data 1 Data 1 Data 1 Data 1 Data 1 Data 1 H L H L QJ71PB93D H L Input image 4 Data 2 Data 2 Data 2 Data 2 Data 2 Data 2 B Sail i L H L H L Output data Output receiving area Data d Data 3 Data 3 Data 3 Data 3 Data 3 H H L Data 4 H H L L Data db Data 4 H L Output Image Y PROFIBUS DP data communication H High byte L Low byte 2 When the master station is the QJ71PB92V QJ71PB92D swapped Master station Data H Input image 3 Data 1 L 1 Input data QJ71PB93D H H Input sending area Data 1 Data 1 L Data 2 Data 2 L Output data Output receiving area Data 3 Data 3 H L Swap processing Swap processing Output image Y PROFIBUS DP data communication H High byte L Low byte 4 FUNCTIONS Master station MELSEC Q 3 When high and low bytes of word data are reversed swap between the master station and the QJ71PB93D QJ71PB93D Input image Input data Input sending area Data 1 L Swap processing Y PROFIBUS DP data communication H High byte L Low byte c How to set the swap function The swap function can be set as a slave parameter of the mas
23. French Branch Phone 32 0 2 717 64 30 Phone 31 0 180 46 6004 Fax 20 0 2 235 96 625 25 Boulevard des Bouvets Fax 32 0 2 717 6431 Fax 31 0 180 44 23 55 Ee GE GE Koning amp Hartman bw BELGIUM Koning amp Hartman b v NETHERLANDS 74 Shenkar St Kiryat Arie F erg f l H EE Woluwelaan 31 Haarlerbergweg 21 23 1L 49001 Petah Tiqva ax 33 0 BE 1800 Vilvoorde NL 1101 CH Amsterdam Phone 972 0 3 922 18 24 MITSUBISHI ELECTRIC EUROPE B V IRELAND Phone 32 0 2 257 02 40 Phone 31 0 20 587 76 00 Fax 972 0 3 9240761 Irish Branch Fax 32 0 2 257 0249 Fax 31 0 20 587 76 05 TEDN Sr Westgate SCENE INEARBT d o o BOSNIA AND HERZEGOVINA Beijer Electronics AS NORWAY 12 H aomanut Street de u ds GE Aleja Lipa 56 Postboks 487 1L 42505 Netanya F Ger 0 l SE BA 71000 Sarajevo NO 3002 Drammen Phone 972 0 9 863 39 80 ax 353 0 Phone 387 0 33 921 164 Phone 47 0 32 2430 00 Fax 972 0 9 885 2430 MITSUBISHI ELECTRIC EUROPE B V ITALY Fax 387 0 33 524 539 Fax 47 0 32 8485 77 SE SSC tae AKHNATON BULGARIA Fonseca S A PORTUGAL Cebaco Center Block A Autostrade DORA Gees 4 Andrei Ljapchev Blvd PO Box 21 R Joao Francisco do Casal 87 89 Lebanon Beirut bonnes Eel MB BG 1756 Sofia PT 3801 997 Aveiro Esgueira Phone 961 0 1 240430 F TEE 53312 Phone 359 0 2 817 6000 Phone 351 0 234 303 900 Fax 961 0 1 240 438 an Fax 359 0 2 97 44061 Fax 351 0 234 303 910 GC SE EUROPE B V POLAN
24. Volume Part 1 2 3 4 8 Station numbers that may be set 0to125 2 3 Max number of data that may be d Number of I O data is 192 words in total Size of I O data is up to 122 words communicated Complies with EIA RS485 Shielded twisted pair cable Type A Refer to Section 5 7 1 Bus topology Tree topology when repeaters are used Polling method 32 units including repeaters Per segment Number of occupied UC points 32 points I O assignment 32 intelligent points 5VDC Internal power consumption 0 44 A External dimensions 98 3 86 H x 27 4 1 08 W x 90 3 55 D mm inch 0 11 kg 1 Transmission speed control within 0 3 EN50170 Volume 2 compliant x2 Factory set to 126 EN50170 Volume 2 compliant Set a station number within 0 to 125 for I O data communication n E Q bg di E 5 D Q n E 2 L 2 n E D He For the noise immunity withstand voltage insulation resistance and others in the programmable controller system using this module refer to the power supply module specifications given in the QCPU User s Manual Hardware Design Maintenance and Inspection 1 Transmission distance EE EE 1200 m 3937 ft segment 4800 m 15748 ft network 1000 m 3281 ft segment 4000 m 13123 ft network 400 m 1312 ft segment 1600 m 5249 ft network 200 m 656 ft segment 800 m 2625 ft network 100 m 328 ft segment 400 m 1312 ft network
25. baier Bes Local Server Status Stopped Leave 4 Select Tools gt GX Configurator Client Sample dpx MELSOFT GX Configurator DP Fie Setup MESJ view Window Help Server Administrator GX Configurator Client http localhost 8080 qxmonitor netwsele GX Configurator 5 5 Connect the GX Configurator DP to the CPU module F Network Path Selection Microsoft Internet Explorer File Edit View Favorites Tools Help Ox EN a Le JO search She Favorites O B s 7 ke 3 Address Si http localhost 8080 qxmonitor netwselect3 xml GX Configurator DP Network Path Selection netwpath_config xml lt PC serial Q CPU gt bdl Connect J Browse for Network Database Browse Upload 6 When the connection is completed the list of installed modules is displayed Select QJ71PB93D from the module list Rack Configuration Microsoft Internet Explorer DER File Edt View Favorites Tools Help Ti Om O DAG Zen perme 2 2 a B s http localhost 8080 gxmonitor rackcf xml Ben Links GX Configurator DP E Back to Network Path Selection Rack Configuration Link PC USB Q CPU Target Q02 H mp 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q 7 Select the parameter file dpx saved in step 1 for Project Check the Update Autorefresh in CPU check box when automatic refresh parameters are set Module Configuration Micros
26. communication signal X01 is on the output receive area is updated to the output data sent from the master station It is independent of the status of the input send area refresh directive signal Y00 c The I O communication signal X01 turns off when a communication time out error occurs due to a stop of communication with the master station However if the communication watchdog timer setting in the master station side parameters is invalid the UO communication signal does not turn off since a communication time out error does not occur The output data in the output receive area is held Communication watchdog timer Setting Operation at Master Station Fault in Master Station Side Parameters No error Invalid SE I O communication signal X01 remains on Communication time out error occurrence Valid 2 to 65025 AM I O communication signal X01 turns off The communication watchdog timer setting can be confirmed in the Current communication watchdog timer value buffer memory address 8D1 of the QJ71PB93D d Use this signal as a signal for interlocking output receive area read performed with the MOV FROM instruction Communication stop Communication in progress Communication with N Communication stop master station UO communication signal X01 OFF ON Data Update mL output Not updated t Updated Not updated receive area Output receive area R be rene ise d MOV FROM i
27. communication time out error does not occur The output data in the output receive area is held Communication watchdog timer Setting in Master Station Side Operation at Master Station Fault Parameters k No error Invalid FREEZE mode signal X07 remains on F Communication time out error occurrence Valid 2 to 65025 FREEZE mode signal X07 turns off The communication watchdog timer setting can be confirmed in the Current communication watchdog timer value buffer memory address 8D1H of the QJ71PB93D 8 BBLKRD start request acceptance completion signal X0A a b c BBLKRD start request signal YOA This signal is used as an interlock condition signal to execute the dedicated instruction BBLKRD When the BBLKRD start request signal YOA is turned on in the sequence program the BBLKRD start request acceptance completion signal SOA turns on When the BBLKRD start request signal YOA is turned off in the sequence program the BBLKRD start request acceptance completion signal X0A also turns off BBLKRD start request acceptance completion signal X0A BBLKRD instruction 9 BBLKWR start request acceptance completion signal XOB a b This signal is used as an interlock condition signal to execute the dedicated instruction BBLKWR When the BBLKWR start request signal YOB is turned on in the sequence program the BBLKWR start request acceptance completion si
28. example for UO data communication is provided here to show the case where the DIVIDED mode is used for data assignment of the following configuration Refer to 2 for the outline of the program example mp No 0 No 1 No 2 No 3 No 4 o Dipen IL our woer 1 J JL xox O 2 Jovie Mt SF A lowr LL vew 1 Modules are to be mounted to the base unit from slot 0 as shown in the figure Start I O No data are to be set as follows 140 Assignment LJ Sg Tye Modelname Points Staw EE EIERE BO Refer to Section 5 2 2 for details of the DIVIDED mode 2 Settings The following configuration and operation are set in the program example given in this section a Data module setting of QJ71PB93D ata module 0 Input 2 words word unit ata module 1 Output 2 words word unit ata module 2 Input output 2 words word unit ata module 3 Output 2 words word unit 7 PROGRAMMING 7 15 MELSEC Q b Used states of QJ71PB93D output receive area and input send area 1 When dedicated instruction BBLKRD BBLKWR is used CPU module D1000 to D1001 D1002 to D1003 D1004 to D1005 D1100 to D1101 D1102 to D1103 D1104 to D1105 Device D Data output to QY41P Data output to QH42P Data output to QY41P Device D Data input to QX41 Empty Data input to QH42P
29. notification SET Y2 7 Extension trouble notification request m RST Y2 J Resets extension trouble 7 information notification flag RST M42 lt Operation mode change Self diagnosis mode gt M100 d PLS M10 wn Operation mode change SET mi J request H11 x0 XID Y11 UON Ltb t H G2255 Self diagnosis mode setting SET Yu J Operation mode change request X11 E Um LMOVP 2254 D10 F Stores operation mode data UoN MOVP 62256 D11 J Stores change result data A BET YU J Resets operation mode change request Resets operation mode change storage RST mi 1 If changing the operation mode in this program example do not change it from GX Configurator DP Confirm that Consistency is disabled with Autom Refresh enabled Refer to Section 5 3 1 When the automatic refresh and data separation prevention functions are enabled dedicated instructions are not processed E untitled DPX1 PROFIBUS Settings EDL Address 1 0 125 Autom Refresh peeves 4 Size in words O 0 122 Cou Size in words o 0 122 but CPU Device Ofitput CPU Device Make sure the box is unchecked 7 19 7 19 7 PR RAMMIN Ge S MELSEC Q b When using MOV instruction lt Initial input data write gt X1 x0 vun x3 UON d dh JH F Trump vm G256 K6 Initial input data write SET N20 lt Input send area refresh start gt j N20 D
30. setting is outside the range 3066H The station number set in the parameter is illegal TROUBLESHOOTIN SE MELSEC Q 9 5 Checking the QJ71PB93D Status by System Monitor of GX Developer When you select the module detailed information of the QJ71PB93D in the system monitor of GX Developer you can check the error code and LED ON OFF states 1 Operation of GX Developer Diagnostics System monitor gt Select QJ71PB93D gt Module s Detailed Information 2 Module detailed information Module e Detailed Information Module Module Name QU71PB93D Product information 070620000000000 B 1 0 Address 0 Implementation Position Main Base OSlot Module Information Module access Possible 140 Clear Hold Settings Status of External Power Supply Noise Filter Setting Fuse Status oo Input Type amen Status of 170 Address Verify Agree Remote password setting status Error Display Display format No Eror Code Present Error No Error HEX C DEC Error History The display sequence of the error history is from the oldest error The latest error is displayed in the line as under HAW Information Close Item Description Implementation Position Displays the slot position where the module is mounted Displays the serial No and function version of the target module Bea 070620000000000 B ti ti eee p Function version Serial number Display Enable when the Module READY signal
31. 0 0 0 0 0 0 0 0 0 17 4 receive area 8E1H 2273 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 kl ugedag 8E2H 2274 o 0o 0 0 0 0 0 00000000 0 i 0 OFF 1 0N Areas where output data are being received from master station 3 SPECIFICATIONS MELSEC Q 17 Input send area used status buffer memory address 8FOH to 8FBH Un G2288 to Un G2299 Stores the used status of the input send area The bits corresponding to the buffer memory addresses of the input send area set in the master station parameters Data module setting turn on The stored value while the I O communication signal X01 is on is valid Corresponding Buffer Memory Addresses of Input Send Area Hexadecimal pet oe ps a epee eo es poar e es eies e ee 1064 187K 1B6H e Example of input send area used status Buffer memory Address Area name Hexadecimal Decimal 100H 256 101H 257 b1 ON indicates that the output receive area at address 101H is used and b15 ON that the output receive area at address 10FH is used N A D E E 10EH 270 Input send 10FH 271 J area 110H 272 111H 273 b0 ON indicates that the output receive area at address 110H is used and b14 ON that the output receive area at address 11En is used 5 a 11EH 286 11FH 287 a 120H 288 i ib15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 bi b Input send 8FOH 2288 0 0 0 0 0 0 0 0 000 0 0 1 Ee area used 8F1H 2289 10 1
32. 1 Master This section explains the functions provided for communication between the QJ71PB93D and class 1 master station 4 1 1 I O data communication function Bus terminator PROFIBUS DP network This function allows the QJ71PB93D to operate as a PROFIBUS DP slave station and to communicate I O data with the master station A single QJ71PB93D can handle the following size of data Input data Max 122 words Max 192 in total Output data Max 122 words i e VERA pi Class 1 master station 4 Bus terminator Buffer memory Output receive area Write x2 Du f Input send 8 area Image x 1 Reads with BBLKRD MOV FROM instruction or automatic refresh 2 Writes with BBLKWR MOV TO instruction or automatic refresh Output image CPU module QJ71PB93D slave station 4 FUNCTIONS MELSEC Q 1 Reading writing I O data 2 a Where to be stored The I O data are stored in the following buffer memory of the QJ71PB93D e Input data Input send area Buffer memory address 100H to 1BFH e Output data Output receive area Buffer memory address Ou to BF Read write methods Read or write I O data from the buffer memory to devices in CPU module by the following methods Read Write Methods Setting Location Data Consistency Function Automatic refresh GX Configurator DP Dedicated instructions BBLKRD BBLKWR Sequence program Av
33. 13 c Refer to 11 in this section for the on off timing Station numbers can be set from the class 2 master station In this case specifying TRUE for No_Add_Chg disables the station number change on the QJ71PB93D The station number of the QJ71PB93D cannot be changed while the station number change is disabled To change the station number again clear the station number in the station number change request area of the QJ71PB93D buffer memory address 515 203n to cancel the disabled status Refer to Section 3 4 2 6 PECIFICATION EE MELSEC Q 3 4 Buffer Memory List 3 4 1 Buffer memory configuration The configuration of the buffer memory used to receive and send data with the QJ71PB93D and the CPU module is described below Buffer memory address whee g 0 Stores the output data received from the master station Output receive area 191 Max usable range 122 words Cu 192 System area Use prohibited FFu 255 1004 256 Used to set the input data to be sent to the master station Input send area Read Write 4BFul 447 Max usable range 122 words 1C0H 448 System area Use prohibited 1FFH 511 Operation baud rate Stores the baud rate in current operation Operation station number Stores the station number in current operation Station number set on flash ROM Stores the station number saved on the flash ROM Used to set tati ber to be set i to the stati 2034 515 Station number change request area I tee S
34. 261 105H 262 106H Empty 447 1BFx 1 The output receive area data are read to D100 to D105 using the BBLKRD instruction The data in D100 to D105 are written to the QY41P and Q64DA 2 Data of the QX41 and Q64AD are read to the D200 to D205 beforehand The data in D200 to D205 are written to the input send area using the BBLKWR instruction 7 6 7 6 7 PROGRAMMING 2 When MOV instruction is used CPU module Y40 to YSF X20 to X3F D102 to D105 D202 to D205 Output Y QY41P outputs QX41 inputs Device D DA conversion value output to Q64DA AD conversion value input from Q64AD 4 QJ71PB93D Output receive area Data module 1 Output 2 words Data module 3 Output 4 words Empty Input send area Data module 0 Input 2 words Data module 2 Input 4 words Empty 191 BFH 256 100n 257 101n 258 102h 259 103n 260 104n 261 105n 262 106n 447 1BFH MELSEC Q 1 Data are read from Input X or written to Output Y using the BMOV instruction 2 The output receive area data are read to D102 to D105 using the BMOV instruction The data in D102 to D105 are written to the Q64DA 3 Data of the Q64AD are read to D202 to D205 beforehand With the BMOV instruction the data in D202 to D205 are written to the input receive area Refer to Section 5 2 1 for the data module setting 7 7 7 PR RAMMIN Ge
35. 463 541 Fax 386 0 1 513 8170 8 12 1 chome Harumi Chuo Ku Tokyo 104 6212 UTECO GREECE Beijer Electronics AB SWEDEN Phone 81 3 622 160 60 5 Mavrogenous Str Box 426 GE Pr me ie 900 Poe Segen 35 86 0 one one MITSUBISHI ELECTRIC AUTOMATION Inc USA Fay 430 211 1206999 Fax 46 0 40 93 23 01 500 Corporate Woods Parkway Vernon Hills IL 60061 MELTRADE Kft HUNGARY Omni Ray AG SWITZERLAND Phone 1 847 478 21 00 Fert utca 14 Im Sch rli H Fax 1 847 478 22 53 HU 1107 Budapest CH 8600 Diibendorf Phone 36 0 1 431 9726 Phone 41 0 44 802 28 80 Fax 36 0 1 431 9727 Fax 41 0 44 802 28 28 Beijer Electronics SIA LATVIA GTS TURKEY Ritausmas iela 23 Bayraktar Bulvari Nutuk Sok No 5 LV 1058 Riga TR 34775 Yukar Dudullu Umraniye ISTANBUL Phone 371 0 784 2280 Phone 90 0 216 526 39 90 Fax 371 0 784 2281 Fax 90 0 216 526 3995 Beijer Electronics UAB LITHUANIA CSC Automation Ltd UKRAINE Savanoriu Pr 187 4 B M Raskovoyi St LT 02300 Vilnius UA 02660 Kiev Phone 370 0 5 2323101 Phone 380 0 44 494 33 55 Fax 370 0 5 232 2980 Fax 380 0 44 494 33 66 Systemgroup UKRAINE 2 M Krivonosa St UA 03680 Kiev MITSUBISHI ELECTRIC Phone 380 0 44 490 92 29 Fax 380 0 44 248 88 68 Mitsubishi Electric Europe B V FA European Business Group Gothaer Stra e 8 D 40880 Ratingen Germany FACTORY AUTOMATION Tel 49 0 2102 4860 Fax 49 0 2102 4861120 info mitsub
36. 7 16 7 16 7 PR RAMMIN Ge MELSEC Q 3 Assignment of devices in program examples The program examples given in this section use the following device assignments a Devices used by module 1 QJ71PB93D xt vcommunication o a XOA BBLKWR start request xD ModuleREADY S l gt E 2 QX41 X20 to X3F inputs of QX41 O gt O 3 QY41P pd 40 to VS oupusoravar 4 QH42P X60 to X7F Inputs of QH42P X60 to X7F Outputs of QH42P 5 QY41P pL X80 to xor outputs of AIP b Devices used by user mo Operation mode change flag Extension trouble notification flag m Operation mode change storage Extension trouble notification completion flag Initial input data write Extension trouble cancel flag M30 Error handling flag M100 Self diagnosis mode change c Devices used for automatic refresh or buffer memory reading Dio Operation mode storage D301 Extension trouble information data Le E mode change result D1000 to Output data storage D1005 Error code storage D1100 to Input data storage D1105 D300 Extension trouble information data length 7 17 7 17 7 PROGRAMMING 4 Program example MELSEC Q a When using dedicated instructions BBLKRD BBLKWR lt Initial input data write gt D XO XID X3 UoN d JH F Trump vm G256 K6 lt Input send area refresh start gt SET N20 M20 D x0 X1D X3 A a El Et TH CYOA lt Output data
37. BUS DP Master Module User s Manual Describes the overview system configuration specifications functions procedures before system SH 080572ENG operation programming and dedicated instructions of the QJ71PB92V 13JR84 Sold separately PROFIBUS DP Interface Module User s Manual Describes the overview system configuration specifications functions procedures before system SH 080127 operation programming and dedicated instructions of the QJ71PB92D 13JR22 Sold separately Type AJ71PB92D A1SJ71PB92D PROFIBUS DP Interface Module User s Manual IB 66773 Describes the overview system configuration specifications functions procedures before system 13JL20 operation and programming of the A1SJ71PB92D AJ71PB92D Sold separately GX Configurator DP Version 7 Operating Manual SH 080579ENG Explains the overview installation method screen operations etc of GX Configurator DP Version 7 13JU54 Sold separately Conformation to the EMC Directive and Low Voltage Instruction When incorporating the Mitsubishi programmable controller into other machinery or equipment and keeping compliance with the EMC and low voltage directives refer to Chapter 3 EMC Directive and Low Voltage Instruction of the User s Manual hardware supplied with your CPU module or base unit The CE logo is printed on the rating plate of the programmable controller indicating compliance with the directives Note that no additional measures are necessar
38. CPU module QJ71PB93D Slave station 1 Use the data assignment mode setting to set the layout on the buffer memory Refer to Section 5 2 2 x2 Reads with BBLKRD MOV FROM instruction or automatic refresh x3 Writes with BBLKWR MOV TO instruction or automatic refresh 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q 4 Setting method when using GX Configurator DP This section describes how to make setting from GX Configurator DP When using another configuration tool refer to the relevant manual 1 Add a slave station on the graphical network editor D untitled pp1 PROFIBUS Master Right click on the cable section Keele Select Insert DP Slave 1 I O Mapping 2 The screen for selecting a slave station appears Select the QJ71PB93D Device Database 33 GSD devices GSD Database Select Global Global Project Vendor Slave Device Group Revision Select PLC PLC Ident No Available Slave Systems 4 Bitmap Normal C Diagnostics Select QJU71PB93D Special Function Jace Bim GSD DDB File Pb930659 gsd Bitmap File PB930659 bmp Click the OK button des te Die Ok 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q 3 Click the Select Modules button in the Slave Parameter Settings dialog box Slave Parameter Settings Model QJ71PB93D Revision Vendor MITSUBISHI ELECTRIC CORPORATION AA Slave Properties Name FDL Address I Watchdog min T_sdr Gro
39. D Un SC o 0 to FEH F Upper 2 digits of the I O number in 3 digit notation BIN16 bit Head address of buffer memory in output receive area Specified device area Head number of device in which read data is stored Specified device area Number of reading data 1 to 122 Word BIN16 bit Function Reads the data of the output receive area buffer memory while simultaneously preventing data separation Error If the following event is encountered an operation error will occur Error code 4101 e A value out of the set range is set for the set data e The size of the data obtained by adding the number of data to be read to the head address of the data to be read exceeds the buffer memory size e The number of data to be read for the head address and subsequent is less than the number of reading data Program Example Program for reading 122 point data starting at the buffer memory address 0 in the output receive area of the QJ71PB93D module head I O number 0 to DO to D121 when M10 turns on M10 XOA G BBLKRD Up KO DO K122 DEDICATED INSTRUCTION S SE MELSEC Q 8 3 G BBLKWR Usable devices Internal device Weed direct device Intelligent Set data user File Weed function Index Constant we IT module register KH Word device Zn UO GO pfs fe oo J gt ee pon o O o J Instruction Execution symbol condition Command G BBLKWR I Setting Data Setting U
40. D INEA RBT d o o CROATIA Sirius Trading amp Services stl ROMANIA k Ge d n Losinjska 4a Aleea Lacul Morii Nr 3 Ce er Bali HR 10000 Zagreb RO 060841 Bucuresti Sector 6 AFRICAN REPRESENTATIVE Base d e EE Phone 385 0 1 36 940 01 02 03 Phone 40 0 21 430 40 06 one 48 0 Fax 385 0 1 36 940 03 Fax 40 0 21 430 40 02 CBI Ltd SOUTH AFRICA EE AutoCont CS CZECH REPUBLIC INEARBTd SERBIA Private Bag 2016 MITSUBISHI ELECTRIC EUROPE B V RUSSIA Technologika 374 6 aa ta ZA 1600 Isando gp or ale nab 8 floor CZ 708 00 Ostrava Pustkovec SER 113000 Smederevo Ge a 0 E E Ge Phone 420 595 691 150 Phone 381 0 26 615 401 ax 27 0 G Fax ae 595691 a 381 0 26 615 401 m MITSUBISHI ELECTRIC EUROPE B V SPAIN oe PENMANE Prue ai LOVAKIA T Ae a DK 4000 Roskilde SK 911 01 Trencin DEES Gg del Vall s Barcelona Phone 45 0 46 75 76 66 Phone 421 0 32 743 0472 Phone 902 131121 A 34 935653131 iced 046 755626 TaN 4421 003273373 20 Fax 34935891579 e ler aoe Eesti OU ESTONIA GE Se sr o Pre ov SLOVAKIA MITSUBISHI ELECTRIC EUROPE B V WE eebe ey faa baa UK Brondi a Phone 372 0 6 518140 Phone 421 0 51 7580 611 UicHlatfield Herts ALTO BXB Fax 372 e 518149 Fax 421 0 51 7580 650 Phone 44 0 1707 27 61 00 Beijer Electronics OY FINLAND INEA RBT dan SLOVENIA Ss FIN 28400 Uv 51 1000 Ljublj vila jubljana MELAN oaie CORPORATION JAPAN phone 358 0 207 463 540 Phone 386 0 1 513 8116 eee f Fax 358 0 207
41. DL Address 1 0 125 Autom Refresh INS Au Size in words 0 0 122 Ofitput Size in words o 0 122 but CPU Device Ou u CPU Device Make sure the box is unchecked 7 PROGRAMMING lt Initial input data write gt When using MOV instruction H x0 Op X3 Uo Cap d dh Trump KO G256 K6 lt Input send area refresh start gt SET M20 Won ra x0 vun x3 d Af 1 JP gu lt Output data read gt X1 x0 Oh UO 4 HH BOY op K4Y40 K2 UO Toun e D102 K4 Du UA lt Input data write gt LEM 0 E K4 X1 x0 X1D UO H Dm vum Ge K2 Ven UGN n O EU D202 K4 UO lt Error handling gt DN D202 G258 K4 x3 UO 4 aA NN 2040 D20 H30 SET Y3 x3 Y3 F d RST Y3 RST L lt Extension trouble information notification request gt Ei D20 HO ser iio MOV K2 D300 UN D20 D301 Wu XID H x2 UO H 1 d dh FBNOVP D300 2041 K2 SET Y2 Wu x2 d RST Y2 RST Mo SET HH Wi UO H Mov oun D20 7 12 MELSEC Q Initial input data write Input send area refresh start Outputs data to Y40 to Y5F Reads digital value from output data Writes digital value to Q64DA Write data in X20 to X3F to the input send area Reads digital value from Q64AD Write data in digital value to the input send area Stores error code Resets error Turns on extension trouble notification flag when error code is other than 0 Sets exte
42. F0x 2288 Input send area used status Stores the current used status of the input send area Read 8FBu 2299 8FCu 2300 System area Use prohibited AFFu 2815 Do not write any data in the system area Use prohibited of the buffer memory If data is written to the system area Use prohibited there is a risk that the programmable controller system may malfunction 8CFH 2255 Operation mode change request area 3 SPECIFICATIONS MELSEC Q 3 4 2 Buffer memory detail description 1 Output receive area buffer memory address OH to BFH Un GO to Un G191 Stores the output data received from the master station The structure varies with the data module setting and data assignment mode setting in the slave parameters Refer to Section 5 2 1 to 5 2 3 Input send area buffer memory address 100H to 1BFH Un G256 to Un G447 Used to store the input data to be sent to the master station The structure varies with the data module setting and data assignment mode setting in the slave parameters Refer to Section 5 2 1 to 5 2 3 Operation baud rate buffer memory address 200H Un G512 Stores the baud rate in current operation Baud Rate Stored Value Baud rate not yet recognized 0000H 9 6 kbps 96E2H 19 2 kbps 19E3H 45 45 kbps 45E3H 93 75 kbps 93E3H 187 5 kbps 18E4H 1 5 Mbps 15E5H 3 Mbps 03E6H 6 Mbps O6E6H 12 Mbps 12E6H The stored value while the I O communication signal X01 is on is valid Use t
43. IEC Developer GID Settings dialog box PLC and GX IEC Developer GID Settings CPU Device Access GX IEC Developer GID Settings PLC Project CAMELSEC Sample SOFTCTRL PRO i 3 Write the parameters to the master module with the Download to Module command This will add the automatic refresh parameters set by GX Configurator DP to the GX IEC Developer project 4 Start the intelligent function module utility from GX IEC Developer Debug View Extras Window Help Si Project Backup Gi pe Project Restore Update Variables Find Unused Variables Th Export variables Intelligent Function Utility gt Verify System Variables Options 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q 5 Edit the automatic refresh settings in the intelligent function module utility 6 Write the intelligent function module parameters to the CPU module Intelligent function module utility C MELSEC G Intelligent Function module parameter Bed Tools Help Intelligent function module paramete Monitor Test Read from PLC Start 1 0 No Modi I Annan REMARKS 1 In the Intelligent function module utility of GX Developer the module model name of the QJ71PB93D is displayed as Parameter setting module Intelligent function module parameter g oE E EH Deane E Io See x is displayed in the Module model name field 2 The automatic refresh pa
44. Less than 1102 km 0 4 or more 22AWG 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q b Wiring specifications QJ71PB93D SHIELD PROFIBUS cable RxD TxD N green 3 Connector Use a D sub 9 pin male connector for the PROFIBUS cable The applicable screw size is 4 40 UNC 4 Wiring specifications for bus terminator When the QJ71PB93D is a terminal station use a connector with built in bus terminator that meets the following wiring specifications VP 6 o ___ Ry 390Q04 2 min1 4W RxD TxD P 3 o Ria 2200 42 min1 4W RxD TxD N 8 oO Rg 390Q 2 min1 4w DGND 5 o 5 PROFIBUS equipment The PROFIBUS cables connectors and other PROFIBUS equipment must be purchased or obtained at user s discretion For details on PROFIBUS equipment access the following website e PROFIBUS International http www profibus com 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q 5 7 2 Wiring precautions As one of the requirements to give full play to QJ71PB93D s functions and make up the system with high reliability it is necessary to have an external wiring unsusceptible to an influence of noise Precautions against external wiring of QJ71PB93D is described below 1 Communication cable wiring Do not install the QJ71PB93D communication cable together with the main circuit power lines and or load carrying wires for other than the programmable controller
45. N EE SEH Read Write number change request signal Y13 St th ini ber of ti hen the stati b b 2044 516 Station number rewritable count to flash ROM Ge SE ee uel deeg Read saved onto the flash ROM during continuous operation System area Use prohibited 7F7x 2039 Module error information Stores the error code detected by the QJ71PB93D Fu 2041 d Used to set the extension trouble notification data to the master F Extension trouble information area Read Write 8051 2053 station 8061 2054 System area Use prohibited 8CDx 2253 2254 Current operation mode Stores the operation mode in current operation sed to set a new operation mode to be set in response to the Read Write operation mode change request signal Y11 8D0u1 2256 Operation mode change result Stores the result of changing the operation mode in response to the Read operation mode change request signal Y11 Current communication watchdog timer value _ Stores the communication watchdog timer value in current operation Self diagnostic status type code display area Stores the diagnostic status type code at the time of self diagnostics Swapping function setting status Stores the setting status of the swapping function in current operation 8D41 2260 System area Use prohibited 8DFu 2271 8E0n 2272 Output receive area used status Stores the current used status of the output receive area Read 8EBu 2283 8ECu 2284 System area Use prohibited 8EFH 2287 8
46. PROFIBUS DP Slave Module MITSUBISHI LL L Cy Semmes series Mitsubishi Programmable Controller MELSEG Q TaJ71PB93D e SAFETY PRECAUTIONS e Read these precautions before using Before using this product please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety to handle the product correctly The instructions given in this manual are concerned with this product For the safety instructions of the programmable controller system please read the user s manual of the CPU module used In this manual the safety instructions are ranked as DANGER and CAUTION a N Indicates that incorrect handling may cause hazardous conditions RS DANGER resulting in death or severe injury 8 CAUTION Indicates that incorrect handling may cause hazardous conditions i resulting in medium or slight personal injury or physical damage Note that the CAUTION level may lead to a serious consequence according to the circumstances Always follow the instructions of both levels because they are important to personal safety Please save this manual to make it accessible when required and always forward it to the end user DESIGN PRECAUTIONS lt DANGER e When a communication error occurs on PROFIBUS DP the status of the faulty station is as follows Configure an interlock circuit in the sequence program using the communication status information input X1 so that the
47. S BEFORE SYSTEM OPERATION MELSEC Q 5 6 Execution Method for Self diagnosis This section describes the procedure for self diagnosis status during self diagnosis and results after self diagnosis It take about 5 seconds to complete the self diagnosis 1 Procedure for self diagnosis The procedure for self diagnosis is as follows a When using GX Configurator DP 1 Set the CPU module to STOP 2 Display the Module Configuration screen by the procedure given in Section 5 3 1 3 3 Select Diagnostic Mode in Mode and then click Set Mode 4 When the self diagnostics starts the TEST LED lights up Module Configuration Microsoft Internet Explorer File Edit View Favorites Tools Help Qa O x AGH Asen She rovortes Br amp D a Address http localhost 8080 gxmonitor qslavecfg xml SlatNr 0 GX Configurator DP fe Back to Rack Configuration Module Configuration Board Type QJ71PB93D FDL Address Mode Normal Operation zi SetMode fNomel Operation Diagnostic Mode n Browse Project Update Autorefresh in CPU WriteToPLC Data Save Current Configuration b When using GX Developer 1 Set the CPU module to STOP 2 In the Online gt Debug gt Device test of GX Developer set 2H self diagnosis mode in the operation mode change request area buffer memory address 8CFH and turn on the operation mode change request signal Y11 to start th
48. TEST ERR DIA SYNC BF FREEZE PROFIBUS I F A 2 mM Nas o2 Es O O O CO CO O O O Lett Y QJ71PB93D B 90 3 55 p14 0 16 27 4 1 08 i Unit mm inch App 2 App 2 Ind INDEX A area extension trouble information 008 3 17 input send 3 15 input send area used status 3 21 output receive eeeceeeeeeeeeeeeteeeeteeeteetenees 3 15 output receive area used status 3 20 applicable cable eeeeeeeeeeeeeseeeieeeeees 5 25 applicable module 1 10 ee eeeeeeeeeeteeeeeenteeee 2 1 automatic refresh 5 13 B BBLKRD start request acceptance completion signal EE 3 8 BBLKRD start request sonal 3 12 BBLKWR start request acceptance completion signal Geer 3 8 BBLKWAR start request long 3 13 BE gedet 5 22 buffer ue 3 14 bus Cycle me A 9 6 1 DUS terminator oo ee cece eee eeeeeeeeeeeeeeteaeeneeeaeeeas 5 26 C Clg E EE 5 2 Class 1 master Station 00 0 eeeeeeeeeeeeeeeeeeeneeees A 9 Class 2 master station le eeeeeeeeeeeeeeeeeeeeneeees A 9 communication watchdog timer ceeee 5 2 Confiourator nee 5 3 CONNECIOR saci ees 5 26 current communication watchdog timer value 3 19 Current Operation Mode 3 18 D Data Alignment Mode AAA 5 10 data assignment mode setting 5 8 data Modulet n R 5 8 data size Setting asne 5 4 DnE AAEE ATRA ETETA AETAT 5 3 DIA EE 5 22 DIVIDED Mode nasenne 5 9 E ITOT COde ioanen aa a a en 3 17 9 3 extension
49. X1D is on and the Watch dog timer error X00 is off Status of I O Address Displays whether or not the module parameterized by the user matches the Verify mounted module Present Error Displays No error only Error Display f Does no display an error code stored in the Module error information area Error History buffer memory address 7F8x of the QJ71PB93D Error contents e Contents No display for the QJ71PB93D Disposal Disposal Module Name Displays the model name of the target module UO Address Displays the head I O number of the target module Module Module access 9 TROUBLESHOOTING MELSEC Q 3 H W Information HIW Information Module Display format Module Name QJ71PB93D Product information 070620000000000 B HEX C DEC HAW LED Information HAW SW Information Value Iten Value Iten Value Item Value 0001 0000 0000 0001 Stop monitor a HAN LED information The LED ON OFF states of the QJ71PB93D are displayed For the value of each item 0001 indicates ON and 0000 OFF RUN ON Normal OFF Hardware error module watchdog timer error ON Parameter setting error or module error occurrence OFF Normal ON Extension trouble information present OFF Extension trouble information absent ON Before data communication or communication error detection OFF During data communication TEST ON During self diagnostic exec
50. a Previous data x at Bc EN at Bc 2 X at Bc 3 Data 1 Data 2 Data 4 Master station side a cycle time Bc eA Bc 1 I Bc 2 Bc 3 ae on when communication Kr master station is ready UO communication signal X01 Input send data refresh stop Input send data refresh start Input send area refresh directive signal YOO QJ71PB93D side Input send area Buffer memory address 100 to 1BFH 1 For the bus cycle time calculation formula refer to the manual for the PROFIBUS DP module used as the master station 2 YOO must be turned ON after X01 turns ON and data are stored in the input send area 3 Hold the data for more than 1 bus cycle time If the data are held for the time less than 1 bus cycle time they may not be sent 4 Transmission delay equal to 1 bus cycle time occurs to read the data in the output receive area after X01 turns on Transmission delay equal to a maximum of 1 bus cycle time occurs to store data in the input receive area after X01 turns on 4 FUNCTIONS MELSEC Q 4 1 2 UO data separation prevention function The I O data separation prevention function is a function to prevent the I O data of the CPU module from being unmatched with the I O data of the master station The following shows an example of output data separation When not using the separation prevention function Output data CPU modu
51. a master station and slave stations The station number is set within the range from 0 to 125 Slave parameter The parameter for a slave station which is set on the master station The setting items are described on the GSD File I O configuration information Data module Information on I O configuration of a slave station Input data Data sent by the QJ71PB93D and received by the master station data input by the master station Output data Data sent by the master station and received by the QJ71PB93D data output by the master station Global control This function enables synchronization command transmission for I O data from a Class 1 master station to slave stations Communication watchdog timer Extended diagnostic error information Watchdog timer set in the slave parameter of the master station Diagnostic information specific to each slave station Each of slave stations notifies of it to the master station when an error is detected Bus cycle time PROFIBUS DP processing time for the master station to perform cyclic transfer with each slave station Module watchdog timer Watchdog timer in the QJ71PB93D Product Configuration The product configuration of this product is given in the table below Quantity QJ71PB93D QJ71PB93D PROFIBUS DP slave module 1 VERVIEW S MELSEC Q 1 OVERVIEW This is the user s manual for the QJ71PB93D PROFIBUS DP slave module h
52. active I Syne Output I Freeze Input a utol Initialize slave when failing to respond l Swap 1 0 Bytes in Master Click the User Param button S cance i Select Modules 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q 2 Make a desired setting for Word Data Swap Extended User Parameters Parameter Location Module Slot Number S 0 User_Prm_Data Offset 8 J Edit Unsigned as hex User_Prm_Data_Size Parametrize DP Slave Module Comment e el value 0 Swap function 01 gt Word Data Swap 5 T value 1 TE Data Mommen Mode COMP mdde E ET D I value 0 setting che Edit Hex ox Cancel enable Swaps the high and low bytes of data in units of Word Data Swap words when receiving or sending I O data disable Sends or receives I O data as they are Default 3 Write the configured parameters into the master station Refer to the GX Configurator DP Operating Manual for creating projects and writing parameters to the master station by GX Configurator DP 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q 5 3 Parameter Setting to Slave Station QJ71PB93D Set the parameters displayed below to the QJ71PB93D Set the station number of the QJ71PB93D Station number FDL Address je Setting range From 0 to 125 Automatic refresh parameters Set the parameters to automatically refresh the I O data Autom Refresh 1 between the QJ71PB93D and CPU module 1 Set the automat
53. aeeeaeesaeesaeeeaeeeaeesaeeeaeesaeesaeesaeeneesaeesatenas 2 3 2 3 Confirmation of Function Version and Serial No cccccccceseceeeceeeeeeeeeceeeeaeeeeaeeeeeeeeeeeeeseaeeseeeseneeseeees 2 4 3 SPECIFICATIONS 3 1 to 3 22 3 1 Performance Specifications ccccceccceeccceesceeeseeeeeeeeeeneecaneeseaeeceaceceaneeseneeseaeeseaeessaeessenesneeeeeseeeseneesass 3 1 3 2 Network Configuration Ze eege dieses ang an eh gh aaa Gaede arg a ea a ee ae 3 2 323 El le EE 3 3 3 3 1 VO Signall istrenn A A a 3 3 3 3 2 I O signal detail description 0 eee eeeeeeeeeeteeeeeeeeeeeeaeeeaeeeaeeeaeseaeeeaeeeaeeeaeseaeeeaeeeaeeeaeeeaeeeaeeeaeesaeesas 3 4 3 4 Butter Memory List a sarirani eebe ee 3 14 3 4 1 Buffer memordconfouraton a E A EEE E E 3 14 3 4 2 Buffer memory detail description 3 15 3 5 Operation Modenan ano eai EENS e ina n a aa Ea a aade 3 22 4 FUNCTIONS 4 1 to 4 12 4 1 Functions for Communication with Class 1 Master c cesecceeeeeeeeeeeeeeeeeeeeeesaeeeeaeeseaeeeseeesseeeseneeaes 4 1 4 1 1 HO data Communication Tunclon ea a a e a a a a a aa aea aa aE Aaea 4 1 4 1 2 I O data separation prevention function ccccecceeecceeeceeeeceeeeeeeeeaeeeeaeeeeeaeeseaeeeeaeeesieeeseaeetenetsaees 4 4 4 1 3 Global control functio EE 4 7 4 1 4 Word data swapping function cceeecceeeceeeeceeeeeeeeeeeeeceeeeeeaeeceaeescaeeecaaeesaeeeeaeeseaeeesaeeesenesiaeeseaees 4 10 5 PROCEDURES BEFORE SYSTEM OPERATION 5 1 t
54. ailable MOV or FROM TO instructions Sequence program Not available Sending receiving I O data The sending and receiving process is described below a b The I O communication signal X01 turns on when the QJ71PB93D is ready to communicate with the master station When the I O communication signal X01 turns on data output from the master station are stored into the output receive area Buffer memory address OH to BEL When sending input data to the master station write the initial value to the input send area Buffer memory address 100H to 1BFh Turning on the input send area refresh directive signal YOO starts input data communication Turning off the signal stops the input data communication 4 FUNCTION Gas MELSEC Q e The WO communication signal of the QJ71PB93D is turn off when communication with the master station is stopped Receiving output data from the master station Output Data Data Data Data N oL iie EE station side SS Bus cycle time Bc Beil rt Bc2 kt Be3 Lk Bod 557i Ee on when communication Turned off when communication with master station is oe with master station is disabled UO communication signal X01 S QJ71PB93D lt Output receive area side Buffer memory address lt Data 1 X Data Z X Data 4 gt Du to Bol Sending input data to the master station Input data Input data Input data Input are
55. al property rights or any rights of any other kind nor does it confer any patent Japanese Manual Version SH 080317 E licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual 2002 MITSUBISHI ELECTRIC CORPORATION INTRODUCTION Thank you for purchasing the Mitsubishi Programmable Controller MELSEC Q Series Before using the equipment please read this manual carefully to develop full familiarity with the functions and performance of the graphic operation terminal you have purchased so as to ensure correct use Please forward a copy of this manual to the end user CONTENTS SAFRETIVAPREGAUTIONS EE A 1 REVISIONS E A 4 INTRODUCTION aceite hee dere ee ee E r A E Na A 5 CONTENT Sa 2 tia nies chee EE A 5 leie Gud EI EE A 7 Conformation to the EMC Directive and Low Voltage Instruction cceeceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeaeeeateas A 7 About the Generic Terms and Abbreviations ss nssenssensstesttesstestttrtnstnsttnsttnsttnsttnnttnntnnntnnnnnennenne nren A 8 Meanings and Definitions of the Temms ennt A 9 Product CONTIGUPATION EE A 10 1 OVERVIEW 1 1to1 3 Re Kee 1 2 2 SYSTEM CONFIGURATION 2 1to2 5 2 1 Applicable System S aicvscteecedinnetle oie nan ene ie nee eine ee ieee ee eee 2 1 2 2 Precautions for Configuring a SYStOM 0 0 eecceeceeeeeeeeeeeeeeeeeeeeeeeee
56. area refresh directive signal YOO X01 State YOO State Data in Output Receive Area Input Send Area Master station QU71PB93D PB93D Input Not sent Input area send area ON OFF Output Output area Not updated receive area Master station QJ71PB93D Input send area Output Updated receive area QJ71PB93D 0 data sent Input send area Output Output area Updated receive area 3 SPECIFICATIONS MELSEC Q 14 Extension trouble notification request signal Y02 a b c Turning on the extension trouble notification request signal Y02 sends the data set in the extension trouble information area buffer memory address 7F9H to 805n to the master station as extension trouble information The extension trouble notification request is ignored while the I O communication signal X01 is off When you have checked that the extension trouble notification completion signal X02 is on turn off the extension trouble notification request signal Y02 Refer to 3 in this section for the on off timing To turn on off Y02 provide an interlock using X02 15 Module error reset request signal Y03 a d Turning on the module error reset request signal Y03 resets the error of the QJ71PB93D The module error signal X03 turns off and the ERR LED goes off When you have checked that the module error signal X03 is off turn off the module error reset request signal Y03 Makin
57. ata module setting Data Data Data Data Data Data module 0 module 1 module 2 module 3 module 4 module 5 CPU QJ71PB93D Input Output UO Output Input Output module 1 word 2 words 1 word 1 word 2 words 1 word Data Module Setting Output Data Input Data Data module 0_ 1 word input r Data module 1 2 words output Data module 2 JD word input output Data module 3 _ 1 word output O Data module 5 JD word output O Oo 5 PROCEDURES BEFORE SYSTEM OPERATION 1 Data assignment modes There are the following two assignment modes a DIVIDED mode In this mode storage location of I O data is assigned in the same way as the actual input output of data modules MELSEC Q Since arrangement in the assignment is the same as that of the actual inputs and outputs reading from or writing to I O modules and or intelligent function modules can be done with a single instruction Buffer memory address Output receive area E 1H 24 Used by data module 1 3H 4H sO ef TH 8H b LUMP mode Default In this mode the areas for storing input and output data are assigned in order of the data modules without allowing any empty space Because of this reading from or writing to UO modules and or intelligent function modules may not be executable with a single instruction When storing data in the output receive area and the input send area device areas can be used effectively Buffer memory address Out
58. ation flag RST M42 lt Operation mode change Self diagnosis mode gt J M100 PLS M10 M10 gt Operation mode change SET mi J request J M11 A0 X1D Y11 Uos Ltb L 2 62255 A Self diagnosis mode setting SET Yu h Operation mode change request X11 UoN T THOVP ei D10 Lt Stores operation mode data UON move 62256 Di Stores change result data L RST DP 1 Resets operation mode change request Resets operation mode change EES Ve J storage If changing the operation mode in this program example do not change it from GX Configurator DP 7 21 7 21 7 PROGRAMMING MELSEC Q 7 4 Global Control driven Program Execution 1 System configuration example This section shows a program example added when the program for the following configuration is executed using global control reception as a trigger Input signal Output signal g omepoap X0 to X1F YO to Y1F 1 The QJ71PB93D is to be mounted in slot 0 of the base unit with the head I O number set to OOH 2 Assignment of devices in program examples The program example given in this section use the following device assignments a Devices used by the QJ71PB93D UO communication FREEZE mode SYNC mode Module READY b Devices used by user Device M100 X6 ON processing FREEZE processing M102 SYNC processing 3 Program example lt Global control SYNC gt
59. buffer memory address 8D3H Un G2259 Stores the setting status of the swapping function set in the master station side parameter The stored value while the I O communication signal X01 is on is valid 0 Without swap setting 1 With swap setting 3 SPECIFICATIONS MELSEC Q 16 Output receive area used status buffer memory address 8EOH to 8EBH Un G2272 to Un G2283 Stores the used status of the output receive area The bits corresponding to the buffer memory addresses in output receive area set by the master station parameters Data module setting turn on The stored value while the I O communication signal X01 is on is valid Corresponding Buffer Memory Addresses Hexadecimal in output receive area pet pes oi ee e et peeo es por ee pes ei es poe e e o 11H 21H Si e Example of output receive area used status Buffer memory Address Area name z Hexadecimal Decimal q OH 0 1H 1 b0 ON indicates that the output receive area at address OH is used and b14 ON that the output receive area at address EH is used e EH 14 FH 15 J Output 10H 16 receive area e S A 11H 17 b1 ON indicates that the output receive area at address 11H is used and b15 ON that the output receive area at address 1FH is used E S E 1EH 30 1FH 31 AJ 20H 32 b15 b14 b13 b12 b11b10 b9 b8 b7 b6 b5 b4 b3 b2 bi b Output 8E0H 2272 0 41 0 0 0 0
60. ccecccccecceesccececeeeeceeeeneeeeaeeseaeeecaeeeseaeeceaeeseaeeecaeeecaeeeseaeeseaeeseieeseieeseiseesaes 7 5 1231 LUMP Ode eege Eege 7 5 3 2 DIVIDED Modeni ennonn ee A ae en edd 7 14 7 4 Global Control driven Program Execution ccccecccseceeeeeeeeeeeeeeneeseeeeeesaeeeaeeeaeeeaeesaeeeeeeeeeteseeeaeeatenas 7 22 8 DEDICATED INSTRUCTIONS 8 1to8 4 8 1 Precautions for Execution of Dedicated Instructions ceccceeeeceeeeeeeeeeeeeeeeeeeeeeaeeteaeeeeeeeteneeeseateaes 8 1 RENERT RE 8 3 8 3 G BBLAWR idee deed ENEE ENEE ENEE ENEE ENEE Eed 8 4 9 TROUBLESHOOTING 9 1to9 5 9 1 LED indicated Error Causes and Actions ccccccceeeceeeeeeeeeneeeceeeeeneeecaceeseaeeseaeeecaeescaeeeseneeseaeeeneeseaees 9 1 9 2 Checks and Actions for Network related Faults en 9 1 9 3 Causes of Failure to Make Normal Data Communication and Actions to Be Taken 9 2 9 4 Eror Code hist y tic geltend lh a eal ae 9 3 9 5 Checking the QJ71PB93D Status by System Monitor of GX Developer 9 4 APPENDICES App 1toApp 2 Appendix 1 Differences Between QJ71PB93D and ATGI 1PPO3aD App 1 Appendix 2 External Dimensions ccccccceecceeeseeceeeeeeeceeeeneesneeseaeeceaneseaneeeaeeseaeessaneeseneeseeeeeeteneees App 2 INDEX Index 1 to Index 3 gt e2 gt D About Manuals The following are manuals related to this product Request for the manuals as needed according to the chart below Related Manuals Manual Number PROFI
61. ction module utility of GX Developer the module model name of the QJ71PB93D is displayed as Parameter setting module Intelligent function module parameter CH Mcchde madel mame riba elo A GAS ech a EF __ Unavailable Available SSS ml SS SS ES En 0000 SS x is displayed in the Module model name field 2 The automatic refresh parameters can be checked on the Auto Refresh Settings page accessed by the web based online access function of GX Configurator DP 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q b When using GX IEC Developer Write the automatic refresh parameters to the CPU module by the following steps Editing the automatic refresh settings in GX IEC Developer without following the steps below will delete the automatic refresh parameters of the QJ71PB93D 1 Inthe PLC and GX IEC Developer GID Settings dialog box select AutoRefresh Update of GID GD Project PLC and GX IEC Developer GID Settings CPU Device Access GX IEC Developer GID Settings Buffer Devices C Slave Specific Transfer bam to D1000 E Beie D2000 to D2000 JT Comm Trouble Area a to ees J Ead Comm Trouble Area to I Slave Status Area to r Data Transfer using C Copy Instructions AutoRefresh Update of CPU AutoReftesh Update of GID GD Project Select this 2 Seta GX IEC Developer project file in the PLC and GX
62. d into GX Configurator DP GSD file installation is therefore unnecessary b When using another configuration tool on the master station Please consult your local system service center or representative for the GSD DDB file of the QJ71PB93D 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q 5 2 1 Data module setting Set the I O configuration information of the master station and QJ71PB93D 1 Number of data modules to be set Set the data modules per QJ71PB93D within the following range e Number of data modules Max 40 modules e Total data size Input data Max 122 words Output data Max 122 words rot ne ens 2 Data module setting pattern For data module setting choose the corresponding one from among 96 patterns made available by combining I O designation 3 types data size 16 types and separation prevention setting 2 types Setting Item Types I O designation Input output input output Data size 1 to 16 words Word unit con word data module unit con whole Separation prevention setting When even one data module is set to data module unit con whole in the separation prevention setting data inconsistency is prevented based on the specified data size 3 Data module setting example The data module setting example given here assumes the following configuration e Configuration example Data module 0 Data module 1 Data module 2 CPU QJ71PB93D Input module Output module UO modul
63. device related trouble information set by the user as desired 7 Compatibility with global control function Compatibility with the global control function allows the updating of I O data at the QJ71PB93D to be controlled from the class 1 master station using the command SYNC UNSYNC FREEZE UNFREEZE sent by the class 1 master Refer to Section 4 1 3 8 Communication with class 2 master station The following communications can be made with the class 2 master station master station designed for network management to perform booting maintenance and diagnostics of PROFIBUS DP e Read from input send area output receive area e Read of I O configuration information e Station number change For the way to use each function refer to the manual of the class 2 master station used 9 I O data separation prevention For data transmission between the CPU module and buffer memory of QJ71PB93D automatic refresh or dedicated instruction are used to prevent I O data from being separated Refer to Section 4 1 2 ZS The data of specified sizes are not matched with each other 10 Compatibility with multiple CPU system Even when a plurality of CPU modules are installed through the multiple CPU system this model can be controlled by any CPU module 2 SYSTEM CONFIGURATION MELSEC Q 2 SYSTEM CONFIGURATION 2 1 Applicable Systems This section describes applicable systems 1 Mountable modules No of mountable modules and mountable
64. e CSV file creating Serial No Ver Product No e The serial No of the module is displayed in the Serial No column e The function version of the module is displayed in the Ver column e The serial No Product No shown on the rating plate is displayed in the Product No column Note that is displayed in the Product No column for the QJ71PB93D since this module is not supporting Product No display 2 4 2 4 2 SYSTEM CONFIGURATION SE MELSEC Q x1 The Product No is displayed in the column only when the Universal model QCPU is used The serial No described on the rated plate may not match with the serial No displayed on the product information of GX Developer The serial No on the rated plate describes the management information of the product The serial No displayed on the product information of GX Developer describes the function information of the product The function information of the product is updated when adding functions PECIFICATION EE MELSEC Q 3 SPECIFICATIONS This chapter describes the performance specifications network configuration I O signals buffer memory and operation modes of the QJ71PB93D For the general specifications of the QU71PB93D refer to the QCPU User s Manual Hardware Design Maintenance and Inspection 3 1 Performance Specifications Specifications PROFIBUS DP station type Slave station Complies with EN50170
65. e module 64 points 64 points 32 points 4 words 4 words 2 words X20 to X5F Y60 to YOF XAO to XBF YAO to YBF Setting example Data Module Setting QJ71PB93D Buffer Memory Data module 0 Input 4 words word unit Data module 1 Output 4 words word unit Data module 0 area 4 words is reserved in the input send area Data module 1 area 4 words is reserved in the output receive area Data module 2 Input output 2 words word unit Data module 2 areas 2 words each are reserved in the output receive area and input send area 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q a Total data size The total data size of the data modules 0 to 2 is as follows Input date size Data module 0 input 4 words data module 2 input 2 words 6 words e Output date size Data module 1 output 4 words data module 2 output 2 words 6 words e Total date size Input date size 6 words output data size 6 words 12 words b Flows of data The following indicates the flows of data between the modules Master station Output area Q Q S E s E Bus terminator Zi S Bus terminator amp Ei Output receive area Le SS gt X20 to X5F Data module 2 x Ei Output Zi Y60 to YOF 0 0H to 191 BFH E Input send area 1 Q XAO to XBF Data module 0 N p Data module 2 EE fette YAO to YBF 256 100n to 447 1BFH
66. e QJ71PB93D cannot be changed with the station number change disabled To change the station number again clear it by a station number change request area buffer memory address 515 203H and then cancel the disabled status Refer to Section 3 4 2 6 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q 4 When setting intelligent function module parameters for other modules a When using GX Developer After writing automatic refresh parameters with GX Configurator DP read out the intelligent function module parameters by Read from PLC in GX Developer Read from PLC Connecting interface USB lt gt PLC module PLC Connection No f Station Mo Mod PLC type DS Target memory Program memory Device memory x Title File selection Device data Program Common Local Param Prog Cancel all selections MAIN a jose fh Program MAIN 07 06 20 14 13 52 21 Related functions Te Parameter Transfer setup PLC Network Remote 07 06 20 14 12 M Intelligent module 07 06 20 14 14 58 Device Memo Remote operation Device data Clear PLC memory d Format PLC memory ew ange Arrange PLC memory Refresh view SHEET 0 3276 Create title Total free space volume Bytes If intelligent function module parameters of other than the QJ71PB93D are written to the CPU module without the above operation the automatic refresh parameters configured for the QJ71PB93D will be deleted 1 In the Intelligent fun
67. e self diagnosis automatically 3 The TEST LED on QJ71PB93D will flash during the self diagnosis 5 PROCEDURES BEFORE SYSTEM OPERATION 2 3 MELSEC Q Self diagnosis results a When completed normally The TEST LED and ERR LED go off b When completed abnormally The TEST LED and ERR LED will light up If the self diagnostic result is an error any of the following type codes is stored into the self diagnostic status type code display area buffer memory address 8D2h The type code can be checked in the buffer memory batch monitor of GX Developer Result of Self diagnostics code Normal ed fault E E H to 8006H lSwaptesterror test error am O O Completion of the self diagnostics Perform the following operation after checking normal or abnormal termination of the self diagnostics a When completed normally Return the operation mode of the QJ71PB93D to the normal operation mode Doing this will place the QJ71PB93D in the state of waiting for parameter reception from the master station 1 When using GX Configurator DP Select Normal Operation in Mode on the Module Configuration screen and click Set Mode 2 When using GX Developer Select Online Debug Device test from the menu of GX Developer set OH normal operation mode in the operation mode change request area buffer memory address 8CFH and turn on the operation mode change request signal Y11
68. emory QJ71PB93D when master watchdog timer setting in the address 8D1H 1 station becomes faulty parameter is 0 e Set the communication watchdog timer in the master station parameter The swap setting in the slave e Check the current setting with the swap function setting Upper and lower bytes of parameter of the master status buffer memory address 8D3H 1 data sent and received are station is not appropriate for e Set Yes No of swap setting in the master station inverse the data sent received by the parameter according to the data sent received by the master master station Data is not communicated to a correct area 1 Check during I O communication when X01 is ON 9 2 9 2 TROUBLESHOOTIN SE MELSEC Q 9 4 Error Code List The following are the error codes of the QJU71PB93D Any of the error codes is stored into the module error information buffer memory address 7F8n at error occurrence Corrective Action 40014 The station number saved on the flash ROM is Set the station number to within y outside the range the range again Station number error 40024 An attempt was made to change the station Set the station number to within number to the one outside the range the range A station number change request was given Y13 turned on in the following station number rewrite i i Station number rewrite Clear the station number with a 1006H disabled status error F ___ Station number change reques
69. empt to pull the cable to disconnect it from the module It could damage the module or the cable or cause malfunction due to a poor contact of the cable e A protective film is attached onto the module top to prevent foreign matter such as wire chips from entering the module when wiring Do not remove the film during wiring Remove it for heat dissipation before system operation STARTING AND MAINTENANCE PRECAUTIONS lt i DANGER e Before cleaning be sure to shut off all phases of the external power supply used by the system Failure to do so may cause electrical shocks A CAUTION e Never disassemble or modify the module This may cause breakdowns malfunctioning injury and or fire e When using a wireless communication device such as a cellular phone keep a distance of 25cm 9 85 inch or more from the programmable controller in all directions Failure to do so can cause a malfunction e Be sure to shut off all phases of the external power supply before mounting or removing the module Failure to do so may result in failure or malfunctions of the module e Do not mount remove the module onto from the base unit more than 50 times IEC 61131 2 compliant after the first use of the product Failure to do so may cause the module to malfunction due to poor contact of connector e Before handling the module always touch grounded metal etc to discharge static electricity from the human body Failure to do so can cause the module
70. en 8 Consult your local service center RUN Off Watchdog timer error occurred j or representative Check the error code and take Parameter setting error or module error occurred corrective actions Refer to Section 9 4 e Check the parameter setting and cable wiring and check for Communication error was detected or data open cable and like Refer to communication is not yet started Section 9 2 e Start data communication e Set the station number 9 2 Checks and Actions for Network related Faults Checked Area Action se three or less repeaters to be relayed Refer to Section 3 1 Use each segment within the specified length Refer to Section 3 1 Install one bus terminator at each end Refer to Section 3 1 Transmission path Use within the specified number of devices connected in each segment Refer to Section 3 1 Check the cable wiring and check for open cable Refer to Section 5 7 Check whether the cables are of Type A or not Confirm the error with the on off status of the LEDs and take the corrective LED i action Refer to Section 9 1 Module error information of Confirm the error with the error code and take the corrective action buffer memory Buffer memory Refer to Section 9 4 address 7F8H f Confirm the error of the master station and take the corrective action Master station S Refer to the master station manual TROUBLESHOOTIN SE MELSEC Q 9 3 Causes of Failure to Make N
71. eration mode Checks result in operation mode in operation mode change change result area Address 8D0H request area Address 8CFH ee mode 3 9 3 SPECIFICATIONS MELSEC Q 11 Station number change completion signal X13 a This signal turns on when the station number setting is completed by setting the station number to the station number change request area buffer memory address 2034 and turning on the station number change request signal Y13 Check the setting result in the operation station number area buffer memory address 201H and module error information area buffer memory address 7F8n of the buffer memory Turning off the station number change request signal Y13 after confirmation of the result turns off the station number change completion signal X13 If a station number error error code 1002H has occurred the station number change request is made invalid and operation continues with the station number that had been used before the change request was given Turning on the station number change request signal Y13 suspends I O communication Turning on the station number change completion signal X13 resumes I O communication Input send area refresh directive signal YOO Station number change request signal Y13 Station number change completion signal X13 MOVITO MOV FROM Buffer memory Sets station number in station Checks result in operation station number cha
72. ereafter abbreviated as QJ71PB93D which is used to connect a MELSEC Q series programmable controller to a PROFIBUS DP network The QJ71PB93D operates as a slave station in the PROFIBUS DP network Class 1 master station QJ71PB92V Slave station QJ71PB93D Slave station MELSEC ST system Slave station 0o0000 Bus terminator T lal EO Bus terminator 1 OVERVIEW MELSEC Q 1 1 QJ71PB93D Features 1 2 Bus terminator PROFIBUS DP network Conformance with EN50170 Volume 2 Part 1 2 3 4 8 The module conforms with EN50170 Volume 2 Part 1 2 3 4 8 and can communicate with the master station as a PROFIBUS DP slave station I O data communication with class 1 master station The module can communicate I O data with the class 1 master station master station that makes data communication cyclically with a slave station of PROFIBUS DP The QJ71PB93D supports the PROFIBUS DPV0 function PROFIBUS DPV1 and PROFIBUS DPV2 which are extended versions of PROFIBUS DP are not supported a Available data size The QJ71PB93D can handle the following size of data Refer to Section 4 1 1 Input data Max 122 words Output data Max 122 words HE Class 1 master station Bus terminator Buffer memory Write 2 Read x1 4 l qa receive A Output Output area image Input send Input
73. f automatic refresh Refer to Section 4 1 2 Set the number of words of the data to be transferred from the QJ71PB93D to the CPU Input Size in words module SC Set the number of words of the data to be transferred from the CPU module to the Output Size in words QJ71PB93D Set the target storage device for the case where the data in the output receive area buffer Input CPU Device memory address 0H to BFH of the QJ71PB93D are transferred to the CPU module Set the target storage device for the case where the CPU module data are transferred to the Output CPU Device input send area buffer memory address 100H to 1BFH of the QJ71PB93D 3 Writing the configured parameters Write the configured parameters to the CPU module in the following steps 1 Save the settings from File gt Save As Sample dpx MELSOFT d SR Setup Tools View Windt New Ctrl N Open Cctrl o Close 2 Select Tool gt Server Administrator Sample dpx MELSOFT GX Configurator DP File Setup MEAS View Window Help Server Administrator GX Configurator Client itp f localhost 8080 gxmonitor netwselect3 xml 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q 3 Click Start Server GX Configurator DP Server Administrator Iw This computer is the server Server Computer Name epc80108 Server IP Address 10 97 85 177 Stop Server Server TCP Port ax URL local http localhost 8080 gxmonitor URL remote
74. f since a communication time out error does not occur The output data in the output receive area is held Communication watchdog timer Setting in Master Station Side Operation at Master Station Fault Parameters k No error Invalid SYNC receive signal X06 remains on F Communication time out error occurrence Valid 2 to 65025 SE SYNC receive signal X06 turns off The communication watchdog timer setting can be confirmed in the Current communication watchdog timer value buffer memory address 8D1H of the QJ71PB93D 7 FREEZE mode signal X07 a The FREEZE mode signal X07 turns on when the QJ71PB93D is placed in the FREEZE mode by a FREEZE request from the master station b The FREEZE mode signal X07 turns off when the FREEZE mode is terminated by an UNFREEZE request from the master station a communication stop or a CPU reset c The FREEZE LED turns on off in synchronization with the on off of the FREEZE mode signal X07 FREEZE request UNFREEZE request Request from master FREEZE mode signal X07 FREEZE LED Off On Off 3 SPECIFICATIONS MELSEC Q The FREEZE mode signal X07 turns off if a communication time out error occurs due to a stop of communication with the master station while the FREEZE mode signal X07 is on However if the communication watchdog timer setting in the master station side parameters is invalid the FREEZE mode signal X07 does not turn off since a
75. g an error reset clears the error code in the module error information area buffer memory address 7F8n Refer to 4 in this section for the on off timing 16 BBLKRD start request signal YOA a b d This signal is used to start the processing of the dedicated instruction BBLKRD When executing the dedicated instruction BBLKRD always turn on the BBLKRD start request signal YOA to turn on the BBLKRD start request acceptance completion signal XOA so that it is used as an interlock condition When the BBLKRD start request signal YOA is turned on in the sequence program the QJ71PB93D starts the processing of the dedicated instruction BBLKRD When the BBLKRD start request signal YOA is turned off from the sequence program the processing of the dedicated instruction BBLKRD is ignored Only when using the dedicated instruction BBLKRD turn on the BBLKRD start request signal YOA Note that if the dedicated instruction BBLKRD is not executed after the BBLKRD start request signal YOA has been turned on the transmission delay time between the master and a slave stations is prolonged PECIFICATION e MELSEC Q 17 BBLKWR start request signal YOB a This signal is used to start the processing of the dedicated instruction BBLKWR When executing the dedicated instruction BBLKRD always turn on the BBLKRD start request signal YOB to turn on the BBLKRD start request acceptance completion signal XOB so t
76. g cases 1 Failure occurring from inappropriate storage or handling carelessness or negligence by the user Failure caused by the user s hardware or software design 2 Failure caused by unapproved modifications etc to the product by the user 3 When the Mitsubishi product is assembled into a user s device Failure that could have been avoided if functions or structures judged as necessary in the legal safety measures the user s device is subject to or as necessary by industry standards had been provided 4 Failure that could have been avoided if consumable parts battery backlight fuse etc designated in the instruction manual had been correctly serviced or replaced 5 Failure caused by external irresistible forces such as fires or abnormal voltages and Failure caused by force majeure such as earthquakes lightning wind and water damage 6 Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi 7 Any other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the user 2 Onerous repair term after discontinuation of production 1 Mitsubishi shall accept onerous product repairs for seven 7 years after production of the product is discontinued Discontinuation of production shall be notified with Mitsubishi Technical Bulletins etc 2 Product supply including repair parts is not available after production is discontinued 3 Oversea
77. gnal XOB turns on 3 SPECIFICATIONS c BBLKWR start request signal YOB BBLKWR start request acceptance N completion signal X0B BBLKWR instruction MELSEC Q When the BBLKWR start request signal YOB is turned off in the sequence program the BBLKWR start request acceptance completion signal OD also turns off 10 Operation mode change completion signal X11 a This signal turns on when an operation mode change is completed by setting the required operation mode to the operation mode change request area buffer memory address 8CFH and turning on the operation mode change request signal Y11 At this time the result is stored into the operation mode change result area buffer memory address 8DOk Turning off the operation mode change request signal Y11 after confirmation of the result turns off the operation mode change completion signal X11 This signal turns on at either normal or abnormal completion of an operation mode change At abnormal completion the operation mode change request is made invalid and operation continues in the operation mode that had been used before the change request was given Input send area refresh directive signal Y00 Operation mode change request signal Y11 Operation mode change completion signal X11 Operation mode change result area Buffer memory address 2256 8D0u MOV TO MOV FROM instruction instruction Sets the op
78. hat it is used as an interlock condition b When the BBLKWR start request signal YOB is turned on in the sequence program the QJ71PB93D starts the processing of the dedicated instruction BBLKWR c When the BBLKWR start request signal YOB is turned off from the sequence program the processing of the dedicated instruction BBLKWR is ignored d Only when using the dedicated instruction BBLKWR turn on the BBLKWR start request signal YOB Note that if the dedicated instruction BBLKWR is not executed after the BBLKWR start request signal YOB has been turned on the transmission delay time between the master and a slave stations is prolonged 18 Operation mode change request signal Y11 a Turn on the operation mode change request signal Y11 when changing the operation mode to the one set in the operation mode change request area buffer memory address 8CF b When you have checked that the operation mode change completion signal X11 is on turn off the operation mode change request signal Y11 c Refer to 10 in this section for the on off timing 19 Station number change request signal Y13 a Turn on the station number change request signal Y13 when changing the station number to the one set in the station number change request area buffer memory address 2031 b When you have checked that the station number change completion signal X13 is on turn off the station number change request signal Y
79. he master station parameter to set the baud rate of the PROFIBUS DP Operation station number buffer memory address 201H Un G513 Stores the station number of the QJ71PB93D in current operation The storage range is 0 to 126 The stored value while the I O communication signal X01 is on is valid If the station number is not set the station number is as set in the factory or has been cleared 126 is stored I O data cannot be communicated if the station number is not set 3 SPECIFICATIONS MELSEC Q 5 Station number set on flash ROM buffer memory address 202H Un G514 Stores the station number of the QJ71PB93D set to the flash ROM The storage range is 0 to 125 If the station number is not set to the flash ROM the station number is as set in the factory or has been cleared FFFFH is stored Station number change request area buffer memory address 203H Un G515 Used to set any of the following values when setting a new station number of the QJ71PB93D in response to the station number change request signal Y13 Set Value Set a station number By turning on b8 the station number is saved onto the flash ROM b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 D b4 b3 b2 bi b Fixed to 0 E 0000H to 007DH or Ee 0 Not to the flash ROM i ithi 0100H to 017DH ot save onto the flas Set a station number within the 1 Save onto the flash ROM range from OH to 7DH 0 to125 Example 1 Set the station number t
80. ic refresh parameters only when using the automatic refresh 1 Parameter setting method a FDL address The FDL address can be set by either of the following e GX Configurator DP Refer to Section 5 3 1 e Sequence program Refer to Section 7 2 b Automatic refresh parameters The automatic refresh parameters can be set only in GX Configurator DP Refer to Section 5 3 1 5 3 1 Setting FDL address and automatic refresh parameters The following explains the procedure for setting the FDL address station number and automatic refresh parameters using GX Configurator DP Refer to the GX Configurator DP Operating Manual for usage of GX Configurator DP 1 Start procedure Select File gt New gt QJ71PB93D PROFIBUS DP VO Slave in GX Configurator DP Network Setup Select Module Type CPU Series Qn C QnA FX MELSEC Device QJ 71PB93D PROFIBUS DP V0 Slave Cancel 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q 2 Setting items Ed sample dpx PROFIBUS Settings FDL Address 10 0 125 Autom Refresh IV Enable Iw Consistency Input Size in words 32 0 122 Output Size in words 2 0 122 Input CPU Device D D 1000 0 12256 Output CPU Device D X 1100 0 12256 to 131 Set the station number of the QJ71PB93D FDL Address a range 0 to 125 Autom Refresh ei the automatic refresh e OE the automatic refresh Enable the automatic refresh Enable the separation prevention at the time o
81. ing the operation mode using Y11 X11 on the sequence program Be sure to switch the mode while the module READY signal X1D of the QJ71PB93D is ON If data are read from or written to the buffer memory with the X1D status ignored the CPU module may detect an error to stop the sequence calculation 2 SYSTEM CONFIGURATION EE S MELSEC Q 2 3 Confirmation of Function Version and Serial No This section explains how to check the function version and serial No of the QJ71PB93D 1 Checking the Rating plate on the side of the module The serial No and function version of the module are printed in the SERIAL section of the rating plate MELSEC G Serial No Upper 5 digits Function version Conformed standard db MITSUBISHI ELECTRIC MADE IN JAPAN 2 Checking through GX Developer The following explains how to check the serial No and function version of the module through GX Developer The serial No and function version are displayed on the Product information list or Module s Detailed Information screen of GX Developer The procedure for checking the serial No and function version on the Product information list screen is shown below Start Procedure Diagnosis System monitor Product inf list Product Information List Slot ype Series Model name Points I 0 No Master PLC Serial No Ver Product No 0 0 Intelli Q QI71PB93D 32pt 0000 070620000000000 B 0 1 None 0 2 Non
82. ion BBLKRD BBLKRD BBLKRD lt gt Transmission delay time for output Refer to Section 6 1 1 b When MOV FROM instruction is used Refer to the relevant manual for the processing time Bus cycle time of the master station MOV FROM MOV FROM Transmission delay time for output Refer to Section 6 1 2 TRANSMISSION DELAY TIME sus MELSEC Q c When automatic refresh is used ON Class 1 master station Refer to the relevant Sea manual for the B le ti processing time PROFIBUS DP Se of the master station QJ71PB93D UO image memory Buffer memory CPU module Transmission delay time for output Refer to Section 6 1 3 6 TRANSMISSION DELAY TIME MELSEC Q 2 The processing of the input send data The following shows how the CPU module data are sent to the master station a When BBLKWR MOV TO instruction is used Class 1 master station Refer to the relevant manual for the PROFIBUS DP Bus cycle time processing time of the master station QJ71PB93D UO image memory Buffer memory CPU module BBLKWR MOV TO lt Transmission delay time for input Refer to Section 6 2 1 b When automatic refresh is used Class 1 master station Refer to the relevant manual for the PROFIBUS DP Bus cycle time processing time of the master station QJ71PB93D UO image memory Buffer memory
83. ions that are connectable to master station The maximum number of slave stations that may be connected to one master station depends on the specifications of the master station Class 1 Master station Bus terminator Bus terminator CPU QJ71 module PB93D Slave Slave Slave Repeater Station No 1 Station No 2 Station No 30 Bus terminator Bus terminator rater Piatto dere Wut CRU QJ71 module PB93D Slave Slave Slave Station No 31 Station No 32 Station No 60 PECIFICATION EE MELSEC Q 3 3 I O Signal 3 3 1 I O signal list The I O signal configuration used in the QJ71PB93D and the data communications with the CPU module are described below The following I O signal assignment is based on the case where the start I O No of the QJ71PB93D is 0000 installed to slot 0 of the main base unit Device X represents an input signal from the QU71PB93D to the CPU module Device Y shows an output signal from the CPU module to the QJ71PB93D Refer to the corresponding reference sections for details Signal direction QJ71PB93D CPU module Signal direction CPU module QJ71PB93D Device No Description Device No X00 Watchdog timer error Input send area refresh directive signal X01 UO communication signal Use prohibited X02 Extension trouble notification completion signal Extension trouble notification request signal Yoo Y01
84. ishi automation com www mitsubishi automation com
85. le QJ71PB93D Buffer memory Master station 1 i 0 1 e 3 Se 5 CG 7 0 i 2 4 i 6 D Read during Data data transfer transmission Area where data transmission from master station is updated IS Area where data transmission from master station is not yet updated 1 I O data separation prevention function a The separation of I O data occurs when the buffer memory is also read from written to the CPU module during the data transmission between the buffer memory of QJ71PB93D and the master station b When the separation prevention function is used the reading from the CPU module is waited during the data transmission from the master station to the buffer memory output receive area of QJ71PB93D and executed after the data transmission has been completed Also the data transmission to the master station is waited until the writing from the CPU module to the buffer memory input send area of QJU71PB93D is completed and executed after the writing has been completed When using the separation prevention function Output data QJ71PB93D Buffer memory 1 0 1 i O ge 5 4 7 6 7 6 Read after completion of gt completed data transfer III Area where data transmission from master station is updated Area where data transmission from master station is not yet updated CPU module Master station
86. le is removed a When extended trouble occurs When the host becomes faulty for example the data stored in the extended trouble information area of the buffer memory is sent to the master station as extended trouble information In the following procedure the QJ71PB93D can notify the master station of the extended trouble of the host 1 Inthe buffer memory 7FAu to 805n set the data to be sent to the master station 2 Inthe buffer memory 7F9u set the length of the data to be sent to the master station 3 Turn ON the extension trouble notification request signal Y02 4 After the extension trouble notification completion signal X02 has turned ON turn OFF the extension trouble notification request signal Y02 PECIFICATION eS A ae MELSEC Q b When extended trouble is removed When the host is not faulty anymore notify the master station that there is no fault In the following procedure the QJ71PB93D can notify the master station that the extended trouble of the host has been removed 1 Inthe buffer memory 7F9u set the data length 0 2 Turn ON the extension trouble notification request signal Y02 3 After the extension trouble notification completion signal X02 has turned ON turn OFF the extension trouble notification request signal Y02 c DIALED of QJ71PB93D front panel is turned on as follows KO h S x02 ES S g ES 7 7F9H Excepto Io 0 DIA Off On Off 10 Current operation mode
87. llowing product warranty details before using this product 1 Gratis Warranty Term and Gratis Warranty Range If any faults or defects hereinafter Failure found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company However if repairs are required onsite at domestic or overseas location expenses to send an engineer will be solely at the customer s discretion Mitsubishi shall not be held responsible for any re commissioning maintenance or testing on site that involves replacement of the failed module Gratis Warranty Term The gratis warranty term of the product shall be for one year after the date of purchase or delivery to a designated place Note that after manufacture and shipment from Mitsubishi the maximum distribution period shall be six 6 months and the longest gratis warranty term after manufacturing shall be eighteen 18 months The gratis warranty term of repair parts shall not exceed the gratis warranty term before repairs Gratis Warranty Range 1 The range shall be limited to normal use within the usage state usage methods and usage environment etc which follow the conditions and precautions etc given in the instruction manual user s manual and caution labels on the product 2 Even within the gratis warranty term repairs shall be charged for in the followin
88. loading status Check the input power supply voltage Check that the CPU module STOP RUN switch is in the STOP position Power on 4 Check operation with the LEDs Data communication normal RUN lit BF extinguished Data communication abnormal ERR BF lit Write a program to the CPU module 1 When setting the station number from the class 2 master station connect the PROFIBUS cable to the QJ71PB93D before the setting Reset the CPU module or switch power from OFF to System start 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q 5 2 Parameter Setting to Master Station In PROFIBUS DP systems slave parameters for the QJ71PB93D must be set to the master station For the setting method refer to the manual of the configuration tool to be used Set the stati ber of the QJ71PB93D EDL Address e ES ation number of the Q Setting range 0 to 125 Set the watchdog timer period of the communication watchdog timer The QJ71PB93D detects a communication error if data cannot be received from the master station within the configured time If the communication watchdog timer has not been set no error is detected Setting range 2 to 65025 set value X 10ms Set the minimum response time during which the response frame is sent from the QJ71PB93D to the master station Usually the default value is used Setting range 1 to 255 Specify groups Grp1 to Grp8 to which the QJ71PB93D belo
89. master station Dedicated instructions are not executable if this data module setting is incomplete e When using BBLKRD Set an output or I O module e When using BBLKWR Set an input or I O module Turn on the start request signal for the dedicated instruction Turn on the following signal before executing a dedicated instruction e When using BBLKRD Turn on the BBLKRD start request signal YOA e When using BBLKWR Turn on the BBLKWR start request signal YOB Attempting to execute a dedicated instruction with the above signal OFF results in no processing no execution Note that as interlock signals for execution of dedicated instructions the following signals must be used When using BBLKRD The BBLKRD start request acceptance completion signal XOA e When using BBLKWR The BBLKWR start request acceptance completion signal Op Example BBLKRD instruction Execution command XOA e H K BBLKRD uo KO Do K32 Execution of the BBLKRD and BBLKWR instructions The BBLKRD and BBLKWR instructions work independently 8 DEDICATED INSTRUCTIONS MELSEC Q 8 2 G BBLKRD Usable devices Internal device Link direct device Intelligent ind x Set data System user File JODO function Constant register register pom d o y l de Instruction Execution symbol condition Command G BBLKRD G BBLKRD Un ei n2 Setting Data Setting data Detail Set Range Data Type Module head I O number of QJ71PB93
90. ments a Devices used by the QJ71PB93D Device xo Jade timer error nr ere Station number change completion Station number change request up Mee READY LE b Devices used by user Device Station number setting flag DO Operation station number storage device 7 PROGRAMMING 4 Program example HO x0 XID Y13 Up Sets the station number to 1 d Cap d Cap Dun me G515 Stores the station number in the flash ROM 1 SET Y13 Station number change request TT SC DO Stores the operating station number in DO rRST 13 Resets the station number S change request rRsT HO Resets the station number 8 setting flag x1 When not writing the station number to the flash ROM replace H101 with H1 1 Storing a station number in the flash ROM allows the QJ71PB93D to operate as the station number even if the power is switched from off to on or if the CPU module is reset 2 The station number can be also set from GX Configurator DP Refer to Section 5 3 1 However if the station number is changed in this program example do not perform it from GX Configurator DP 7 4 7 4 7 PR RAMMIN Ge S MELSEC Q 7 3 Communication of I O Data 7 3 1 LUMP mode 1 System configuration example A program example for I O data communication is provided here to show the case where the LUMP mode is used for data assignment of the following configuration Refer to 2 for the outline of the program example
91. n 6 or later Single CPU system Q12PH Q25PHCPU Version 7 10L or later Ge CPU system Single CPU system CPU system QO2UCPU Version 8 48A or later Not available Multiple CPU system ee CPU system Q03UD Q04UDH QO6UDHCPU Version 8 48A or later Version 7 02C or later Multiple CPU system CPU system 2 SYSTEM CONFIGURATION MELSEC Q 2 2 Precautions for Configuring a System 1 Precaution for station number setting a Ifa station number different from the one of the currently operating station is set during I O data communication the communication is suspended to execute the setting It is restarted after completion of the station number setting b Do not change the operation mode during execution of the station number setting Doing so may disable proper station number setting or mode change 2 Precaution for parameter writing a Ifa parameter based on a station number setting different from the one of the currently operating station is written to the QJ71PB93D that is exchanging I O data the I O data communication is suspended It is restarted after completion of parameter writing b Do not change the operation mode from the sequence program during parameter writing Doing so may disable proper station number setting or mode change c Do not write parameters from multiple GX Configurator DPs to a single QJ71PB93D at the same time Doing so makes the parameter values of the QJ71PB93D incorrect 3 When switch
92. n Module head I O number of QJ71PB93D 0 to FEH Upper 2 digits of the I O number in 3 digit notation Head address of buffer memory in input send area BIN16 bit Set the head address as the offset address from OH Specified device area Example Set 100H as OH and 120H as 20H Function Writes data to the input send area buffer memory while simultaneously preventing data separation Error If the following event is encountered an operation error will occur Error code 4101 e A value out of the set range is set for the set data e The size of the data obtained by adding the number of data to be written to the head address for data writing exceeds the buffer memory size e The number of data to be written for the head address and subsequent is less than the number of writing data Program Example Program for writing the 122 point data of DO to D121 to the addresses starting at the buffer memory address 100H in the input send area of the QJ71PB93D module head UO number 0 when M10 turns on D XOB a LE DR uo KO Do K122 TROUBLESHOOTIN SE MELSEC Q 9 TROUBLESHOOTING The following is the troubleshooting of the QJ71PB93D When any error has occurred first check the CPU module or power supply module for a fault When the CPU module has no fault refer to Sections 9 1 to 9 4 9 1 LED indicated Error Causes and Actions The following indicates the causes of the errors indicated by the LEDs and the actions to be tak
93. nge request area number area Address 201h Address 203H module error information area Address 7F8n 12 Module READY signal X1D a b This signal turns on when the QJ71PB93D is enabled for access from the CPU module It turns on regardless of the operation mode This signal turns off when the QJ71PB93D is disabled for access from the CPU module due to a module watchdog timer error hardware fault or like 3 SPECIFICATIONS MELSEC Q 13 Input send area refresh directive signal YOO a Turning on this signal during communication with the master station I O communication signal X01 ON starts data communication of the input send area buffer memory addresses 100H to 1BFx in the buffer memory b Turning this signal off stops sending of the data in the input send area to the master station 0 data are sent c While the I O communication signal X01 is off ON of the input send area refresh directive signal YOO is invalid OFF OFF E communication stop ON during communication communication stop Input send area refresh OFF l ON OFF OFF directive signal Y00 a ON Data send in input d l l send area Not sent d Sent Not sent Data update in output aod receive area Not Updated i l Updated ja Not updated The following are the relationships between data send and receive of the QJ71PB93D which vary with the states of the UO communication signal X01 and input send
94. ngs Multiple groups Grp1 to Grp8 can be set Min T_sdr Group identification number Set the I O configuration information set to Cfg_Data of the master station Section Data module setting e Setting type 96 pattern 5 2 1 e Number of setting 1 to 40 Set the data layout of the output receive area input send area of the buffer memory set to User_Prm_Data of the master station Data assignment mode Section e Setting range setting 5 2 2 0 LUMP mode default 1 DIVIDED mode Set whether the word data sent received on the QJ71PB93D side will be swapped or not set to User_Prm_Data of the master Swap setting station Section e Setting range 5 2 3 0 Without swap default 1 With swap 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q 1 Procedure for setting the slave parameters for QJ71PB93D to the master station 1 Read the GSD DDB file of the QJ71PB93D to the configurator corresponding to the master station used Refer to 2 in this section 2 Set the QJ71PB93D slave parameters using the configurator 3 Write the parameters to the master station Master station Configurator GSD file for QJ71PB93D DDB file Refer to Section 5 2 1 to 5 2 3 for setting examples using GX Configurator DP When using another configuration tool on the master station refer to the relevant manual 2 GSD DDB file a When using GX Configurator DP GSD files have been incorporate
95. nication watchdog timer Setting in Master Station Side Operation at Master Station Fault Parameters No error Invalid i SYNC mode signal X05 remains on Communication time out error occurrence Valid 2 to 65025 SYNC mode signal X05 turns off The communication watchdog timer setting can be confirmed in the Current communication watchdog timer value buffer memory address 8D1H of the QJ71PB93D 6 SYNC receive signal X06 a The SYNC receive signal X06 turns on receipt of a SYNC request from the master station b While the SYNC mode signal X05 is on the receipt of a SYNC request from the master station changes the on off state of the SYNC receive signal X06 At this time the SYNC mode signal X05 remains on c The SYNC receive signal X06 turns off when the SYNC mode is terminated by an UNSYNC request from the master station a communication stop or a CPU reset SYNC request SYNC request SYNC request UNSYNC request Request from master SYNC mode signal X05 SYNC receive signal X06 SYNC LED Off On Off PECIFICATION eS A ae MELSEC Q d The SYNC receive signal X06 turns off if a communication time out error occurs due to a stop of communication with the master station while the SYNC receive signal X06 is on However if the communication watchdog timer setting in the master station side parameters is invalid the SYNC receive signal X06 does not turn of
96. notification request Extension trouble notification completion flag Stores error code 7 PROGRAMMING lt Cancel of extension trouble information notification gt X2 WI SET RST LES X1D X1 Li d d H LE MOVP KO N42 X2 d RST RST lt Operation mode change Self diagnosis mode gt M100 H PLS N10 H SET M11 Hi XID Y11 H Lt f HOVP H2 SET DN E UO H MOVP 2254 S UO MOVP G2256 7 11 U RST M42 WI Uo 62041 Y2 Y2 M42 M10 M11 UO G2255 Li Cancels informati Notifies ma MELSEC Q extension trouble ion notification ster station of canceling extension trouble notification Extension t request rouble notification Resets extension trouble information notification flag Operation mode change request Self diagnosis mode setting Operation mode change request Stores operation mode data Stores change result data Resets operation mode change request Resets operation mode change storage 1 If changing the operation mode in this program example do not change it from GX Configurator DP Confirm that Consistency is disabled with Autom Refresh enabled Refer to Section 5 3 1 When the automatic refresh and data separation prevention functions are enabled dedicated instructions are not processed E untitled ppx1 PROFIBUS Settings E
97. nsion trouble notification data length Sets extension trouble notification data Stores extension trouble notification data in buffer memory Extension trouble notification request Resets extension trouble notification request Extension trouble notification completion flag Stores error code 7 PR RAMMIN S MELSEC Q lt Cancel of extension trouble information notification gt D20 HO SET M42 S Cancels extension trouble information notification RST N41 D X2 UO Notifies master station of H HF we Ku G2041 canceling extension trouble notification SET Y2 Extension trouble notification request RST Y2 Resets extension trouble information notification flag RST M42 lt Operation mode change Self diagnosis mode gt 7 j PLS wg Win gt Operation mode change SET M11 request J M11 0 Wl Y11 UO f d LE Twwp H2 G2255 Self diagnosis mode setting Operation mode change request ON UON us 62254 D10 Stores operation mode data Um ue 62256 Di Stores change result data Resets operation mode change request RST YU Resets operation mode change storage PT mi If changing the operation mode in this program example do not change it from GX Configurator DP 7 13 7 13 7 PROGRAMMING MELSEC Q 7 3 2 DIVIDED mode 7 14 1 System configuration example A program
98. nstruction OH to BFH Execution of read from output receive area PECIFICATION E MELSEC Q 3 Extension trouble notification completion signal X02 a The extension trouble notification completion signal X02 turns on when the extension trouble information is sent to the master station by turning on the extension trouble notification request signal Y02 While the I O communication signal X01 is off the extension trouble notification completion signal X02 does not turn on since an extension trouble notification request is ignored b Turning off the extension trouble notification request signal Y02 turns off the extension trouble notification completion signal X02 I O communication signal X01 Extension trouble Extension trouble notification notification request request signal Y02 S eo Extension trouble Extension trouble notification notification completion completion signal X02 A d MOV TO Extension trouble information area Buffer memory address 7f9H to 805n Extension trouble information write When performing the extension trouble notification requests consecutively provide an interlock using the extension trouble notification completion signal X02 in the procedure shown above 4 Module error signal X03 a This signal turns on when an error occurs At this time an error code is stored into the module error information area buffer memory address 7F8n
99. nted Output CPU Device D ell 1100 0 12256 to 1131 y 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q 5 4 Installation The following section explains the precautions when handling the QJ71PB93D from the time they are unpacked until they are installed For more details on the module installation refer to the QCPU User s Manual Hardware Design Maintenance and Inspection 5 4 1 Handling precautions 1 Do not drop the module case or subject it to heavy impact since it is made of resin 2 Do not remove the PCB of each module from its case This may cause a failure in the module 3 Be careful not to let foreign objects such as wire burrs enter the module during wiring In the event any foreign object enters remove it immediately 4 The top surface of the module is covered with a protective film to prevent foreign objects such as wire burrs from entering the module during wiring Do not remove this film until the wiring is complete Before operating the system be sure to remove the film to provide adequate heat ventilation 5 Tighten the module fixing screws and connector mounting screws using torque within the following ranges Tightening torque range Module fixing screws M3 screws 0 36 to 0 48 N m PROFIBUS cable connector screws 0 20 to 0 28 N m 4 40 UNC screws 1 The module can be easily fixed onto the base unit using the hook at the top of the module However it is recommended to secure the m
100. o 12 Not saved onto the flash ROM 000CH Example 2 Set the station number to 12 Saved onto the flash ROM 010CH Clears the station number After clearing the operation station number is 126 The station number set to the flash ROM is FFFEH 1 Saving the station number to the flash ROM enables the operation based on the station number setting stored in the flash ROM even if the module is powered OFF and then ON or the CPU module is reset 2 At power on or at CPU reset FFFEH is stored Turn on the station number change request signal Y13 after storing a setting value given in the above table Executing the station number change request with any invalid value results in a station number error error code 1002H 7 Station number rewritable count to flash ROM buffer memory address 204H Un G516 Stores the remaining number of times when the station number setting can be saved onto the flash ROM during operation The initial value is 60 a Counting down the number of times Every time the station number is changed on the flash ROM the count is decremented by 1 The count is not decremented when station number setting is requested with the same station number as the one saved on the flash ROM buffer memory address 202 3 SPECIFICATIONS 8 9 MELSEC Q b Resetting the count The count is reset to 60 by resetting the CPU by powering on the QJ71PB93D or by clearing the station number on
101. o 5 27 5 1 gt Procedures ibefore Oetrange Eege Aeddi 5 1 A 5 A 5 5 2 Parameter Setting to Master Station 0 0 0 ecceceeseeeeeeeeeeeeeeneeeeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeeeaeesateeas 5 2 9 2 1 Data module Setting eet 5 4 5 2 2 Data assignment mode Setting A 5 8 52 3 Swap Setting EE 5 11 5 3 Parameter Setting to Slave Station QU71PB93D 0 ee eeeeeeeeeneeeeeeeeeeaeeeaeeeaeeeaeeeaeecaeeeaeeeaeeeaeeeaeeas 5 13 5 3 1 Setting FDL address and automatic refresh parameters AAA 5 13 54 peter Her ee Re eed hatin Be ee e E th 5 21 5 4 1 Handling precautions cccccccccccescceeeeeeeeseeeeeeeeeaeeeeeaeeseaeeseaeeseaeeesaaeeseaeeseaeescaeeesceseeaeseaeeseneessieetes 5 21 5 4 2 il stall tion environment EE 5 21 5 5 Parti Names iti incr ides eee a eee at ete eee ete ae ae eee ar atts 5 22 5 6 Execution Method for Self diaQnosis A 5 23 Ds FE NIESEN E dang seta sogussa sy seta cungienadssy asta sguauseadsspss adstasieusedssipisvausadussedecpastesste 5 25 DCL PROFIBUS Cable wit erea a A N 5 25 of 2 Wiring precautions ee teh EES ited EES E inna hae dae 5 27 6 TRANSMISSION DELAY TIME 6 1to6 5 6 1 Transmission Delay Time of Output Receive Master station O1PBO3D 6 4 6 2 Transmission Delay Time of Input Send QJ71PB93D gt Master station cee eeeeeeeeeeeeeeeteeenteees 6 5 7 PROGRAMMING 7 1 to 7 22 1 Communication Sequence EE 7 1 Fe Staion Normber Setting EE 7 3 7 3 Communication of UO Data
102. odule with the module fixing screw if the module is subject to significant vibration or shock 5 4 2 Installation environment Refer to the QCPU User s Manual Hardware Design Maintenance and Inspection 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q 5 5 Part Names This section explains the part names of the QJ71PB93D QJ71PB93D RUN TEST ERR DIA SYNC BF FREEZE PROFIBUS I F Oooo Ooo0000 QJ71PB93D Description Displays the QJ71PB93D status Refer to 1 in this section 2 PROFIBUS Connector for connecting the table for the PROFIBUS DP network 1 interface connector 1 For the connector type use a male D Sub 9 pin The PROFIBUS cable must be created by the user for information regarding the cable wiring refer to section 5 7 The size of the screw which can be used for the connector is 4 40 UNC 1 LED QJ71PB93D RUN TEST ERR DIA SYNC BF FREEZE LED Description Reference Name Hardware error module RUN Normal watchdog timer error or Section 9 1 power failure ERR Parameter setting error or Neral Section 9 1 module error occurrence SYNC During SYNC mode Section 4 1 3 FREEZE During FREEZE mode PU CY Section 4 1 3 Extended trouble information Extended trouble Section 3 4 2 DIA present information absent 9 BF Before gaa communication Si During data communication Section 9 1 communication error detected diagnostics 5 PROCEDURE
103. oft Internet Explorer File Edit View Favorites Tools Help Q x aA Za Search she Favortes O 2 ds La Address http j localhost 6080 gxmonitor qslavecfg xmI7SlotNr 0 x Go links GX Configurator DP Back to Rack Configuration Module Configuration Board Type QJ71PB93D FDL Address C Sample dpx Browse 4Update Autorefresh in CPU 8 Click WriteToPLC to write the parameters into the CPU module 9 Powering OFF and then ON the programmable controller or resetting the CPU module makes the automatic refresh enabled when automatic refresh parameters are set To set intelligent function module parameters for other modules to the same CPU module perform the operation described in 4 in this section To change the FDL address perform the following to stop the refresh of the I O data between the master and slave stations e Turn off the Input send area refresh directive signal Y0 of the QJ71PB93D e Stop I O data communication on the master station side A new FDL address becomes effective right after the setting If the FDL address is changed during system operation I O data may be updated to those for the new FDL address Station numbers FDL addresses can also be set from a class 2 master station When setting the station number from the class 2 master station setting TRUE for No_Add_Chg disables the station number change on the QJ71PB93D The station number of th
104. on The delay time in transmission between the CPU module and master station is lengthened because the QJ71PB93D have to wait for reading from or writing to the CPU module and data transfer from to the master station Refer to Chapter 6 The separation prevention function can be disabled in the automatic refresh setting Refer to Section 5 3 1 2 Disable the separation prevention function when it is not necessary c When the separation prevention function is enabled in the automatic refresh setting Dedicated instructions are not executable They are not processed They can be executed when the separation prevention function is disabled in the automatic refresh setting 4 FUNCTIONS MELSEC Q 4 1 3 Global control function Bus terminator The inputs outputs of slave stations are controlled simultaneously for each specified group by multicasting broadcasting from the master station Refer to 1 in this section Set group numbers when using the global control function The group numbers are set to the slave parameters of the master station Refer to 2 in this section Class 1 master station Sent to group 1 Bus terminator SE E Slave Slave station station Wor ee AC eg EN x 1 Global control services available for QJ71PB93D The following table describes the global control services available for the global control function of the QJ71PB93D Service name Descrip
105. on permission Specifications subject to change without notice A MITSUBISHI ELECTRIC HEADQUARTERS EUROPEAN REPRESENTATIVES EUROPEAN REPRESENTATIVES EURASIAN REPRESENTATIVES MITSUBISHI ELECTRIC EUROPE B V EUROPE GEVA AUSTRIA ALFATRADE Ltd MALTA 100 Kazpromavtomatika KAZAKHSTAN German Branch Wiener Stra e 89 99 Paola Hill UL Zhambyla 28 Gothaer Stra e 8 AT 2500 Baden Malta Paola PLA 1702 KAZ 100017 Karaganda D 40880 Ratingen Phone 43 0 2252 85 55 20 Phone 356 0 21 697 816 Phone 7 7212 50 10 00 Phone 49 0 2102 486 0 Fax 43 0 2252 488 60 Fax 356 0 21 697 817 Fax 7 7212 50 1150 Fax 49 0 2102 486 1120 TECHNIKON BELARUS INTEHSIS srl MOLDOVA MITSUBISHI ELECTRIC EUROPE B V org sl CZECH REP Oktyabrskaya 19 Off 705 bld Traian 23 1 Czech Branch BY 220030 Minsk MD 2060 Kishinev Avenir Business Park Radlick 714 113a Phone 375 0 17 210 46 26 Phone 373 0 22 66 4242 MIDDLE EAST REPRESENTATIVES 7 158 00 Praha 5 Fax 375 0 17 210 46 26 Fax 373 0 22 66 4280 Gem Ge dee ESCO DRIVES amp AUTOMATION BELGIUM HIFLEX AUTOMATECHNIEKB V NETHERLANDS 33 Al lt aad Al Alee St aX PIU laal Culliganlaan 3 Wolweverstraat 22 EG Sarayat Maadi Cairo MITSUBISHI ELECTRIC EUROPE B V FRANCE BE 1831 Diegem NL 2984 CD Ridderkerk Phone 20 0 2 235 98 548
106. ormal Data Communication and Actions to Be Taken The following I O signal status flowchart indicates the causes of a failure to make normal data communication and the actions to be taken C I O signal status Is UO communication X01 ON 1 Is input send area refresh directive 2 Y00 ON Is SYNC mode X05 OFF 3 Is FREEZE mode 4 X07 OFF A communication start No I O communication request is not given from the master station e The output refresh directive is not given e Turn on the input send area refresh directive signal e Any of the slave YOO parameters of the master e Check the slave parameters of the master station station is wrong EE In the SYNC mode Execute the UNSYNC service from the master station does not change Input dataisiheldiand data In the FREEZE mode Execute the UNFREEZE service from the master station does not change e Check the master station e Check the transmission path Refer to Section 9 2 Output data is not sent to master station e Check the used status of the data modules in the input The buffer memory address send area used status buffer memory address 8FOH to of the MOV FROM TO 8FBH and output receive area used status buffer instruction is wrong memory address 8E0H to 8EBH 1 e Check the sequence program e Check the current setting with the current Error does not occur in The communication communication watchdog timer value buffer m
107. put receive area Used by data module 1 Used by data module 2 Used by data module 3 Used by data module 5 100H 101H 102H 103H 104H 105H 106H 106H 107H 108H 1BFH 100H 101H 102H 103H 104H 105H 106H 107H 108H 1BFH Input send area Used by data module 0 Used by data module 2 Used by data module 4 Input send area Used by data module 0 Used by data module 2 Used by data module 4 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q 2 Setting method when using GX Configurator DP This section describes how to make setting from GX Configurator DP When using another configuration tool refer to the relevant manual 1 From GX Configurator DP open the Slave Parameter Settings dialog box Refer to Section 5 2 1 4 Click the button in the Slave Parameter Settings dialog box Slave Parameter Settings Model QJ71PB93D Revision Vendor MITSUBISHI ELECTRIC CORPORATION AA Slave Properties Name Slave_Nr_001 FDL Address 1 0 125 Watchdog min T_sdr 11 1 255 Group identification number IT Gpl T Gp2 f Gp3 l Gp4 IT Gp5 IT Gp Gp l Gps IV Slave is active I Sync Output J Freeze Input Initialize slave when failing to respond l Swap 1 0 Bytes in Master Click the gt nee A i Select Modules button 2 Seta mode for the Data Alignment Mode Extended User Parameters Parameter Location Module Slot Number S User Pm Daa Offset H User_Pim_Da
108. put transmission Bc lt 3 0 2 ms b When Scan gt Bc Transmission delay time of input transmission Bc X2 Scan 0 2 ms 2 When MOV TO instruction is used Transmission delay time of input transmission Bc lt 2 0 2 ms 3 When automatic refresh is used a When the separation prevention function is not used Transmission Delay Time in Output Reception Scan 0 5 0 2 ms Scan 0 2 ms b When the separation prevention function is used Transmission Delay Time in Output Reception Sen 1 5 0 2 ms Scan 4 0 2 ms For the calculation expression of the bus cycle time refer to the manual of the PROFIBUS DP module used on the master station 7 PR RAMMIN Ge MELSEC Q 7 PROGRAMMING This chapter gives program examples of station number setting I O data communication and global control driven program execution Before using the program examples introduced in this chapter in an actual system fully check that there is no problem in control on the target system 7 1 Communication Sequence The following is the sequence of I O data communication with the master station Refresh between the programmable controller CPU and QJ71PB93D and refresh of the QJ71PB93D buffer memory output receive area input send area are executed asynchronously 1 When using the automatic refresh Make sure that the I O communication signal X01 is on rr Refer to Section 3 3 2 2 Write the initial inp
109. rameters can be checked on the Auto Refresh Settings page accessed by the web based online access function of GX Configurator DP 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q 5 Number of automatic refresh parameter settings for QCPUs There are restrictions on the number of automatic refresh parameters that can be set for CPU modules Set automatic refresh parameters properly so that the number of the parameters does not exceed the limit shown below a Number of automatic refresh parameters set for all intelligent function modules When multiple intelligent function modules are mounted the number of automatic refresh parameter settings must not exceed the following limit CPU Type Max No of Auto refresh Parameter Settings Q004 Q00 Q01CPU Q02 Q02HIQOHIQ1ZH G25HCPU Q12PH Q25PHCPU 256 Q03UD Q04UDH QO6UDHCPU 2048 b Number of automatic refresh parameter settings for the QJ71PB93D The following number of automatic refresh parameters can be set for one QJ71PB93D Target Module Automatic Refresh Setting QJ71PB93D 2 Maximum Example Counting the number of parameters for the automatic refresh setting PROFIBUS Settings EDL Address 10 0 125 Autom Refresh M Enable F Consistency Input Size in words 32 0 122 1000 0 12256 1100 0 12256 Input CPU Device D X 1000 0 12256 to 1031 lt Q This one line is counted as one setting If any device is not set the line is not cou
110. re or a drop of the module In an environment of frequent vibrations secure the module with the screw e Tighten the screws within the range of specified torque If the screws are loose it may cause the module to fallout short circuits or malfunction If the screws are tightened too much it may cause damage to the screw and or the module resulting in fallout short circuits or malfunction e Be sure to shut off all phases of the external power supply used by the system before mounting or removing the module Failure to do so may damage the module e Do not touch the conductive area or electric parts of the module Doing so may cause module malfunctioning or breakdowns WIRING PRECAUTIONS A CAUTION e Be sure to shut off all phases of the external power supply used by the system before wiring PROFIBUS cables Failure to do so may result in failure or malfunctions of the module e Be careful not to let foreign matter such as filings or wire chips get inside the module These can cause fire breakdowns and malfunctioning e Be sure to place the PROFIBUS cables in a duct or clamp them If not dangling cables may be shifted or inadvertently pulled resulting in damages to the module or cables or malfunctions due to poor cable contact e When disconnecting the PROFIBUS cable from the module do not pull by holding the cable section To disconnect the cable make sure to hold the connector which is coupled with the module Do not att
111. read gt dl XI A0 XOA X1D k ccc i HIH E BBLKRD uo K2 D1000 K6 Loo DI0O00 K4 40 K6 lt Input data write gt D XO X0B X1D d 1 1 BMOV K4X20 D1100 K n ri BBLKWR UO Ko D1100 K6 lt Error handling gt K3 UO pf PT NN gzogo 20 M30 SET Y3 K3 F d RST Y3 RST H30 lt Extension trouble information notification request gt o D20 HO SET N40 MOY K2 D300 Ov D20 D301 M40 X1D X2 UO H d d dh FBMOVP D300 G2041 K2 SET Y2 M40 X2 RST Y2 RST N40 SET D M41 UO H mov ou D20 7 18 Ba Initial input data write Pi y Y Input send area refresh start J Output data read 7 Outputs data to Y40 to YOF Stores data in X20 to X7F into D1100 Input data write F Stores error code Resets error Turns on extension trouble notification flag when error code is other than 0 Sets extension trouble notification data length ae Sets extension trouble notification data Stores extension trouble AJ notification data in buffer memory Extension trouble notification request Resets extension trouble notification request Extension trouble notification completion flag Stores error code 7 PR RAMMIN S MELSEC Q lt Cancel of extension trouble information notification gt i D20 HO SET M42 J Cancels extension trouble information notification RST WI D X2 UO Notifies master station of JE HOVP Ko 62041 canceling extension trouble
112. s service Overseas repairs shall be accepted by Mitsubishi s local overseas FA Center Note that the repair conditions at each FA Center may differ 4 Exclusion of loss in opportunity and secondary loss from warranty liability Regardless of the gratis warranty term Mitsubishi shall not be liable for compensation of damages caused by any cause found not to be the responsibility of Mitsubishi loss in opportunity lost profits incurred to the user by Failures of Mitsubishi products special damages and secondary damages whether foreseeable or not compensation for accidents and compensation for damages to products other than Mitsubishi products replacement by the user maintenance of on site equipment start up test run and other tasks 5 Changes in product specifications The specifications given in the catalogs manuals or technical documents are subject to change without prior notice 6 Product application 1 In using the Mitsubishi MELSEC programmable controller the usage conditions shall be that the application will not lead to a major accident even if any problem or fault should occur in the programmable controller device and that backup and fail safe functions are systematically provided outside of the device for any problem or fault 2 The Mitsubishi programmable controller has been designed and manufactured for applications in general industries etc Thus applications in which the public could be affected such as in nuclear po
113. system can operate safely Erroneous outputs and mis operation could cause accidents 1 The input data from the master station remains unchanged from the data prior to the communication error 2 When the master station becomes faulty the output status of the QJ71PB93D will be as in the parameter settings of the master station 3 When any QJ71PB93D is down the output state of other slave stations will be in accordance with the parameter settings of the master station e Do not output turn on the Use prohibited signal as the output signal to an intelligent function module from the CPU module Writing data into the system area or outputting a signal for Use prohibited may cause system malfunction in the programmable controller A CAUTION e When the PROFIBUS cable is laid do not lay it close to main circuits or power lines They should be installed 100mm 3 9inch or more from each other Not doing so could result in noise that would cause malfunctioning INSTALLATION PRECAUTIONS A CAUTION e Use the programmable controller under the environment specified in the user s manual of the CPU module to be used Otherwise it may cause electric shocks fires malfunctions product deterioration or damage e While pressing the installation lever located at the bottom of the module insert the module fixing projection into the fixing hole in the base unit to mount the module Incorrect mounting may cause malfunctions a failu
114. t e TRUE was set for No Add Cha in the station number setting from the class 2 master station e Switch power on again e Give a station number change Station number rewrite Station number rewrite to the flash ROM was 2001H f request to clear the station count excess error performed more than 60 times consecutively number Refer to Section 3 4 2 6 Flash ROM memory 2002H Hardware fault Change the module access error The setting of the communication watchdog timer 3002H is too Check the slave parameters of is too long the master station 3003H _ Illegal receive The Min T_sdr value is outside the setting range parameter error Check User_Prm_Data_Size in 3004H The data length of a user parameter is incorrect GX Configurator DP Refer to Sections 5 2 2 2 and 5 2 3 1 Communication chip 3006H Ke Hardware fault Change the module au e Check the master station status bes ta d d A e Check the cable connection Communication time Time out occurred in communication with the 3007H status out error master station e Increase the setting of the communication watchdog timer 3061H The data module is not a word type 3062H The swap setting is outside the range 3063H The data assignment mode setting is outside the UO configuration S Check the slave parameters of 3064H information error The data module count setting is outside the the master station 3065H The data module
115. t 5 digits of the serial No are 02092 or later 2 Check that Consistency is disabled with Autom Refresh enabled If the automatic refresh and data separation prevention functions are enabled use of dedicated instructions is not allowed They are not processed Dedicated instructions are executable if the data separation prevention function is disabled in the automatic refresh setting Refer to Section 5 3 1 E untitled DPX1 PROFIBUS Settings EDL Address 1 0 125 Autom Refresh IT Consistency Mit Size in words O 0 122 out Size in words 0 0 122 but CPU Device Ofitput CPU Device Make sure the box is unchecked 3 Transmission delay time when using a dedicated instruction Use of the data consistency function increases the transmission delay time Refer to Section 6 1 6 2 8 1 8 DEDICATED INSTRUCTIONS MELSEC Q 4 Execution timing Dedicated instructions can be executed any time Dedicated instructions are not processed while the QJ71PB93D is executing the data consistency function Refer to Section 4 1 2 Therefore in a program that is executed only once at the leading or trailing edge of the pulse I O data may not be read or written Number of executions within one scan Execute dedicated instructions only once in one scan Before executing a dedicated instruction a Data module setting Configure the data modules in the slave parameter setting on the
116. ta Size a I Edit Unsigned as hex Parametrize DP Slave Module ie Parametertame Vat Seting Comment 00 Reserved reserved sel value 0 qu Word Data Swap E sel value 1 Set a data H T 02 Data Alignment Mode LUMP mode value 0 assignment mode KICN Globals Edit Hex Cancel Default P LUMP mode Assigns data as a lump Default ee DIVIDED mode Assigns data individually 3 Write the configured parameters into the master station Refer to the GX Configurator DP Operating Manual for creating projects and writing parameters to the master station by GX Configurator DP 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q 5 2 3 Swap setting Set whether the word data swap function will be used or not Refer to Section 4 1 4 for the word data swap function 1 Setting method when using GX Configurator DP This section describes how to make setting from GX Configurator DP When using another configuration tool refer to the relevant manual 1 From GX Configurator DP open the Slave Parameter Settings dialog box Refer to Section 5 2 1 4 Click the button in the Slave Parameter Settings dialog box Slave Parameter Settings Model QJ71PB93D Revision Vendor MITSUBISHI ELECTRIC CORPORATION AA Slave Properties Name Slave_Nr_001 FDL Address fl pag l Watchdog min T_sdr 1 1 255 Group identification number IT Gpi f Gp2 f Gp3 F Gp4 IT Gp5 T Gp l Gp Gps IV Slave is
117. ter station Word Data Swap in the user parameters setting Slave parameters of the master station are set from configuration tool on the master station In the case of GX Configurator DP Extended User Parameters Parameter Location Module Slot Number S User Pm Daa Offset 0 sek ea Se 3 I Edit Unsigned as hex Parametrize DP Slave Module el value 0 Set the swap 01 Word Data Swap enable v el value 1 function TE Dae Nomenoe mate vate 0 a T gt bh Globals Edit Hex Cancel Default Refer to Section 5 2 3 for a setting example using GX Configurator DP When using another configuration tool refer to the relevant manual 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q 5 PROCEDURES BEFORE SYSTEM OPERATION 5 1 Procedures before Operation The following diagram illustrates the procedure before system operation Load the QJ71PB93D to the base unit Check that the QJ71PB93D operates properly as a single module Refer to Section 5 6 Self diagnostics Set the QJ71PB93D slave parameters to the master station using configuration tool applicable to the master station Refer to Section 5 2 Set parameters to the QJ71PB93D Station number 1 Automatic refresh parameters Refer to Section 5 3 Connect the master station and QJ71PB93D by a 5 PROFIBUS cable Refer to Section 5 7 Connect bus terminators to the modules at both ends Make checks before power on Check the module
118. the flash ROM using the station number change request signal Y13 c Ifan attempt is made to rewrite the station number on the flash ROM at the remaining count of 0 A station number rewrite count excess error error code 2001H occurs and the station number on the flash ROM is not changed If the station number rewrite count excess error has occurred switch power on again reset the CPU or clear the station number on the flash ROM using the station number change request signal Y13 This returns the remaining count to 60 times Module error information buffer memory address 7F8H Un G2040 Stores the error code of the error that occurred in the QU71PB93D Refer to Section 9 4 for the error codes Extension trouble information area buffer memory address 7F9H to 805H Un G2041 to Un G2053 Used to set the extension trouble information to be sent to the master station The extension trouble information sent by the QJ71PB93D is the Device Related Diagnostic specified in PROFIBUS The extension trouble information can be set in a sequence program Data length Data length of the data to be sent as extension trouble information bytes units Extension trouble information Any data to be set to the master station max 24 bytes 7F9H Data length 7FAH H 805H Extension trouble information The extended trouble information area is used as described below when an extended trouble occurs and when the extended troub
119. tion Starts the SYNC output synchronization mode During the SYNC mode the output status is refreshed every time the SYNC service is received The output status is held as long as the SYNC service is not received UNSYNC Ends the SYNC output synchronization mode Starts the FREEZE input synchronization mode During the FREEZE mode the input status is refreshed every time the FREEZE service is received The input status is held as long as the FREEZE service is not received UNFREEZE Ends the FREEZE input synchronization mode 4 FUNCTIONS MELSEC Q a When receiving SYNC and UNSYNC services 1 Before receiving SYNC service Class 1 master station Input Output Image memory QJ71PB93D Buffer memory Input data Output data Input Input data send area Output Output data receive area 2 After receiving SYNC service Class 1 master station Input data Output data SYNC service Input Output Image memory Input data Output data QJ71PB93D Buffer memory Output receive area 3 After receiving UNSYNC service Class 1 master station Input data Output data UNSYNC service Input Output Image memory Input data QJ71PB93D Buffer memory Input send area Output data Output receive area
120. to fail or malfunction DISPOSAL PRECAUTIONS A CAUTION e When disposing of this product treat it as industrial waste REVISIONS The manual number is given on the bottom left of the back cover Print Date _ Manual Number Mar 2002 SH NA 080318E A First Edition Apr 2004 SH NA 080318E B Section 2 1 2 3 3 1 3 3 2 3 5 5 2 1 7 3 1 7 3 2 9 5 SAFETY PRECAUTIONS Aug 2004 SH NA 080318E C SAFETY PRECAUTIONS Section 5 2 1 Chapter 7 Section 8 1 8 2 Aug 2006 SH NA 080318E D SAFETY PRECAUTIONS Conformation to the EMC Directive and Low Voltage Instruction Section 2 3 3 1 to 3 5 5 1 5 5 5 7 2 8 1 8 2 9 5 Appendix 2 About Manuals About the Generic Terms and Abbreviations Meanings and Definitions of Terms Section 1 1 2 1 2 2 4 1 1 to 4 1 4 5 2 1 to 5 2 3 5 6 5 7 1 Chapter 6 Section 6 1 6 2 7 1 to 7 4 Chapter 8 Appendix 1 New Addition Section 5 3 Section number change Section 3 5 gt 5 2 3 5 1 to 3 5 3 gt 5 2 1 to 5 2 3 3 6 gt 3 5 5 1 1 gt 5 2 5 2 to 5 5 gt 5 4 to 5 7 Jul 2007 SH NA 080318E E PLC was changed to programmable controller About the Generic Terms and Abbreviations Section 2 1 2 3 3 1 3 4 1 5 5 8 2 to 8 3 Appendix 1 Addition Section 5 3 1 5 4 1 7 3 1 7 3 2 9 4 3 gt Section 8 1 Section 8 1 to 8 2 gt 8 2 to 8 3 Nov 2007 SH NA 080318E F Section 3 3 2 3 4 1 7 3 1 This manual confers no industri
121. trouble notification completion signal EE EAEE EE AE E EA 3 5 extension trouble notification request signal 3 12 F FDLAJGrES Sinioro neie ieas 5 13 FREEZE aniona e tine zinta niet ia 4 9 FREEZE mode signal iaee 3 7 Tute VEPSIOM ie siiasamasse ENER 2 4 G Global control function 4 7 GOUD Trein e een 4 9 group identification number 5 2 EE 5 3 I UO communication egonal eeeeeeseeeeeeeneeeees 3 4 I O configuration Information A 9 ebe E EE 4 1 4 2 WO designation ee ceeeeseeeeeseeeteeeeeeneeeeeeneeeeeeees 5 4 inp tdata siseses A 9 input send are 4 1 input send area refresh directive signal 3 11 L LED Arguenon teea aa ergoe 5 22 9 1 KUMttmoge OTATTE 5 9 M Min Tsd adii n i Een 5 2 Module detailed miommaton 9 4 module error information s 3 17 module error reset request sonal 3 12 module error signal seeen 3 5 module READY signal aeee 3 10 module watchdog mer A 9 3 10 N network configuration eeeeeenee ee 3 2 No of mountable AA 2 1 normal operation Mode ccceeeeeeeeees 3 22 4 1 O operation baud rate eee eeeeseeeeeeeeeeeneeeeeeneeees 3 15 operation mode change completion signal 3 9 operation mode change reduest 3 18 operation mode change request signal 3 13 operation mode change result 3 18 operation station number 3 15 Index 1 Output data WEE A 9 output receive are 4 1 P Ind pin assignmen
122. ts for the Copmpnechor 5 25 PROFIBUS Cable ecccececeeeeeeeeeesteeeeeteeneeneeaes 5 25 PROFIBUS interface Copnnechor 5 22 PROFIBUS DP getest 1 1 R DEE t ee Aled eS es A 9 3 2 S self diagnosis UE 3 22 proc d re fof smisaonu 5 23 separation prevention Tupnchon eee eeeeeeeeee 4 4 separation prevention seitmg 5 4 SOMA EE 2 4 Slave parameter ccceeeseeeeeeeeteeeeeteeeeeees 5 2 5 3 Slave Stations s s cie cs ieee he aeehediiredecebieediedhesdeeeds A 9 Station number siieu eenia 5 13 station number change completion signal 3 10 station number change request 3 16 station number change request sigma 3 13 station number set on flash ROM 3 16 Status of I O Address Verify 9 4 SWap Settihg aenn edt edetetets 5 11 swapping FUNCTION cecceeeceeeeeeeeteeeeeeeeeeeeeeeeees 4 10 swapping function setting status eee 3 19 Ae 4 8 SYNC mode sonal 3 5 SYNC receive sigma 3 6 system monitor of GX Developer 9 4 T transmission delay time ee ceeeeeeeeeeeeeeeeneeens 6 1 transmission distance 0 ee eee eeeeeeeeeeeeeeteeees 3 1 transmission speed 3 1 U UNFREEZE vii cee GR a 4 9 UNSYNCG foc E 4 8 User Prim Detail E 5 2 w Watchd0g WEE 5 2 watchdog timer error cccsceeeceeeeeeeeeeeeeteeeeeeeeees 3 4 wiring specifications eee ceteeeeeeeeeeeeteeeeteeeenees 5 26 Index 2 Index 2 MEMO Index 3 Index 3 WARRANTY Please confirm the fo
123. up identification number Slave is active E more D al I Swap 1 0 Bytes in Master Click the Select Modules button fils 0 125 ES E502 hn n as T Gpl Gp2 Gp3 l Gp4 IT Gp5 I Gp6 Gp l Gps I Syne Output 1 Initialize slave when failing to respond I Freeze Input 4 Perform the data module setting Slave Modules Info 3 Modules installed 40 f2 2 f2 Duebel 1 0 usage User_Prm_Data usage 3 Module Configuration Available Modules 1 Word In con word 2 Word In con word 3 Word In con word 4 Word In con word 5 Word In con word 6 Word In con word 7 Word In con word 8 Word In con word 3 Word In con word 10 Word ln con word 11 Word In con word EE ee ean are possible 384 Bytefs 244 Byte s Max Data size Max I O sizes 244 Bytefs Max User_Prm_Data size D Botelz Slot Installed Module 001 4 Word Out con word 002 2 Word In 2 Word Out con word Add before Add after Remove 5 Write the configured parameters into the master station Refer to the GX Configurator DP Operating Manual for creating projects and writing parameters to the master station by GX Configurator DP 5 PROCEDURES BEFORE SYSTEM OPERATION MELSEC Q 5 2 2 Data assignment mode setting Set how to assign each module in the output receive area or the input send area of the buffer memory This section gives an example of the output receive area and the input send area in the following d
124. ut data value to the device set in Output CPU Device of the automatic refresh e e e Refer to Section 5 3 1 parameter Turn on the input send area refresh directive signal Y00 Communication rr Refer to Section 3 3 2 13 7 PR RAMMIN GC S MELSEC Q 2 When not using the automatic refresh Make sure that the I O communication signal X01 is on e e e Refer to Section 3 3 2 2 Write the initial values of the input data to the input send area Refer to Section 3 4 2 2 Turn on the Input send area refresh directive signal YOO e e Refer to Section 3 3 2 13 Read the output data from the output receive area using the BBLKRD MOV FROM instruction Write the input data to the input send area of the buffer memory using the BBLKWR MOV TO instruction 7 2 7 2 7 PR RAMMIN Ge MELSEC Q 7 2 Station Number Setting 1 System configuration example This section gives a program example for setting a station number to the QJ71PB93D in the following configuration Input signal Output signal L o apeo X0 to X1F YO to Y1F 1 The QJ71PB93D is to be mounted in slot 0 of the base unit with the head I O number set to OOH 2 Settings In the program example the station number of the QJ71PB93D is set to 1 3 Assignment of device in program example The program example given in this section uses the following device assign
125. ution SYNC ON During SYNC mode FREEZE ON During FREEZE mode APPENDICE ce MELSEC Q APPENDICES Appendix 1 Differences Between QJ71PB93D and A1SJ71PB93D The following indicates the differences between the MELSEC Q series QJ71PB93D and MELSEC A series A1SJ71PB93D 1 Functions specifications Automatic refresh e Automatic refresh e Dedicated instructions Separation prevention function FROMITO instructions ET With the FROM TO instruction division j l of one word data is prevented Watchdog timer error gese XOD Operating LED BO to B6 lit station W Station number is stored into operating Station number is stored into operating ee Buffer memory indication station number address 201H station number address 201h Type code is stored into the self diagnostic status type code display area LED BO to B6 lit buffer memory address 8D2h Self diagnostic error display method at its occurrence 2 Precautions for program diversion The following gives the precautions for diverting the A1SJ71PB93D programs to the QJ71PB93D a Correct the watchdog timer error from XOD to X00 b To read or write IO data with the data consistency protected use either of the following e Automatic refresh e Dedicated instructions BBLKRD BBLKWR App 1 App 1 APPENDICE ee MELSEC Q Appendix 2 External Dimensions an a o T e QJ71PB93D RUN
126. watchdog timer setting in increments of 10ms When the master station becomes faulty the send receive data and I O communication signal X01 statuses change depending on the communication watchdog timer setting Statuses at master station fault Send data to master station 1 Current communication watchdog timer value This area 0 Retained 2 Other than 0 Cleared Data update in output receive area Retained 2 Cleared UO communication signal X01 ON 2 OFF 1 The send data to the master station indicates the data that flows on the PROFIBUS DP actually It differs from the data in the input send area of the QJ71PB93D 2 If the communication watchdog timer setting is invalid This area is 0 the data is retained since the communication watchdog timer does not count up if the master station becomes faulty during communication 14 Self diagnostic status type code display area buffer memory address 8D2H Un G2258 The diagnostic status type code at the time of self diagnostics is stored The following type code can be confirmed during self diagnostics or at abnormal termination Type Code During self diagnostics 0001H to 0009H During self diagnostics At normal termination Normal termination 8001H to 8006H Hardware fault Swap test error Refer to Section 5 6 for the way to run the self diagnostics At abnormal termination 15 Swapping function setting status
127. wer plants and other power plants operated by respective power companies and applications in which a special quality assurance system is required such as for Railway companies or Public service purposes shall be excluded from the programmable controller applications In addition applications in which human life or property that could be greatly affected such as in aircraft medical applications incineration and fuel devices manned transportation equipment for recreation and amusement and safety devices shall also be excluded from the programmable controller range of applications However in certain cases some applications may be possible providing the user consults their local Mitsubishi representative outlining the special requirements of the project and providing that all parties concerned agree to the special circumstances solely at the users discretion Company and product names herein are either trademarks or registered trademarks of their respective owners SH NA 080318E F PROFIBUS DP Slave Module veel QJ71PB93D U S E MODEL MODE 13JR57 SH NA 0803 18E F 07 1 1 MEE d MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN NAGOYA WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPAN When exported from Japan this manual does not require application to the Ministry of Economy Trade and Industry for service transacti
128. y 4 Input data Output data Output data Input send area 2 Group selection Upon reception of the FREEZE service the FREEZE mode is started and refresh from the input send area to the input data area is stopped During the FREEZE mode the FREEZE LED of the QJ71PB93D is on When the FREEZE service is received during the FREEZE mode refresh to the input sending area is performed only once Even during the FREEZE mode refresh from the output data area to the output receive area is executed continuously Upon reception of the UNFREEZE service the FREEZE mode is terminated and refresh from the input send area to the input data area is restarted When the UNFREEZE service is received and the FREEZE mode is ended the FREEZE LED of the QJ71PB93D turns off There are a total of 8 groups from 1 to 8 The QJ71PB93D is allowed to belong to any of the 8 groups Specify the group using the configuration tool of the master station 4 FUNCTIONS MELSEC Q 4 1 4 Word data swapping function The high and low bytes are swapped in word units when input or output data are sent to or received from the master station Use this function when the used master station handles the high and low bytes of word data in reverse to those of the QJ71PB93D Data can be swapped for communication without the need for creating a program for swapping the high and low bytes 1
129. y for this product to make compliance with the directives About the Generic Terms and Abbreviations Unless otherwise specified this manual uses the following generic terms and abbreviations to describe the Type QJ71PB93D PROFIBUS DP slave module QJ71PB93D Abbreviation for the model QJ71PB93D PROFIBUS DP slave module QJ71PB92V Abbreviation for the model QJ71PB92V PROFIBUS DP master module QJ71PB92D Abbreviation for the model QJ71PB92D PROFIBUS DP interface module A1SJ71PB92D Abbreviation for the model A1SJ71PB92D PROFIBUS DP interface module AJ71PB92D Abbreviation for the model AJ71PB92D PROFIBUS DP interface module Generic term for QQ0JCPU QOOCPU Q01CPU Q02CPU QO2HCPU QO6HCPU CPU module Q12HCPU Q25HCPU Q12PHCPU Q25PHCPU QO2UCPU QO3UDCPU QO4UDHCPU and QO6UDHCPU modules Generic product name for SWnD5C GPPW E SWnD5C GPPW EA SWnD5C GPPW EV and SWnD5C GPPW EVA n means version 4 or later A and V mean volume license product and version upgrade product respectively Generic term for the product name SWnD5C PROFID E n means version 5 or later PROFIBUS DP Abbreviation of PROFIBUS DP network BBLKRD Abbreviation for G BBLKRD BBLKWR Abbreviation for G BBLKWR GX Developer GX Configurator DP Meanings and Definitions of the Terms The terms used in this manual have the following meanings and definitions Term Definition PROFIBUS DPVO A basic version of PROFIBUS

Download Pdf Manuals

image

Related Search

Related Contents

Au nom du peuple italien  Neo 280D Streaming DSD DAC  自社製品の使用説明書、各種マニュアル類などの制作業務にお困りご  Polaroid DCM 2 Online User's Manual  NHT b-12d User's Manual  マルチファイルプレーヤー KAMELEON (MFP  PARTS GUIDE - Ceiling Fan Direction  TN20_63 SERCOS Registration and Homing(1)  8XC196NP SPECIFICATION UPDATE  Mode d`emploi Couveuse Brinsea Mini Advance EX  

Copyright © All rights reserved.
Failed to retrieve file