background image

4 - 10                                                                                                                                                       4 - 10

MELSEC-Q

4   FUNCTIONS

(3)   Separation prevention by dedicated instruction

The separation prevention function is executed using the BBLKRD instruction

(read) and BBLKWR (write) which are the dedicated instructions for

reading/writing of the buffer memory from and to QJ71PB92D.

When the writing/reading of the buffer memory are executed using the FROM/TO

instruction, the separation prevention function cannot be used.

(a)   For detail of the BBLKRD instruction, refer to section 8.1.

For detail of the BBLKWR instruction, refer to section 8.2.

(b)   Use the BBLKRD instruction and BBLKWR instruction in pairs, and ensure

to execute for each sequence scan (Refer to the program example in section

7.4).

Even when either of the reading of input data and writing of output data is

not required, read/write the dummy input data or output data using the

BBLKRD/BBLKWR instructions.

When only either of the BBLKRD instruction and BBLKWR instruction is

used, the transmission delay time becomes longer.

G.BBLKRD    U0        K0    D0    K10

G.BBLKWR    U0    K960    D0    K10

Program processing input and output data

(c)   Before the dedicated instructions (BBLKRD/BBLKWR) are executed, the

dedicated instruction valid signal (Y0C) must be turned ON.

If the dedicated instruction valid signal (Y0C) is turned OFF, the dedicated

instructions (BBLKRD/BBLKWR) will become invalid.

Summary of Contents for MELSEC QJ71PB92D

Page 1: ...MELSEC System Q Programmable Logic Controllers User s Manual PROFIBUS DP Interface Modules QJ71PB92D INDUSTRIAL AUTOMATION MITSUBISHI ELECTRIC MITSUBISHI ELECTRIC Art no 136267 07 05 2001 SH NA 080127 B ...

Page 2: ...t to the end user DESIGN PRECAUTIONS DANGER When a communication error occurs in the PROFIBUS network the status of the faulty station is as follows Configure an interlock circuit in the sequence program using the communication status information input X1 buffer memory 2040 to 2079 so that the system can operate safely Erroneous outputs and mis operation could cause accidents 1 The input data of t...

Page 3: ... module malfunctioning or breakdowns WIRING PRECAUTIONS CAUTION Switch all phases of the external power supply of the PLC system off before connecting the PROFIBUS cable If you not switch off the external power supply it will cause failure or malfunction of the module Be careful not to let foreign matter such as filings or wire chips get inside the module These can cause fire breakdowns and malfun...

Page 4: ... all phases of the external power supply off before mounting or removing the module If you do not switch off the external power supply it will cause breakdowns or malfunction of the module Set the ON OFF select switch of the terminal resistor before the operation If the setting is switched during the operation network error may occur or error detection may not be performed by error DISPOSAL PRECAU...

Page 5: ...ons Section 2 1 2 4 4 1 3 4 1 4 5 1 5 1 1 5 4 8 1 8 2 Japanese Manual Version SH 080126 A This manual confers no industrial property rights or any rights of any other kind nor does it confer any patent licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual 2000 ...

Page 6: ...figuration 1 1 1 2 QJ71PB92D Features 1 2 2 SYSTEM CONFIGURATION 2 1 to 2 4 2 1 Adaptive System 2 1 2 2 When Used in Multi CPU System 2 2 2 3 Precautions for Configuring a System 2 3 2 4 Confirmation of Serial No 2 4 3 SPECIFICATIONS 3 1 to 3 35 3 1 Performance Specifications 3 1 3 2 Network Configuration 3 2 3 2 1 Basic configuration 3 2 3 2 2 Applicable configuration 3 3 3 2 3 Number of connecta...

Page 7: ...6 COMMUNICATION TIME 6 1 to 6 4 6 1 Bus Cycle Time 6 1 6 2 Transmission Delay Time 6 4 7 PROGRAMMING 7 1 to 7 18 7 1 Communication Using Automatic Refresh Setting 7 1 7 2 Normal Service Mode MODE 0 Using FROM TO Instruction 7 9 7 3 Extended Service Mode MODE E Using FROM TO Instruction 7 12 7 4 Normal Service Mode MODE 0 Using Dedicated Instruction 7 15 7 5 Execution of Global Control 7 18 8 DEDIC...

Page 8: ...ng to the chart below Related Manuals Manual Name Manual Number MELSoft GX Configurator DP 4 00 Configuration System for Open Networks Software Manual IB 65778 Inquiries can be made to MITSUBISHI ELECTRIC EUROPE Factory Automation Gothaer Strasse 8 D 40880 Ratingen Germany Phone 49 21 02 486 0 Fax 49 21 02 486 717 ...

Page 9: ...on of the abbreviation general terms QJ71PB92D Abbreviated name of Type QJ71PB92D PROFIBUS DP interface module QCPU Q mode Generic name of MELSEC Q series PLC CPU module compatible with QJ71PB92D Base unit Generic name of MELSEC Q series main base unit and extension base unit compatible with QJ71PB92D GX Configrator DP Abbreviated name of configurator for PROFIBUS DP PROFIBUS Abbreviated name of P...

