(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.
Page 4
CAUTION Do not install the PROFIBUS cables together with the main circuit lines or power cables. Keep a distance of 100mm or more between them. Failure to do so may result in malfunction due to noise. [INSTALLATION PRECAUTIONS] CAUTION ...
Page 5
CAUTION Prevent foreign matter such as dust or wire chips from entering the module. Such foreign matter can cause a fire, failure, or malfunction. Place the PROFIBUS cables in a duct or clamp them. If not, dangling cables may swing or inadvertently be pulled, resulting in damages to the module or cables or malfunctions due to poor contact.
Page 6
[DISPOSAL PRECAUTIONS] CAUTION When disposing of this product, treat it as industrial waste. A - 4 A - 4...
CONDITIONS OF USE FOR THE PRODUCT (1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions; i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or serious accident; ii) where the backup and fail-safe function are systematically or automatically provided outside of the PRODUCT for the case of any problem, fault or failure occurring in the PRODUCT.
REVISIONS * The manual number is given on the bottom left of the back cover. Print Date * Manual Number Revision Mar., 2002 SH(NA)-080318E-A First Edition Apr., 2004 SH(NA)-080318E-B Correction Section 2.1, 2.3, 3.1, 3.3.2, 3.5, 5.2.1, 7.3.1, 7.3.2, 9.5 Addition SAFETY PRECAUTIONS Aug., 2004...
Page 9
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.
INTRODUCTION Thank you for purchasing the Mitsubishi Electric 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.
Page 11
9.3 Causes of Failure to Make Normal Data Communication and Actions to Be Taken ......9- 2 9.4 Error Code List ............................9- 3 9.5 Checking the QJ71PB93D Status by System Monitor of GX Works2 ........... 9- 4 A - 9...
COMPLIANCE WITH EMC AND LOW VOLTAGE DIRECTIVES Method of ensuring compliance To ensure that Mitsubishi Electric programmable controllers maintain EMC and Low Voltage Directives when incorporated into other machinery or equipment, certain measures may be necessary. Please refer to one of the following manuals.
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. Generic Term/Abbreviation Description of the abbreviation/general terms QJ71PB93D Abbreviation for the model QJ71PB93D PROFIBUS-DP slave module.
I/O configuration information Information on I/O configuration of a slave station. (Data module) Data sent by the QJ71PB93D and received by the master station. (data input by the Input data master station.) Data sent by the master station and received by the QJ71PB93D. (data output by the Output data master station.)
PRODUCT CONFIGURATION The product configuration of this product is given in the table below. Model Product name Quantity QJ71PB93D QJ71PB93D PROFIBUS-DP slave module. A - 14 A - 14...
OVERVIEW MELSEC-Q 1 OVERVIEW This is the user's manual for the QJ71PB93D PROFIBUS-DP slave module (hereafter 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.
(3) 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...
Page 19
(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)
(a) When mounting with a CPU module For the CPU modules, the number of modules, and base units mountable to the QJ71PB93D, refer to user's manual for the CPU module used. • User's Manual for the CPU module used (Hardware Design, Maintenance...
Page 21
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, refer to the User's Manual (Multiple CPU System) for CPU module used. (a) Compatible QJ71PB93D The function version of the QJ71PB93D has been "B"...
Page 22
(buffer memory address: 8CFH). 2 For how to use GX Configurator-DP and GX Works2 together, refer to the GX Configurator-DP Operating Manual. 3 To mount the QJ71PB93D on an extension base unit, use GX Configurator-DP Version 7.03D or later. 2 - 3...
(2) Precaution for parameter writing (a) If a 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.
MELSEC-Q 2.4 Checking Serial No. and Function Version The serial No. and function version of the QJ71PB93D can be checked on the rating plate, on the front of the module, and on the System monitor of GX Works2. (1) Checking on the rating plate The rating plate is located on the side of the QJ71PB93D.
Page 25
To display the System monitor, select [Diagnosis] [System monitor] [Product information list] button of GX Works2. Product No. "-" is displayed as QJ71PB93D does not support the product number display. POINT The serial No. displayed on the Product Information List window of GX Works2 may differ from that on the rating plate or on the front of the module.
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 QJ71PB93D, refer to the User's Manual (Hardware Design, Maintenance and Inspection) for the CPU module used.
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 Description Slave station QJ71PB93D Class 1 master station QJ71PB92V, QJ71PB92D, etc.
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 QJ71PB93D to the CPU module. Device Y shows an output signal from the CPU module to the QJ71PB93D.
(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: )" of the QJ71PB93D. Use this signal as a signal for interlocking output receive area read performed with the MOV/FROM instruction.
Page 31
The error code is read from the buffer memory to the CPU module. (5) SYNC mode signal (X05) This signal turns on when the QJ71PB93D is placed in the SYNC mode by a SYNC request from the master station. 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.
Page 32
The communication watchdog timer setting can be confirmed in the "Current communication watchdog timer value (buffer memory address: )" of the QJ71PB93D. (6) SYNC receive signal (X06) The SYNC receive signal (X06) turns on receipt of a SYNC request from the master station.
Page 33
)" of the QJ71PB93D. (7) FREEZE mode signal (X07) The FREEZE mode signal (X07) turns on when the QJ71PB93D is placed in the FREEZE mode by a FREEZE request from the master station. 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.
Page 34
The communication watchdog timer setting can be confirmed in the "Current communication watchdog timer value (buffer memory address: )" of the QJ71PB93D. (8) BBLKRD start request acceptance completion signal (X0A) This signal is used as an interlock condition signal to execute the dedicated instruction BBLKRD.
Page 35
SPECIFICATIONS MELSEC-Q When the BBLKWR start request signal (Y0B) is turned off in the sequence program, the BBLKWR start request acceptance completion signal (X0B) also turns off. BBLKWR start request signal (Y0B) BBLKWR start request acceptance completion signal (X0B) BBLKWR instruction (10) Operation mode change completion signal (X11) This signal turns on when an operation mode change is completed by setting the required operation mode to the operation mode change request...
Page 36
)". (12) Module READY signal (X1D) 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.
Page 37
Not updated receive area POINT The following are the relationships between data send and receive of the QJ71PB93D, which vary with the states of the I/O communication signal (X01) and input send area refresh directive signal (Y00). X01 State Y00 State...
Page 38
(15) Module error reset request signal (Y03) 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).
Page 39
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...
SPECIFICATIONS 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 Area name Description Read/Write Hexadecimal decimal Stores the output data received from the master station.
(4) Operation station number (buffer memory address 201 : 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.
Page 42
(buffer memory address 202 : 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), "FFFF...
Page 43
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 the flash ROM using the station number change request signal (Y13). If an attempt is made to rewrite the station number on the flash ROM at the...
Page 44
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) In the buffer memory 7F9 , set the data length 0.
Page 45
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.
Page 46
SPECIFICATIONS MELSEC-Q (16) Output receive area used status (buffer memory address 8E0 to 8EB : 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.
Page 47
SPECIFICATIONS MELSEC-Q (17) Input send area used status (buffer memory address 8F0 to 8FB : 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.
SPECIFICATIONS MELSEC-Q 3.5 Operation Mode The QJ71PB93D has two operation modes, normal operation mode and self- diagnostic mode. The modes will be described. Reference Operation Mode Description Section In this mode, communication is made as in the slave parameters set to the master station.
QJ71PB93D and class 1 master station. 4.1.1 I/O data communication function 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.
Page 50
MELSEC-Q (1) Reading/writing I/O data (a) Where to be stored The I/O data are stored in the following buffer memory of the QJ71PB93D. Input data: Input send area (Buffer memory address: 100 to 1BF Output data: Output receive area (Buffer memory address: 0...
Page 51
FUNCTIONS MELSEC-Q (e) The I/O communication signal of the QJ71PB93D is turn off when communication with the master station is stopped. [Receiving output data from the master station] Data Data Data Data Output area Master station side Bc 1) Bc 2)
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 QJ71PB93D is completed, and executed after the writing has been completed.
Page 53
FUNCTIONS 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.
Page 54
(b) Transmission delay time caused by the separation prevention function 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.
Group 1 Group 2 (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 Description Starts the SYNC (output synchronization) mode.
Page 56
Input data Input data area During the SYNC mode, the SYNC LED of the QJ71PB93D is on. Output Output data Output data receive When the SYNC service is received during the...
Page 57
(2) Group selection 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 - 9...
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.
Page 59
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 QJ71PB92V/QJ71PB92D/ A1SJ71PB92D/AJ71PB92D (not swapped) Master station QJ71PB93D Input data Input sending area Data 1 Data 1...
Page 60
FUNCTIONS MELSEC-Q 3) When high and low bytes of word data are reversed (swap) between the master station and the QJ71PB93D Master station QJ71PB93D Input data Input sending area Data 1 Data 1 Data 1 Data 1 Data 1 Data 1...
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.
5 SETTINGS AND 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.
Page 63
(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.
5 SETTINGS AND 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.
Page 65
Input/Output 256(100 ) to 447(1BF (YA0 to YBF) QJ71PB93D (Slave station) CPU module 1: Use the data assignment mode setting to set the layout on the buffer memory. (Refer to Section 5.2.2) 2: Reads with BBLKRD/MOV/FROM instruction or automatic refresh.
Page 66
5 SETTINGS AND 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) Drag the "QJ71PB93" in the "Global GSD data" window to the "PROFIBUS Network"...
Page 67
5 SETTINGS AND PROCEDURES BEFORE SYSTEM OPERATION MELSEC-Q 3) Set the I/O configuration of the slave station in the "Slave Modules" window. 4) Write the configured parameters to the master station. REMARKS Refer to GX Configurator-DP Version7 Operating Manual for creating projects and writing parameters to the master station by GX Configurator-DP.
Data Data Data Data Data Data module 0 module 1 module 2 module 3 module 4 module 5 QJ71PB93D Input Output Output Input Output module 1 word 2 words 1 word 1 word 2 words 1 word...
Page 69
5 SETTINGS AND PROCEDURES BEFORE SYSTEM OPERATION MELSEC-Q (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. 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.
Page 70
5 SETTINGS AND 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) Open the "Slave Modules" window (refer to Section 5.2.1 (4)). Click the [Next] button in the "Slave Modules"...
5 SETTINGS AND 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.
Page 72
5 SETTINGS AND PROCEDURES BEFORE SYSTEM OPERATION MELSEC-Q 2) Configure the setting for "Word Data Swap" in the "Slave User Parameters" window. Item Description enable : Swaps the high and low bytes of data in units of Word Data Swap words when receiving or sending I/O data.
5 SETTINGS AND PROCEDURES BEFORE SYSTEM OPERATION MELSEC-Q 5.3 Parameter Setting to Slave Station (QJ71PB93D) Set the parameters displayed below to the QJ71PB93D. Item Description Set the station number of the QJ71PB93D. Station number (FDL Address) • Setting range From 0 to 125...
Page 74
5 SETTINGS AND PROCEDURES BEFORE SYSTEM OPERATION MELSEC-Q 2) Select "QJ71PB93D" in the "Select Module Type" window and click the [Next] button. Item Description CPU Series MELSEC Module Type QJ71PB93D When automatic refresh of the other intelligent function module is set, set the project file of GX Works2 to "PLC Project".
Page 75
5 SETTINGS AND PROCEDURES BEFORE SYSTEM OPERATION MELSEC-Q 4) Set the auto refresh parameter as follows and click the [Finish] button. Item Description Check to enable the automatic refresh of device in the QCPU module and buffer memory areas in the slave module (default: Enable Autorefresh checked).
Page 76
To change the FDL address, perform the following to stop the refresh of the I/O data between the master and slave stations. • Turn off the Input send area refresh directive signal (Y0) of the QJ71PB93D. • Stop I/O data communication on the master station side.
Page 77
Q13UDH/Q20UDH/Q26UDH/Q03UDV/ Q04UDV/Q06UDV/Q13UDV/Q26UDV/ Q03UDE/Q04UDEH/Q06UDEH/Q10UDEH/ Q13UDEH/Q20UDEH/Q26UDEH/Q50UDEH/ Q100UDEHCPU MELSECNET/H remote I/O station (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.
5 SETTINGS AND 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 User's Manual (Hardware Design, Maintenance and Inspection) for the CPU module used.
MELSEC-Q 5.5 Part Names This section explains the part names of the QJ71PB93D. Name Description Displays the QJ71PB93D status. (Refer to (1) in this section) PROFIBUS Connector for connecting the table for the PROFIBUS-DP network. interface connector serial number Displays the serial number on the rating plate.
(buffer memory address: 8CF 4) Turn on the operation mode change request signal (Y11) to start the self-diagnosis automatically. 5) The TEST LED on the QJ71PB93D will flash during the self-diagnosis. (2) Self-diagnosis results (a) When completed normally The "TEST LED" and "ERR. LED" go off.
Page 81
(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) Select [Online] [Monitor] [Device/Buffer Memory Batch] from the menu of GX Works2.
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.
Page 83
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)
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 are described below.
Page 85
5 SETTINGS AND PROCEDURES BEFORE SYSTEM OPERATION MELSEC-Q MEMO 5 - 25 5 - 25...
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) 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.
Page 87
Class 1 master station Refer to the relevant manual for the processing time Bus cycle time PROFIBUS-DP of the master station. QJ71PB93D I/O image memory Buffer memory CPU module Transmission delay time for output (Refer to Section 6.1 (3)) 6 - 2...
Page 88
Class 1 master station Refer to the relevant manual for the processing time Bus cycle time PROFIBUS-DP of the master station. QJ71PB93D I/O image memory Buffer memory CPU module BBLKWR/MOV/TO Transmission delay time for input (Refer to Section 6.2 (1))
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...
TRANSMISSION DELAY TIME MELSEC-Q 6.2 Transmission Delay Time of Input Send (QJ71PB93D 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...
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...
Page 92
7 PROGRAMMING MELSEC-Q (2) When not using the automatic refresh Start Make sure that the I/O Refer to Section 3.3.2 (2) communication signal (X01) is on. Write the initial values of the input Refer to Section 3.4.2 (2) data to the input send area. Turn on the Input send area refresh Refer to Section 3.3.2 (13) directive signal (Y00).
Output signal QJ71PB93D X0 to X1F Y0 to Y1F 1: The QJ71PB93D is to be mounted in slot 0 of the base unit with the head I/O number set to "00 ". (2) Settings In the program example, the station number of the QJ71PB93D is set to 1.
Page 94
1: When not writing the station number to the flash ROM, replace "H101" with "H1". POINT (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.
LUMP mode is used for data assignment of the following configuration. Refer to (2) for the outline of the program example. No.0 No.1 No.2 No.3 No.4 Module Input signal Output signal QJ71PB93D X0 to X1F Y0 to Y1F QX41 X20 to X3F ...
Page 96
Output, 2 words, word unit Data module 2 Input, 4 words, word unit Data module 3 Output, 4 words, word unit (b) Used states of QJ71PB93D output receive area and input send area 1) When dedicated instruction (BBLKRD/BBLKWR) is used CPU module QJ71PB93D...
Page 97
7 PROGRAMMING MELSEC-Q 2) When MOV instruction is used CPU module QJ71PB93D Output (Y) Output receive area Data module 1 Y40 to Y5F QY41P outputs (Output, 2 words) Data module 3 (Output, 4 words) Input (X) X20 to X3F QX41 inputs...
Page 98
7 PROGRAMMING 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 Device Description Device Description Watchdog timer error Input send area refresh directive ...
Page 99
7 PROGRAMMING MELSEC-Q (c) Devices used for automatic refresh or buffer memory reading Device Description Device Description D200 to Operation mode storage QX41 (X20 to X3F) input data storage D201 D202 to Analog-to-digital conversion value to be input Operation mode change result D205 from the Q64AD (CH.1 to 4) Error code storage...
Page 100
7 PROGRAMMING MELSEC-Q (4) Program example (a) When using dedicated instructions (BBLKRD/BBLKWR) <Initial input data write> Initial input data write. <Input send area refresh start> Input send area refresh start. <Output data read> Output data read. Outputs data to Y40 to Y5F. Writes digital value to Q64DA.
Page 101
7 PROGRAMMING MELSEC-Q <Cancel of extension trouble information notification> Cancels extension trouble information notification. Notifies master station of canceling extension trouble notification. Extension trouble notification request. Resets extension trouble information notification flag. <Operation mode change (Self-diagnosis mode)> Operation mode change request.
Page 102
7 PROGRAMMING MELSEC-Q (b) When using MOV instruction <Initial input data write> Initial input data write. <Input send area refresh start> Input send area refresh start. <Output data read> Outputs data to Y40 to Y5F. Reads digital value from output data.
Page 103
7 PROGRAMMING MELSEC-Q <Cancel of extension trouble information notification> Cancels extension trouble information notification. Notifies master station of canceling extension trouble notification. Extension trouble notification request. Resets extension trouble information notification flag. <Operation mode change (Self-diagnosis mode)> Operation mode change request.
Refer to Section 5.2.2 for details on the DIVIDED mode. (2) Settings The following configuration and operation are set in the program example given in this section. Data module setting of QJ71PB93D Data module 0 Input, 2 words, word unit Data module 1...
Page 105
7 PROGRAMMING 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 Output receive area Empty Device (D) Data output Data module 1 D1000 to D1001 to QY41P...
Page 106
7 PROGRAMMING MELSEC-Q 2) When MOV instruction is used CPU module QJ71PB93D Output receive area Empty Output (Y) Data module 1 QY41P outputs Y40 to Y5F (Output, 2 words) Data module 2 QH42P outputs Y60 to Y7F (Output, 2 words)
Page 107
7 PROGRAMMING 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 Device Description Device Description Watchdog timer error Input send area refresh directive ...
Page 108
7 PROGRAMMING MELSEC-Q (4) Program example (a) When using dedicated instructions (BBLKRD/BBLKWR) <Initial input data write> Initial input data write. <Input send area refresh start> Input send area refresh start. <Output data read> Output data read. Outputs data to Y40 to Y9F. <Input data write>...
Page 109
7 PROGRAMMING MELSEC-Q <Cancel of extension trouble information notification> Cancels extension trouble information notification. Notifies master station of canceling extension trouble notification. Extension trouble notification request. Resets extension trouble information notification flag. <Operation mode change (Self-diagnosis mode)> Operation mode change request.
Page 110
7 PROGRAMMING MELSEC-Q (b) When using MOV instruction <Initial input data write> Initial input data write. <Input send area refresh start> Input send area refresh start. <Output data read> Outputs data to Y40 to Y9F. <Input data write> Write data in X20 to X7F to the input send area.
Page 111
7 PROGRAMMING MELSEC-Q <Cancel of extension trouble information notification> Cancels extension trouble information notification. Notifies master station of canceling extension trouble notification. Extension trouble notification request. Resets extension trouble information notification flag. <Operation mode change (Self-diagnosis mode)> Operation mode change request.
Output signal QJ71PB93D X0 to X1F Y0 to Y1F 1: The QJ71PB93D is to be mounted in slot 0 of the base unit with the head I/O number set to "00 ". (2) Assignment of devices in program examples The program examples given in this section use the following device assignments.
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 Description Reference...
Page 114
(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.
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 D0 to D121 when M10 turns on. 8 - 3...
Program for writing the 122-point data of D0 to D121 to the addresses, starting at the buffer memory address 100 in the input send area of the QJ71PB93D (module head I/O number 0) when M10 turns on. 8 - 4...
9 TROUBLESHOOTING MELSEC-Q 9 TROUBLESHOOTING The following is the troubleshooting of the QJ71PB93D. POINT 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.
Check the sequence program. Check the current setting with the current Error does not occur in The communication communication watchdog timer value (buffer memory QJ71PB93D when master watchdog timer setting in the address: 8D1 station becomes faulty. parameter is 0.
9 TROUBLESHOOTING MELSEC-Q 9.4 Error Code List The following are the error codes of the QJ71PB93D. Any of the error codes is stored into the module error information (buffer memory address: 7F8 ) at error occurrence. Error Code Error Name...
MELSEC-Q 9.5 Checking the QJ71PB93D Status by System Monitor of GX Works2 When you select the module detailed information of the QJ71PB93D in the system monitor of GX Works2, you can check the error code and LED ON/OFF states. (1) Operation of GX Works2 [Diagnosis] →...
Page 121
9 TROUBLESHOOTING MELSEC-Q (3) H/W Information (a) H/W LED information The LED ON/OFF states of the QJ71PB93D are displayed. For the value of each item, "0001" indicates ON and "0000" OFF. Item Description ON : Normal OFF: Hardware error (module watchdog timer error) ON : Parameter setting error or module error occurrence ERR.
Page 124
INDEX extension trouble notification request signal ..3-12 area extension trouble information ....3-17 FDL Address ............5-13 input send ..........3-15 FREEZE ..............4- 9 input send area used status ...... 3-21 FREEZE mode signal ..........3- 7 output receive ..........3-15 function version ............
Page 125
output data .............A-13 output receive area ..........4- 1 pin assignments for the connector ......5-22 PROFIBUS cable ........... 5-22 PROFIBUS interface connector ......5-19 PROFIBUS-DP............1- 1 repeater ............A-13, 3- 2 self-diagnosis mode ..............3-22 procedure for ............5-20 separation prevention function ........
Page 128
PROFIBUS is a trademark of PROFIBUS Nutzerorganisation e.V. The company names, system names and product names mentioned in this manual are either registered trademarks or trademarks of their respective companies. In some cases, trademark symbols such as '™' or ' ' are not specified in this manual.
Page 130
SH(NA)-080318E-H(1809)MEE MODEL: QJ71PB93D-U-S-E MODEL CODE: 13JR57 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 transaction permission.