Page 10: ...ion Automatic refresh FROM TO Dedicated instruction User Interface Direct Data Link Mapper FDL PHY DDLM empty FMA1 2 MELSEC Q Series PC Communication using a buffer memory Portion where master PCB is installed Layer 3 to 7 Layer 2 Datalink layer Layer 1 Physical layer Portion where slave PCB is installed The QJ71PB92D has a physical layer data link layer DDLM and user interface that conform to PRO...

Page 11: ... 5 The global control function makes it possible to maintain all slave I O at the same time In addition this can also be canceled 6 The module contains a self diagnosis function that can be used to test the hardware such as the internal memory 7 The upper and lower bytes of I O data can be swapped on the buffer memory When word data is handled these bytes need not be swapped using the sequence pro...

Page 12: ...equent 2 Mountable base units Mountable base unit Main base unit Extension base unit Q33B Q35B Q38B Q312B Q63B Q65B Q68B Q612B Q52B 2 Q55B 2 2 When using the Q52B Q55B calculate the operating voltage of the Q52B Q55B and check that it is within the specified range Refer to the QCPU Q Mode User s Manual Hardware Design Maintenance and Inspection for the calculation expression and to the Data Book f...

Page 13: ...ng The control of QJ71PB92D is performed by any CPU A total of merely 64 sheets of QJ71PB92D is installed for each system It is not the mountable number of sheets for each controlled CPU but the total number of sheets controlled by all CPUs CPU 1 CPU 2 CPU 3 CPU 4 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 61 62 63 64 65 2 ...

Page 14: ... set parameters If the status of X1D is ignored and data is read from or written in the buffer memory the CPU module may detect an error to stop the sequence calculation 4 Do not write parameters in QJ71PB92D simultaneously from a plurality of GX Configurator DPs The parameter values of QJ71PB92D will become incorrect ones 5 If remote parameter setting is performed from GX Configrator DP to the QJ...

Page 15: ... module The serial No of the applicable module is given in SERIAL column of the Rating indication plate Serial No Upper 5 digits Function version b When confirming on GX Developer The method for confirming the serial No of the applicable module on GX Developer is shown for the case using GX Developer Version 6 The serial No appears in the Product information list or Module detail information windo...

Page 16: ...ation 60 slaves 3 Number of connection nodes number of repeaters 32 62 1 92 2 126 3 3 Transmission specifications Transmittable data 32 bytes 1 station Normal service mode 244 bytes 1 station Extended service mode Number of occupied I O 32 points I O assignment 32 Intelligent points 5VDC Internal power consumption A 0 57 External dimensions mm 105 H 27 4 W 975 D Weight kg 0 15 1 Transmission speed...

Page 17: ...3 Number that can be connected for 1 segment Master slave repeaters 32 units 4 Communications can be conducted via a maximum of 3 repeaters from an arbitrary master or arbitrary slave to an arbitrary master or arbitrary slave Not 3 units in the entire network 5 The maximum number of slaves that can be connected to 1 QJ71PB92D is 60 stations CPU module Master class 1 QJ71PB92D GX Configurator DP Sl...

Page 18: ...ation No 31 GX Configurator DP A maximum of 32 stations can be connected to 1 segment 2 When 1 master class 1 station and 1 repeater are connected Master class 1 QJ71PB92D CPU module Slave Station No 1 Slave Station No 2 Slave Station No 30 Slave Station No 31 Slave Station No 32 Slave Station No 60 Repeater GX Configurator DP In the above configuration a maximum of 60 slaves can be connected ...

Page 19: ...5 Slave Station No 36 Slave Station No 44 Slave Station No 45 Slave Station No 60 Slave Station No 1 Slave Station No 2 Slave Station No 18 Repeater Repeater Repeater GX Configurator DP In the above configuration a maximum of 60 slaves can be connected The difference between this configuration and the one in 2 is that the possible communication distance can be extended ...

Page 20: ...on No 86 Slave Station No 107 Slave Station No 108 Slave Station No 123 Slave Station No 14 Slave Station No 15 Slave Station No 18 Repeater Repeater Repeater 1st master class 1 2nd master class 1 3rd master class 1 This slave is controlled by the 1st master class 1 This slave is controlled by the 2nd master class 1 This slave is controlled by the 3rd master class 1 Repeater In the above configura...

Page 21: ...tput could be turned off To prevent this the master PROFIBUS cable must be secured with a screw In addition there is a high possibility that the above phenomena can be avoided if care is taken with the following points when configuring a system 1 Set the slave watchdog timer setting value to larger than TTr G BR However TTr Target token rotation time Unit Bit Time G Gap update factor BR Baud rate ...

Page 22: ...ed in the GSD file of a slave station is greater than the value calculated by the above expression normal communication may not be made with that slave station If normal communication cannot be made try the following methods a Set the station numbers of the slave stations with no unused numbers in between b Make setting on the slave station side to shorten the maximum data length of the error info...

Page 23: ...odular type Value of Modules installed on the screen displayed after selecting the Select Module on setting screen of the slave station of GX Configuratior DP Block type Value of Module in GSD file c constant 2 When there is either input module or output module 4 When there is both input module and output module example When the system is constructed using only the stave stations with 520 bytes pa...

Page 24: ...on trouble area clear request signal X03 Not usable Y03 Communication trouble area type selection X04 Global control end signal Y04 Global control request signal X05 Global control error end Y05 Y0B Not usable Y0C Dedicated instruction valid signal Y0D Startup request signal X06 X0F Not usable X10 Operation mode signal Y0E Y10 Not usable X11 Operation mode change completion signal Y11 Operation mo...

Page 25: ... Communication trouble detection signal X01 communication trouble detection signal reset Y01 a The communication trouble detection signal X01 is turned on when a communication trouble occurs At the same time the RSP ERR s LED turns on At this time the error code and detailed data are stored in the buffer memory communication trouble area b The communication trouble detection signal X01 is turned o...

Page 26: ...s turned off d A sequence like the one below is used Communication trouble area clear request Y02 Communication troublev area clear end X02 Clear request Clear end 4 Global control request signal Y04 global control end signal X04 a The global control end signal X04 is turned on after service processing has ended when the global control request signal Y04 is turned on by the sequence program b The ...

Page 27: ...peration mode change completion signal X11 Used to change the operation mode without resetting the CPU module a Operation mode change request signal Y11 OFF ON Requests the operation mode to be switched to the one specified in the operation mode change request area address 2255 8CFh of the buffer memory ON OFF Turns off X11 b Operation mode change completion signal X11 Turns on when the result is ...

Page 28: ...trouble area type selection Y03 a This signal is used to select the communication trouble area type ring type or fixed type ON Fixed type OFF Ring type b This signal becomes valid when the exchange start or communication trouble area clear request Y02 is ON Communication trouble area type selection Y03 Fixed type selection Ring type selection Initial type Becomes valid Exchange start or communicat...

Page 29: ... the communication trouble after the exchange start 2085 2095 825H 82FH Not usable 2096 2110 830H 83EH Expansion communication trouble area This area shows the expansion information of the trouble information which is occurred during the communication 2111 83FH Not usable 2112 2116 840H 844H Slave status area This is the area that shows the status information of each slave 2117 2127 845H 84FH Not ...

Page 30: ...s set to 29 bytes and that for the second station to 32 bytes 1st station input data 2nd station input data n th station input data 60th station input data 1st station 2nd byte 1st station 4th byte 1st station 1st byte 1st station 3rd byte 1st station 29th byte b15 b0 2nd station 2nd byte 2nd station 4th byte 2nd station 1st byte 2nd station 3rd byte 2nd station 30th byte 2nd station 32nd byte 2nd...

Page 31: ...irst station is set to 23 bytes and that for the second station to 7 bytes 0 0H 11 BH 12 CH 1st station input data 2nd station input data n th station input data 60th station input data 1st station 2nd byte 1st station 4th byte 1st station 1st byte 1st station 3rd byte 1st station 22nd byte 1st station 21st byte 1st station 23rd byte 0 0H 10 AH 11 BH 2nd station 2nd byte 2nd station 4th byte 2nd s...

Page 32: ...ollows Example When the output data length for the first station is set to 1 bytes and that for the second station to 3 bytes 960 3C0H 975 3CFH 976 3D0H 991 3DFH 1904 770H 1919 77FH 1st station output data 2nd station output data n th station output data 60th station output data 1st station 1st byte b15 b0 960 3C0H 961 3C1H 974 3CEH 975 3CFH 2nd station 2nd byte 2nd station 1st byte 2nd station 3r...

Page 33: ...he first station is set to 19 bytes and that for the second station to 5 bytes 1st station output data 2nd station output data n th station output data 60th station output data 1st station 2nd byte 1st station 4th byte 1st station 1st byte 1st station 3rd byte 1st station 18th byte 1st station 17th byte 1st station 19th byte 2nd station 2nd byte 2nd station 4th byte 2nd station 1st byte 2nd statio...

Page 34: ...38 7F6H 2039 7F7H Station address of 1st station 1st station input byte length 1st station output byte length Station address of n station n th station input byte length n th station output byte length Station address of 59th station 59th station input byte length 59th station output byte length Station address of 60th station 60th station input byte length 60th station output byte length 2nd stat...

Page 35: ...area 0 0H 1 1H 2 2H 959 3BFH 960 3C0H 961 3C1H 1919 77FH IN P U T OUTPUT 1st station1st input byte 3 3H 4 4H 5 5H 6 6H 1st station 3rd input byte 2nd station 2nd input byte 2nd station 1st input byte 2nd station 4th input byte 2nd station 6th input byte 2nd station 3rd input byte 2nd station 5th input byte 2nd station 7th input byte 2nd station 2nd output byte 2nd station 1st output byte 2nd stati...

Page 36: ...ion for either type can be cleared by turning on the communication trouble detection signal reset X01 When communication trouble detection signal reset Y01 is on the contents of the communication trouble area are hold though the communication trouble detection signal X01 turns off The communication trouble area configuration is as follows a Communication trouble area configuration 2040 7F8H 2044 7...

Page 37: ...Detailed data 1 Number of slaves set in the parameter This error occurs immediately after the power supply is turned on or the CPU is reset Even though this error is occurring if the exchange start Y00 is on then error of error code 3000H will occur the FAULT LED will turn on and operation will stop 1 Set 1 or more active slaves in the parameter 2 When the FAULT LED is turned on reset is enabled b...

Page 38: ...d by another master Multiple masters are trying to communicate with the same slave so recheck the parameter Master 14 The parameter transmitted by the master is incorrect Check the parameter Slave 13 The response from the slave is incorrect Check the slave or network status Master 12 The function requested by the master is not supported Check the slave specifications Especially if global control i...

Page 39: ...a 8 No error code 0200H expansion trouble information trouble information bit 11 0 Latest data There is error code 0200H expansion trouble information trouble information bit 11 1 Data 10 Data 7 Data 6 Data 5 Data 4 Data 3 Data 2 Data 1 2096 830H 2097 831H 2110 83EH Expansion trouble information area Buffer memory address demical Hexadecimal a Buffer Memory 2096 830H The latest expansion communica...

Page 40: ...ot a module error has occurred is stored as bit information Channel related trouble information For module type slave station this stores the error information of all modules outputting an error 1 Device Related trouble information This stores the slave module inherent trouble information that is not set by the PROFIBUS DP standards The device related trouble can be divided by header and trouble i...

Page 41: ...that is the identifier related trouble information in the header including the header 1 byte and the device related trouble information for this area 2nd byte 4th byte 3rd byte Header 1st byte Bit position MSB LSB 7 6 5 4 3 2 1 0 Header End of device area Identifier area length 2 to 63 in byte units Bits 6 and 7 are set as 01 Buffer memory When this bit is 1 the 0th module has an error When this b...

Page 42: ...ifier No 2 3rd byte trouble type 1 6th byte trouble type 2 1st byte Identifier No Bit position Identifier Nos 0 to 63 bits 6 and 7 are set to 10 MSB LSB 7 6 5 4 3 2 1 0 Buffer memory 2nd byte Channel No Bit position Bit position Input output 00 Reserved 01 Input 10 Output 11 Input output MSB LSB 7 6 5 4 3 2 1 0 MSB LSB 7 6 5 4 3 2 1 0 3rd byte Trouble type Channel type 000 Reserved 001 Bit 010 2 b...

Page 43: ...No that is attached from the header of each slave module Each module can have multiple channels Refer to the each slave specifications regarding to the channel numbering method Slave PROFIBUS DP network 16 point DI byte 2 channels 32 point DO byte 4 channels 32 point DO 2 words 1 channels Slot Identifier Channel No No No 0 1 2 0 1 2 0 1 0 1 2 3 0 ...

Page 44: ...ion Channel Identifier No 0 and channel No slot 1 correspond channel type byte error overload Slave PROFIBUS DP network 16 point DI byte 2 channels 32 point DO byte 4 channels 32 point DO 2 word 1 channels Slot Identifier Channel No No No 0 1 2 0 1 2 0 1 0 1 2 3 0 Identifier No 2 and channel No Slot 0 correspond channel type 2 words error exceeds high limit value 00 01 01 01 0 0 0 01 00 00 01 10 0...

Page 45: ... address demical Hexadecimal Slave trouble information bit Description 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Controlled by another master The parameter sent by the master is incorrect The response from the slave is incorrect The function requested by the master is not supported Expansion trouble information exists The environment data received from the master does not match that of the slave The s...

Page 46: ...oups 1 to 8 When all bits 8 to 15 are 0 global control commands are sent to all the slaves 5 1 0 SYNC The actual output data is written and held 4 1 0 UNSYNC The actual output data hold is canceled 3 1 0 FREEZE The actual input data is held and read 2 1 0 UNFREEZE The actual input data hold is canceled Group 1 Group 2 Group 3 Group 4 Group 5 Group 6 Group 7 Group 8 0 1 2 3 4 5 6 7 8 9 10 11 12 13 ...

Page 47: ... 1st station to 16th station 2112 840H 2115 843H 2114 842H 2113 841H 2116 844H 17th station to 32th station 33th station to 48th station 49th station to 60th station Communication status area for all stations Communication status area for individual stations Communication status all stations Communication status station 1 to station 60 Indicates the communication status for all stations by a bit 0...

Page 48: ...15 b0 2190 88EH Input start address for 2nd station Input start address for 3rd station Input start address for 58th station Input start address for 59th station Input start address for 60th station Output start address for 1st station Output start address for 2nd station Output start address for 3rd station Output start address for 58th station Output start address for 59th station Output start a...

Page 49: ... request area If you have accidentally turned on the operation mode change request signal Y11 the QJ71PB92D detects an error and the operation mode is not changed Setting Value Detail 0000H Normal service mode MODE 0 0001H Parameter setting mode MODE 1 0002H Self diagnosis mode MODE 2 000EH Extended service mode MODE E Changes only the current mode does not register in Flash ROM 0100H Normal servi...

Page 50: ...line test using codes The types of the codes are as listed below Code Status 0001H Under MPU test 0002H Under time test 0003H Under interruption test 0004H Under RAM1 test 0005H Under RAM2 test 0010H Under swap circuit test 0011H Under Flash ROM test 8001H An MPU test error occurs 8002H A timer test error occurs 8003H An interruption test error occurs 8004H A RAM1 test error occurs 8005H A RAM2 te...

Page 51: ... memory using auto refresh setting FROM TO instruction or dedicated instruction A schematic drawing of this exchange function is as follows CPU module QJ71PB92D Class 1 master Write Buffer memory Input image Output image Input image Output image Input image Input image Output image Output image PROFIBUS DP network Slave station 1 2 Read 1 Either auto refresh FROM instruction or dedicated instructi...

Page 52: ...alid signal Y0C Read the input data from the input area using the dedicated instruction BBLKRD Using the dedicated instruction BBLKWR write the output data to the output area in the buffer memory Set the slave trouble information cancel area Setting is unnecessary if the default value can be left unchanged Communication trouble area type selection This setting is unnecessary if the default value c...

Page 53: ...global control commands transmitted using multicast communication This makes is possible to select a slave and conduct global control Master PROFIBUS DP network Group 1 Group 5 The global control function is executed using X Y and FROM TO instructions from the sequence program 1 Service SYNC UNSYNC Master SYNC transmission to group 1 Output data SYNC Group 1 Group 2 Group 1 Group 1 Slave 1 Slave 2...

Page 54: ... image memory at the FREEZE service timing Service FREEZE issued within the same group 3 Group selection The number of groups is from 1 to 8 if with a total of 8 groups The slave can exist in arbitrary group of the 8 groups They can also exist in multiple groups The configurator specifies in which group which slaves exist Multiple groups can be arbitrarily selected from the sequence program and gl...

Page 55: ...UNCTIONS 4 Procedure for issuing a global service Sequence program QJ71PB92D Slave TO global control area Turn on the global control request signal Y04 Turn on the global control end signal X04 Time Global control service ...

Page 56: ... O data only Not swapped Word data only Swapped Mixture of byte I O data and word data Not swapped Only for word data swapped using the sequence program The following shows the examples of data transmission for non execution execution of swap function classified by processed data Slave station Examples of data transmission for input Nonexecution of swap Initial setting 1 1 0 0 b15 b8 b7 b0 to to t...

Page 57: ...1PB92D Buffer memory Slave station Byte data I O is mixed with word data Execution of swap 12H 34H 12H 34H Upper and lower bytes are reversed to each other Swap processing 12H 34H D0 0 0 1 1 b15 b8 b7 b0 to to to to X0 0 X7 0 X8 1 XF 1 1 1 0 0 XF X8 X7 X0 to to to to CPU QJ71PB92D Buffer memory Slave station For a slave station where byte data I O is mixed with word data it is recommended to swap ...

Page 58: ...mission from the slave station to the buffer memory input area of QJ71PB92D and executed after the data transmission has been completed Also the data transmission to the slave station is waited until the writing from the PLC CPU to the buffer memory output area of QJ71PB92D is completed and executed after the writing has been completed c To activate the I O data separation prevention function two ...

Page 59: ...ation prevention To activate the separation prevention function two methods are available a method to select the Separation Prevention in setting the I O data batch auto refresh and a method to select it in setting the auto refresh for each station The auto refresh is set to a parameter of QJ71PB92D using GX Configurator DP For GX Configurator DP setting operation refer to the PROFIBUS DP configur...

Page 60: ...instruction and BBLKWR instruction in pairs and ensure to execute for each sequence scan Refer to the program example in section 7 4 Even when either of the reading of input data and writing of output data is not required read write the dummy input data or output data using the BBLKRD BBLKWR instructions When only either of the BBLKRD instruction and BBLKWR instruction is used the transmission del...

Page 61: ...areas for each slave station are allocated to the areas of any size The I O area size for each slave station is set using GX Configurator DP Section 4 2 2 Parameter setting mode MODE 1 Mode in which parameters are set in QJ71PB92D Normally GX Configurator DP switches the operation mode automatically to this mode when setting parameters and after setting the parameters switches to the mode set in t...

Page 62: ...he batch reading writing of the I O area The fixedly set number of slave stations is 60 After the communication start is completed X00 ON the data allocated to the fixed area is transmitted to each slave station Before the communication is started or when it is interrupted the I O data is not updated Input area QJ71PB92D buffer memory 1st station input data 2nd station input data 3rd station input...

Page 63: ...ations 1 to 60 When an area of 244 bytes max is allocated for each station up to seven stations can be set up After the communication start is completed X00 ON the allocated area data equivalent to an amount of specified number of bytes is transmitted to each slave station Before the communication is started or when it is interrupted the I O data is not updated Input area QJ71PB92D buffer memory 1...

Page 64: ...ct the nearest Mitsubishi Electric dealer and explain the symptoms to the dealer Start Set QJ71PB92D to the Self diagnosis mode MODE 2 using GX Configurator DP Yes No Is there an error with self diagnosis The QJ71PB92D starts self diagnosis Set QJ71PB92D to the Normal service mode MODE 0 or Extended service mode MODE E using GX Configurator DP Start the communication using GX Configurator DP Wheth...

Page 65: ...he menu and set the slave type and slave parameters 5 On the Action Write to PB92D menu write parameters to QJ71PB92D GX Configurator DP QJ71PB92D GSD file for slave station DDB file Wite RS232 or USB PLC CPU Max ST delay resp Max Tsdr Quiet Time Tqui Setup Time Tset in the parameter to be set by the GX Configurator DP ProfiMap must be match the maximum value connected to the network including mas...

Page 66: ...iod of time between two slave poll cycles This ensures that the sequence of function requests from the DP master can be handled by the DP slave This value is valid for all installed slaves The slowest slave defines this value Polling timeout 0 to 65535 1 ms In case of master master communication this parameter specifies the max Amount of time it may take the requestor to fetch the response Data co...

Page 67: ... Interval to wait for response If the time is exceeded an error will be detected min T_sdr Min Station delay of responder 0 to 65535 t_bit max T_sdr Max Station delay of responder 0 to 65535 t_bit T_qui Quiet time 0 to 255 t_bit Time needed to switch the transmission direction of the repeater T 0 if no repeater present T_set Setup time 1 to 255 t_bit T_tr Target rotation time 1 to 1048576 t_bit GA...

Page 68: ...With this function you can define slaves which are not really existent but should be added physically later on Sync Output When this option is activated it is checked whether the slave supports or not the SYNC function during the communication for initialization If the slave does not support the SYNC function the error code 0200H will be stored in the communication trouble area of QJ71PB92D Freeze...

Page 69: ...ch 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 ventila...

Page 70: ...plays the QJ71PB92D status Name Display description RUN Displays the QJ71PB92D operation status ON During normal operation OFF When there is an error TEST Turns on when a self diagnosis is executing SD RD Flashing during communicating with slave on the PROFIBUS network The flashing interval is the time interval of the bus parameter s Data Control Time TOKEN Turns on when token is maintained READY ...

Page 71: ...ror occurs b PROFIBUS network terminal resistance setting switch This sets whether or not there is terminal resistance inside the QJ71PB92D at time of shipment OFF ON has terminal resistance OFF no terminal resistance Always ON for both ends of the station on the PROFIBUS DP network c PROFIBUS interface connector Connector for connecting the table for the PROFIBUS DP network 1 1 For the connector ...

Page 72: ... operating manual The self diagnosis will start automatically 2 The TEST LED on QJ71PB92D will flash during the self diagnosis 3 When the results of the self diagnosis are normal The TEST LED and FAULT LED go off If the results of the self diagnosis are abnormal an error occurs The TEST LED and FAULT LED will light up If the results of the self diagnosis are abnormal the self diagnosis status code...

Page 73: ...subishi PLC conform to the EMC directive and low voltage instruction when installing it in your product please see Chapter 3 EMC Directive and Low Voltage Instruction of the PLC CPU User s Manual Hardware Please use the PROFIBUS cable with braided shield 5 5 2 Terminator switch 1 Whether or not to set the built in module terminal resistance 1 2W 220 x 2 units can be selected by connecting a switch...

Page 74: ... module may be susceptible to an influence of noise and surge induction 2 The wires from the input output modules of the PLC should be away from the communication cable of PROFIBUS DP interface module as far as possible as shown in the figure below Shield twisted pair cable Wiring of input module Wiring of output module Shielded covering Power supply module PLC CPU Input module Input module Output...

Page 75: ...xternal power supply off before cleaning If you do not switch off the external power supply it will cause failure or malfunction of the module CAUTION Never disassemble or modify the module This may cause breakdowns malfunctioning injury and or fire Switch all phases of the external power supply off before mounting or removing the module If you do not switch off the external power supply it will c...

Page 76: ...on is given in the following diagram The following diagram Fig 6 1 shows an example for when there are 3 slave stations Time Buffer memory QJ71PB92D Internal buffer Slave1 Slave2 Slave3 Treq 1 Tres 1 Treq 2 Tres 2 Treq 3 Tres 3 Max Tsdr 1 Max Tsdr 2 Max Tsdr 3 Lr Pt 1 Pt 2 Pt 3 Tsdi M Tsdi M Tsdi M MSI Min Slave Interval Bc QJ71PB92D Fig 6 1 The bus cycle time when there is one master station 6 ...

Page 77: ...in the slave GSD DDB file baud rate Tres i No i station response transmission time Number of input bytes from No i station 9 11 baud rate Tsdi M master request response processing time This value is given in the slave GSD DDB file baud rate The master request response processing time corresponding to baud rate is as follows Baud rate 9 6 Kbps 19 2 Kbps 93 75 Kbps 197 5 Kbps 500 Kbps 1 5 Mbps 3Mbps...

Page 78: ... 2 in the following diagram Fig 6 2 are the master 1 and master 2 bus cycle times respectively and their total time is calculated using the formula presented in Section 6 1 Master 1 executes polling Master 2 executes polling Master 1 executes polling Time Master 1 bus cycle time Bc 1 Master 2 bus cycle time Bc 2 TBC Fig 6 2 The Bus Cycle time when multiple masters are connected As shown in this di...

Page 79: ...ax value Scan time Bus cycle time 2 With separation prevention function A transmission delay time when I O data is read written using the automatic refresh setting with separation prevention function or dedicated instruction a Output delay Conditions Transmission delay time Normal value Scan time 1 5 Bus cycle time 0 5 Scan time 2 Bus cycle time Bus cycle time 2 Max value Scan time 2 Bus cycle tim...

Page 80: ...ch output data is transferred to slave station D0 Storage of mode change result D1 Storage of present mode D100 Storage of slave station 1 input address in Extended service mode MODE E D101 Storage of slave station 1 output address in Extended service mode MODE E D1000 Storage of communication trouble information 7 1 Communication Using Automatic Refresh Setting The following shows the setting and...

Page 81: ...ally calculated by GX Configurator DP from the slave parameters When the devices set for input and output are bit devices set the head numbers in increments of 16 points c In the Tools menu open Profibus Configuration Utility In the PROFIBUS Configuration Utility main menu select File New to create a new IPARAM configurator project or File Open to open an existing project Enter the file name for a...

Page 82: ...e network configuration atabase must be selected Right click on the project window to open the context menu and select Select Network to open the Select Network Index dialog e Right click on the project window to open the context menu and select Scan Rack to obtain the list of boards in the rack ...

Page 83: ...ngth and module name g You have to assign a GX Configurator file to each master for which you intend to include autorefresh settings in the IPARAM file Right click on a DP master entry to select it and to open the context menu From the context menu select Assign Project The menu item Remove Project removes the assignment of a GX Configurator file to a master ...

Page 84: ...A file browser dialog opens where you can select a GX Configurator DP file to be assigned to the selected DP master i Right click on a DP master entry to select it and to open the context menu From the context menu select Edit Settings ...

Page 85: ... I O devices set for Block Transfer are bit devices set their head numbers in increments of 16 points k Choose IPARAM File Upload to PLC from the context menu and write the IPARAM parameters to the PLC CPU POINT When IPARAM is written to the CPU using this package during the start of GX Developer it is not displayed in the PLC Read Delete PLC data and other file list of GX Developer Therefore upda...

Page 86: ...etting Slave trouble information cancel area setting Trouble information unnotification time setting Communication trouble area type fixed type Initial output data write Communication start Normal communication Transmission data ON OFF program Trouble information read Trouble detection signal reset command pulse Processing against communication trouble Output data ON OFF program Processing in whic...

Page 87: ...n signal reset Communication trouble area clear command pulse Communication trouble area clear command Change to self diagnosis mode MODE 2 Execution of operation mode change request Read of operation mode change results Read of present operation mode Mode change ...

Page 88: ...e Normal service mode MODE 0 Not required if the initial setting is not changed Initial setting Processing in which input data is used Output data ON OFF program Slave trouble information cancel area setting Trouble information unnotification time setting Communication trouble area type fixed type Initial output data write Communication start Normal communication Write to out put area Input area r...

Page 89: ...nformation read Trouble detection signal reset command pulse Communication trouble detection signal reset Communication trouble area clear command pulse Communication trouble area clear command Change to self diagnosis mode MODE 2 Execution of operation mode change request Mode change ...

Page 90: ...7 11 7 11 MELSEC Q 7 PROGRAMMING Read of operation mode change results Read of present operation mode ...

Page 91: ...mode MODE E Initial setting Slave error information cancel area setting Trouble no information time setting Communication trouble area type fixed type Read of input start address Transmission of input start address to Z0 Read of output start address Transmission of output start address to Z1 Initial output data write Communication start Normal communication Input area read Not required if the init...

Page 92: ...nformation read Trouble detection signal reset command pulse Communication trouble detection signal reset Communication trouble area clear command pulse Communication trouble area clear command Output data ON OFF program Write to output area Processing against communication trouble ...

Page 93: ...7 14 7 14 MELSEC Q 7 PROGRAMMING Mode change Change to self diagnosis mode MODE 2 Execution of operation mode change request Read of operation mode change results Read of present operation mode ...

Page 94: ...n in the Normal service mode MODE 0 Initial setting Slave error information cancel area setting Trouble no information time setting Communication trouble area type fixed type Initial output data write Communication start Normal communication Read in which separation is prevented Input area read Processing in which input data is used Not required if the initial setting is not changed Effective sett...

Page 95: ...tion is prevented Trouble information read Trouble detection signal reset command pulse Communication trouble detection signal reset Communication trouble area clear command pulse Communication trouble area clear command Processing against communication trouble Write to output area ...

Page 96: ...7 17 7 17 MELSEC Q 7 PROGRAMMING Mode change Change to self diagnosis mode MODE 2 Execution of operation mode change request Read of operation mode change results Read of present operation mode ...

Page 97: ...ollowing shows the program example added when the global control is executed The operation mode and I O data read write methods are not related to this program example Use of global control function Transmission of SYNC command to groups 1 and 2 Request for global control ...

Page 98: ...Function The data is read from the buffer memory of the specified module with the signals prevented from being separated Error If the following event is encountered an operation error will occur Error code 4101 A value out of the set range is set for the set data 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 memo...

Page 99: ...ata is written to the buffer memory of the specified module with the signals prevented from being separated Error If the following event is encountered an operation error will occur Error code 4101 A value out of the set range is set for the set data 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 The numb...

Page 100: ...e TOKEN Goes OFF The token is not cycled Make sure that the PROFIBUS DP cable is connected Check the terminating resistance set switch for correct function Make sure that the station addresses are not overlapped with each other Make sure that the HSA does not exceed the maximum station address of the network PRM SET Flashes The parameter is not set Set the parameters using the GX Configurator DP R...

Page 101: ...9 2 9 2 MELSEC Q 9 TROUBLESHOOTING MEMO 9 ...

Page 102: ...ons and specifications Model name Item QJ71PB92D AJ71PB92D A1SJ71PB92D Separation prevention function auto refresh dedicated instruction Present Absent Separation prevention function FROM TO instruction Absent Present Auto refresh setting Present Absent Word data swap function Present Absent Operation mode setting method GX Configurator DP Sequence program Sequence program Mode set switch Read wri...

Page 103: ...external power supply COM2t is not supplied Always set to 00H 2 AJ95TB32 16DT AJ95TB32 16DT notifies device related trouble information to the master The information consists of seven bytes including the header one byte as shown below 07H xxH 00H 00H 00H 00H 00H b7 b6 b5 b4 b3 b2 b1 b0 Header Fixed to 07H Always set to 0 Set to 1 when the external power supply COM1t is not supplied Always set to 0...

Page 104: ...Q APPENDIX Appendix 3 Outline Drawings PROFIBUS I F BUS TERMINATION OFF ON QJ71PB92D QJ71PB92D RUN SD RD TOKEN READY PRM SET FAULT TEST RPS ERR 27 4 1 08 97 3 3 83 91 3 59 2 0 08 4 3 0 17 98 38 6 105 4 14 2 0 08 5 0 2 Unit mm inch ...

Page 105: ...Appendix 4 Appendix 4 MELSEC Q APPENDIX MEMO ...

Page 106: ...2 BBLKRD 4 10 8 1 BBLKWR 4 10 8 2 Bus cycle time 6 1 2 C Configuration Multimaster configuration 3 6 Network configuration 3 2 System configuration 2 1 Configurator software 2 1 Connectors Pin arrangement of connectors 5 10 PROFIBUS interface connector 5 8 CPU 2 1 D DDB file 5 2 E Error code 3 20 21 G Group 4 3 GSD file 5 2 GX Configurator DP 2 1 5 1 2 L LED 5 7 8 9 1 M MODE MODE 0 3 13 15 4 12 5 ...

Page 107: ... 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 possible after production is discontinued 3 Overseas service Overseas repairs shall be accepted by Mitsubishi s local overseas FA Center ...

Page 108: ...371 784 22 80 Fax 371 784 22 81 e mail utu utu lv UAB UTU POWEL LITHUANIA Savanoriu pr 187 LT 2053 Vilnius Phone 370 0 52323 101 Fax 370 0 52322 980 e mail powel utu lt INTEHSIS SRL MOLDOVA REPUBLIC OF Cuza Voda 36 1 81 MD 2061 Chisinau Phone 373 0 2 562 263 Fax 373 0 2 562 263 e mail intehsis mdl net Getronics b v NETHERLANDS Control Systems Donauweg 2 B NL 1043 AJ Amsterdam Phone 31 0 20 587 67 ...

Reviews: