Home

DeviceNet Master-Slave Module User`s Manual

image

Contents

1. D100 H4000 J SET M100 hi l if Master Function Comm r g s og000 Status is COH or 40H M100 Ly Wu H101 D0 J Get Attribute kove mo D1 F Node No 3 Class ID 1 wovP KI D2 Instance ID 1 g Dm K7 D3 J Attribute ID 7 TOP HO HI10 Do K4 y Writes message comm command to buffer memory SET D I y Sets Message Comm Request to ON RST moo o KO D11 __ Error handling program KO D11 FRP 14 K8 y Gets byte length of attribute data o TECR D14 y Calculates byte length of attribute data rr D14 K2 D14 Y INCP D14 FROP H H130 D20 D14 Reads attribute data RST Y12 q Sets Message Comm Request to OFF RST MO 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q 7 5 2 Example of writing message communication data An example program in this section performs Set Attribute to node No 3 For the area enclosed with a dotted line refer to the manual for the relevant slave node since the class ID instance ID and attribute ID are different depending on the actual area and the slave node 1 Device list ody Reference Description section Set Attribute Execute Flag Set Attribute Command Message Communication Completion 3 3 2 3 Message Communication Request Message Communication Data Message Communication Command 3 4 2 Message Communication Result 3 4 3 2 Program example L AP mov KI D30 F
2. QJ71DN91 5 SETUP AND PREPARATION MELSEC Q 5 3 1 LED indications The following explains the names of the LEDs on the QJ71DN91 and their indications in mode 0 to 8 For the LED indications in mode 9 to C refer to Section 5 4 Hardware Test or 5 6 Communication Test Table 5 1 LED names and indications LED name Color LED status RUN IMS RUN Green On Operating normally Off Watchdog timer error ERR SE ae On Node No Se error module operation Green Flashing Parameter error On Communication in progress Flashing Waiting for communication waiting for I O communication request from programmable controller CPU or waiting for communication start of the target module On Node No duplication or bus off error communication line error Flashing lt In master function mode gt A node that does not respond exists lt In slave function mode gt Communication with the master node is interrupted Green Red Off Power to the network is not being supplied ETUP AND PREPARATION GE S MELSEC Q 5 3 2 Node No switches The following explains the node No switches of the QJ71DN91 Table 5 2 Node No switches Node No switch Used to set the node No of the module Factory default 0 Do not change the node No during module operation since it is recognized when the module is powered ON or reset X10 If changed the ERR LED will flash Setting range 0 to 63
3. Node 33 Node 32 O1BFH Node 63 Node62 Node 49 Node 48 PECIFICATION eS A ae MELSEC Q 3 Node Communication Error Status address 1COH to 1C3H 448 to 451 The I O communication error status of each slave node is stored While I O Communicating X01 is OFF all bits are OFF Note that no error is detected for the node whose corresponding bit is ON in Failed Node Detection Setting address 01CCH to 01CFh e When the corresponding bit is ON Communication error exists e When the corresponding bit is OFF No communication error Table 3 21 Node No corresponding to each bit in Node Communication Error Status Buffer memory address Node No corresponding to each bit Bit 15 au Bita on E Node 15 Node 14 1 1 Mode Nodeo 01C1H Node 31 Node30 Node 17 Node 16 OC Node 47 Node 46 Node 33 Node 32 EIS Node 63 Node62 Node 49 Node 48 When any of the bits in this area turns ON Slave Down Signal X04 is set to ON 4 Node Fault Status address 01C4H to 01C7H 452 to 455 The communication fault status of each slave node is stored e When the corresponding bit is ON Fault information exists e When the corresponding bit is OFF No fault information Reading communication error information of the node in message communication will turn OFF the corresponding bit Refer to Section 4 2 3 Table 3 22 Node No corresponding to each bit in Node Fault Status Buffer memory address Node No
4. b When starting UC communication automatically at power up Set Start in Automatic Communication Start Setting address 0631 2 Module Ready OF UO Communication Request Y11 UO Communicating X01 Error Set Signal for Master Function X03 Error Information for Master Function 01B1h OV FRO instruction Parameters for Master Function 01D4H to O3CFH 1 check Master Function Receive Data 0700H to O7FFH 4 MOV FROM S instruction Master Function Transmit Data 0900H to O9FFH rie fa instruction 1 Save the following parameters to the flash ROM in advance e Parameters for Master Function address 01D4H to O3CFH e Auto Communication Start Setting address 06314 2 When the power is turned ON parameters saved in the flash ROM is loaded into the buffer memory automatically Module Ready XOF is set to ON and the parameters are checked 3 When the parameter check is succeeded I O communication with each slave node is started and I O Communicating X01 is set to ON e The status of input from each slave node is stored in Master Function Receive Data address 0700H to O7FFH e The ON OFF information to each slave node is set in Master Function Transmit Data address O900H to 09F Fn 4 Ifthe parameter check has failed the ERR LED lights up and Error Set Signal for Master Function X03 is set to ON At this time I O Communicating X01 is not set to ON Check the
5. gt R master node settings olling and UCM support group 3 set with parameter No Set polling and UCMM support group 3 for master node for master node No Set I O Communication Request Y11 to ON Take corrective actions according to Yes the error code 9 TROUBLESHOOTING 9 1 5 Troubleshooting for other cases Are the following output signals ON e HO Communication Request Y11 e Request for Saving Parameters to Flash Auto configuration is not executed Is Start set in Auto Communication Start Setting address 0631H I O Communicating is ON Are the slave nodes powered ON Is the network powered ON Is the wiring correct If the target slave node is the QJ71DN91 check if Start is set in Auto Communication Start Setting address 0631 or if I O Unable to obtain expected Communication Request Y11 is ON parameters by auto configuration Are the slave nodes set in order of node No Are the connection types and I O points correct Are the following output signals ON e UO Communication Request Y11 e Auto Configuration Request Y15 Parameter saving clearing is not started e Is Start set in Auto Communication Start Setting address 0631H I O Communicating is ON Parameters are not e If the parameter saving area correct saved MELSEC Q Set the output signals to OFF and then set Auto Configuration Request Y15 to OF
6. 9 2 3 General DeviceNet error codes of message communication for the master function only A general DeviceNet error code is stored in Message Communication Data address 01331 Read it when Message Communication Completion signal X02 is set to ON and check the error details Valid when Communication error code is 35 0023n Error code ER Error name Description 0000s to 00011 Reserved by DeviceNet The requested service could not be executed because there was no 0002 Resource unavailable EEN in the required resource 00031 to 00071 3to7 Reserved OS Reserved Reserved by DeviceNet sss DeviceNet g The requested service is not supported Or the requested service is not 0008 S t rted defined by the specified object class instance 00091 o O Invalid attribute value The requested service had an error in the attribute data 000A Reserved by DeviceNet Th ified object has already b h d into th ted 0000B4 11 Already in requested mode state aac ee tele mode status 000Cx Object state conflict i SE object was not in the state that could execute the requested 000D Reserved by DeviceNet OOOEH Attribute not settable The requested setup service specified an unchangeable attribute OOOFH Privilege violation The service requester did not have the access privilege The specified device was not in the state that could execute the requested service 00111 Reply data too large The response data length exceeded the d
7. H lt F 4 TO 4301 Auto configuration completed Ier ms Sets Auto Configuration Request to OFF RST H300 SET H10 J Sets Parameter Setting Command wio EE for Master Function to ON 1 Check that the settings such as node No connection type and I O points are correct Correct values if any incorrect setting is identified For the setting details refer to Section 7 3 1 1 Pre determine the slave node settings e g connection type before executing auto configuration 2 Check that the power of the slave nodes and the network is ON and the wiring is correct 3 Slave node settings detected by auto configuration are stored in order of node No 4 When changing parameters for master function set default values in the areas after the parameter set areas Example When changing the number of slave nodes that can perform I O communication from 6 to 4 set default values in the areas for 5th and 6th slave nodes 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q 2 When setting parameters manually a Device list or Reference Device Description section Parameter Setting Command for Master Function O Communicating UO Communication Request Parameters for Master Function for 1st to 4th slave D4 to D35 3 4 5 nodes b Program example Parameters for master function Mi ist slave node m wg Hon o N
8. If the parameter check has failed the ERR LED lights up and Error Set Signal for Slave Function X08 is set to ON At this time I O Communicating X01 is not set to ON For details of Error Set Signal for Slave Function X08 refer to Section 4 Setting I O Communication Request Y11 to ON and then OFF stops I O communication with the master node causing I O Communicating X01 to turn OFF When parameter check completed successfully Module Ready X0F UO Communicating X01 check When parameter check failed Module Ready XOF UO Communicating X01 OFF Error Set Signal for Slave Function X08 3 Saving Parameters to Flash ROM X06 Parameters Saved to Flash ROM X07 Request for Saving Parameters to Flash ROM Y17 Refer to Section 3 3 2 6 3 SPECIFICATIONS MELSEC Q 4 Error Set Signal for Slave Function X08 Error Reset Request for Slave Function Y18 These signals are used for notification of an error occurred during slave function execution and for error code resetting a When aslave function error occurs the error information is stored in Error Information for Slave Function address 0601 and Error Set Signal for Slave Function X08 is set to ON When the error is corrected Error Set Signal for Slave Function X08 is set to OFF While I O communication is stopped however it is not set to OFF b After the error is removed se
9. a High byte The I O communication status of the master station is stored Table 3 18 Master function I O communication status Being initialized 40H Stop I O communication stopped COH I O communication in progress 1 When No start is set for Auto Communication Start Setting address 0631h Upon power up the status automatically changes from Offline 00x to Stop 404 When I O Communication Request Y11 is set to ON the status changes to Operate CO 2 When Start is set for Auto Communication Start Setting address 0631h Upon power up the status automatically changes from Offline 00x to Operate Cu 3 When a reset message is received through the network The status automatically returns to Offline 00x and then changes to Operate COn PECIFICATION Bes allie MELSEC Q b Low byte The communication status of the network is stored Depending on the communication status each bit turns ON OFF as shown below e A faulty node exists Parameter error Always OFF 1 Network has a serious problem and communication ee ASG AS eee eae a a i is not available 1 If the corresponding bit is ON any of these errors may have occurred 3 SPECIFICATIONS 2 MELSEC Q Error Information for Master Function address 01B1H 433 A code for a communication error occurred in the master function is stored For error notification and a clearing method of
10. e When power is turned ON Module Ready XOF is set to ON and parameters are checked e If the parameter check is completed successfully I O communication with each slave node is started and I O Communicating X01 is set to ON If the parameter check has failed the ERR LED lights up and Error Set Signal for Master Function X03 is set to ON At this time I O Communicating X01 is not set to ON For details of Error Set Signal for Master Function X03 refer to Section 4 Setting UO Communication Request Y11 to ON and then OFF stops 1 O communication with each slave node causing I O Communicating X01 to turn OFF When parameter check completed successfully Module Ready OF UO Communicating X01 Parameter check When parameter check failed Module Ready XOF UO Communicating X01 OFF Error Set Signal for Master Function X03 ees l check PECIFICATION e MELSEC Q 3 Message Communication Completion X02 Message Communication Error Signal X05 Message Communication Request Y12 These signals are used for message communication Execute each signal action when Master Function Communication Status address 01B0H is OPERATE COH or STOP 40H For message communications the master function parameters must be set If the master function parameters have not been set a message connection is opened using message group 1 a After setting command data
11. 0 ms the master node transmits a polling request to the slave node at intervals of the module scan 1 Set a minimum transmit interval of the slave node which is the minimum time during which the slave can prepare transmit data The master node transmits a bit strobe request to the slave node when this time or longer has elapsed 2 When the specified expected packet rate value is not equal to 1 not equal to 0 ms the expected packet rate must be equal to or greater than the production inhibit time 3 When the set value 1 i e when the expected packet rate 0 ms the watchdog timer monitoring function is disabled 1 Set a communication watchdog timer value for the slave node When the communication between the master node and the slave node stops for the duration represented by set value x 4 the slave node executes the operation specified by the Watchdog Timeout Action 3 When the set value 1 i e when the production inhibit time 0 ms the master node transmits a bit strobe request to the slave node at intervals of the module scan 1 Set a minimum time during which the slave node can receive data The master node transmits output data to the slave node at this time intervals The master node also transmits data to the slave node when output data changes 2 When the specified expected packet rate value is not equal to 1 not equal to 0 ms the expected packet rate must be equal to o
12. 41 0 44 802 28 28 MELTRADE Ltd HUNGARY GTS TURKEY Fert utca 14 Bayraktar Bulvari Nutuk Sok No 5 HU 1107 Budapest TR 34775 Yukari Dudullu Umraniye ISTANBUL Phone 36 0 1 431 9726 Phone 90 0 216 526 39 90 Fax 36 0 1 431 9727 Fax 90 0 216 526 3995 Beijer Electronics SIA LATVIA CSC Automation Ltd UKRAINE Ritausmas iela 23 4 B M Raskovoyi St LV 1058 Riga UA 02660 Kiev Phone 371 0 784 2280 Phone 380 0 44 494 33 55 Fax 371 0 784 2281 Fax 380 0 44 494 33 66 Beijer Electronics UAB LITHUANIA Savanoriu Pr 187 LT 02300 Vilnius Phone 370 0 5 232 3101 Fax 370 0 5 232 2980 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 mitsubishi automation com www mitsubishi automation com
13. Module model name QJ71DN91 Setting item Current value Setting value ZS Master Function Transmit Data Word 1 0900H DO 0000 Master Function Transmit Data Word 2 0901H 0000 0000 0000 0000 0000 0000 Master Function Transmit Data Word 3 0902H Master Function Transmit Data Word 4 0903H Master Function Transmit Data Word 5 0904H 0000 0000 Master Function Transmit Data Word 6 0905H 0000 0000 Master Function Transmit Data Word 7 0906H 0000 0000 Master Function Transmit Data Word 8 0907H 0000 0000 Master Function Transmit Data Word 9 0908H DO 0000 Master Function Transmit Data Word 10 0909H 0000 0000 Master Function Transmit Data Word 11 090AH 0000 Wou Setting items Reference Item Buffer memory address Hex section Master Function Transmit Data 0900H to O9FFH 3 4 6 2 6 UTILITY PACKAGE GX Configurator DN MELSEC Q 6 5 13 Slave function receive data monitor Purpose Monitor the data received from the master node Operating procedure Monitor Test screen gt Slave Receive Data Setting screen Slave Function Receive Data Monitor Module information Module type DeviceNet Module Start 1 0 No 0000 Module model name QJ71DN91 Setting item Current value Setting value Slave Function Receive Data Word 1 0BD0H DOO Slave Function Receive Data Word 2 0B01H 00
14. Read trom Load file Make text file erea No Start Start Stop monitor Execute test 4 1 Check the parameters for master function Check that the settings such as node No connection type and I O points are correct For the setting details refer to Section 7 3 1 2 Correct values if any incorrect setting is identified Select a value in a Setting value field Execute test button Repeat this if more than one value must be corrected 3 To start UO communication automatically at power up set Start for Auto Communication Start Setting Select Start Execute test button 4 Click the Close button 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q 1 Slave node settings detected by auto configuration are stored in order of node No 2 When changing parameters for master function set default values in the areas after the parameter set areas Example When changing the number of slave nodes that can perform I O communication from 6 to 4 set default values in the areas for 5th and 6th slave nodes 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q 2 When setting parameters manually a Set the parameters for master function Clicking the Parameter Area Monitor Test button on the Monitor Test screen will display the Parameter Area Monitor Test screen For information on how to display the Monitor Test screen refer to Sectio
15. UO Communication Request Y11 UO Communicating X01 Request for Saving Parameters to Flash ROM Y17 Saving Parameters to Flash ROM X06 Parameters Saved to Flash ROM X07 Error Set Signal for Master Function X03 Error Set Signal for Slave Function X08 Parameters Parameter Mov To instruction 1 Even if Request for Saving Parameters to Flash ROM Y17 is set to ON while UO Communicating X01 is ON Parameters Saved to Flash ROM X07 is not set to ON Set I O Communication Request Y11 to ON and after confirming that UO Communicating X01 is OFF set Request for Saving Parameters to Flash ROM Y17 to OFF and then ON Even if Request for Saving Parameters to Flash ROM Y17 is set to ON while the following output signal is ON Parameters Saved to Flash ROM X07 is not set to ON e HO Communication Request Y11 e Auto Configuration Request Y15 Set the output signal to OFF and then set Request for Saving Parameters to Flash ROM Y17 to OFF and then ON Since there is a restriction on the number of writes to Flash ROM execute Request for Saving Parameters to Flash ROM Y17 only when parameters are newly created or changed 7 Module Ready XOF This signal indicates whether or not the QJ71DN91 is operable When the QJ71DN91 is ready to operate it is set to ON When Watchdog Timer Error X00 turns ON this Module Ready XOF is set to OFF 3 SPECIFICATIONS
16. otii Slave node No slave Low byte Node No of the slave node MAC ID MAC ID class ID High byte Class ID of the object 0112H Instance ID Instance ID of the object PECIFICATION E MELSEC Q e Other message communications Data to be set are shown below For details refer to DeviceNet common service in the DeviceNet Specifications Release2 0 Table 3 11 Other message communications Buff dd ex 0110H FE H Refer to DeviceNet Common Service for 0111H Slave node No slave Low byte Node No of the slave node MAC ID MAC ID class ID High byte Class ID of the object 0112H Instance ID Instance ID of the object Low byte Attribute ID of the object Attribute ID data length High byte Byte length of the attribute data to be set 1 to 240 1H to FOH 2 Message Communication Result address 0120H to 012FH 288 to 303 The result of processing for message communication is stored a Getting attribute data of a slave node Table 3 12 Get Attribute Buffer memory address Hex 0120H 0101H Get Attribute 3 Normal completion 0000H els Failed Execution error code Refer to Section 9 2 2 01224 Slave node No slave Low byte Node No of the slave node MAC ID MAC ID class ID High byte Class ID of the object 0123H Instance ID Instance ID of the object Low byte Attribute ID of the object Attribute ID data length High byte Byte length of the gotten attribute data 1 to 240 1H to FOH Item
17. 57 QJ71DN91 The divided data were received in incorrect order any fault such as disconnection of a terminating resistor The data length set in the buffer memory is 241 or 257 QJ71DN91 Las e Set the data length to 240 bytes or less An invalid value we set as a command No in the Set 0001n 01014 0102 02014 or FE as a 258 QJ71DN91 Message Communication Command area of the command No buffer memory QJ71DN91 The own node is set offline e Set Y11 to ON to set the own node online QJ71DN91 An error occurred during data queuing e Perform a hardware test to check for hardware failure e Check the entire network and slave node states for 302 QJ71DN91 A timeout occurred while waiting for a response any fault such as disconnection of a terminating resistor e Check the entire network and slave node states for 303 QJ71DN91 An invalid response was obtained any fault such as disconnection of a terminating resistor EA ees reserved node node e Send messages to address any other than the own mm Jann lenengzmnnmeneg JS oter tn eon TROUBLESHOOTIN SE MELSEC Q Error Detected S code in Description Action in Dec e Check whether the parameter value for the message 306 QJ71DN91 Failed to open a message connection group is set correctly or not A e Verify that the transmit message can be responded by 317 Slave node The response data length is too long the slave node TROUBLESHOOTIN SE MELSEC Q
18. 64 points nc ly GE 4 i 4 D1000 to D1251 O address UO address i information FROM area for i Basedonthis 1 master l fi information i i j i 4 lexecute FROMITO K l function d 1 instructions 1 f 1 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q The following explains a sequence program example for this case 1 Device list o Reference Device Description section Mit Communication Start Command Master Function 3 46 Receive Data Master Function Transmit Data 3 4 6 UO Address Area for Master Function Maa eit Sets I O Communication S Request to ON XI FRONP HO H500 D1000 te Reads UO Address Area for Master Function D H FROM HO D1000 K4X200 D1001 LFROM Ho D1004 220 HIE Reads receive data according to S information in I O Address Area LFROM HO D1008 K4X280 D1009 for Master Function FROM HO D1012 Mumm D1013 XI X200 PAR N N AA EE m l i Y240 1 1 l I 20 i Performs controls based on the receive data read out i242 XI e wu H TO DW vam i i II d i m C201 XI TO HO D1002 K4Y200 D1003 TO HO D1006 MI D1007 Writes transmit data according to information in I O Address Area TO HO D1010 K4Y280 D1011 for Master Function E HO D1014 K4Y2C0 D1015 8 PROGRAMMING FOR EXECUTING THE SLAVE FUNCTION MELSEC Q 8 PROGRAMMING FOR EXECUTING THE SLAVE FUNCTION This chapter explains programm
19. Description Slave node Slave node Slave node Slave node Slave node Slave node Slave node When getting setting attribute or resetting Resources required for the object to execute a requested service could not be used The requested service was not installed or it was not defined for this object class instance Invalid attribute data were detected The object is already placed in the mode status that is requested by the service The object cannot execute the requested service in the current mode status A request to change an attribute whose change is inhibited was received Permission privilege check failed Action Referring to the slave node manual check the condition under which the slave node notifies this error and take an appropriate action Check whether or not the specified MAC ID class ID instance ID and attribute ID are correct Referring to the slave node manual check the condition under which the slave node notifies this error and take an appropriate action Check whether or not the specified MAC ID class ID instance ID and attribute ID are correct Referring to the slave node manual check the condition under which the slave node notifies this error and take an appropriate action Check whether or not the specified MAC ID class ID instance ID and attribute ID are correct Verify the current status by reading the attribute Referring to the slave node manual check the condition
20. Message Communication Data 0130H to 01A7H 6 UTILITY PACKAGE GX Configurator DN MELSEC Q 6 5 10 I O address area monitor for master function Purpose Monitor the start address and size words for each slave node in Master Function Receive Data address 0700H to O7FFH and Master Function Transmit Data address 0900H to O9FFx Operating procedure Monitor Test screen gt Address Area For Master Setting screen UO Address Area Monitor for Master Function Module information Module type DeviceNet Module Start 1 0 No 0000 Module model name QJ71DN91 Setting item Curent value Setting value a Ist Slave Input Data Start Address DO 1st Slave Input Data Size Words 1st Slave Qutput Data Start Address Tst Slave Output Data Size words gt 2nd Slave Input Data Start Address 0000 2nd Slave Input Data Sizelwords a 2nd Slave Output Data Start Address 00001 2nd Slave Output Data Sizefwords D 3rd Slave Input Data Start Address 0000 3td Slave Input Data Sizefwords j D 3rd Slave Output Data Start Address i 0000 X Setting items Reference Item Buffer memory address Hex 8 section 1st Slave Input Data Start Address 0500H 1st Slave Input Data Size Words 0501H 1st Slave Output Data Start Address 0502H 3 4 6 3 1st Slave Output Data Size Words 0503H 2nd to 63rd Slaves 0504H to OSFBH 6 UTILITY PACKAGE GX Confi
21. Minimum Link Scan Time 1 1e Minimum Ink scan lime alter O power ON Unit ms St th i link ti ft O5FEx 1534 Maximum Link Scan Time IT fe maximum link sean time atter o power ON Unit ms ger 1535 Jee prohibited ee 0600 1536 Slave SR Stores the communication status of the T Communication Status slave function Error Information for Slave Stores a communication error code of the 06011 1537 3 d Function error occurred in the slave function 0602 to ae OT Dacca Hss Prohibited PF O60E 1550 Slave Functiori Receive The I O receive data size bytes for the e Bytes Setting Area slave function is set Slave Function Transmit The I O transmit data size bytes for the O60FH 1551 4 ware Bytes Setting Area slave function is set 0610 to tes 0620 t So S 1568 to 1572 Model Name Stores QJ71DN91 in ASCII code O H 0625n 1573 SE me number of the node currently o in operation 0626n 1574 Mode Switch No Stores the mode switch number currently o in operation 06271 to SH Stores the test item number of the 062Ex 1582 Hardware Test Item Area hardware test or communication test that For hardware test is currently being executed 062F 1583 Hardware Test Result Stores the result of the hardware test or Hop hardwareiie i R Area communication test Select the area of the parameters to be 0630 1584 Parameter Area Select Bit saved to a flash ROM O RW 3 4 13 Set whether or not to auto start I O Auto Communication Start co
22. Perform hardware test Mode 9 See Section 5 4 Set node No See Section 5 3 2 See Section 5 3 3 Set mode to 6 7 or 8 Connect DeviceNet cable to QJ71DN91 See Section 5 5 Not use Use GX Configurator DN Auto configuration 1 Auto configuration 1 Create sequence program for executing auto configuration Not needed when setting parameters for master function manually Execute auto configuration Not needed when setting parameters for master function manually Parameters for master function Parameters for master function Set parameters for master function Create sequence program for setting parameters for master function Parameters for slave function Parameters for slave function Set parameters for slave function Not needed unless I O points for slave function are changed Create sequence program for setting parameters for slave function Not needed unless UO points for slave function are changed Auto communication start setting Auto communication start setting Set auto communication start setting Not needed when starting Create sequence program for auto communication HO communication by UO Communication Request Y11 start setting Not needed when starting UO communication by I O Communication Request Y11 Saving parameters to flash ROM Save parameters to flash ROM Saving paramete
23. Start Setting screen Intelligent function module utility C MELSEC GPPwiqJ E Ill Intelligent Function module parameter Online Tools Help Select a target intelligent function module Start 1 0 No Module type 0o00 DeviceNet Module z Module model name Qu7iDNSI x Parameter setting module Intelligent function module parameter Start 1 0 No Module model name Initial setting Auto refresh Oooo ADNSI Available EE le Delete Exit Explanation of items 1 Activation of other screens a Auto refresh setting screen Start UO No Module type Module model name gt Auto refresh b Monitor test module selection screen Online gt Monitor Test Enter the start I O No in hexadecimal 2 Command buttons Deletes the initial setting and auto refresh setting of the selected module Closes this screen 6 UTILITY PACKAGE GX Configurator DN Intelligent function module utility C cn Dea Online Tr Open parameters Ctrl 0 Close parameters Save parameters Delete parameters Chrlaa Exit utility C MELSEC G ed Tools Help Monitor Test Read From PLC Write to PLC MELSEC Q 3 Menu bar a File menu Intelligent function module parameters of the project opened by GX Developer are handled Open parameters Reads a parameter file Close parameters Closes the parameter file If any data are modified a dialog asking for file saving will a
24. Use prohibited SC 12 Y12 Message Communication Request IP ort e X13 Error Reset Request for Master Function lo X14 Auto Configuring Use prohibited fap X15 Auto Configuration Completion Y15 Auto Configuration Request ele ll 16 Use prohibited X17 Request for Saving Parameters to Flash ROM X18 Error Reset Request for Slave Function O X19 1A Use prohibited X1B X1C Use prohibited X1D X1E X1F X09 XOA X0B X0C XOD X0E XOF x lt x lt x lt Do not set any use prohibited signal to ON Doing so may cause malfunctions of the programmable controller system 3 SPECIFICATIONS MELSEC Q 3 3 2 I O signals for the master function This section describes the ON OFF timings and conditions of the I O signals used for the master function 1 Watchdog Timer Error X00 2 Module Ready OF This is set to ON when a hardware failure occurs in the QJ71DN91 OFF Module normal ON Module error When Watchdog Timer Error X00 is set to ON Module Ready XOF is set to OFF Watchdog Timer Error X00 Module Ready X0F UO Communicating X01 UO Communication Request Y11 These signals are used to start UO communications with each slave node Execute the signal action while Module Ready XOF is ON a When starting I O communication by I O Communication Request Y11 e When I O Communication Request Y11 is set to ON parameters are checked e If the parameter check is
25. address Hex Specify a value to make the link scan time constant 01D7H Constant scan Setting range 0 to 65535ms FFFFH O th slave node Buffer memory Item Description Set value address Hex Low byte Node No of L th slave node MAC ID OOH to 3FH 0 to 63 High byte 01H Node that supports UCMM and uses any of message groups 3 2 and 1 01D8H L 1 x 8 Node No and message group 03H Node that supports UCMM and uses message group 1 04H Node that does not support UCMM Group 2 only server 80H Reserved node Select a connection type for UO communication 0001H Polling 01D9H L 1 Xx 8 Connection type 0002H Bit strobe 0004H Change of state 0008H Cyclic Low byte Number of input byte modules 01DAH LJ 1 x 8 Number of byte modules High byte Number of output byte modules set in hexadecimal Eight bit modules 8 points are counted as one byte module Low byte Number of input word modules 01DBH LJ 1 xX 8 Number of word modules i High byte Number of output word modules set in hexadecimal Low byte Number of input double word modules Number of double word i 01DCH LJ 1 x8 E High byte Number of output double word modules set in u hexadecimal Set an expected packet rate for the slave node Setting range 0 to 65535 ms FFFFH 01DDuH Ll 1 X 8 Expected packet rate 0000H 200ms Default Other than 0000H Set value 1 ms Set an act
26. button on the Monitor Test screen will display the 4 Confirm Auto Configured Parameters screen 4 Confirm Auto Configured Parameters C KE Module information Module type DeviceNet Module Start 1 0 No 0000 Module model name 0J71DN91 Setting item Setting value Parameters forMasterFunction LU Constant Scan Units ms 1st node Slave Node No and Message Group 0401 0000 1 Lower Byte Slave Node No Higher Byte Message Group 1st node Slave Node Connection Type ICETA te 2 1st node Slave Node Byte Module Points 0101 0000 Lower Byte Input Byte Module Items Higher Byte Output Byte Module Items 1st node Slave Node Word Module Points 0000 rie Lower Byte Input Word Module Items Higher Byte Output Word Module Items 1st node Slave Node Double Word Module Ir 0000 Points 1st node Slave Node Expected Packet Rate Default Value eme Higher Byte Output Double Word Module tems Lower Byte Input Double Word Module It Units ms 0 1st node Slave Node Watchdog Time Out Default Value Operation 1st node Slave Node Production Disable Time D Units ms Parameters for Slave Function Slave Function Input Sizes Setting Area Daa Slave Function Output Sizes Setting Area Auto Communication Start Setting 3 Flash ROM setting Details Write to Save fil Current value Monitoring module Keier display Select input
27. eo 7o so 90 100 3 00 Use a network power supply unit of which the current capacity is more than the required total current consumption If the current capacity is insufficient use of multiple power supplies is possible However use power supply taps in such a case ARATION 5 SETUP AND PREP O MELSEC Q 5 7 2 Network power supply unit position and current capacity calculation This section describes where to install the network power supply unit and how to calculate the current capacity 1 Connecting the network power supply unit to one end of the network When the network is 200m long in total and uses thick cables the current capacity can be calculated as shown below Network power supply unit Terminating Terminating resistor resistor Master node Slave node Slave node Slave node Slave node 0 1A 0 15A 0 05A 0 25A 0 1A i 200m Total power supply distance 200m Total current capacity 0 1A 0 15 0 05A 0 25A 0 1A 0 65A Max current capacity available for total thick cable length of 200m See Table 5 4 1 53A Therefore this configuration allows power supply to all nodes 2 Connecting the network power supply unit to the center of the network When the network uses thick cables the current capacity can be calculated as shown below In this case the network power supply unit can supply twice the current compared to when it is connected to the end of the network
28. rest Y3 Sets Request for Saving Parameters S to Flash ROM to OFF RST H402 1 Save the parameters in the buffer memory to a flash ROM Otherwise they are cleared when the power is turned OFF or the CPU module is reset 2 Since the number of writes to flash ROM is limited use Request for Saving Parameters to Flash ROM Y17 only when creating or changing parameters 8 PROGRAMMING FOR EXECUTING THE SLAVE FUNCTION MELSEC Q 8 3 I O Communication Function 8 3 1 Program example using the utility package 1 Device list F Pee Reference Device Description i section 1 0 Communication Start Command Loes A 1 0 Communicating 1 Devices used in the auto refresh function of GX Configurator DN 2 Operation in the utility package a Auto refresh setting Refer to Section 6 4 1 Slave Function Receive Data X200 to X23F 2 Slave Function Transmit Data Y200 to Y23F Auto refresh setting Module information Module type DeviceNet Module Start 1 0 No Module model name QJ71DN91 Module side Module side Transfer PLC side Buffer size Transfer direction Device word count Setting item Minimum Link Scan Time Maximum Link Scan Time Slave Function Communication Status S Ac 217 Sc 8 JI d Pepememeegpg LJ 4 2 Error Information for Slave Function Make text file End setup Cancel b Writing intelligent function module parameters R
29. section QJ71DN91 GX Developer GX Configurator DN Upgraded item Node Communication Error Status Version 1 15R or address 01COH to 01C3H 448 to 451 04102 or later Gr ater added Operation Setting Area for Bus Off Error 08032 or later 3 4 3 5 address 06321 1586 added Available irrespective of serial No and software version X N A Appendix 3 Differences from the AJ71DN91 A1SJ71DN91 The following table lists the differences between the QJ71DN91 and the AJ71DN91 A1SJ71DN91 Model name QJ71DN91 AJ71DN91 A1SJ71DN91 DeviceNet master function and DeviceNet DeviceNet master slave function DeviceNet master function only slave function Number of I O points of the DeviceNet Input 4096 points output 4096 points Input 2048 points output 2048 points ia function Auto Auto configuration function function Availabe O Not availabe o available Auto refresh function with programmable Available requires GX Configurator DN Not available KEEN CPU lConstantscan o scan Not availabe o available 3 methods e Setting with sequence programs e Setting with GX Configurator DN e Setting with the auto configuration function 2 methods Parameter setting method Setting with sequence programs e Setting with configuration software App 2 App 2 APPENDIXES MELSEC Q Appendix 4 Parameter Setting Sheet For the Master Function Buffer memo y Item Description Set value
30. 292 24 4 5 SE Fax 385 0 1 36 940 03 Fax 381 0 18 292 24 4 5 AutoCont C S s r o CZECH REPUBLIC INEA SR d 0 0 SERBIA Technologick 374 6 zletnicka 10 CZ 708 00 Ostrava Pustkovec SER 113000 Smederevo Phone 420 595 691 150 Phone 381 0 26 617 163 Fax 420 595 691 199 Fax 381 0 26 617 163 B ELECTRIC s r o CZECH REPUBLIC AutoCont Control s r o SLOVAKIA Mladoboleslavska 812 Radlinsk ho 47 Z 197 00 Praha 19 Kbely SK 02601 Dolny Kubin Phone 420 286 850 848 420 724 317 975 Phone 421 0 43 5868210 Fax 420 286 850 850 Fax 421 0 43 5868210 Beijer Electronics A S DENMARK CS MTrade Slovensko s r o SLOVAKIA Lykkeg rdsvej 17 Vajanskeho 58 DK 4000 Roskilde SK 92101 Piestany Phone 45 0 46 75 76 66 Phone 421 0 33 7742 760 Fax 45 0 46 75 56 26 Fax 421 0 33 7735 144 Beijer Electronics Eesti OU ESTONIA INEAd 0 0 SLOVENIA P rnu mnt 160i Stegne 11 EE 11317 Tallinn SI 1000 Ljubljana Phone 372 0 6 518140 Phone 386 0 1 513 8100 Fax 372 0 6 518149 Fax 386 0 1 513 8170 Beijer Electronics OY FINLAND Beier Electronics AB SWEDEN Peltoie 37 Box 426 FIN 28400 Ulvila SE 20124 Malm Phone 358 0 207 463 540 Phone 46 0 40 35 86 00 Fax 358 0 207 463 541 Fax 46 0 40 93 2301 UTECO A B E E GREECE Omni Ray AG SWITZERLAND 5 Mavrogenous Str m Sch rli 5 GR 18542 Piraeus CH 8600 D bendorf Phone 30 211 1206 900 Phone 41 0 44 802 28 80 Fax 30 211 1206 999 Fax
31. 7034 Transmit complete flag Master function transmit data f 900H a gt 901H Transmit data ata d 902H 3 903H Transmit request flag QJ71DN91 slave Slave function transmit data COOH CO1H CO2H C03H Receive completion notification flag Slave function receive data BOOH BO1H B02H 4 BO3H Receive complete flag Receive data a tail i a Ee e 4 Programmable controller CPU 5 D100 t D101 Receive data D102 Transmitting node QJ71DN91 master 1 HO U0 G1795 0 U0 G2307 0 H iF T H Transmit complete Transmit request flag 703H flag 903H EE 0 Transmit complete dog 703H Receiving node QJ71DN91 slave 4 U0 2819 0 U0 63075 0 d A 2 U0 Tou DO G2304 K3 Transmit Master function data transmit data 900H Um SET G2307 0 Transmit request flag 903H 7 U0 Luet G2307 0 Transmit request flag 903H 5 UO Tou G2816 D100 K3 Receive complete Receive completion flag BO3H notification flag CO3H Slave function Receive data receive data BOOH U0 SET 63075 0 Receive completion notification flag C03H U0 U0 G2819 0 H Receive complete flag BO3H RST G3075 0 J Receive completion notification flag C03H Stores transmit data in Master function transmit data area Sets Transmit request flag Resets Transmit r
32. Communication Request Y11 2 UO Communicating X01 Request for Saving Parameters OFF 2 to Flash ROM Y17 Auto Configuration Request Y15 Auto Configuring X14 Auto Configuration Completion X15 MOV TO Auto Configuration Operation Setting O3FOH Parameters for Master Function 01D4H to O3CFH 6 8 MOV TO instruction Slave Node No 1 5 Slave Node No 2 Slave Node No 3 Set a type of auto configuration and the maximum detection node No in Auto Configuration Operation Setting address 03F0On Example When the auto configuration type is All configuration and the maximum detection node No is 4 set 0004n Set I O Communication Request Y11 and Request for Saving Parameters to Flash ROM Y17 to OFF Set Auto Configuration Request Y15 to ON Auto configuration is started and Auto Configuring X14 is set to ON Up to approx 60 seconds are needed for completion of auto configuration Upon completion of auto configuration Auto Configuration Completion X15 is set to ON Parameters saved in each slave node are loaded and stored in Parameters for Master Function address 01D4H to O3CF The parameter settings loaded from the slave nodes are stored in order of node No When Auto Configuration Request Y15 is set to OFF Auto Configuring X14 and Auto Configuration Completion X15 are set to OFF Check Parameters for Master Function addre
33. Error Occurred is displayed for X03 Error Set Signal for Master Function Check the error code in the current value column of Error Information for Master Function and take corrective actions Refer to Section 9 2 1 9 After completing the parameter saving to the flash ROM set OFF for Y17 Request for Saving Parameters to Flash ROM Select OFF gt button 10 Click the button Since the number of writes to flash ROM is limited use Request for Saving Parameters to Flash ROM Y17 only when creating or changing parameters 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q 4 When clearing parameters from the flash ROM Clicking th e Flash ROM Clear button on the Monitor Test screen will display the Flash ROM Parameter Clear screen Follow the Flash ROM Parameter Clear setting instructions Module information Module type DeviceNet Module Module model name QJ71DN91 Start 1 0 No 0000 Flash ROM setting Write to Current value GE Save file display Ta Load fle Make text file Start monitor Stop monitor 1 2 3 4 aram Clear 1 Param Clear Request 2 3 4 5 r Details Select input Param Clear Request Execute test 6 Set Param Clear for Flash ROM Parameter Clear Select Param Clear Execute test button Set Param Clear Request for Flash ROM Parameter Clear Request Select Param Clear Re
34. FRO instruction Parameters for Master 1 Function MOV TO 01D4H to O3CFH Master Function Receive Data 0700H to 07FFH check MOV FROM instruction Master Function Transmit 2 Data 0900H to O9FFH C MOTO nstructio instruction 1 Set parameters in Parameters for Master Function address 01D4n to 03CFH 2 Set initial values of ON OF information for each slave node in Master Function Transmit Data address 09004 to O9FF 3 Set Auto Configuration Request Y15 and Request for Saving Parameters to Flash ROM Y17 to OFF 4 When I O Communication Request Y11 is set to ON the parameters are checked 5 When the parameter check is succeeded I O communication with each slave node is started and I O Communicating X01 is set to ON e The status of input from each slave node is stored in Master Function Receive Data address 0700H to 07FF e The ON OFF information to be sent to each slave node is set in Master Function Transmit Data address 0900H to O9FF 6 Ifthe parameter check has failed the ERR LED lights up and Error Set Signal for Master Function X03 is set to ON At this time I O Communicating X01 is not set to ON Check the error code in Error Information for Master Function address 01B1H and take corrective actions 7 Setting I O Communication Request Y11 to OFF stops I O communication with each slave node causing I O Communicating X01 to turn OFF 4 FUNCTION GA MELSEC Q
35. PACKAGE GX Configurator DN MELSEC Q 6 2 Installing and Uninstalling the Utility Package For how to install or uninstall the utility package refer to Method of installing the MELSOFT Series included in the utility package 6 2 1 Handling precautions The following explains the precautions on using the GX Configurator DN 1 For safety Since GX Configurator DN is add in software for GX Developer read Safety Precautions and the basic operating procedures in the GX Developer Operating Manual 2 About installation GX Configurator DN is add in software for GX Developer Version 4 or later Therefore GX Configurator DN must be installed on the personal computer that has already GX Developer Version 4 or later installed 3 Screen error of Intelligent function module utility Insufficient system resource may cause the screen to be displayed inappropriately while using the Intelligent function module utility If this occurs close the Intelligent function module utility GX Developer program comments etc and other applications and then start GX Developer and Intelligent function module utility again 4 To start the Intelligent function module utility a In GX Developer select QCPU Q mode for PLC series and specify a project If any other than QCPU Q mode is selected for PLC series or if no project is specified the Intelligent function module utility will not start b Multiple Intelligent function module ut
36. See Section 8 2 1 1 Auto communication start setting See Section 8 2 2 2 5 Set auto communication start setting Not needed when starting UO communication by UO Communication Request Y11 Create sequence program for auto communication sta setting Not needed when starting I O communication by I O Communication Request Y11 Saving parameters to flash ROM See Section 8 2 1 2 Save parameters to flash ROM Saving parameters to flash ROM See Section 8 2 2 2 Create sequence program for saving parameters to flash ROM Refresh setting See Section 8 3 1 Configure auto refresh settings Write intelligent function module parameters to CPU module Refresh setting See Section 8 3 2 Create sequence program for refresh Programming for control See Section 8 3 1 Programming for control See Section 8 3 2 Create sequence program for control After writing it to Create sequence program for control After writing it to programmable controller reset CPU module programmable controller reset CPU module lt Test run Failed OK Set Request for Saving Parameters to Flash ROM Y17 to ON to save parameters to flash ROM Failed Operation ETUP AND PREPARATION GE S MELSEC Q 5 1 3 When using both the master and slave functions Refer to Chapter 7 for programming for the master function and Chapter 8 for programming for the slave function
37. Sets attribute data TOP HO H130 D30 KI J Writes attribute data to buffer memory FROMP HO HIBO D200 K1 7 Reads master function communication status WANDP HOFFOO D200 H Executes Set Attribute e SC PEL ES J if Master Function Comm Status is COH or 40H D200 Hoco00 up moi D300 J Set Attribute Node No 3 Class ID 3 Instance ID 1 wove was D303 7 Byte length of attribute i data 1 Attribute ID 3 lo 00 H110 mom K4 Writes message comm command to buffer memory SET W I Y Sets Message Comm Request to ON Pest woo M201 X2 Y12 d d FROMP HO H120 mm K5 7 o K u Erorhandiing program KO D311 RST D I 7 Sets Message Comm Request to OFF RST M201 Y 7 33 7 33 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q 7 6 Obtaining Error Information This section explains an example of a sequence program that obtains the error information for the master function 1 Device list fe Reference Device Description section M60 Error Reset Command eee Error Set Signal for Master Function 3 3 2 4 Y13 Error Reset Request for Master Function D500 Error Information for Master Function D502 Error Code 2 Program example Reads error information ae 2 SS Ge S for master function from buffer memory WANDP HOFF D500 D501 J Node No of error node MOVP D500 D502 J Error information for master function SFRP
38. The QJ71DN91 is compliant with the DeviceNet Specifications Release2 0 and can operate as a master node a I O communication function Refer to Section 4 1 1 The QJ71DN91 can exchange I O data with slave nodes max 63 nodes using its own buffer memory Communications of 512 bytes of inputs up to 256 bytes per node and 512 bytes of outputs up to 256 bytes per node are available Master node Slave node Programmable controller CPU QJ71DN91 4H sT oi H UO Communication Request 0700H Ss Function Receive O7EFH Data area 0900H Master i gt Receive Function Transmit O9FFy Data area 1 Performed by automatic refresh or sequence program 2 One of the following connection types can be selected for each slave node e Polling e Bit strobe e Change of state e Cyclic 1 VERVIEW S MELSEC Q b Message communication function Refer to Section 4 2 Using the buffer memory of the QJ71DN91 attribute data can be read from or written to slave nodes For details of other message communications refer to the DeviceNet common service in the DeviceNet Specifications Release2 0 At one time 240 bytes of message data can be transferred c Creating master function parameters using auto configuration The QJ71DN91 can detect slave nodes on the network and automatically create master function parameters Since programming steps for setting master function paramet
39. Utility Package AAA 6 1 6 2 Installing and Uninstalling the Utility Package A 6 2 6 271 Handling precautlonss EE 6 2 6 2 2 Operating GNnvirONnMeN 2 22 2 cece desea detected REENEN a R TE a 6 4 6 3 Utility Package Operation 6 6 6 3 1 Common utility package operations ee eeeeeeeeeeceeteeeeeeeeeeeseeeeeeeseeeseeseeeseeeseeeseaeseeeseaeseaeseaseaeeaes 6 6 6 3 2 Operation OVEMVIOW fis enee gege heed ce ht eed ob Bt a geet 6 9 6 3 3 Starting the Intelligent function module utility AA 6 11 6 4 AUTO REM OSI eege EE ee oe oe a Cae oh eae Coe 6 13 Gerd RRE 6 16 6 5 1 X Y monitor teSt nsi ia a d Ee 6 19 6 5 2 Parameter area monitor test AAA 6 20 6 5 3 Save parameters to flash ROM sssssssnssnnssnnsinstnsttnsttnsttnstterttntsttnsttnnttnsttnnttnttntnnnnnntnn Ennn Ennn enne 6 21 A 7 A 7 6 5 4 Node configuration status MOMItOM 0 2 ee eeceeeeeeeeeeeeeeeeeeeeeeeeeteeeeeeteeceeseeeseeeseeeseeeseeeseaeseaseaeteneeeaes 6 22 6 5 5 Node communication status monitor 6 22 6 5 6 Node communication error status MONON 0 0 eee eeeeeeeeeeeeeeeeeeeeeeeeeeeseeeseneseeeseeeseeeseneseneeeneeeateaes 6 23 6 5 7 Node fault status monitor 2 0 ee eececeeeceeeeeeeeeeeeeeceeseeeseeeeeeeseeeseeesaeseneseeseeeseeeseeeseeeseeeseeseaeseneteneeaaes 6 23 6 5 8 Failed node detection Setting AAA 6 24 6 5 9 Message communication area monitor test AAA 6 25 6 5 10 I O address area monitor for master function ee eeeeeeeeteeeteeeteeeseeeeeeetneteeeseneseneteae
40. area 3 46 Parameters for the master function 3 32 7 9 Parameters for the slave function 3 41 8 1 Performance specifications sesseeeeeeeen 3 1 PONO EE 4 4 Precautions for network power supply 5 11 Present link scan me 3 39 Production inhibit me 3 34 Programming Drecautlons 7 1 R Request for saving parameters to flash ROM YI nn a eee 3 10 S Saving parameters to flash ROM X06 3 10 Slave function I O communication function e cA et ate hehe e Een 4 11 8 9 Slave function communication status 3 40 Index 2 Slave function receive data 3 42 Slave function receive bytes setting area 3 41 Slave function transmit data 3 42 Slave function transmit bytes setting area 3 41 Starting the intelligent function module utility W ER 6 11 System configuration ceeeeeeeseeeeeeeteeees 2 1 TOS cis hehe ete eile hee ae 6 16 Transmission dea 3 47 Watchdog timer error 00 3 5 When unable to communicate with all slave nodes Scere tate Ee EE 9 3 When unable to communicate with a specific slave NODC sine ese eee et 9 4 When unable to communicate with master node eege eege er eer ere erro 9 5 WING ege neuen 5 9 Index 2 WARRANTY Please confirm the following 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 o
41. communication read processing program at the beginning of the sequence program e Place the I O communication write processing program at the end of the sequence program Refresh processing request I O communication read processing UO communication write processing 2 Reading receive data and writing transmit data must be performed when there is no error in the module and the module is in the ready status Module error Module ready Me XOF 3 Create a program that detects the communication status of each node and performs interlock Also create an error handling program Module error Module ready Node communication status l XO XOF FROM HO H1BC K4MO K4 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION 4 following MELSEC Q When handling transmit receive data of multiple words pay attention to the Consistency of 1 word or 2 word for double word modules is guaranteed for transmit receive data When data of three words or more are handled new and old data may be mixed in units of one word Therefore confirm correct data transfer using a method such as providing a handshake area at each end of transmit receive data areas as shown in the following example QJ71DN91 master Programmable controller CPU Master function receive data 700H 701H 702H 1 Transmit request Mo
42. completed successfully I O communication with each slave node is started and I O Communicating X01 is set to ON e If the parameter check has failed the ERR LED lights up and Error Set Signal for Master Function X03 is set to ON At this time I O Communicating X01 is not set to ON For details of Error Set Signal for Master Function X03 refer to Section 4 Setting UO Communication Request Y11 to OFF stops I O communication with each slave node causing I O Communicating X01 to turn OFF When parameter check completed successfully UO Communication Request Y11 UO Communicating X01 check 3 SPECIFICATIONS MELSEC Q When parameter check failed Module Ready X0F UO Communication Request Y11 UO Communicating X01 Error Set Signal for Master Function X03 ones check 1 HO Communicating X01 is not set to ON even if I O Communication Request Y11 is turned ON with the following output signals set to ON e Auto Configuration Request Y15 e Request for Saving Parameters to Flash ROM Y17 Turn OFF the output signals and set I O Communication Request Y11 to ON from OFF 2 To stop I O communication set I O Communication Request Y11 and after 200ms or more has elapsed reset it PECIFICATION E MELSEC Q b When starting UO communication automatically at power up Set Start in Automatic Communication Start Setting address 0631H
43. e Parameters for Slave Function address O60EH O60FH e Auto Communication Start Setting address 06311 2 When the power is turned ON parameters saved in the flash ROM is loaded into the buffer memory automatically Module Ready XOF is set to ON and the parameters are checked 3 When the parameter check is succeeded I O communication with the master node is started and I O Communicating X01 is set to ON Note that until receiving an I O communication request from the master node the module waits for connection establishment e Data sent from the master node are stored in Slave Function Receive Data address OBOOH to OB3F e The ON OFF information to be sent to the master node is set in Slave Function Transmit Data address OCOOH to OC3F 4 Ifthe parameter check has failed the ERR LED lights up and Error Set Signal for Slave Function X08 is set to ON At this time I O Communicating X01 is not set to ON Check the error code in Error Information for Slave Function address 0601H and take corrective actions 5 Setting I O Communication Request Y11 to ON and then OFF stops UO communication with the master node causing I O Communicating X01 to turn OFF 5 SETUP AND PREPARATION MELSEC Q 5 SETUP AND PREPARATION This chapter describes the procedures to be followed before starting the system that includes the QJ71DN91 5 1 Pre operation Procedures 5 1 1 When using the master function Start Per
44. in Message Communication Command address 0110H to 011FH when Message Communication Request Y12 is set to ON message communication is started Allow an interval of 100ms or more between turn ON actions of Message Communication Request Y12 b Upon completion of a message communication the processing result is stored in Message Communication Result address 0120H to 012FH and Message Communication Completion X02 is set to ON When failed Message Communication Error Signal X05 is set to ON c Setting Message Communication Request Y12 to OFF causes Message Communication Completion X02 and Message Communication Error Signal X05 to turn OFF Message Communication Request Y12 Message Communication Ex Completion X02 Message Communication a K When failed a Error Signal X05 Message comm Message comm Message comm Message comm command data result data MOV TO MOV TO MOV FROM MOV FROM instruction instruction instruction instruction During data transmission only During data reception only 3 SPECIFICATIONS MELSEC Q 4 Error Set Signal for Master Function X03 Error Reset Request for Master Function Y13 These signals are used for notification of an error occurred during master function execution and for error code resetting a When a master function error occurs the error information is stored in Error Information for Master Function addre
45. n th slave is 8 bytes or less TOn BT BTa x Transmit data length bytes ms BT BTa Coefficient corresponding to the baud rate See 1 b When the length of the data sent to the n th slave is 9 bytes or more TOn BT BTa X 8 0 130 X c BT BTa X d 1 1 2 ms BT BTa Coefficient corresponding to the baud rate See 1 C Result obtained by dividing the transmit data length by 7 Truncate the fractional part d Remainder obtained by dividing the transmit data length by 7 1 The following shows the coefficients corresponding to the baud rates ee a 125kbaud 250kbaud 500kbaud 0 376 0 188 0 094 0 064 0 032 0 016 4 FUNCTIONS MELSEC Q 4 FUNCTIONS This chapter explains the functions of the QJ71DN91 4 1 Master Function I O Communication Function This function allows I O data communication with respective slave nodes up to 63 nodes using the buffer memory of the QJ71DN91 Communications of 512 bytes of inputs up to 256 bytes per node and 512 bytes of outputs up to 256 bytes per node are available Master node Slave node Programmable controller CPU QJ71DN91 4H sT oi H UO Communication Request 0700H H z MasterFunction ol ransmit Receive Data l area O7FFH 0900H h i Receive Master Function Receive Transmit Data area O9FFH 1 Setting for I O communication with each sl
46. 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 Microsoft Windows Windows NT and Windows Vista are registered trademarks of Microsoft Corporation in the United States and other countries Pentium is a registered trademark of Intel Corporation in the United States and other countries Other company and product names herein are either trademarks or registered trademarks of their respective owners SPREAD Copyright c 1996 FarPoint Technologies Inc SH NA 080143 J DeviceNet Master Slave Module User s Manual wee QU71DNQ1 U S E MODEL 13UR32 SH NA 080 143 J 080 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 f
47. saved in the personal computer and save them in the QJ71DN91 s flash ROM Follow the instructions shown in the Setting item column Operating procedure Scroll down on the Monitor Test screen Setting screen Monitor Test Module information Module type DeviceNet Module Module modelname OD Start 1 0 No 0000 Setting tem Current value Setting value The Flash ROM setting area is provided below Read from module allows confirmation of the Flash ROM contents and the read out contents can be saved in a fle with Save fle Also the contents saved in a file can be read out with Load file and can be written to the Flash ROM with Write to module Parameter Backup Param Backup Flash ROM setting Write to modde Save fie Read from module le Load file Make text file Stop monitor Details Monitoring Cannot execute test Parameter Backup Module information Module type DeviceNet Module Module model name QJ71DN91 Param Backup Start 1 0 No when writing parameters to Flash ROM by Write to module parameters Selection below are written Setting item in the area selected in Parameter Saving Area Setting value Parameter Saving Area Selection Parameters for Master Function Master Constant Scan Units ms Lower Byte Slave Node No Higher Byte Message Group 1st no
48. selectable for each slave node The QJ71DN91 master node can read attribute data from or write them to slave nodes using its own buffer memory For further details refer to the DeviceNet common service in communication the DeviceNet Specifications Release2 0 Up to 240 bytes of message data can be transferred at a time The QJ71DN91 slave node can exchange I O data with the master node using its own buffer memory Transfer of 128 input bytes and 128 output bytes is available The connection type is polling method communication 2 List of configuration functions Table 3 4 List of configuration functions San Reference Function Description 8 section The following parameters in the buffer memory can be stored in the flash ROM inside the QJ71DN91 e Parameters for Master Function Address 01D4H to O3CFH Saving data to flash ROM e Parameters for Slave Function Address O60EH O60FH e Auto Communication Start Setting Address 0631H The parameters saved in the flash ROM are automatically loaded to the buffer memory when power is turned ON from OFF or when the CPU module is reset This function detects slave nodes on the network allowing automatic configuration of master function parameters Two options are available All configuration used for detecting all slave nodes on the network and Add 3 4 5 2 configuration used for detecting the slave node s added to 7 3 2 the network Programming steps for sett
49. slave node states for MAC ID and baud rate setting a failed slave node or disconnection of a terminating resistor A slave node responded with a non prescribed error Slave node QJ71DN91 QJ71DN91 QJ71DN91 QJ71DN91 A slave node responded with an error when establishing a connection The input data size set with a parameter is different from the size for the actual slave node The output data size set with a parameter is different from the size for the actual slave node Response data of the function that is not supported by the QJ71DN91 was received The connection is already in the specified mode Unexpected invalid data was received when the connection was established 29 Et Connection has already been e Wait for a while and reset the slave node Vi S established with that slave node if the connection cannot be established The data length of a polling response is different from the length of the data that was read from the slave node when a connection was established QJ71DN91 QJ71DN91 QJ71DN91 QJ71DN91 When a polling response was divided into several data units the first data unit was received twice When a polling response was divided into several data blocks data of an unexpected number was received When a polling response was divided into several data blocks the second data block or later was received before the first one Read the communication error information and take an a
50. the error 4 FUNCTIONS 3 Reading communication error information MELSEC Q Programmable controller CPU QJ71DN91 Slave node MAC ID vO 0110H Message communication Class 1 Me H oe Instance 014FH Command area Message Comm Attribute set Y12 H Request Attribute Slave 2 Instance information storage area 0120H Message FROM Comm Wm X02 X05 012FH Result area 0130n Message Comm Class Data area 01A7H Instance Message Attribute communication HH FROM complete X02 X05 Message Comm Completion Instance x The status of each slave station is stored during I O communication Set command data in Message Communication Command address 0110H to 011FH When Message Communication Request Y12 is set to ON the communication error information of the relevant slave node which has been accumulated in the QJ71DN91 is stored in Message Communication Data address 0130H to 01A7n Upon completion of reading the processing result is stored in Message Communication Result address 0120H to 012FH and Message Communication Completion X02 is set to ON The slave node s communication error information stored in Message Communication Data address 0130H to 01A7x is read out to the programmable controller CPU If failed Message Communication Error Signal X05 is set to ON Read data in Message Communicat
51. the master function For the execution timing refer to Section 3 3 2 3 1 Message Communication Command address 0110H to 011FH 272 to 287 Set a command for message communication a Getting attribute data of a slave node Table 3 7 Get Attribute Buffer memory address ee Item Description Hex 0110H 0101H Get Attribute 0111H Slave node No slave Low byte Node No of the slave node MAC ID MAC ID class ID High byte Class ID of the object 0112H Instance ID Instance ID of the object 01134 Attribute ID Low byte Attribute ID of the object High byte Always sets to 0 b Setting attribute data into a slave node Table 3 8 Set Attribute Buffer memory address Hex 0110H 0102H Set Attribute 0111H Slave node No slave Low byte Node No of the slave node MAC ID MAC ID class ID High byte Class ID of the object an been Low byte Attribute ID of the object 0113H Attribute ID High byte Byte length of the attribute data to be set 1 to 240 1H to FOH c Reading communication error information of a slave node Item Description Table 3 9 Reading communication error information Buffer memory address Item Description Hex 0110H 0001H Reads Communication Error Information 0111H Slave node No slave Low byte Node No of the slave node MAC ID MAC ID High byte Always sets to 0 d Resetting Table 3 10 Reset Buffer memory address de Item Description Hex 01104 02014 Reset
52. the utility package can be also handled in GX Developer Figure 6 1 shows respective data or files are handled in which operation lt Intelligent function module parameter gt a This represents the data created in Auto refresh setting and they are stored in an intelligent function module parameter file in a project created by GX Developer Project Program Parameter PLC Parameter m Network Parameter Intelligent Function Module Parameter b Steps 1 to 3 shown in Figure 6 1 are performed as follows 1 From GX Developer select Project gt Open project Save Save as 2 From the module selection screen of the utility select Intelligent function module parameter Open parameters Save parameters 3 From GX Developer select Online Read from PLC Write to PLC Intelligent function module parameters Or from the module selection screen of the utility Online Read from PLC Write to PLC 6 UTILITY PACKAGE GX Configurator DN MELSEC Q lt Flash ROM data gt a This means the data set in Flash ROM setting and they can be stored in any directory separately from projects of GX Developer b Steps 4 and 5 in Figure 6 1 are performed as follows 4 The operation can be executed from the Flash ROM setting screen or Monitor Test screen of the utility Flash ROM Setting screen Load file Monitor Test screen Load file 5 The operation can be
53. this area refer to Section 3 3 2 4 a High byte An error code is stored Refer to Section 9 2 1 b Low byte The number of the node MAC ID where an error occurred is stored FEn FFH 254 255 Own node QJ71DN91 OH to 3FH 0 to 63 Node No MAC ID of the slave node where an error occurred If errors occur at multiple nodes the error information of the node with the smallest node No MAC ID is stored 3 4 5 Bus Error Counter address 01B2H 434 The number of times that the illegal frame count of the CAN chip DeviceNet s communication chip exceeded 96 is stored An increase of this value means that communications are unreliable Bus Off Counter address 01B3H 435 The number of times that the QJ71DN91 was placed in the bus off status is stored An increase of this value means that communications are unreliable Operation Setting Area for Bus Off Error address 0632H 1586 Set whether or not to reset the QJ71DN91 s CAN chip communication chip to resume the communication in the event of a bus off error Setting 1 in this area enables communication resumption without resetting the CPU module This setting must be done before I O communication before setting I O Communication Request Y11 to ON Even if 1 is set in this area after occurrence of a bus off error the CAN chip is not reset 0 Stop communication without resetting the CAN chip Default 1 Resume communication by reset
54. time ms Refer to Section 3 4 5 PECIFICATION E MELSEC Q 3 5 3 Link scan time The link scan time represents a time during which the QJ71DN91 waits for responses from all nodes after sending a polling request or bit strobe requests The following shows the link scan time calculation formulas LS Tin TOn 0 097 0 222 x BR 1 0 ms LS Link scan time ms Tin Transmission time for data received from the n th slave ms Refer to 1 below TOn Transmission time for data sent to the n th slave ms Refer to 2 below 2 Indicates that the values in the parentheses must be added up for all of the slave nodes Except for reserved nodes BR Coefficient corresponding to the baud rate 500kbaud 1 250kbaud 2 125kbaud 4 1 How to calculate Tin a When the length of the data received from the n th slave is 8 bytes or less Tin BT BTa x Receive data length bytes ms BT BTa Coefficient corresponding to the baud rate See 1 b When the length of the data received from the n th slave is 9 bytes or more Tin BT BTa x 8 0 190 x a BT BTa x b 1 0 450 ms BT BTa Coefficient corresponding to the baud rate See 1 a Result obtained by dividing the receive data length by 7 Truncate the fractional part b Remainder obtained by dividing the receive data length by 7 2 How to calculate TOn a When the length of the data sent to the
55. 0 x 600 dots or more resolution 7 Microsoft Windows 95 Operating System English version Microsoft Windows 98 Operating System English version Microsoft Windows Millennium Edition Operating System English version Microsoft Windows NT Workstation Operating System Version 4 0 English version Microsoft Windows 2000 Professional Operating System English version Microsoft Windows XP Professional Operating System English version Microsoft Windows XP Home Edition Operating System English version Microsoft Windows Vista Home Basic Operating System English version Microsoft Windows Vista Home Premium Operating System English version Microsoft Windows Vista Business Operating System English version Microsoft Windows Vista Ultimate Operating System English version Microsoft Windows Vista Enterprise Operating System English version 1 Install GX Configurator DN in GX Developer Version 4 or higher in the same language GX Developer English version and GX Configurator DN Japanese version cannot be used in combination and GX Developer Japanese version and GX Configurator DN English version cannot be used in combination 2 GX Configurator DN is not applicable to GX Developer Version 3 or earlier 3 At least 15GB is required for Windows Vista 4 Resolution of 1024 X 768 dots or more is recommended for Windows Vista Operating system and performance required for personal com
56. 00 0000 0000 0000 0000 0000 0000 Slave Function Transmit Data Word S 0C08H Slave Function Transmit Data Word 10 0C09H Slave Function Transmit Data Word 11 0C0AH Setting items Reference Item Buffer memory address Hex j section Slave Function Transmit Data OCOOH to OC3FH 3 4 10 2 6 UTILITY PACKAGE GX Configurator DN MELSEC Q 6 5 15 Auto configuration Purpose Using the auto configuration set the parameters for master function Follow the instructions shown in the Setting item column Operating procedure Scroll down on the Monitor Test screen Setting screen Monitor Test Module information Module type DeviceNet Module Start 1 0 No 0000 Module model name QJ71DN91 Setting item Curent value Setting value D Slave Function Transmit Data Monitor Test Slave Transmit Data Auto Configuration Please perform Auto Configuration by following steps 1 to 5 1 Stop 1 0 Communication 120 Comm Stoy 2 Set Auto Configuration Operation Operation Setting 3 Execute Auto Configuration i Auto Config 4 Contirm Auto Configured Parameters Param Check Click Param Check to open the 4 Confirm Auto Configured Parameters screen and check auto configured parameters figuration i Setting items Reference Item Buffer memory address Hex section 1 1 Stop UO Communication id UO Communi
57. 00 EE Slave Function Receive Data Word 3 0802H 0000 Slave Function Receive Data Word 4 0B03H 0000 Slave Function Receive Data Word 5 0B04H DO Slave Function Receive Data Word 6 0B05H 0000 Slave Function Receive Data Word 7 0806H 0000 Slave Function Receive Data Word 8 0B07H 0000 Slave Function Receive Data Word 9 0B08H 0000 Slave Function Receive Data Word 10 0B09H 0000 Slave Function Receive Data Word 11 080AH 0000 X Setting items Reference Item Buffer memory address Hex section Slave Function Receive Data OBOOH to OB3FH 3 4 10 1 6 5 14 Slave function transmit data monitor test Purpose Test the data to be sent to the master node Operating procedure Monitor Test screen Slave Transmit Data Setting screen Slave Function Transmit Data Monitor Test Module information Module type DeviceNet Module Start 1 0 No 0000 Module model name QJ71DN31 Setting item Current value Setting value z Slave Function Transmit Data Word 1 0C00H D O00 Slave Function Transmit Data Word 2 0C01H 0000 0000 DO 0000 0000 0000 Slave Function Transmit Data Word 3 0C02H Slave Function Transmit Data Word 4 0C03H Slave Function Transmit Data Word 5 0C04H 0000 0000 Slave Function Transmit Data Word 6 0CO5H 0000 0000 Slave Function Transmit Data Word 7 0C06H 0000 0000 Slave Function Transmit Data Word 8 0C07H DO 00
58. 0000 Module model name 0J71DN91 Setting item Current value Setting value Save Parameters to Flash ROM From this screen save parameters to the Flash ROM by following step 1 to 5 1 Stop 1 0 Communication To save parameters to the Flash ROM the module should be in 1 0 communication stop status Check the current value displayed for 11 10 Communication Request If the current value is 1 0 Comm Request select 120 Comm Stop Request as a setting value for Y11 1 0 Communication Request and click on Execute test Then check the POT 1 0 Communicating value If 140 Communicating is shown change the setting value for 11 10 Communication Request to 140 Comm Request and click on Execute test Select 140 Comm Stop Request in the same way as shown above Confirm 140 Comm Stop is displayed for 01 1 0 Communicating 01 10 Communicating 170 Comm Stop If the current value for Y15 Auto Configuration Request is Config Request it must be changed to OFF Check the current value If Config Request is shown as the current value select OFF in the V15 Auto Configuration Request setting and click on Execute Test 1 When the current value for Y11 I O Communication Request is I O Comm Request set I O Comm Stop Request Select I O Comm Stop Request Execute test button 2 When the current value for X01 I O Communicating is I O Co
59. 2 Configure auto refresh settings Write intelligent Create sequence program for refresh function module parameters to CPU module Programming for control See Section 7 4 1 Programming for control See Section 7 4 2 Create sequence program for control After writing it to Create sequence program for control After writing it to programmable controller reset CPU module programmable controller reset CPU module lt est rin Failed OK Set Request for Saving Parameters to Flash ROM Y17 to ON to save parameters to flash ROM 1 Check that power supplies to slave nodes and network are ON and the wiring is correct 5 1 5 1 Failed ETUP AND PREPARATION GE S MELSEC Q 5 1 2 When using the slave function Start Perform hardware test Mode 9 See Section 5 4 D Set node No See Section 5 3 2 Set mode to 3 4 or 5 See Section 5 3 3 A See Section 5 5 Connect DeviceNet cable to QJ71DN91 Not use Use GX Configurator DN Parameters for slave function See Section 8 2 1 1 Set parameters for slave function Not needed unless UO points for slave function are changed Parameters for slave function See Section 8 2 2 1 Create sequence program for setting parameters for slave function Not needed unless UO points for slave function are changed Auto communication start setting
60. 29 D30 D31 D32 D33 D34 D35 K36 M10 J J J J J MELSEC Q 3rd slave node Node No 4 message group 3 Connection type Polling Input byte module 8 Output byte module 8 Input word module 0 Output word module 0 Input double word module 0 Output double word module 0 Expected packet rate 500ms Watchdog timeout action Auto delete Production inhibit time 20ms 4th slave node Node No 3 message group 3 Connection type Bit strobe Input byte module 4 Output byte module 2 Input word module 0 Output word module 0 Input double word module 0 Output double word module 0 Expected packet rate Default 200ms Watchdog timeout action Default Timeout Production inhibit time Default 10ms Write parameters to buffer memory When changing parameters for master function set default values in the areas after the parameter set areas Example When changing the number of slave nodes that can perform I O communication from 6 to 4 set default values in the areas for 5th and 6th slave nodes 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q 3 When saving parameters to a flash ROM a Device list Reference Device Description section pe Saving Parameters toFlashROM xoz Parameters SavedtoFlasnROM 3 3 2 6 Cp aaner Area Scan aam Di Auto Communication Start Setting L 3414 Setting parameters for maste
61. 47 3 5 3 e TR EE 3 48 4 1 Master Function UC Communication Funchon 4 1 4 2 Master Function Message Communication Funchon 4 8 4 3 Slave Function UO Communication Function ceceeceeeeeeeeeeeeeeeeeeeeeeeesaeeseesaeesaeesaeeseesieesieesieetiennen 4 11 ee let iere 5 1 5 1 1 When using the master FUNCTION escroa a 5 1 5 1 2 When using the slave FUNCTION 0 0 eeceeeceseteeeeeteeeeeeeseeeeeeseeseeeseeesnessaeseaeseeeseeeseeeseaeseaeseateneteneeeaes 5 2 5 1 3 When using both the master and Slave functions 000 eeeeceeeeeeeeeteeeeeeeteeeteeeeeeeseeeeeeeseaeeeeeteneeeneeeas 5 3 5 2 Implementation and Installation siidi a iiai a 5 4 5 2 1 Handling precautions sosia nea aeeai iaa E AEE RE E 5 4 5 2 2 Installation enmvironment 5 4 5 o Pan Names and Setings i2c cstesediendhiehaneiedateniniien di EE E 5 5 a RN elle Ire EE 5 6 5 3 2 Node No switches NEEN ata aaa ea a e ea iai nieee iaaa 5 7 9 3 3 Mode swit e a Aaa E A S ai eA AeA a aa do eee a ee 5 7 54 Hardware Legt genge NEES a e ney ee teed a eee 5 8 TOAN EE 5 9 5 6 Communication Test 5 10 5 7 Precautions for Network Power Guppiy nnn enn 5 11 5 7 1 Network power supply unit POSITION ceeeeeeeeeeececeeeeceeteneeeeeeeecaeeeteneeseaeeseaeescaeeesaeeseneeteaeeteeesineess 5 11 5 7 2 Network power supply unit position and current capacity calculation cceecceeeeeeeteeeeeeees 5 12 6 UTILITY PACKAGE GX Configurator DN 6 1 to 6 33 6 1 Functions of the
62. 72 0 3 922 18 24 Phone 32 0 2 717 64 30 Phone 31 0 180 46 60 04 Fax 972 0 3 924 0761 Fax 32 0 2 717 6431 Fax 31 0 180 44 23 55 5 TEXEL ELECTRONICS Ltd ISRAEL Koning amp Hartman b v BELGIUM Koning amp Hartman b v NETHERLANDS gt u umanut P 0 B 6272 Woluwelaan 31 Haarlerbergweg 21 23 1L 42160 Netanya BE 1800 Vilvoorde NL 1101 CH Amsterdam Phone 972 0 9 863 39 80 Phone 32 0 2 2570240 Phone 31 0 20 5877600 Fax 972 0 9 885 2430 Fax 32 0 2 257 02 49 Fax 31 0 20 587 76 05 CEG INTERNATIONAL LEBANON INEA BH d 0 0 BOSNIA AND HERZEGOVINA Beijer Electronics AS NORWAY Cebaco Center Block A Autostrade DORA Aleja Lipa 56 Postboks 487 Lebanon Beirut BA 71000 Sarajevo NO 3002 Drammen Phone 961 0 1 240 430 Phone 387 0 33 1921164 Phone 47 0 32 243000 Fax 961 0 1 240 438 Fax 387 0 33 524 539 Fax 47 0 32 84 85 77 AKHNATON BULGARIA Sirius Trading amp Services srl ROMANIA 4 Andrej Ljapchev Blvd Pb 21 Aleea Lacul Morii Nr 3 BG 1756 Sofia RO 060841 Bucuresti Sector 6 AFRICAN REPRESENTATIVE Phone 359 0 2 817 6004 Phone 40 0 21 430 40 06 Fax 359 0 2 97 44061 Fax 40 0 21 430 40 02 CBI Ltd SOUTH AFRICA INEA CR d o 0 CROATIA Craft Con amp Engineering d o o SERBIA E Losinjska 4a Bulevar Svetog Cara Konstantina 80 86 ZA 1600 Isando HR 10000 Zagreb SER 18106 Nis Phone 27 0 11 977 0770 Phone 385 0 1 36 940 01 02 03 Phone 381 0 18
63. A App 6 Emor COd6S tind aviaiddie Median 9 8 Error information for master function 3 27 Error information for slave function 3 40 Error reset request for master function Y13 deu EEN 3 9 Error reset request for slave function Y18 eS GA csi ees EE ec ae 3 16 Error set signal for master function X03 3 9 Error set signal for slave function X08 3 16 Execution error codes of message communication EE 9 13 Expected packet rate ccssceeeeeeeeeees 3 34 External dimensions ssesseeeneeeneeereeeneee App 1 Index 1 F Failed node detection setting eee 3 31 Flash ROM Setting A 6 32 Functions of the utility package eee 6 1 FUNCTION version 2 5 9 17 G General DeviceNet error codes 00 9 16 GX Configurator DN sssesseesneeeneeeneeeeen 2 4 6 1 GX Developer 2 4 H Hardware test 5 8 Hardware test item area sssseeeeeeeneenen 3 44 Hardware test result areza 3 45 HAN test completion OP 3 12 HAN test error detection OC 3 12 HAN test in progress GO 3 12 I UO address area for master function 3 39 WO communicating DOT 3 5 3 13 WO communication request Y11 3 5 3 13 reel tie clin ee teeta 3 4 L LED indications sneesneeneeeen aenea eee eeen eeererer eeen 5 6 Link scan Ume 3 48 List of communication parameters of slave nodes from various manufachurers App 5 M Master function I O commun
64. A MITSUBISHI ELECTRIC MELSEC System Q Programmable Controller User s Manual QJ71DN91 DeviceNet Master Slave Module GX Configurator DN Art no 139835 01012008 Aa MITSUBISHI ELECTRIC INDUSTRIAL AUTOMATION SH NA 080143 Version J e SAFETY PRECAUTIONS e Always read these instructions before use 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 only 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 Le D DANGER Indicates that incorrect handling may cause hazardous conditions resulting in death or severe injury AN CAUTION Indicates that incorrect handling may cause hazardous conditions S resulting in minor or moderate injuries and or property damage b N a Note that failure to observe a CAUTION level instruction may lead to a serious consequence depending on the circumstances Always follow the instructions of both levels to ensure the safety Please keep this manual in a safe place for future reference and also pass it on to the end user DESIGN PRECAUTIONS lt gt DANGER e If a communications error occurs on a De
65. AC ID class ID instance ID and attribute ID are correct Se S e In the case of set attribute verify that the specified Sufficient data was not provided to execute the G Slave node data is sufficient and the data length is correct specified operation e Referring to the slave node manual check the condition under which the slave node notifies this error and take an appropriate action e Check whether or not the specified MAC ID class ID instance ID and attribute ID are correct Slave node The specified attribute is not supported e Referring to the slave node manual check the condition under which the slave node notifies this error and take an appropriate action e A e Reduce the data returned from the slave node to 240 21 Slave node The service provided excessive data bytes or less e Check whether or not the specified MAC ID class ID SS t yE instance ID and attribute ID are correct The specified object does not exist in the slave 22 Slave node node e Referring to the slave node manual check the i condition under which the slave node notifies this error and take an appropriate action Check the entire network and slave node states for 50 QJ71DN91 The response data format is invalid any fault such as disconnection of a terminating resistor QJ71DN91 The specified slave node No is other than 0 to 63 e Specify a node No in the range of 0 to 63 e Check the entire network and slave node states for
66. Clicking the Flash ROM Save button on the Monitor Test screen will display the 5 Save Parameters to Flash ROM or Save Parameters to Flash ROM screen The same setting details are displayed on the both screens Follow the setting instructions Save the parameters in the buffer memory to a flash ROM Otherwise they are cleared when the power is turned OFF or the CPU module is reset Save Parameters to Flash ROM Module information Module type DeviceNet Module Start 1 0 No 0000 Module model name QJ71DN91 Gating tem Satina value S Save Parameters to Flash ROM From this screen save parameters to the Flash ROM by following step 1 to 5 1 Stop 1 0 Communication To save parameters to the Flash ROM the module should be in 1 0 communication stop status Check the current value displayed for Y11 1 0 Communication Request If the current value is 120 Comm Request select 1 0 Comm Stop Request as a setting value for Y11 1 0 Communication Request and click on Execute test 1 0 Comm Stop Request It Comm Stop Request Then check the X01 1 0 Communicating value If 120 Communicating is shown change the setting value for Y11 1 0 Communication Request to 1 0 Comm Request and click on Execute test Select 1 0 Comm Stop Request in the same way as shown above Confirm 1 0 Comm Stop is displayed for lt 01 1 0 Communicating 01 1 0 Communicating 1 0
67. Comm Stop If the current value for V15 Auto Configuration Request is Config Request it must be changed to OFF Check the current value If Config Request is shown as the current value select OFF in the Y15 Auto Configuration Request setting and click on Execute Test Y15 Auto Configuration Request 1 When the current value for Y11 I O Communication Request is I O Comm Request set I O Comm Stop Request Select I O Comm Stop Request Execute test button 2 When the current value for X01 I O Communicating is I O Communicating set I O Comm Request for Y11 I O Communication Request Select UO Comm Request Execute test button Then set I O Comm Stop Request for Y11 UO Communication Request Select I O Comm Stop Request Execute test button Check that the current value for X01 I O Communicating was changed to I O Comm Stop 3 When the current value for Y15 Auto Configuration Request is Config Request set OFF for Y15 Auto Configuration Request Select OFF gt button 8 4 8 4 8 PROGRAMMING FOR EXECUTING THE SLAVE FUNCTION MELSEC Q Slave Auto Comm 4 5 6 7 8 9 Flash ROM setting Details Write to Savo file gei value Monitoring Select input piace Load file Make text fle OFF Save Request Start monitor Stop monitor Execute test Close 10 4 Select the parame
68. D502 K IT Error code Sets Error Reset Request for Master Function to ON m 4 oo Lo Y13 X3 K10 IR A S A TO RST 13 Sets Error Reset Request for Master Function to OFF 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q 7 7 Allocating Transmit Receive Data Storage Devices for Future Expansion If transmit receive data of each slave node may change depending on the system reserve the data storage devices for each slave node in advance Using the information in I O Address Area for Master Function address 0500H to O5FBu and executing the FROM or TO instruction will eliminate the need for modifying the sequence program even if the transmit receive data length is changed The figure below shows an example in which the transmit receive data storage devices of each node are allocated in units of 64 points in the same system configuration described in Section 7 2 In this example the devices are allocated as follows 64 points from X200 for storing receive data of node No 1 64 points from X240 for storing receive data of node No 2 and so on The information in I O Address Area for Master Function address 0500H to O5F Bp is stored in D1000 to D1251 and the FROM or TO instruction is executed using the start buffer memory address of this information and the data length Programmable controller CPU QJTIDNS1 master node Remote O node N
69. DHCPU _ Up to 64 QO6UDHCPU Applicable x N A 1 Limited within the range of I O points for the CPU module 2 Can be installed to any I O slot of a base unit 3 Use the QJ71DN91 whose serial No first five digits is 03052 or later b Mounting to a MELSECNET H remote I O station The QJ71DN91 cannot be mounted to any MELSECNET H remote I O station Mount it to a CPU module on a master station 2 SYSTEM CONFIGURATION SE MELSEC Q 2 Support of the multiple CPU system When using the QJ71DN91 in a multiple CPU system refer to the QCPU User s Manual Multiple CPU System first a Compatible QJ71DN91 The function version of the first released QJ71DN91 is B and it supports multiple CPU systems b Intelligent function module parameters Write intelligent function module parameters to only the control CPU of the QJ71DN91 3 Supported software packages Relation between the system containing the QJ71DN91 and software package is shown in the following table GX Developer is necessary when using the QJ71DN91 o GX Developer GX Configurator DN s E CPU system Version 7 or later Q00J Q00 Q01CPU Version 1 10L or later Multiple CPU system CPU system Version 8 or later Q02 Q02H Q06H Single CPU system Version 4 or later Version 1 00A or later Q12H Q25HCPU Multiple CPU system Version 6 or later Version 1 10B or later Single CPU system Q12PH Q25PHCPU Version 7 10L or later Version 1 13P or later Multip
70. Description b Setting attribute data of a slave node Table 3 13 Set Attribute Buffer memory address oat Item Description Hex 0120H 0102H Set Attribute 0121H Execution error code Normal completion 0000 Failed Execution error code Refer to Section 9 2 2 01224 Slave node No slave Low byte Node No of the slave node MAC ID MAC ID class ID High byte Class ID of the object 0123H Instance ID of the object Low byte Attribute ID of the object 0124H Attribute ID data length High byte Byte length of the attribute data 1 to 240 3 SPECIFICATIONS MELSEC Q c Reading communication error information of a slave node Table 3 14 Read communication error information Buffer memory Geer 0120H 0001H Read communication error information Normal completion 0000H Failed Execution error code Refer to Section 9 2 2 0121H Execution error code d Resetting Table 3 15 Reset Buffer memory ee 01204 0201H Reset 3 Normal completion 0000H Delh Failed Execution error code Refer to Section 9 2 2 01224 Slave node No slave Low byte Node No of the slave node MAC ID MAC ID class ID High byte Class ID of the object 0123H Instance ID Instance ID of the object e Other message communications Table 3 16 Other message communications Buffer memory SCH Eer 0120H FE H Refer to DeviceNet Common Service for 0121H Execution error code hee Failed Execution error code Refer to Sect
71. EAEE Enn naene Enee 9 8 9 2 2 Execution error codes of message communication for the master function only 9 13 9 2 3 General DeviceNet error codes of message communication for the master function only 9 16 9 3 Checking the QJ71DN91 Status by System Monitor in GX Developer A 9 17 Appendix 1 External Dimensions cceccceeeceeeeceeeeeeeeeeeeeeaeeecaceeseaeeeaeeseaeeesaeeesaeeseaeessaeescueesieeeeaneesaes App 1 Appendix 2 Functional upgrade of the QU71DN9Q1 cceeceeeceeseneeeeeeeeeeeeeeeeeneeseaeeecaeeeeaseeseneeteaeeesieeees App 2 Appendix 3 Differences from the AIODNO1IATGIO DN App 2 Appendix 4 Parameter Setting Sheet For the Master Function 2 cc cceseceeeeeeeeeeeeeeeeeeeneeseeeeeeeees App 3 Appendix 5 Parameter Setting Sheet For the Slave Function ccccceseceeeceeeeeeeeeeeeeeeeeeaeeeeneeetans App 4 Appendix 6 List of Communication Parameters of Slave Nodes from Various Manufactures App 5 Appendix 7 EDS File ofthe QU71DNOM sc fetes dense ade a chia d le des beet ea a ae aa as aa App 6 INDEX Index 1 to Index 2 Compliance with the EMC and Low Voltage Directives 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 Directives and Low Voltage Directives of the User s Manual Hardware included with the CPU module or
72. F and ON again e Set Not start in Auto Communication Start Setting address 0631H and save the parameters to a flash ROM e Setting UO Communication Request Y11 to ON and then OFF will stop I O communication and thereby I O Communicating X01 is set to OFF Check that the slave nodes and network are powered up and the wiring is correct When the auto communication start setting is not set up for the target slave node QJ71DN91 set UO Communication Request Y11 to OFF and then ON The slave node settings detected by auto configuration are stored in order of node No Correct values in Parameters for Master Function address 01D4H to O3CFu Referring to the manual for each slave node check available connection types and UC points Correct values in Parameters for Master Function address 01D4H to O3CF Set the output signals to OFF and then set Request for Saving Parameters to Flash ROM Y17 to OFF and ON again e Set Not start in Auto Communication Start Setting address 0631H and save the parameters to a flash ROM e Setting UO Communication Request Y11 to ON and then OFF will stop I O communication and thereby I O Communicating X01 is set to OFF Check Parameter Area Select Bit address 0630H and set Request for Saving Parameters to Flash ROM Y17 to OFF and then ON again 9 TROUBLESHOOTING MELSEC Q Symptom e Set Not start in Auto Communication Start Setting a
73. K Corporation output DeviceNet SX5D 8 point digital poin igita olling H1 SBM16K input 8 point digital output 1000ms Timeout 10ms K1001 H1 K11 op 1000ms Timeout 10ms i K1001 H1 K11 op 1000ms Timeout 10ms d K1001 H1 K11 00s 00s 1000ms Timeout 10ms K1001 H1 K11 1000ms pee 10ms 02 00 00 00 00s 00s 1000ms Timeout 10ms K1001 H1 K11 1 1000ms Timeout 10ms i K1001 H1 K11 044 00x 00x 00x 00H 024 00H 00H Du 00H OH App 5 App 5 APPENDIXE S MELSEC Q Appendix 7 EDS File of the QJ71DN91 The following shows the EDS file of the QJ71DN91 The EDS file is stored in the CD ROM of GX Configurator DN Mitsubishi Master Slave EDS file File Description Section File DescText QJ71DN91 EDS file CreateDate 08 28 2000 created CreateTime 1 2 00 00 ModDate 08 28 2000 last change ModTime 12 00 00 Revision 1 1 Revision of EDS Device Description Section Device VendCode 0xA1 VendName MITSUBISHI ELECTRIC CORPORATION ProdType 0x0C Communication Adapter Device ProdTypeStr Communication Adapter Communication Adapter Device ProdCode 4 MajRev 1 MinRev 1 ProdName QJ71DN91 Catalog I O Characteristics Section IO Intol Default 0x0001 Poll Only Polllnfo 0x0001 1 1 Input Connections Default Input Input Default Output Output Input1 Input Producing 8 8 by
74. MELSEC Q 8 Auto Configuring X14 Auto Configuration Completion X15 Auto Configuration Request Y 15 These signals are used to configure parameters automatically Execute them while I O Communicating X01 is OFF a When Auto Configuration Request Y15 is set to ON auto configuration starts and Auto Configuring X14 is set to ON Up to approx 60 seconds are needed for completion of auto configuration b Upon completion of auto configuration parameters are stored in Parameters for Master Function address 01D4H to O3CFH and Auto Configuration Completion X15 is set to ON c When Auto Configuration Request Y15 is set to OFF Auto Configuring X14 and Auto Configuration Completion X15 are set to OFF UO Communication Request Y11 UO Communicating X01 Auto Configuration Request Y15 Auto Configuring X14 Auto Configuration Completion X15 Auto Configuration Completion X15 is not set to ON even if Auto Configuration Request Y15 is set to ON while the following output signals are ON e HO Communication Request Y11 e Request for Saving Parameters to Flash ROM Y17 Turn the output signals to OFF and set Auto Configuration Request Y15 to ON from OFF again 9 H W Test in Progress X0A H W Test Completion XOB H W Test Error Detection X0C The hardware test status is indicated For the hardware test refer to Section 5 4 a Turning ON the module with th
75. Module s Detailed Information refer to Section 9 3 Operating procedure Diagnostics System monitor Product Inf List Series Model name Points 1 0 No Master PLC Serial No Product No LC QOSUDCPU B _090911090910001 B 0 0 Intelli Q QJ71DN91 32pt 0000 090320000000000 B 0 1 lt None Se 0 2 None S 0 3 None 8 8 0 4 None Serial No Ver and Production No Serial No of the module is displayed in the Serial No column e Function version of the module is displayed in the Ver column e Serial No printed on the rating plate is displayed in the Production No column Note that because the QJ71DN91 does not support the production No display is displayed 1 The Production No column display is active only when the CPU used is a Universal model QCPU 2 SYSTEM CONFIGURATION MELSEC Q The serial No on the rating plate may be different from the serial No displayed on the product information screen of GX Developer e The serial No on the rating plate indicates the management information of the product e The serial No displayed on the product information screen of GX Developer indicates the function information of the product The function information of the product is updated when a new function is added 2 Checking the software version of GX Configurator DN The software version of GX Configurator DN can be c
76. Module model name Jauriona1 Parameter setting module Intelligent function module parameter Start 1 0 No Module model name Initial setting Auto refresh 4 tat Available ma as Atoreteth Enter Start I O No and select Module type Refer to Section 6 3 3 and Module model name Auto refresh setting Module information Module type DeviceNet Module Start 1 0 No 0000 Module model name QJ71DN31 Module side Module ziel transfer Transfer Setting item direction Master Function Communication Status Error Information for Master Function Bus Off Counter Node Configuration Status Node Communication Status Node Communication Error Status Node Fault Status Failed Node Detection Disable Status Present Link Scan Time Make text file End setup Refer to Section 6 4 6 UTILITY PACKAGE GX Configurator DN MELSEC Q 1 Online Monitor Test Tools Flash ROM setting Selecting monitor test module screen Flash ROM setting Flash ROM setting Select monitor test module Select monitor test module Start 1 0 No Module type Module type DeviceNet Module z Module model name Jop EN Module model name QJ71DN31 e Cancel Select Module type and Module model name Module implementation status Start 1 0 No Module model name 0000 QJ71DN91 Monitor Test Monitor Test Select a module to be m
77. Network power supply unit Terminating Terminating resistor resistor Master node Slave node Slave node Slave node Slave node Slave node 0 1A 0 25A 0 2A 0 15A 0 25A 0 15A 120m t 120m i Power supply distance on the left side Power supply distance on the right side 120m Total current capacity of the left side 0 1A 0 25A 0 2A 0 55A Total current capacity of the right side 0 15A 0 25A 0 15A 0 55A Max current capacity available for thick cable length of 120m See Table 5 4 approx 2 56A Straight line approximation between 100m and 150m Therefore this configuration allows power supply to all nodes 5 SETUP AND PREPARATION Terminating resistor Terminating resistor MELSEC Q 3 When the network power supply current capacity is insufficient In the case where the network power supply unit is connected to the following network that uses thick cables Network power supply unit Terminating resistor Master node Slave node Slave node Slave node Slave node Slave node 1 1A 1 25A 0 5A 0 25A 0 25A 0 85A Master node Slave node 120m 120m Power supply distance on the left side Power supply distance on the right side 120m Total current capacity of the left side 1 1A 1 25A 0 5A 2 85A Total current capacity of the right side 0 25A 0 25A 0 85A 1 35A Max current capacity available for thick cable length of 120m See Table 5 4 app
78. Otherwise dangling cables may swing or inadvertently be pulled resulting in damage to the module or cables or malfunctions due to poor cable contact e Do not pull the cable part when disconnecting the cable from the module To disconnect a cable with connector hold the connector that is plugged into the module To disconnect a cable without connector loosen the screws used for fastening Pulling the cable that is still connected to the module may damage the module and or cable or cause a malfunction due to poor contact A 2 A 2 STARTUP MAINTENANCE PRECAUTIONS lt gt DANGER e Do not touch any terminal unless all phases of the external power supply have been shut off Doing so may cause a malfunction e Always turn off all phases of the external power supply before cleaning or retightening the terminal screws Failure to do so may result in a malfunction e Do not disassemble or remodel the module Doing so will cause failure malfunctions injuries or a fire e Before mounting dismounting the module be sure to shut off all phases of external power supply used by the system Failure to do so may cause module failure or malfunctions e Do not mount dismount the module onto from a base unit more than 50 times IEC 61131 2 compliant after the first use of the product Doing so may cause malfunctions e Before handling the module touch a grounded metal object to discharge the static electricity from the human body Fail
79. Reference Item Buffer memory address Hex section MELSEC Q Node 0 to Node 63 01COH to 01C3H 3 4 4 3 6 5 7 Node fault status monitor Purpose Monitor the communication fault status of each slave node Operating procedure Monitor Test screen Fault Status Mon Setting screen Node Fault Status Monitor Module information Module type DeviceNet Module Start 1 0 No 0000 Module model name QJ71DN91 Setting item Curent value Setting value Node 0 No Obstacle Info Node 1 No Obstacle Info Node 2 No Obstacle Info Node 3 No Obstacle Info Node 4 No Obstacle Info Node 5 No Obstacle Info Node amp No Obstacle Info Node 7 No Obstacle Info Node 8 No Obstacle Info Node 9 No Obstacle Info Node 10 No Obstacle Info Setting items Reference Item Buffer memory address Hex section Node 0 to Node 63 01C4H to 01C7H 3 4 4 4 6 UTILITY PACKAGE GX Configurator DN 6 5 8 Failed node detection setting Purpose Test whether or not to detect a failed node Operating procedure Monitor Test screen gt Setting screen Failed Node Detection Setting Failed Node Detection Setting Module information Module type DeviceNet Module Module model name QJ71DN31 Start 1 0 No 0000 Setting item Current value Setting value Node 0 Detect Detect e N
80. The Err LED will flash if any other than these is set The node No must be unique X1 1 If the module is used as both a master and slave node the same node No is applied to the master and slave functions 2 Since lower numbers have priority over higher numbers set a lower number to a master node 5 3 3 Mode switch The following explains the mode switch of the QJ71DN91 Table 5 3 Mode switch Setting Mode switch Master function Operates as a master node at communication speed of 125k baud factory default Slave function e Master and slave Operates as a master and slave node at communication speed of 125k baud functions Operates as a master and slave node at communication speed of 250k baud sa Operates as a master and slave node at communication speed of 500k baud 9 Hardware test__ Performs the ROM RAM check and selfloopback test A _ Communication DtoF Use prohibited o Select a mode between 6 and 8 when using both the master and slave functions Operates as a slave node at communication speed of 500k baud ETUP AND PREPARATION GE S MELSEC Q 5 4 Hardware Test The hardware test checks whether or not the module operates normally in stand alone condition It performs ROM check RAM check self loopback test etc Be sure to perform the hardware test before building a system For the test related to DeviceNet communications refer to Section 5 6 Communication Te
81. UK Branch Travellers Lane UK Hatfield Herts AL10 8XB Phone 44 0 1707 27 61 00 Fax 44 0 1707 27 86 95 MITSUBISHI ELECTRIC CORPORATION Office Tower Z 14 F 8 12 1 chome Harumi Chuo Ku Tokyo 104 6212 Phone 81 3 622 160 60 Fax 81 3 622 160 75 MITSUBISHI ELECTRIC AUTOMATION Inc 500 Corporate Woods Parkway Vernon Hills IL 60061 Phone 1 847 478 21 00 Fax 1 847 478 22 53 EUROPE FRANCE IRELAND ITALY POLAND SPAIN JAPAN USA MITSUBISHI ELECTRIC GEVA AUSTRIA ALFATRADE Ltd MALTA Kazpromautomatics Ltd KAZAKHSTAN Wiener Stra e 89 99 Paola Hill Mustafina Str 7 2 AT 2500 Baden Malta Paola PLA 1702 KAZ 470046 Karaganda Phone 43 0 2252 85 55 20 Phone 356 0 21 697 816 Phone 7 7212 50 1150 Fax 43 0 2252 488 60 Fax 356 0 21 697 817 Fax 7 7212 50 1150 TEHNIKON BELARUS INTEHSIS srl MOLDOVA Oktyabrskaya 16 5 Off 703 711 bld Traian 23 1 BY 220030 Minsk MD 2060 Kishinev Phone 375 0 17 210 46 26 Phone 373 0 22 66 4242 MIDDLE EAST REPRESENTATIVES Fax 375 0 17 210 46 26 Fax 373 0 22 66 4280 LAN amp GAVISH Ltd ISRAEL ESCO DRIVES amp AUTOMATION BELGIUM HIFLEX AUTOM TECHNIEK B V NETHERLANDS 4 Shenkar St Kiryat Arie Culliganlaan 3 Wolweverstraat 22 IL 49001 Petah Tiqva BE 1831 Diegem NL 2984 CD Ridderkerk Phone 9
82. UO node No 2 8 point input Output 00 to output 07 1 Leet oes eget eege J 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q 7 3 Parameters for Master Function 1 Setting items The following table lists the parameters for master function which are set in a program example For details of the parameters for master function refer to Section 3 4 5 For setting by auto configuration refer to 2 in this section For saving parameters to the flash ROM refer to 3 in this section Buffer dhs Korgertonge ooon SS 1stslave Number of word modules ooo0 ER 0 Zeg 3 node Dm E en DEE o SS AE E3H rd slave Le node EE ee Production inhibit time 00004 10ms Em O E7H Number of word moduies oo00n Input AD Number of double word modules 00001 Input 0 Output 0 Expected packetrate on ooms ee ee oro Connection type ooon e strobe O1F3H Jm stave Number of word modules Don et cies OF Joie Eegenen es me ee EAH ae EBH ECH SCHER EDH EES Node No and message group 0104H Node No 4 message group 3 ae Connection type 0001H Polling 3rd slave node 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q 2 Operation flow of auto configuration The following explains the operation flow in the case of using auto configuration When using the utility package refer to Section 7 3 1 1 When not using the utility package refer to Section 7 3 2 1 UO
83. Y15 Auto Configuration Request Config Request ig 1 After executing the test comfirm the Completion of auto configuration Auto Configuration is complete if the lt 1 4 Auto Configuring value changes from OFF to Executing lt 15 Auto Configuration Completion value changes from OFF to Completion 14 Auto Configuring i 2 15 Auto Configuration Completion 3 This will OFF the auto configuration request if the auto configuration is completed Select Config Request in Y15 Auto Configuration Request setting and click on Execute test 15 Auto Configuration Request 4 Flash ROM setting Details Write to Gave fie Current value Monitoring module KS display Select input Read from Load fle Make text file Setting range OFF Contig Request Stop monitor Execute test 5 1 Set Config Request for Y15 Auto Configuration Request Select Config Request button 2 Auto configuration is started and Executing is displayed for X14 Auto Configuring 3 Upon completion of auto configuration Completed is displayed for X15 Auto Configuration Completion 4 After completing the auto configuration set OFF for Y15 Auto Configuration Request Select OFF Execute test button 5 Click the Close button 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q e 4 Confirm Auto Configured Parameters Clicking the Param Check
84. arameter value for the watchdog OAH QJ71DN91 Ue EE e Set 0000n 00014 00021 or 0003H O x timeout action is invalid The expected packet rate value in the e Change the setting so that the expected Du QJ71DN91 buffer memory is smaller than the packet rate value is greater than or equal production inhibit time value to the production inhibit time value e Save the parameters again Flash ROM checksum error Parameters t OCH QJ71DN91 Do not turn OFF the power or reset while for Master Function area saving the parameters e Save the parameters again Flash ROM checksum error Parameters Du QJ71DN91 e Do not turn OFF the power or reset while for Slave Function area saving the parameters e Save the parameters again Flash ROM checksum error Auto p OEx QJ71DN91 Re tes 8 Do not turn OFF the power or reset while Communication Start Setting area saving the parameters e Clear all parameters again Du QJ71DN91 Flash ROM all clear error e Do not turn OFF the power or reset while clearing the parameters The number of input points per slave e Correct the number of input points per QJ71DN91 O node exceeds 256 bytes slave node to 256 bytes or less The number of output points per slave e Correct the number of output points per QJ71DN91 O node exceeds 256 bytes slave node to 256 bytes or less The production inhibit time value was set e Set the production inhibit time value to a QJ71DN91 O to 0 ms set value 1
85. are set OC3FH data b Data transfer between the buffer memory and programmable controller CPU devices a Reference Transfer method Description f section Auto refresh Configure the auto refresh settings in GX Configurator DN MOV or FROM TO instruction Configure the settings in sequence programs 4 FUNCTION pecan MELSEC Q 3 Operation flow This section explains how I O communication is performed with the master node a When starting I O communication by I O Communication Request Y11 Module Ready OF Auto Configuration Request Y15 OFF 3 Request for Saving Parameters to Flash ROM Y17 UO Communication Request Y11 OFF 3 UO Communicating X01 Error Set Signal for SES Slave Function X08 Error Information for Slave Function 0601H OV FRO instruction Parameters for Slave 1 Function 060EH 060FH Slave Function Receive Data OBOOH to OB3FH Parameter check MOV FROM instruction Slave Function Transmit Data 0C00H to OC3FH Mout 1 Set parameters in Parameters for Slave Function address 060En O60F x 2 In Slave Function Transmit Data address OCOOH to OC3Fx set initial values of ON OFF information to be sent to the master node 3 Set Auto Configuration Request Y15 and Request for Saving Parameters to Flash ROM Y17 to OFF 4 When I O Communication Request Y11 is set to ON the parameters are checked 5 When the
86. area Data are aligned on word boundaries of slave nodes and stored as shown below For double word data the low word is stored first and then the high word When the number of byte input modules is an odd number one byte of an empty area is inserted The following is an example lt Example gt 1st node Number of byte output modules 3 Number of word output modules 2 Number of double word output modules 2 2nd node Number of byte output modules 1 3rd node Number of byte output modules 1 Buffer memory address 09004 2nd byte module When the number of byte input modules is an odd number one byte of an empty area is inserted 1st byte module 09014 3rd byte module 09024 1st word module 0903H 2nd word module Low word of e Output data of the 1st node the 1st double word module High word of 09044 WEIT the 1st double word module Low word of 0906r the 2nd double word module High word of eg the 2nd double word module 0908H Empty 1st byte module gt Output data of the 2nd node 09094 1st byte module gt Output data of the 3rd node PECIFICATION eS AL MELSEC Q 3 I O Address Area for Master Function address 0500H to O5FBH 1280 to 1531 This area stores the start addresses and sizes number of words of Master Function Receive Data address 0700H to O7FFH 1792 to 2047 and Master Function Transmit Data address 09004 to O9FFH 2304 to 2559 for ea
87. ata length that can be 00124 a8 Resev OOOO O Reserved Reserved Reserved by DeviceNet O O oO OOoOOoOOO O Of DeviceNet 00131 Not enough data The requested service did not provide sufficient data to execute processing 0018 24 No stored n dats The attribute data of this object had not been saved before this service was requested 0019n 25 Store operation failure The Atribute data of this object was not saved due to an error that occurred during the save operation 001An to 001E 26 to 30 Reserved by DeviceNet A vender specific error occurred A specific error occurred is indicated in W the Additional error code area 01341 of the error response This error elke os EES code can be used only when the error codes shown in this table and object class definitions do not apply to the corresponding error The requested service had a parameter error This code can be used 0020 32 Invalid parameter only when the parameter satisfies peiner the Ee of ihe l DeviceNet specifications nor the requirements defined by application object specifications 00211 to 00271 33 to 39 Reserved by DeviceNet 0028n 40 Invalid Member ID An unimplemented class instance RS was specified for the member ID of the requested service 0029 Member not settable The requested setup service specified an unchangeable member 002An to DOC 42 to 207 Reserved by DeviceNet This error code range is used to indicate errors specific to th
88. atus Read Write 1 MELSEC Q Reference section O1B4ut St ter setting status of H 1 436 to 439 Node Configuration Status 1 Parameter seting status o R 3 4 4 01B7H each slave node E SE RECHERCHER BER 01B8 to 01BBx 01BCu to 01BFH 01C3x 01C4 to 01CBu 01D3x 01D4 to GE to Bea 0500 to OSFBu Node Communication Stores I O communication status of 444 to 447 Status each slave node 448 to 451 Node Communication Stores I O communication error status Error Status of each slave node 452 to 455 Node Fault Status Stores communication fault status of each slave node EEN SS See DECHE SUE 01CC to Failed Node Detection Whether or not to detect any failed oer 4 09 setting Kee ee lle E SR KE SS Ee Ke 468 to 975 Parameters for Master ipa for master function are Function 2 03D0h to DEE ee EECH Auto Configuration O3F0u 1008 9 i Operation of auto configuration is set R W 3 4 5 eet Setting 1009101279 EE Eee es es ee oe ee Stores the start addresses and sizes in word units of Master Function 1280 to 1531 UO Address Area for Receive Data address 0709r to R 346 Master Function 07FFH and Master Function Transmit Data address 0900H to O9FF for slave nodes PECIFICATION E MELSEC Q Table 3 6 Buffer memory list 2 2 Availability Refe Item Description Slave Read Write 1 s erence Hex Dec section function function St th t link time Unit St the mini link ti ft O5FDn 1533
89. ave node a Set the information such as connection types or I O points in Parameters for Master Function address 01D4H to 0O3CFH to exchange I O data with each slave node b Parameters for master function are set in GX Configurator DN or sequence programs Refer to Section 7 3 2 Reading writing I O data a WO data are stored in the following buffer memory areas Buffer memory ee Reference Item Description address Hex section Master function 07004 to O7FFH 3 Data received from each slave node are stored receive data 3 4 6 Master function 0900H to 09FFH S Data to be sent to each slave node are set transmit data b Data transfer between the buffer memory and programmable controller CPU devices wa Reference Transfer method Description section Auto refresh Configure the auto refresh settings in GX Configurator DN MOV or FROM TO instruction Configure the settings in sequence programs 4 FUNCTION GE MELSEC Q 3 Operation flow This section explains how I O communication is performed with each slave node a When starting UO communication by I O Communication Request Y11 Module Ready XOF Auto Configuration Request Y15 OFF 3 Request for Saving Parameters to Flash ROM Y17 OFF 3 4 7 UO Communication Request Y11 UO Communicating X01 Error Set Signal for sai Master Function X03 Error Information for Master Function 01B1H OV
90. aving parameters to flash ROM refer to Section 7 3 3 and 8 2 2 0 Not start I O communication automatically Default 1 Start I O communication automatically UO communication does not start automatically when any value other than 0 and 1 is set 3 SPECIFICATIONS MELSEC Q 3 5 Communication Performance 3 5 1 Transmission delay 1 Input transmission delay The calculation formulas for the input transmission delay are shown below Reading receive data by sequence Using auto refresh program LC X 2 ST ms LC ST X 0 5 ms LC Communication cycle time ms Refer to Section 3 5 2 ST Sequence scan time ms 2 Output transmission delay The calculation formulas for the output transmission delay are shown below Writing transmit data by sequence Using auto refresh program Maximum value LC x 2 ms LC x2 ST ms Normal value LC ms LC ST X 0 5 ms LC Communication cycle time ms See Section 3 5 2 ST Sequence scan time ms 3 5 2 Communication cycle time The communication cycle time is an interval from the time a polling or bit strobe request is sent to a slave node until another request is sent to the same node The calculation formulas for the communication cycle time of each slave node are shown below 1 LS lt PIT LC LS PIT ms 2 LS2PIT LC LS ms LC Communication cycle time ms LS Link scan time ms Refer to Section 3 5 3 PIT Production inhibit
91. base unit used The CE logo is printed on the rating plate of the programmable controller indicating compliance with the EMC and low voltage directives No additional measures are necessary for this product to ensure compliance with these directives Generic Terms and Abbreviations Unless otherwise specified this manual uses the following generic terms and abbreviations to explain the QJ71DN91 DeviceNet master slave module IBM PC AT compatible Personal computer compatible with the IBM PC AT system including PC98 NX personal computer Generic product name for the SWnD5C GPPW E SWnD5C GPPW EA SWnD5C GPPW EV GX Developer and SWnD5C GPPW EVA n is 4 or greater A and V denote volume license product and upgraded product respectively PC 9800 Abbreviation for PC 9800 series except PC98 NX i DN QJ71DN91 Generic term for the QOOJCPU QOOCPU Q01CPU Q02CPU QO02HCPU QO6HCPU QCPU Q mode Q12HCPU Q25HCPU Q12PHCPU Q25PHCPU Q12PRHCPU Q25PRHCPU QO2UCPU QO3UDCPU Q04UDHCPU and QO6UDHCPU Abbreviation for DeviceNet master slave module setting monitoring tool GX Configurator DN GX Configurator SW1D5C QDNU E me Abbreviation for the QJ71DN91 DeviceNet master slave module Personal computer Generic term for IBM PC AT compatible or PC 9800 personal computer Generic term for the following Microsoft Windows Vista Home Basic Operating System Windows Vista Microsoft Windows Vista Home Premi
92. cation 2 Set Auto Configuration Operation 3 3 2 8 3 Execute Auto Configuration Sg 1 4 Confirm Auto Configured Parameters 5 Save Parameters to Flash ROM 6 UTILITY PACKAGE GX Configurator DN MELSEC Q 6 5 16 Flash ROM parameter clear Purpose Clear the parameters from the flash ROM Follow the instructions shown in the Setting item column Operating procedure Scroll down on the Monitor Test screen Setting screen Monitor Test Module information Module type DeviceNet Module Start 1 0 No 0000 Module model name QJ71DN91 Setting item Current value Setting value Flash ROM Parameter Clear In the below screen Flash ROM Clear Flash ROM Parameter can be cleared Flash ROM Parameter Clear Flash ROM Clear The Flash ROM setting area is provided below Read from module allows confirmation of the Flash ROM contents and the read out contents can be saved in a file with Save file Also the contents saved in a file can be read e out with Load file and can be written to Flash BOM with Wii i a Setting items Reference Item Buffer memory address Hex section 7 3 1 4 Flash ROM Parameter Clear 8 2 1 3 6 UTILITY PACKAGE GX Configurator DN 6 5 17 Parameter backup Purpose MELSEC Q Read the parameters saved in the QJ71DN91 s flash ROM and save them in the personal computer Or read the parameters
93. ch node This area can be used to check the start address of each node 05001 Input data start address of 1st slave node Input data size of 1st slave 090i node No of words 05024 Output data start address of ist slave node Output data size of 1st slave Ge node No of words 05041 Input data start address of 2nd slave node 5FBu Output data size of 63rd slave node No of words 3 4 7 Link scan time area for master function Link scan time values are stored in this area 1 Present Link Scan Time address O5FCH 1532 The present link scan time is stored Unit ms 2 Minimum Link Scan Time address 05FDH 1533 The minimum link scan time after power ON is stored Unit ms 3 Maximum Link Scan Time address 05FEH 1534 The maximum link scan time after power ON is stored Unit ms PECIFICATION EE MELSEC Q 3 4 8 Own node status area for slave function This area stores the communication status error information etc of the slave function 1 Slave Function Communication Status address 0600H 1536 The I O communication status of the slave function is stored Table 3 27 Slave function communication status 0000 Offline Initialization in progress bus off or network power OFF N C UO communication E 00804 Ready sid Waiting to establish a connection from the master node to establish a connection from the master node 00COH UO communication in progress a When No start
94. condary 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 power plants and other power plants operated by respective power companies and applications in which a special quality assurance system is required such as for Railway companies or Public service
95. corresponding to each bit Bit 15 ua LI Bt Bto 01C4n Node 15 Node 14 Node1 Nodeo 01051 Node 31 Node 30 Node 17 Node 16 OCH Node 47 Node 46 Node 33 Node 32 DCH Node 63 Node 62 Node 49 Node 48 PECIFICATION e MELSEC Q 5 Failed Node Detection Setting address 01CCH to 01CFH 460 to 463 Whether or not to detect a failed node is set in this area The setting determines whether or not the OFF status in Node Communication Status address 01BCu to 01BF1 is reflected to Slave Down Signal X04 e When the corresponding bit is ON Slave Down Signal X04 is not set to ON even if the slave node went down e When the corresponding bit is OFF Slave Down Signal X04 is set to ON if the slave node went down Table 3 23 Node No corresponding to each bit in Failed Node Detection Setting oxy Sits JL mu LJ am IL omg ocos LL Node 15 Noder Nodet Node o ocw Node31 Node3o Node17 Nodeie oces Loisi Nodes IL Node ss Node 32_ ocra Los Nodee2 Node4s Node 4_ For a node that is set as a reserved node with a master function parameter turn ON the corresponding bit of Failed Node Detection Setting If it remains OFF it is recognized as a failed node even if it is just a reserved node 3 SPECIFICATIONS MELSEC Q 3 4 5 Master function parameter setting area Parameters for master function are set in this area To exchange I O data with each slave
96. cted in Parameter Saving Area Selection below are written Parameter Saving Area Selection Master Parameters for Master Function Constant Scan Units ms Tst node Slave Node No and Message Group Lower Be Sens Node No Higher Byte Message Group Not Specified Tt node Slave Node Connection Type Tst node Slave Node Byte Module Points Lower Byte Input Byte Module Items Higher Byte Output Byte Module Items Die Bee Nada Ward Madila Paints Details EI 6 UTILITY PACKAGE GX Configurator DN MELSEC Q Explanation of items 1 Items Setting item Displays parameter names Setting value Enter or select values to be set in the flash ROM 2 Command button Saves the parameters on the hard disk etc Load file Reads the parameters saved on the hard disk etc Closes the currently open screen and returns to the previous screen 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION This chapter explains programming for executing the master function When applying the program examples introduced in this chapter to the actual system make sure to examine the applicability and confirm that it will not cause system control problems 7 1 Programming Precautions When creating programs pay attention to the following 1 To perform I O communication with a slave node perform the following e Place the I O
97. d double word modules are set at the same time these word and double word data cannot be sent or received normally 3 SPECIFICATIONS MELSEC Q 3 4 11 Own node information area Information of the own node QJ71DN971 is stored in this area 1 Model Name address 0620H to 0624H 1568 to 1572 QJ71DN91 is stored in ASCII code format 06201 ay a 0621 i 7 0622 N D 06231 kb ER 06241 o o 2 Node No address 0625H 1573 The node No of the currently operating node is stored 00H to 3FH Stored in binary format 3 Mode Switch No address 0626H 1574 The mode switch No of the currently active mode is stored PECIFICATION E MELSEC Q 3 4 12 Hardware test area This area is used for hardware test and communication test For the hardware test refer to Section 5 4 For the communication test refer to Section 5 6 1 Hardware Test Item Area address 062EH 1582 The test item No of the hardware or communication test being executed is stored Table 3 29 Hardware test items Test item No 00011 ROM check Testing if ROM is normal Table 3 30 Communication test items Test item No Meaning Description 00001 Before test Communication test not yet started 0001 Node No duplication Checking if any other node has the same node No as the S check own node are Checking if communication with one or more nodes on the 0002H Communication check j network is avai
98. d from sequence programs However processing equivalent to auto refresh can be added using the FROMITO instruction in the sequence program 6 UTILITY PACKAGE GX Configurator DN MELSEC Q 6 5 Monitoring Test Purpose Start buffer memory monitoring testing and I O signal monitoring testing from this screen Operating procedure Select monitor test module screen gt Start I O No Module type gt Module model name Monitor test Enter the start I O No in hexadecimal The screen can also be started from System monitor of GX Developer Version 6 or later Refer to the GX Developer Operating Manual for details Setting screen Monitor Test Module information Module type DeviceNet Module Start 1 0 No 0000 Module model name QJ71DN91 Setting item Current value Setting value Model Name QJ71DN91 Node Number Mode Switch Number Bus Error Counter Bus Off Counter HAW Test Item Area Before Start Test HAW Test Result Area Master Function Communication Status Error Information for Master Function Present Link Scan Time Units pe Minimum Link Scan Time Units mt Flash ROM setting Details Write to module Current value Monitoring Save file display Cannot execute test Read from module Load file Make text file Stop monitor Setting items Reference Item Buffer memory address Hex s
99. ddress 0631H and save the After power up I O e Is Start set in Auto Communication Start parameters to a flash ROM communication starts Setting address 0631H Setting UO Communication Request Y11 to automatically I O Communicating is ON ON and then OFF will stop I O communication and thereby I O Communicating X01 is set to OFF TROUBLESHOOTIN SE MELSEC Q 9 2 Error Codes This section describes error codes and respective corrective actions 9 2 1 Communication error codes A communication error code is stored in the high byte of Error Information for Master Function address 01B1h or Error Information for Slave Function address 06014 Read it when Error Set Signal for Master Function X03 or Error Set Signal for Slave Function X08 is set to ON and check the error details Communication error codes can be checked in System monitor of GX Developer Refer to Section 9 3 When the error detected node No low byte of error information is FFH Detected Detectability Description Action Master Slave function function e Set the node No within the range of 0 to The node No MAC ID value is out of 63 QJ71DN91 range f e Set the mode switch to any other than D The mode switch value is out of range toF The node No MAC ID is duplicated on f 39H QJ71DN91 e Set a unique node No the network QJ71DN91 Power is not supplied to the network e Supply power to the network DC24V o aoe Other
100. de 31 Node 30 Node 17 Node 16 01B6x Node 47 Node 46 Node 33 Node 32 EIS Node 63 Node62 1 1 Node 49 Node 48 a Bit ON timing When a slave node executes the following and when the parameter check is completed successfully the bit corresponding to the slave node turns ON e Starting I O communication Refer to Section 3 2 2 2 e Saving master function parameters to flash ROM Refer to Section 3 3 2 6 b Bit OFF timing 1 Remove settings of a slave node from master function parameters and execute the following e Starting I O communication Refer to Section 3 3 2 6 e Saving master function parameters to flash ROM Refer to Section 3 3 2 6 When the parameter check is completed successfully the bit corresponding to the slave node turns OFF 2 When the master node is powered ON from OFF or when the CPU module is reset all bits turn ON 2 Node Communication Status address 01BCH to 01BFH 444 to 447 The I O communication status of each slave node is stored While I O Communicating X01 is OFF all bits are OFF e When the corresponding bit is ON Communication in progress e When the corresponding bit is OFF Communication stopped Table 3 20 Node No corresponding to each bit in Node Communication Status Buffer memory address Node No corresponding to each bit Bit 15 3 ei en O1BCH Node 15 Node 14 1 1 Node1 Nodeo O1BDH Node 31 Node 30 Node 17 Node 16 O1BEH Node 47 Node Ap
101. de Slave Node No and Message Group 1st node Slave Node Connection Type Lower Byte Input Byte Module Items Higher Byte Output Byte Module Items 1st node Slave Node Byte Module Points Not Specified Cirnese Neda lord Madile Paste ee Flash ROM setting Write to eer Save file Read from module Load file Make text file Setting items Details Cannot execute test Reference Item Buffer memory address Hex section Parameter Saving Area Selection 0630H 3 4 13 Parameters for Master Function 01D4H to O3CFH Parameters for Slave Function O60En O60FH Auto Communication Start Setting 0631H 3 4 14 6 UTILITY PACKAGE GX Configurator DN 6 6 Flash ROM Setting Purpose Edit the flash ROM settings offline MELSEC Q Edited parameters can be written to the module from the Parameter Backup screen under Monitor Test Operating procedure Flash ROM setting screen Module type Module model name gt Setting screen Flash ROM setting Module information Module type DeviceNet Module Module model name QJ71DN91 a Setting value Setting item Param Backup Parameter Backup Save file Load file Param Backup Parameter Backup Module information Module type DeviceNet Module Module model name QJ71DNS1 Setting item Setting value when writing parameters to Flash ROM by Write to module parameters in the area sele
102. e 1 0A 0 15A 0 05A 0 25A 0 1A i 200m Total thick cable length 200m Total drop line length 6m Total current capacity 0 5A 0 15A 0 05A 0 25A 0 1A 1 05A Max current capacity available for thick cable length of 200m See Table 5 4 1 53A Max current capacity available for thin cable length of 6m See Table 5 6 0 75A Total current consumed by devices connected to drop line 0 1A Therefore this configuration allows power supply to all nodes Table 5 6 Maximum current capacity for each drop line length Drop tine tength m 0 30 o90 150 225 300 450 6oo 3 00 0 75 6 UTILITY PACKAGE GX Configurator DN MELSEC Q 6 UTILITY PACKAGE GX Configurator DN 6 1 Functions of the Utility Package Table 6 1 lists the functions of the utility package Table 6 1 Utility package GX Configurator DN function list Reference Function Description section The QJ71DN91 s buffer memory is configured for automatic refresh Ge Values set for auto refresh and stored in the QJ71DN91 s buffer memory are Auto refresh automatically read out when the END instruction is executed in the programmable controller CPU Site The buffer memory and UO signals of the QJ71DN91 are monitored or tested Monitoring test f 6 5 Auto configuration and parameter backup are also available Flash ROM setting The data to be set to the flash ROM are edited online ese 6 UTILITY
103. e Communication Data address 0130H to 01A7n are read out to the programmable controller CPU 6 If failed Message Communication Error Signal X05 is set to ON Read data in Message Communication Result address 0120H to 012Fx to identify the cause of the error 4 8 4 8 4 FUNCTIONS 2 Set Attribute Programmable controller CPU QJ71DN91 Slave node MAC ID r 1 OTIOR Message 3 Class A Comm Instance 011FH Command area Attribute 0130H 2 Message TO H e Comm O1A7H Data area 3 Message Comm en a SET Y12 H Request ince 0120H Message Instance Comm S Result area 012FH Message 4 communication Instance complete l 4 HA eral Attribute X02 X05 5 ribute Message Comm Completion Class Instance Instance 1 Set command data in Message Communication Command address 0110H to 011Fx 2 Set attribute data in Message Communication Data address 0130H to 01A7h 3 Set Message Communication Request Y12 to ON to write the attribute to the slave node that is specified in the command data 4 Upon completion of writing the processing result is stored in Message Communication Result address 0120H to 012FH and Message Communication Completion X02 is set to ON 5 If failed Message Communication Error Signal X05 is set to ON Read data in Message Communication Result address 0120H to 012F to identify the cause of
104. e No switches Node No 4 04 Communication speed Mode switch 125kbaud Mode 3 Slave function receive bytes input points Slave function transmit bytes output points 8 bytes 4 4th slave node Rockwell Automation s Flex I O DeviceNet adapter 16 point input 1794ADN IB16 Setting Node No 3 Communication speed 125kbaud Connection type Bit strobe I O points 16 input points 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q 3 Communications The following shows the relation among the programmable controller CPU master node s buffer memory and a slave node Programmable controller CPU QJ71DN91 master node Remote UO node No 1 8 point input Receive data FROM Tome am JE und Wegen Fr Deg Input 00 to input O7 1 701H pda ee of EE R i QJ71DN91 slave node node No 4 1 FROM 702H i i X110 to X14F lt i SES ia T 8 byte transfer 703H Us oS ee 1 704u_ COOH i Node No 3 status b promi Oa i i HI Transmit data X160 to xir nos Wee e icon GER Transmit data 100 to 107 12 poon _ Node No 2 e Soo 9014 BO1H Receive data i i BO2H l i TO 902H Node No 4 ES l Y110 to Y14F_ Ee SES ER i Remote I O node No 3 i Sin 16 point input l go5p _ Node No 3 T WW e j 100 to 115 Input 00 to input 15 Dummy output Remote
105. e film to prevent foreign matter such as wiring chips from entering the module during wiring Do not remove this film until wiring is complete Before starting the system remove the film to release heat 5 Tighten the fixing screws within the following torque ranges A loose screw may cause a short circuit failure or malfunctions Tightening torque range Module fixing screw usually not required M3 i 0 36 to 0 48 Nem DeviceNet connector screw 0 353 to 0 480 Nem DeviceNet connector wiring screw 0 608 to 0 823 Nem 1 The module can be easily mounted to a base unit using the hook on the upper part of the module However it is recommended to secure it with the module fixing screws when used in an environment where constant vibrations may occur 6 Be sure to insert the module fixing projection into the hole in the base unit Then securely mount the module Incorrect module mounting may cause the module to malfunction fail or fall off 5 2 2 Installation environment For more details on the installation environment refer to the User s Manual of your programmable controller CPU ETUP AND PREPARATION EE S MELSEC Q 5 3 Part Names and Settings This section describes the part names LED indications and respective switch settings of the QJ71DN91 QJ71DN91 RUN C CIMS COINS ERR C NODE ADDRESS Node No switches Mode switch DeviceNet connector
106. e mode set to 9 starts the hardware test and HM Test in Progress X0A is set to ON b Upon normal completion of the hardware test HAN Test Completion Op is set to ON c Ifa failure occurs in the hardware test HAN Test Error Detection XOC is set to ON At this time HAV Test Completion XOB is not set to ON 3 SPECIFICATIONS MELSEC Q 3 3 3 I O signals for the slave function This section describes the ON OFF timings and conditions of the I O signals used for the slave function 1 2 Watchdog Timer Error X00 Refer to Section 3 3 2 1 UO Communicating X01 UO Communication Request Y11 These are used to start I O communication with a master node Execute these signal actions while Module Ready XOF is ON a When starting I O communication by I O Communication Request Y11 e When I O Communication Request Y11 is set to ON parameters are checked e If the parameter check is completed successfully I O communication with the master node is started and I O Communicating X01 is set to ON Note that until receiving an I O communication request from the master node the module waits for connection establishment e If the parameter check has failed the ERR LED lights up and Error Set Signal for Slave Function X08 is set to ON At this time I O Communicating X01 is not set to ON For details of Error Set Signal for Slave Function X08 refer to Section 4 Setting I O Communication R
107. e object class The code in this range can be used only when any error code in DD to 00F FH 208 to 255 Reserved for Object Class and service errors this table does not correctly explain the error that occurred Using the Additional error code area 0134 the General DeviceNet error code area 01334 can be explained in detail 00101 Device state conflict 9 TROUBLESHOOTING 9 3 Checking the QJ71DN91 Status by System Monitor in GX Developer Error codes and LED status can be checked by selecting the detailed information of the QJ71DN91 from System monitor of GX Developer a Operation procedure Select Diagnostics System monitor choose a module and then Module s Detailed Information HAN Information Modules Detailed Information Module Module Name QU71DN31 Product information 071020000000000 B 170 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 _ Input Type Status of 1 0 Address Verify Agree Remote password setting status Error Display Display format No ErorCode Present Error EE e 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 o HAW Information iz b Product information The serial No and function version are displayed as
108. e shown according to symptoms Section 9 2 Error Codes Troubleshooting procedures are shown according to error codes TROUBLESHOOTIN SE MELSEC Q 9 1 Problem Identification This section explains checking procedures and actions to be taken when a problem occurs 9 1 1 Checking the LEDs Problem occurred Mode switch set in 0 to 87 Set Mode switch in range of 0 to 8 No and reset Yes MS LED lit green No MS LED is OFF Power ON the module Yes IEN O No Turn ON the network power 24V NS LED lit green N or flashing green 2 NS LED lit red No Yes Yes NS LED flashing red Check if Yes e Node No is within the range of 0 to 63 The same node No exists on the network e The same communication speed is set for the entire network Terminating resistors are connected to both ends of the trunk line Check for an error code If the above check results are normal check the entire network condition such as noise or installation ERR LED lit No Set I O Communication Request Y11 to ON Yes I O communication with one or more slave nodes has failed Check 1B1H Error Information for Master Function or 601H Error Information for Slave Function in the buffer memory for an error code and take corrective actions D Parameter error has occurred Check 1B1H Error Information for Master Function or 601H Error Information for Slave Function in the buf
109. eaeeeaeeeaeesaeeeaeeeteaeeeateeas 7 31 7 5 1 Example of reading message COMMUNICATION data 7 31 7 5 2 Example of writing message communication data 7 33 7 6 Obtaining Error Information areren e A A RA E A E 7 34 7 7 Allocating Transmit Receive Data Storage Devices for Future Expansion 7 35 8 1 System Configuration TTT 8 1 8 2 Parameters for Slave Function onian a a AE E E RR 8 1 8 2 1 Program example using the utility package A 8 3 8 2 2 Program example not using the utility package A 8 7 8 3 VO Communication FUNCTION sissa an aiena ea aA raa Eea RE a eNA ra aR aea ieaiaia akera 8 9 8 3 1 Program example using the utility package A 8 9 8 3 2 Program example not using the utility package A 8 11 8 4 Obtaining Error Information oaser AE A AK 8 12 9 TROUBLESHOOTING 9 1 to 9 18 9 1 Problem Identification ccccececccescceseceeeeeeeeeaeeceaeeecaceeceaeecaeeccaeeseaeeesaneeseaeeecaeeseaeeeseesseaeeseaeessaeeesaseesaas 9 2 9 41 Checking the LEDS ett tee Lee didn idigindie E aan 9 2 9 1 2 When unable to communicate with all slave nodes when using master function ceeee 9 3 9 1 3 When unable to communicate with a specific slave node when using master function 9 4 9 1 4 When unable to communicate with master node when using slave function e eee 9 5 9 1 5 Troubleshooting for Other CASES AAA 9 6 92 eet EE 9 8 9 2 1 Communication error Codes tatt tatt AAtEAENEAEEEASEEESEEES EEES EEESEEASE
110. ecifications For the general specifications for the QJ71DN91 refer to the User s Manual Hardware of the CPU module used 3 1 Performance Specifications Table 3 1 shows the performance specifications of the QJ71DN91 Node type Table 3 1 Performance specifications Item Specification DeviceNet master Group 2 only client Node No 0 to 63 Number of connections Message connection 63 UO connection 63 polling bit strobe change of state cyclic Communication data size UO communication Send Max 4096 points 512 bytes max 256 bytes per node Receive Max 4096 points 512 bytes max 256 bytes per node Message communication Send Max 240 bytes Receive Max 240 bytes Node type DeviceNet slaves Group 2 server Node No 0 to 63 Number of Slave UO connection 1 polling Send Max 1024 points 128 bytes connections function Communication I O data size communication Receive Max 1024 points 128 bytes n E Q 5 bg 2 E 5 D Q n E Q 2 E E E fo O Communication speed Selectable from 125 kbps 250 kbps and 500kbps Maximum trunk line distance Drop line length Communication speed Combination of thick and thin cables Thick cables Thin cables Maximum Total Maximum cable length 125 kbaud 250 kbaud 500 kbaud 0 03 A Max 100000 times 32 points I O alloca
111. ection 3 4 11 OSFDH 6 UTILITY PACKAGE GX Configurator DN MELSEC Q Reference Item Buffer memory address Hex section Node Communication Error Status Monitor Failed Node Detection Setting Message Communication Area Monitor Test Slave Function Transmit Data Monitor Test Auto Configuration Flash ROM Parameter Clear Parameter Backup 6 5 1 6 5 2 6 5 3 6 5 4 6 5 5 6 5 6 6 5 7 6 5 8 6 5 9 6 5 10 6 5 11 6 5 12 6 5 13 6 5 14 6 5 15 6 5 16 6 5 17 6 UTILITY PACKAGE GX Configurator DN MELSEC Q Explanation of items 1 Items Setting item Displays I O signals and buffer memory names Current value Monitors the I O signal states and present buffer memory values Setting value Enter or select values to be written into the buffer memory for test operation 2 Command buttons Write to module Writes parameters to the flash ROM of the QJ71DN91 Read from module Reads parameters from the flash ROM of the QJ71DN91 Save file Saves parameters on the hard disk etc Load file Reads parameters saved on the hard disk etc Current value displa Displays the current value of the item selected This is used to check the text that cannot be displayed in the current value field However in this utility package all items can be displayed in the display fields Make text file Creates a file containing the screen data in text file format Start monitor Selects whether or not to monitor curren
112. ed to Flash ROM X07 is set to ON 8 When Request for Saving Parameters to Flash ROM Y17 is set to OFF Saving Parameters to Flash ROM X06 and Parameters Saved to Flash ROM X07 are set to OFF 8 2 8 2 8 PROGRAMMING FOR EXECUTING THE SLAVE FUNCTION MELSEC Q 8 2 1 Program example using the utility package 1 Setting example a Setting the parameters for slave function Clicking the Parameter Area Monitor Test button on the Monitor Test screen will display the Parameter Area Monitor Test screen For information on how to display the Monitor Test screen refer to Section 6 3 Parameter Area Monitor Test Module information Module type DeviceNet Module Start 1 0 No 0000 Module model name QJ 71DN91 FE SS ES mea oo 1 EA iB auto Communication StatSeting os O 2 Flash ROM setting Details Write to i Monitoring E Save file Cannot execute test Read trom oad file Make text file Stop monitor 3 1 Enter 16 for Slave Function Input Sizes Setting Area and Slave Function Output Sizes Setting Area Select 16 gt button 2 To start UO communication automatically at power up set Start for Auto Communication Start Setting Select Start gt button 3 Click the button b Saving the parameters to the flash ROM Refer to 2 in this section 8 PROGRAMMING FOR EXECUTING THE SLAVE FUNCTION MELSEC Q 2 When saving parameters to flash ROM
113. eeneeeeeeenaeaes 6 26 6 5 11 Master function receive data monitor ee eecceceeeeeeeeeteeeeeeeteeeseeeseeeseeeseeeseeeseeeseneseeeseaeseneseateneeeaes 6 27 6 5 12 Master function transmit data monitor test AAA 6 27 6 5 13 Slave function receive data monitor e ee eeceeeeeeeeeeeeeeeeeeeseeeseeeseeeseeeseeeseeeseeeseneseeeseaeseaesenseneteaes 6 28 6 5 14 Slave function transmit data monitor test AAA 6 28 6 5 15 AUto CONPIGUIATION EE 6 29 6 5 16 Flash ROM parameter clear cc cccecceeeseeeeeceeesceeeeeeceaeeseaeeecaeeeseaeeseaeeseaeescaeesseaeeseaeeeeeseaeeesineess 6 30 65 717 Parameter backup GE 6 31 6 6 Flash ROM Seung 28 ch wha ike wha ei ae a eee ae es 6 32 7 1 Ste eieiei Ce 7 1 7 2 System COnfiQuration ce cecccecccecceeeeeeeeeeeceeeeeeeceeeseeeseeeeeeeeeeeseeseeeeeeeseeeseesaeeeeeseeseeseeseesieeseeeeeereas 7 A 7 3 Parameters for Master Function c cecceecceeeeeeeeseeeeeeeeeeeeeeeaeeeaeeeaeeeeesaeesaeesaeeeaeesaeesaeesaeesaeeseesaeeeaeeeaeeeas 7 7 7 3 1 Program example using the utility package A 7 10 7 3 2 Program example not using the utility package A 7 23 TA VO Communication FUNCTION oriee iei nan A EAEE PRE REA EREE AE E RET E 7 27 7 4 1 Program example using the utility package ec eeeeceeeeeeeteeeeeeeteeeseeeeeeeteeeteeeseeeseeeseaeeeneteneeenaaes 7 27 7 4 2 Program example not using the utility package A 7 29 7 5 Message Communication Function ecceeeeeeeeeeeeeeeneeeeeeaeeeaeeeaeeeaeeeaeeeaeeeaeseaee
114. efer to Section 6 3 3 Write parameters of the intelligent function modules auto refresh settings to the CPU module Perform this operation from the screen for selecting a target intelligent function module 8 PROGRAMMING FOR EXECUTING THE SLAVE FUNCTION 3 Program example Setting parameters for slave function See Section 8 2 1O communication function M31 X20 X2F f if II 31 J Sets UO Communication x21 X200 EN Request to ON os ae x201 Input data processing program See EEEE OF ESENE EEEE ETES EEEIEE ELEN ea EE 1 H ww 3 Output data processing program 203 J om x To ensure consistency of transmit receive data of multiple words take a measure such as providing a handshake area at the end of transmit receive data to check the data transfer For the program example refer to Section 7 1 4 8 PROGRAMMING FOR EXECUTING THE SLAVE FUNCTION MELSEC Q 8 3 2 Program example not using the utility package 1 Device list H Reference Device Description section M31 Communication StartCommand X200 to X23F Slave Function Receive Data 3 4 10 Y31 UO Communication Request 3 3 3 2 2 Program example UO communication function N31 x20 X2F d if ToP H2 Wm Mm K4 J Sets initial transmit data values ut Sets UO Communication K Request to ON X21 c LR 18 HOBOO vum K4 J Reads receive data X21 X200 E d Hoe 01 Input data proc
115. equest Y11 to OFF stops I O communication with the master node causing I O Communicating X01 to turn OFF When parameter check completed successfully Module Ready XOF UO Communication Request Y11 UO Communicating X01 Parame z check 3 SPECIFICATIONS MELSEC Q When parameter check failed Module Ready OF A UO Communication Request Y11 UO Communicating X01 Error Set Signal for Slave Function X08 Parameter check 1 1 0 Communicating X01 is not set to ON even if I O Communication Request Y11 is turned ON with the following output signals set to ON e Auto Configuration Request Y15 e Request for Saving Parameters to Flash ROM Y17 Turn OFF the output signals and set I O Communication Request Y11 to ON from OFF 2 To stop I O communication set UO Communication Request Y11 and after 200ms or more has elapsed reset it PECIFICATION eS eA ae MELSEC Q b When starting UO communication automatically at power up Set Start in Automatic Communication Start Setting address 0631H e When power is turned ON Module Ready XOF is set to ON and parameters are checked e If the parameter check is completed successfully I O communication with the master node is started and I O Communicating X01 is set to ON Note that until receiving an I O communication request from the master node the module waits for connection establishment
116. equest flag 7 Reads receive data from Slave function receive data area Sets Receive completion notification flag Resets Receive completion notification flag 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q Transmission command turns ON Data in DO to D2 are stored in the transmit data area address 900H to 902h Upon completion of storing the transmit data the transmit request flag address 903n turns ON The master function transmit data are sent through I O communication and the receive complete flag address BO3x turns ON Data in the receive data area address BOOH to BO2n are stored in D100 to D102 Upon completion of storing the data into D100 to D102 the receive completion notification flag address CO3x turns ON When data are received on the receiving node the transmit request flag address 903H turns OFF 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q 7 2 System Configuration The explanation of the programs in this chapter is based on the following system 1 System configuration QO6HCPU QO6HCPU QJ71DN91 master node QJ71DN91 slave node 3rd slave node Node No 4 polling Master node Node No 0 Terminating resistor Terminating resistor Node No 1 polling Node No 2 polling Node No 3 bit strobe Omron CompoBus D Omron CompoBus D Rockwell Automation 8 point inp
117. er of parameters that can be set for one module in GX Configurator DN is as shown below Target module Initial setting Auto refresh setting QJ71DN91 0 Not used 18 Max Example Counting the number of parameter settings in Auto refresh setting Start 1 0 No Setting item Master Function Communication Status Module side Transfer word count a Transfer PLC side direction Device Module side Buffer size Node Configuration Status Blank rows are not counted Error Information for Master Function aS Sa SAEs EE 4 Node Communication Status Node Communication Error Status Node Fault Status Failed Node Detection Disable Status Present Link Scan Time 4 3 Count up all the setting items on this 8 8 E screen and add the total to the number 7 3 of settings for other intelligent function modules to get a grand total Make text file End setup Cancel 6 UTILITY PACKAGE GX Configurator DN MELSEC Q 6 2 2 Operating environment This section explains the operating environment of the personal computer that runs GX Configurator DN Installation Add in target Add in to GX Developer Version 4 English version or later Windows based personal computer CPU Refer to the following table Operating system and performance required for personal Required memory computer Hard disk For installation 65 MB or more space 10 MB or more Display 80
118. eral DeviceNet error code sent from the General DeviceNet error R DEG 0133H slave node Valid only when the communication error code is 35 0023n Refer to Section 9 2 3 1 code 01344 Additional error Code mites a additional error code sent from the slave node 2 01354 Heabeattimesuttouni Stores the EE of times the QJ71DN91 has detected failure of each slave node 1 Refer to the manual of each slave node for actual failures and troubleshooting 2 Refer to the manual of each slave node for the meaning of each error code 1 Slave status The ON OFF status of each bit notifies of a slave node error as shown below Bit 8 to 15 Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 BO BE Used by the system Slave node did not respond Slave node refused to set the attribute data parameter is different from the actual size Set as a reserved node with a parameter I O data size set by a If the corresponding bit is ON any of i these errors may have occurred d Other message communications For details refer to DeviceNet Specifications Release2 0 Volumes 1 and 2 3 SPECIFICATIONS MELSEC Q 3 4 3 Own node status area for master function This area stores the communication status error information etc of the master function 1 Master Function Communication Status address 01B0H 432 The communication status of the master function is stored
119. error code in Error Information for Master Function address 01B1H and take corrective actions 5 Setting I O Communication Request Y11 to ON and then OFF stops WO communication with each slave node causing I O Communicating X01 to turn OFF 4 FUNCTIONS MELSEC Q 4 Overview of each connection type One of the connection types shown below can be selected for each slave node For available connection types refer to the manual for each slave node e Polling e Bit strobe e Change of state e Cyclic UO communications of respective connection types are explained below a Polling Polling is a communication method by which the following steps 1 to 6 are repeated to slave nodes 1 The master node sends output data 2 Step 1 triggers input data transmission from the slave node 3 The master node sends output data 4 Step 3 triggers input data transmission from the slave node 5 The master node sends output data 6 Step 5 triggers input data transmission from the slave node Master node Slave node 4 FUNCTION pica Ue MELSEC Q b Bit strobe Bit strobe is a communication method by which the following steps 1 to 4 are repeated to each slave node 1 Up to one bit of output information is simultaneously sent to respective slave nodes 2 Step 1 triggers input data transmission from the slave node 3 Step 1 triggers input data transmission from the slave node 4 Step 1 triggers input data transmissio
120. ers are not required steps for the overall sequence program can be reduced 2 Operating as a DeviceNet slave node The QJ71DN91 is compliant with the DeviceNet Specifications Release2 0 and can operate as a DeviceNet slave node a I O communication function Refer to Section 4 3 1 The QJ71DN91 can exchange I O data with a master node using its own buffer memory It can exchange 128 bytes of inputs and 128 bytes of outputs 2 The connection type is polling Master node Slave node QJ71DN91 Programmable controller CPU 4W set vi H UO Communication Request Function 71 0B00H Transmit Slave Receive OB3FH Data area i ocoo Receive ee Slave Function Transmit OC3FH Data area 1 Performed by automatic refresh or sequence program 1 OVERVIEW MELSEC Q 3 Operating as a DeviceNet master slave node The QJ71DN91can operate as a master and slave node concurrently QJ71DN91 master node No 1 QJ71DN91 master slave Tit 4 node No 4 g UO communication Hl ave at Master function A ff DeviceNet slave Pare DeviceNet slave node No 2 supply node No 5 1 0 TT G UO communication SS communication rae oer kb eg III DeviceNet slave DeviceNet slave node No 3 node No 6 0 x A vo communication EE communication TT TT tis t No communication between DeviceNet slaves Easy setting b
121. essage Communication Error Signal Error Not Occurred x06 Saving Parameters to Flash ROM OFF X07 Parameters Saved to Flash ROM OFF x08 Error Set Signal for Slave Function Eror Occurred X04 H W Test in Progress OFF XOB H W Test Completion OFF H Setting items Reference Item Buffer memory address Hex section X01 HO Communicating 3 3 3 2 XOA HN Test in Progress X0B HAN Test Completion 3 3 2 9 3 3 2 7 3 3 3 2 X0C H W Test Error Detection XOF Module Ready X14 Auto Configuring X15 Auto Configuration Completion Y11 HO Communication Request Y 12 Message Communication Request Y13 Error Reset Request for Master Function Y15 Auto Configuration Request Y17 Request for Saving Parameters to Flash ROM YY 18 Error Reset Request for Slave Function 6 UTILITY PACKAGE GX Configurator DN MELSEC Q 6 5 2 Parameter area monitor test Purpose Configure parameters for master function parameters for slave function and auto communication start settings For auto configuration of the parameters for master function refer to Section 6 5 15 For saving parameters to the flash ROM refer to Section 6 5 3 Operating procedure Monitor Test screen Param Area Mon Setting screen Parameter Area Monitor Test Module information Module type DeviceNet Module Start 1 0 No 0000 Module model name QJ71DN91 Setting item Curent value Setting value Parameters f
122. essing program t LC HEEN j 7200 Y Output data processing program moas Y oo Y oo TTET d t To H2 HOCOO K4Y200 K4 J Writes transmit data To ensure consistency of transmit receive data of multiple words take a measure such as providing a handshake area at the end of transmit receive data to check the data transfer For the program example refer to Section 7 1 4 8 PROGRAMMING FOR EXECUTING THE SLAVE FUNCTION MELSEC Q 8 4 Obtaining Error Information This section explains an example of a sequence program that obtains the error information for the slave function 1 Device list ee Reference Device Description section M51 Error Reset Command ee Error Set Signal for Slave Function 3 3 3 4 Y38 Error Reset Request for Slave Function D500 Error Information for Slave Function 3 4 8 2 Program example X28 d Kt Reads error information FRONP H2 H601 D500 7 for slave function from Brrr met buffer memory we l SET 38 JL Sets Error Reset Request 38 X28 K10 for Slave Function to ON d Cp TO X TO RST 38 Sets Error Reset Request for Slave Function to OFF 9 TROUBLESHOOTING MELSEC Q 9 TROUBLESHOOTING This chapter describes the errors that may occur while using the QJ71DN91 as well as their troubleshooting procedures This chapter contains the following information Section 9 1 Problem Identification Troubleshooting procedures ar
123. executed from the Monitor Test screen of the utility Monitor Test screen Read from module Write to module lt Text files gt a A text file can be created by clicking the Make text file button on the initial setting Auto refresh setting or Monitor Test screen The text files can be utilized to create user documents GX Developer GX Configurator DN Personal computer A Intelligent function module parameters B Flash ROM data C Data saved by Make text file Figure 6 1 Correlation chart for data created with the utility package 6 UTILITY PACKAGE GX Configurator DN MELSEC Q 6 3 2 Operation overview GX Developer screen LD Edit mode MAIN 35 Step Gee Window Help Check program Merge data Check parameter Transfer ROM Delete unused comments Clear all parameters IC memory card gt Start ladder logic test Set TEL data r Intelligent Function utility Utility list Customize keys Change display color Options Create start up setting file Tools Intelligent function utility Start Screen for selecting a target intelligent function module Intelligent function module utility C MELSEC GPPW QJ EB Intelligent function module parameter Online Tools Help Select a target intelligent function module Start 1 0 No Module type a000 DeviceNet Module
124. f 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 following 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 una
125. fer memory for an error code and take corrective actions TROUBLESHOOTIN SE MELSEC Q 9 1 2 When unable to communicate with all slave nodes when using master function Unable to communicate with all slave nodes NS LED is flashing green or lit red Mode switch set in 0 to 2 or 6 to 8 Yes Is DeviceNet cable connected to QJ71DN91s connector securely No Set Mode switch in range of 0 to 2 or 6 to 8 and reset No gt Connect DeviceNet cable Have the parameters been written Yes Are the parameters matched with hardware configuration of the actual slave nodes No Configure and write correct parameters Yes JO Communication Request Y11 set to ON No gt Set I O Communication Request Y11 to ON Yes Is there an error code Yes Take corrective actions according to the error code No D Check the entire network condition such as noise or installation TROUBLESHOOTIN SE MELSEC Q 9 1 3 When unable to communicate with a specific slave node when using master function Unable to communicate with a specific slave node NS LED is flashing red Is the slave node powered ON Yes Is DeviceNet cable connected to the slave no securely No d Power ON the slave node No Connect DeviceNet cable securely Yes No Set the same communication
126. form hardware test Mode 9 See Section 5 4 Set node No See Section 5 3 2 Set mode to 0 1 or 2 See Section 5 3 3 Connect DeviceNet cable to QJ71DN91 See Section 5 5 Use GX Configurator DN Auto configuration See Section 7 3 1 1 1 Auto configuration See Section 7 3 1 1 1 Create sequence program for executing auto configuration Not needed when setting parameters for master function manually Execute auto configuration Not needed when setting parameters for master function manually Parameters for master function See Section 7 3 1 2 Parameters for master function See Section 7 3 2 2 Set parameters for master function Create sequence program for setting master function parameters Auto communication start setting See Section 7 3 1 1 2 Auto communication start setting See Section 7 3 2 3 Get auto communication start setting Not needed when starting Create sequence program for auto communication UO communication by UO Communication Request Y11 start setting Not needed when starting UO communication by I O Communication Request Y11 Saving parameters to flash ROM See Section 7 3 1 3 Saving parameters to flash ROM See Section 7 3 2 3 Create sequence program for saving parameters to Save parameters to flash ROM flash ROM Refresh setting See Section 7 4 1 Refresh setting See Section 7 4
127. fresh controller CPU Configured in Auto refresh setting in GX Configurator DN Used to specify a method for communicating I O data between a master and slave nodes When the QJ71DN91 is used as a master node one of the following connection types can be selected for each slave node e Polling e Bit strobe e Change of state e Cyclic When the QJ71DN91 is used as a slave node the polling method is applied to I O communications Packing List The following are included in the package QJ71DN91 DeviceNet master slave module QJ71DN91 EECH emo ISW1D5C QDNU E ex Configurator DN Version 1 single license product CD ROM L e 3 ISW1D5C QDNU EA ex Configurator DN Version 1 volume license product CD ROM 1 VERVIEW 2 MELSEC Q 1 OVERVIEW This manual provides descriptions such as the specifications and parts names of the QJ71DN91 DeviceNet master slave module which is used in combination with a MELSEC Q series programmable controller CPU For the DeviceNet specifications refer to the DeviceNet Specifications Release 2 0 Volumes 1 and 2 DeviceNet is a registered trademark of Open DeviceNet Vendor Association Inc The QJ71DN91 is assumed to be compatible with most of DeviceNet products on the market However the compatibility with products manufactured by other vendors is not guaranteed 1 1 Features This section explains the features of the QJ71DN91 1 Operating as a DeviceNet master node
128. gurator DN MELSEC Q 6 5 11 Master function receive data monitor Purpose Monitor the data received from each slave node Operating procedure Monitor Test screen Master Receive Data Setting screen Master Function Receive Data Monitor Module information Module type DeviceNet Module Start 1 0 No 0000 Module model name QJ71DN91 Setting item Current value Setting value Zi Master Function Receive Data Word 1 0700H Des Master Function Receive Data Word 2 0701H 0000 Master Function Receive Data Word 3 0702H 0000 Master Function Receive Data Word 4 0703H 0000 Master Function Receive Data Word 5 0704H DO Master Function Receive Data Word 6 0705H 0000 Master Function Receive Data Word 7 0706H 0000 Master Function Receive Data Word 8 0707H 0000 Master Function Receive Data word 9 0708H 0000 Master Function Receive Data Word 10 0709H DO Master Function Receive Data Word 11 0704H 0000 e Setting items Reference Item Buffer memory address Hex section Master Function Receive Data 0700H to O7FFH 3 4 6 1 6 5 12 Master function transmit data monitor test Purpose Test the data to be sent to each slave node Operating procedure Monitor Test screen Master Transmit Data Setting screen Master Function Transmit Data Monitor Test Module information Module type DeviceNet Module Start 1 0 No 0000
129. he QJ71DN91 s buffer memory for automatic refresh This auto refresh setting eliminates the need for reading and writing by sequence programs Operating procedure Start I O No Module type gt Module model name gt Auto refresh Enter the start I O No in hexadecimal Setting screen Auto refresh setting Module information Module type DeviceNet Module Start 1 0 No 0000 Module model name 0J71DN91 Module side Transfer word count Module side Buffer size Transfer PLC side Setting item direction Device Make text file End setup Cancel Do not edit or write any data that were set by GX Configurator DN Version 1 15R or later with or to GX Configurator DN Version 1 14Q or earlier Doing so will corrupt the set data If a numerical value is entered accidentally press e 6 UTILITY PACKAGE GX Configurator DN MELSEC Q Setting items Reference Item Buffer memory address Hex section Master Function Communication Status mpn O O BOH Error Information for Master Function or Bus Error Counter Bus Off Counter ege SE Node Communication Status Node Communication Error Status 01BCH to 01C3H u Present Link Scan Time Minimum Link Scan Time 3 4 7 Maximum Link Scan Time Slave Function Communication Status 0600H Error Information for Slave Function UO Address Area for Master Function Master Function Receive Data 3 4 6 Master Function Transmit Data Slave Function Receive Da
130. hecked GX Developer s Product information screen Operating procedure GX Developer gt Help Product information Product information Programming and Maintenance tool p GX Developer Version 8 12N S W8D5C GPPW E COPYRIGHT C 2002 MITSUBISHI ELECTRIC CORPORATION ALL RIGHTS RESERVED This Product is licensed to Name MITSUBISHI Company MITSUBISHI ELECTRIC CORPORATION ProductID List of version information on Add in software GX Configurator DN Version1 18U SW 1D5C QDNU E Software version COPYRIGHT C 2000 MITSUBISHI ELECTRIC CORPORATION ALL RIGHTS RESERVED Warning This product is protected by copyright law and international treaties Unauthorized reproduction or distribution of this program or any portion of it may result in severe civil and criminal penalties and will be prosecuted to the maximum extension possible under the law In the case of GX Developer Version 8 ION 2 SYSTEM CONFIGURATIO MELSEC Q 2 4 Precautions on System Configuration 1 DeviceNet products manufactured by other vendors The QJ71DN91 is assumed to be compatible with most of the DeviceNet products on the market However the compatibility with products manufactured by other vendors is not guaranteed Master function 3 SPECIFICATIONS 3 SPECIFICATIONS MELSEC Q This chapter provides the performance specifications of the QJ71DN91 I O signals used with a programmable controller CPU and buffer memory sp
131. ication function e 4 1 7 35 Master function communication status 3 25 Master function receive data 3 37 Master function transmit data 3 38 Maximum link scan me 3 39 Message communication command 3 20 Message communication completion X02 3 8 Message communication data 0se0eaaea 3 23 Message communication error signal X05 A EE EE ee tee ce Hele Bele 3 8 Message communication function 4 8 7 31 Message communication request Y12 3 8 Index 1 M Message communication result 210 3 21 Minimum link scan Ome 3 39 Mode switch 5 8 Mode switch NO cccccceeceeeeeeeeteeeseeetees 3 43 Model name 3 43 Module ready XOF neseser 3 11 Monitoring ee E A an 6 16 N Node communication error status 3 30 Node communication status c 3 29 Node configuration status ceeeeeeeeeeee 3 29 Node fault Status ccceeceeeeeeeeeeeeeeeees 3 30 Node No Ad ited ee Eel 3 43 Node No switches s ssssssseeesressreeresererrnere 5 7 O Obtaining error information master function er ree Tee Pree Creer Creer ELE EI 7 34 Obtaining error information slave function Ee T TTT TER eer 8 12 OD VAC Aix fateh eae hese A eae ee 2 2 Operation Overview ccceceeeeeeeeteeeeeetees 6 9 Operation setting area for bus off error 3 27 P Parameters saved to flash ROM X07 3 10 Parameter saving area selection
132. ilities can be started However Open parameters and Save parameters operations under Intelligent function module parameter are allowed for one Intelligent function module utility only Only the Monitor test operation is allowed for the other utilities 5 Switching between two or more Intelligent function module utilities When two or more Intelligent function module utility screens cannot be displayed side by side select a screen to be displayed on the top of others using the task bar 4 g start f MELSOFT series GX D Intelligent function M Intelligent Function M 6 UTILITY PACKAGE GX Configurator DN Auto refresh setting Module information Module type DeviceNet Module Module model name QJ71DN31 MELSEC Q 6 Number of parameters that can be set in GX Configurator DN When multiple intelligent function modules are mounted the number of parameters set must not exceed the following limit When intelligent function modules Maximum number of parameter settings are installed to Initial setting Auto refresh setting Q00J Q00 Q01CPU For example if multiple intelligent function modules are installed to the Q25HCPU configure the settings in GX Configurator so that the number of parameters set for all the intelligent function modules does not exceed the limit of the Q25HCPU Calculate the total number of parameter settings separately for the initial setting and for the auto refresh setting The numb
133. in cyclic value other than 0 ms All slave nodes are set as reserved e Set the parameters according to the slave QJ71DN91 O nodes by parameters nodes connected to the network The number of slave function receive SE QJ71DN91 e Set it within the range of 0 to 128 bytes x bytes is out of range The number of slave function transmit NE QJ71DN91 e Set it within the range of 0 to 128 bytes x bytes is out of range Both of the slave function transmit and e Set either of the transmit or receive bytes QJ71DN91 x receive bytes are set to 0 to any other than 0 10H 11H 15H 16H 80H 81H 2H 8 9 TROUBLESHOOTING e Set I O points of slave nodes in Parameters for Master Function When using both the master and slave f Ka e Set transmit receive bytes in Parameters QJ71DN91 functions the number of I O points is set for Slave Function to 0 for both of them i Either of master or slave function values must be set MELSEC Q Detectability Master Slave function function 9 TROUBLESHOOTING 3 FFH and FEH Detected GE i Description Action in MELSEC Q When the error detected node No low byte of error information is other than Detectability Master Slave function function A network problem was detected after e Check that the cables are connected Din QJ71DN91 dch communication was started correctly QJ71DN91 The slave node did not respond e Check the entire network and
134. ing Area address O60EH 1550 Slave Function Transmit Bytes Setting Area address O60FH 1551 Input output points for the slave function are set For saving parameters to a flash ROM refer to Section 8 2 2 Table 3 28 Slave function parameters Buffer memo Item Description address Hex setting area Setting range 0 to 128 bytes Default 8 bytes Slave function transmit bytes output size Set a size of I O data that can be sent for the slave function setting area Setting range 0 to 128 bytes Default 8 bytes O60FH PECIFICATION SE MELSEC Q 3 4 10 Communication data area for slave function Communication data for the slave function are stored in this area 1 Slave Function Receive Data address OBOOH to OB3FH 2816 to 2879 Data received from the master node are stored The data size that is set in Slave Function Receive Bytes Setting Area address 060E is valid OBO0n 2nd byte 1st byte 0B01H Ath byte 3rd byte 0B024 6th byte 5th byte 2 Slave Function Transmit Data address OCOOH to OC3FH 3072 to 3135 Data to be sent to the master node are set in this area I O data of the size which is set in Slave Function Transmit Bytes Setting Area address O60Fx are sent DCD 2nd byte 1st byte 0C01H 4th byte 3rd byte 0C02h 6th byte 5th byte When the QJ71DN91 is used as a master node set an even number of byte modules If an odd number is set and when word modules an
135. ing for executing the slave function When applying the program examples introduced in this chapter to the actual system make sure to examine the applicability and confirm that it will not cause system control problems 8 1 System Configuration The explanation of the programs in this chapter is based on the system shown in Section 7 2 Note that the transmit receive data of the QJ71DN91 slave node are assigned to the following devices Item Device Receivedata D X29 Transmit data Y200 to Y23F 8 2 Parameters for Slave Function To change UO points for slave function parameters for slave function must be set However for the I O points of the QU71DN91 slave node shown in Chapter 7 parameters for slave function need not be set because default values are used 1 Settings The following table shows the slave function parameters that are to be set in the program example For details of the slave function parameters refer to Section 3 4 9 For saving parameters to a flash ROM refer to 2 in this section Buffer memory Item Set value address ae uerg Slave Function Receive Bytes Input Size Setting Area K16 16 bytes 060FH Slave Function Transmit Bytes Output Size Setting Area K16 16 bytes 8 PROGRAMMING FOR EXECUTING THE SLAVE FUNCTION MELSEC Q 2 Operation flow of parameter saving to flash ROM The following explains the operation flow in the case of saving parameters to the flash ROM When usi
136. ing the master function parameters can be reduced Auto configuration PECIFICATION EE MELSEC Q 3 3 I O Signals for Programmable Controller CPU This section explains the input output signals that the QJ71DN91 sends to or receives from a programmable controller CPU 3 3 1 I O signal list The I O signal assignments shown are based on the case where the start I O No of the QJ71DN91 is 0000 mounted to slot 0 of a main base unit Device X denotes an input signal from the QJ71DN91 to the programmable controller CPU Device Y denotes an output signal from the programmable controller CPU to the QJ71DN91 Table 3 5 lists the I O signals used for the programmable controller CPU Table 3 5 I O signal list QJ71DN91 gt Programmable controller CPU Programmable controller CPU QJ71DN91 function function function function X00 O cy YOO Watchdog Timer Error X01 UO Communicating O MAN x02___ Message Communication Completion Yo2 xos Error Set Signal for Master Function o vos x SlaveDownSignl of w xo5 _ Message Communication Eror Signal o vos xos Saving ParameterstoFlashROM o o Yoo xo7 Parameters SavedtoFlashROM_ o o wg xos Error Set Signal for Slave Function o f Yo8__ Use prohibited Use prohibited w YOA YOB YOD Use prohibited YOE ModuieReady OT OF 10 X11 a Y11 UO Communication Request lo o
137. ion 6 2 2 Section 7 1 7 2 7 3 1 7 4 7 5 2 7 7 Section 8 3 Section 9 3 Appendix 3 Mar 2006 SH NA 080143 I Addition Section 2 5 3 4 1 Correction Section 3 4 1 Print Date_ Manual Number Jan 2008 SH NA 080143 J Correction Generic Terms and Abbreviations Section 1 1 2 1 to 2 3 3 4 Chapter 4 Section 5 1 to 5 4 5 6 6 1 6 2 6 4 6 5 Chapter 7 and 8 Section 9 1 9 2 Appendix 6 Addition Definitions of Terminology Section 2 4 3 2 6 5 1 to 6 5 17 7 3 1 7 4 1 8 2 1 8 3 1 9 1 5 9 2 3 Appendix 2 Deletion Section 2 4 to 2 6 Chapter 5 Section Numbers Changed Section 3 2 gt Chapter 4 Section 3 3 2 gt Sections 3 3 2 and 3 3 3 Section 3 4 2 gt Section 3 4 2 to 3 4 14 Chapter 4 gt Chapter 5 Appendix 2 to 6 gt Appendix 3 to 7 Japanese Manual Version SH 080125 J 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 MITSUBISHI ELECTRIC CORPORATION INTRODUCTION Thank you for purchasing the MELSEC Q series programmable controller Before using the product please read this manual carefully to understand the functions and performance of the Q series programmable controller to en
138. ion 9 2 2 Slave node No slave Low byte Node No of the slave node MAC ID MAC ID class ID High byte Class ID of the object Low byte Attribute ID of the object Attribute ID data length High byte Byte length of the gotten attribute data 1 to 240 1H to FOH 3 SPECIFICATIONS MELSEC Q Message Communication Data address 0130H to 01A7H 304 to This area stores data sent received by message communications 3 423 a Getting attribute data of a slave node Attribute data is stored in units of bytes 01304 2nd byte 1st byte 4th byte 3rd byte 6th byte 5th byte O1A7H 0130H O1A7H gt Attribute data that was gotten b Setting attribute data of a slave Attribute data to be set is configured in units of bytes 2nd byte 1st byte 4th byte 3rd byte 6th byte 5th byte gt Attribute data to be set PECIFICATION E MELSEC Q c Reading communication error information of a slave node The communication error information that was read is stored Table 3 17 Reading communication error information Buffer memory address Go Description Hex Stores data showing whether or not the slave node 0130H Slave status is set with parameters whether or not it has responded etc See 1 01st Use prohibited Stores the same error code as in Error Information Communication error for Master Function address 01B1h Refer to Section 9 2 1 Stores a gen
139. ion Result address 0120H to 012Fx to identify the cause of the error 4 FUNCTION GK MELSEC Q 4 3 Slave Function I O Communication Function This function allows I O data communication with the master node using the buffer memory of the QJ71DN91 Communications of 128 input bytes and 128 output bytes are available The polling method is used as the connection type Master node Slave node EEGENEN EEN OeeeEgt de ENEE d dee SE EE SEENEN e SEENEN EE SEENEN e QJ71DN91 Programmable controller CPU i H sT vi H UO Communication Request Function Receive OB3FH Data area Receive L COOH Slave LL oB00H Transmit nT Slave Function Transmit 0C3FH Data area 1 Setting for I O communication with the master node a Set the number of I O points in Parameters for Slave Function address O60En O60FH to exchange I O data with the master node This setting is not needed if the default values 8 bytes for each are used b Slave function parameters are set in GX Configurator DN or sequence programs Refer to Section 8 2 2 Reading writing I O data a WO data are stored in the following buffer memory areas Buffer memory W i Reference Item Description address Hex section Slave function receive i OBOOH to OB3FH Data received from the master node are stored data 3 4 10 OCOOH to Slave function transmit Data to be sent to the master node
140. ion for watchdog timeout of the slave node 0000 Equivalent to the following Timeout Default 01DExH LI 1 x 8 Watchdog timeout action 0001H Timeout 00024 Auto Delete 0003H Auto Reset Set a production inhibit time EA Setting range 0 to 65535ms FFFFH 01DFH LJ 1 X8 Production inhibit time 0000H 10ms Default Other than OOOOH Set value 1 ms When setting parameters use a copy of this sheet App 3 App 3 APPENDIXE Z MELSEC Q Appendix 5 Parameter Setting Sheet For the Slave Function Buffer memory Gen Item Description Set value address Hex EEN Slave function receive bytes Set a size of I O data that can be received for the slave function input size setting area Setting range 0 to 128 bytes Default 8 bytes O60FH Slave function transmit bytes Seta size of I O data that can be sent for the slave function output size setting area Setting range 0 to 128 bytes Default 8 bytes App 4 App 4 APPENDIXES MELSEC Q Appendix 6 List of Communication Parameters of Slave Nodes from Various Manufactures The following table lists an example of parameter setting for communicating with slave nodes from various manufacturers For more details on the parameter settings please contact each manufacturer Set value values in parentheses are for the case of setting with sequence programs Remarks No of byte No of word No of doub
141. is set for Auto Communication Start Setting address 06311 Upon power up the status automatically changes from Offline 0000H to Stop 0040 When I O Communication Request Y11 is set to ON the status changes to Operate O0COt Note that until receiving an I O communication request from the master node the module is placed in Ready status 0080n b When Start is set for Auto Communication Start Setting address 0631h Upon power up the status automatically changes from Offline 0000n to Operate 00COx Note that until receiving an I O communication request from the master node the module is placed in Stop status 0040 c Whena reset message is received through the network The status automatically returns to Offline 0000H and then changes to Operate 00COx 2 Error Information for Slave Function address 0601H 1537 A code for a communication error occurred in the slave function is stored For error notification and a clearing method of this area refer to Section 3 3 3 4 a High byte An error code is stored Refer to Section 9 2 1 b Low byte The number of the node MAC ID where an error occurred is stored FEn FFH 254 255 Own node QJ71DN91 OH to 3FH 0 to 63 Node No MAC ID of the node where an error occurred PECIFICATION Ee MELSEC Q 3 4 9 Parameter setting area for slave function Parameters for the slave function are set in this area 1 Slave Function Receive Bytes Sett
142. ists ees iteg etc eet EELER ee e 3 17 3 4 2 Message communication area for Master FUNCTION eeeeeeeeeeeeeeeeeeeeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeaeenas 3 20 3 4 3 Own node status area for master FUNCTION ccccceeecceeeeeceeeeeeeeeeeeeeeeaeeeeaeeseaeeeeceeseaeeteaeeeeieeeneees 3 25 3 4 4 Node status area for master function cccccceeeceeeeeeeeeeeeeeeeeeeeeeececeecaeeceaeeeeaeeeseeeseaeeteaeetsieeeieeess 3 29 3 4 5 Master function parameter setting are 3 32 3 4 6 Communication data area for master function cceeceeeceeeeeeeeeeeeeeaeeeeaeeeeaeeeeeeeseneeteaeeeeieeteneees 3 37 3 4 7 Link scan time area for master function cccecceeeeeeeeeeeeeeeeeeeeeeeeeeceaeeseaeeseaeeesaeeseaeeteaeeseieeeeeess 3 39 3 4 8 Own node status area for Slave function cccccceeeeeeeeeeeeeeeeeeeeeeeceeseaeeseaeeeeaeesseeeteneeteaeeteueeeneetss 3 40 3 4 9 Parameter setting area for Slave Tupchon 3 41 3 4 10 Communication data area for slave Tunchon nne 3 42 3 4 11 Own node information area ccccccceceeeeceeeeceeeeceeeceeseaeeceaeeeeaeeesaeeseaeeseaeeecaeeeseceeseaeeseueeeeessieeess 3 43 A 6 A 6 34212 Hardware test EEN 3 44 3 4 13 Parameter saving area selection are 3 46 3 4 14 Auto communication start Setting arez A 3 46 3 5 Communication Performance 3 47 3 5 1 Transmission delay 200 ee ee ee E E AE Edel 3 47 3 5 2 COMMUNICATION CYCIE UME easan aaa aa aa Naa aaa an EaR aa a a a a daaa 3
143. l configuration used for detecting all slave nodes on the Auto configuration network and Add configuration used for detecting the slave nodes added to the network This function can reduce programming steps for master function parameter setting Executed in sequence programs or GX Configurator DN Parameters provided for changing the number of UO points for a slave node when the Slave function parameters QJ71DN91 is used as a slave node Configured in sequence programs or GX Configurator DN Auto communication start Setting by which I O communications automatically start at power up setting Configured in sequence programs or GX Configurator DN Memory inside the QJ71DN91 in which data are temporarily stored Used for storing parameter settings and I O data Buffer memory Parameters are stored on a flash ROM after debugging I O data are transferred to devices of a programmable controller CPU by automatic refresh or sequence program Memory inside the QJ71DN91 which stores parameters saved in the following buffer memory areas e Master Function Parameters Address 01D4H to 03CFy Flash ROM e Slave Function Parameters Address O60EH O60Fy e Auto Communication Start Setting Address 06314 Parameters saved on the flash ROM are automatically loaded to the buffer memory when power is turned ON from OFF or when the CPU module is reset Automatic data transfer between the buffer memory and devices of a programmable Automatic re
144. lable p Communication test was executed and completed FFFFH Test completion normally 3 SPECIFICATIONS MELSEC Q 2 Hardware Test Result Area address 062FH 1583 The hardware or communication test result is stored Table 3 31 Hardware test results 0000H Hardware test completed normally 60AAH Hardware failure Please consult your local Mitsubishi service center or representative explaining a detailed CAN controller check error description of the problem Network power supply 63AAH Ge Verify that power is supplied to the network Hardware failure Please consult your local Mitsubishi Microcomputer error service center or representative explaining a detailed description of the problem Table 3 32 Communication test results Detail Action Any oth d the network Node No Geen E Assign unique node numbers to all nodes on has the same node No as the duplication error the network own node Set the same communication speed value to all nodes on the network A bus off d during th 0002 Bus off error e SE d Check the overall network for disconnection of j terminating resistors DeviceNet cable length etc Network The network lyi 00034 Senor POSE P PONOR PONOT SUPP YS e Turn ON the network power supply supply error OFF Connect one or more nodes to the network Set the same communication speed value to all Communication Data could not be sent or nodes on the network error received c
145. le Expected Production Name of Connection modules modules word modules aed Message Name Packet Inhibit Jucwm manufacturer type i e group Output Input Output Input Output Input Rate S Time DeviceNet sa t Se t 2001 Ti it 10 QJ71DN91 master slave Poling H1 op 001 00 EE e ot Mitsubishi module Electric A500 Series Corporation 1000 Ti it 10 p FR ASND reet Polling H1 00H me rages Ha DeviceNet K1001 H1 K11 option i D D 1000ms 10ms Polling H1 K1001 K11 K1001 Ti t K11 om 004 Op E imeut et H1 Oms a HO 30ms 25ms K31 K26 A Flex UO Bit strobe H2 1794ADN DeviceNet Rockwell Change of ladapter Automation state H4 Japan Co Cyclic H8 Ltd E Flex UO input 1794 1B16 2 P 00 00s module Gen Flex UO output DRT1 CompoBus D Polling H1 GE 01H Du Du IDO8 8 point input bit strobe H2 DRT1 CompoBus D Polling H1 D 00s op ID16 j 16 pointinput bit strobe H2 1000ms Timeout 10ms K1001 K11 1000ms Timeout 10ms K1001 H1 K11 Ss DRT1 C Bus D Se Polling H1 001 00 00 OD08 8 point output Omron DRT1 CompoBus D Corporation OD16 16 point output pa Gg Ges SE C Bus D Der Ee Polling H1 Apo4 TP H bit strobe H2 input PRII Fees olling H1 Danz point analog g output SAD aay ital olling H1 SBNies Porm 9 3 input DeviceNet SX5D IDEC Izumi 16 point digital olling H1 SBT16
146. le CPU system Q02U Q03UD Q04U Single CPU system Version 8 48A or later Version 1 23Z or later DH QO6UDHCPU Multiple CPU system 1 Version 1 14Q or earlier does not support Node Communication Error Status address 01COH to 01C3H 448 to 451 Please use Version 1 15R or later 4 Remote operation is not allowed from another DeviceNet node Each DeviceNet node on DeviceNet cannot read write monitor the sequence program or data of the programmable controller CPU where the QJ71DN91 is installed 2 SYSTEM CONFIGURATION MELSEC Q 2 3 How to Check the Function Version Serial No and Software Version This section describes how to check the function version and serial No of the QJ71DN91 and GX Configurator DN software version 1 Checking the function version and serial No of the QJ71DN91 a b Product Information List Checking at the SERIAL field of the rating plate located on the side of the module The serial No and function version of the module is shown in the SERIAL field of the rating plate Serial No Upper 5 digits Function version Relevant regulation standards wa MITSUBISHI ELECTRIC MADE IN JAPAN Checking by GX Developer The serial No and function version of the module are displayed on the Production Info List and Module s Detailed Information screens of GX Developer The following explains how to check them on the Production Info List screen For the case of
147. ling program for node No 3 M ns e a l FROH HO H706 Wun KI Reads receive data M03 X160 i d X160 T To ensure consistency of transmit receive data of multiple words take a measure such as providing a handshake area at the end of transmit receive data to check the data transfer For the program example refer to Section 7 1 4 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q 7 5 Message Communication Function This section explains an example of a sequence program created for message communication 7 5 1 Example of reading message communication data An example program in this section performs Get Attribute to node No 3 For the area enclosed with a dotted line refer to the manual for the relevant slave node since the class ID instance ID and attribute ID are different depending on the actual area and the slave node 1 Device list d Reference Device Description section 0 Get Attribute Command M100 Get Attribute Execute Flag 02 Message Communication Completion Y12 Message Communication Request DO to D3 Message Communication Command D10 to D14 Message Communication Result D20 to D28 Message Communication Data D100 Master Function Communication Status 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q 2 Program example ty We FROMP HO um D100 Ki q Reads master function communication status aaa ANP HOEEOD D100 H Executes Get Attribute
148. mmunicating set I O Comm Request for Y11 I O Communication Request Select I O Comm Request gt button Then set I O Comm Stop Request for Y11 UO Communication Request Select I O Comm Stop Request gt button Check that the current value for X01 UO Communicating was changed to I O Comm Stop 3 When the current value for Y15 Auto Configuration Request is Config Request set OFF for Y15 Auto Configuration Request Select OFF Execute test button 7 18 7 18 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION Flash ROM setting wer Save file Load fie MELSEC Q Master Auto Comm SaveRequest N r Details Select input Save Request Start monitor Stop monitor Execute test 4 5 6 7 Select the parameter saving area When saving the parameters for master function and the auto communication start setting set Master Auto Comm for Parameter Saving Area Selection Select Master Auto Comm gt button Set Save Request for Y17 Request for Saving Parameters to Flash ROM Select Save Request gt button Parameter saving to the flash ROM is started and Saving is displayed for X06 Saving Parameters to Flash ROM Upon completion of the saving Saving Completed is displayed for X07 Parameters Saved to Flash ROM 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q 8 If parameter check has failed
149. mmunication with parameters saved on 0631 1585 RW 3 4 14 S Setting 2 the flash ROM at the time of power ON from OFF or CPU reset Set whether or not to reset the QU71DN91 s 0632n 1586 Operation Setting Area for CAN chip Communication chip to restart RW 343 Bus Off Error communications in the event of a bus off error 0633 to ep ce EE e SE e el el 0700 to Master Function Receive Stores the data received from each slave iss E Bee ET S Sg 0800 to Si 08FF eee ae see Epes ee ee ee eee 0900 Master Function T it HR 2304 to 2559 ASOT POEUN SL ae Data to be sent to each slave node is set O RW 3 4 6 DEE Data OA001 to eg DATE SE ts SE ee ee ee eee OBO00 to Slave Function Receive Stores the data received from the master OB3Fx SERAS S GE 0B401 to ds BEN EE Seege ee ee ee eee OCOO t SI Function T it Go 3072 to 3135 Seed Data to be sent to the master node is set O RW 3 4 10 OC3Fu Data 0C40 to 3136 to sit TEEF E aa Ooo o o y d ljl 3 18 3 18 l i 3 SPECIFICATIONS MELSEC Q 1 Indicates whether or not data can be read or written from sequence programs R Read only R W Read Write 2 Can be saved to a flash ROM Parameters in the buffer memory are cleared when power is turned off or when the CPU module is reset unless they are saved to a flash ROM PECIFICATION E MELSEC Q 3 4 2 Message communication area for master function This area is used for the message communication of
150. modules cannot be identified on Eiu QJ71DN91 e Connect other modules to the network the network The node No switches or mode switch e Restore the setting of the node No FOH QJ71DN91 i j has been changed during operation switches or mode switch TROUBLESHOOTIN EE MELSEC Q 2 When the error detected node No low byte of error information is FEH Detected E f Detectability in Description Action Master Slave i function function Zero 0 is set for both the input and e Set the input and output points according 02H QJ71DN91 e SEN O x output points of a slave node to the slave node specifications The low byte of the slave node No in the BEER 03H QJ71DN91 e Set it within the range of 0 to 63 O x buffer memory is out of range The high byte of the slave node No in e Set it within the range of 01H to 04n or to 04H QJ71DN91 O x the buffer memory is out of range 80H The connection type in the buffer 05x QJ71DN91 e Set 00011 000214 0004n or 0008H O x memory is out of range The same node No has already been 06H QJ71DN91 set for a slave node in the buffer e Set unique node numbers for all nodes memory QJ71DN91 No slave node has been set e Set at least one slave node The total input data length of all slave s 08H QJ71DN91 e Reduce it to 512 bytes or less O x nodes is too long The total output data length of all slave 09H QJ71DN91 i e Reduce it to 512 bytes or less O x nodes is too long The p
151. monitor Execute test Close 3 1 Set parameters for 1st to 4th slave nodes For the setting details refer to Section 7 3 1 Select a value in a Setting value field Execute test button Repeat this if more than one parameter must be set 2 To start I O communication automatically at power up set Start for Auto Communication Start Setting Select Start Execute test button 3 Click the button 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q b Save parameters to a flash ROM Refer to 3 in this section When changing parameters for master function set default values in the areas after the parameter set areas Example When changing the number of slave nodes that can perform I O communication from 6 to 4 set default values in the areas for 5th and 6th slave nodes 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q 3 When saving the parameters to a flash ROM Clicking the Flash ROM Save button on the Monitor Test screen will display the 5 Save Parameters to Flash ROM or Save Parameters to Flash ROM screen The same setting details are displayed on the both screens Follow the setting instructions Save the parameters in the buffer memory to a flash ROM Otherwise they are cleared when the power is turned OFF or the CPU module is reset 5 Save Parameters to Flash ROM Module information Module type DeviceNet Module Start 1 0 No
152. mple a Device list Reference Device Description section van Parameter Setting Command for Slave Function ER x21 VO Communicating 1 0 Communication Request Slave Function Receive Bytes Input Sizes Setting Area Slave Function Transmit Bytes Output Sizes Setting Area Program example Parameters for slave function 2 Wl mp Dun ve D50 H Sets 16 bytes for input size of slave function mme vg D51 JL Sets 16 bytes for output size of slave function J Writes parameters to buffer memory 8 PROGRAMMING FOR EXECUTING THE SLAVE FUNCTION MELSEC Q 2 When saving parameters to a flash ROM a Device list Reference Device Description section x26 Saving Parameters toFlashROM x27 Parameters Savedio feat OH gg vst Communication Request Yas Auto Configuration Request Yaz Peauestier Saving Parameters to FlashROM_ D52 Parameter Area SelectBit sans Dei Auto Communication Start Seting L 3414 b Program example Parameter saving z ave HG ve q Parameter Area Select Bit E Slave Auto Comm up HI D53 J Auto Communication Start Setting Start Im H2 H630 D52 K2 J Writes parameters to buffer memory x21 Y31 Y35 Wm gt iy FSET vm Sets Request for Saving Parameters a ae S 4 to Flash ROM to ON Y37 X26 E H SET W403 J Saving parameters to flash ROM Y37 X27 H403 A i H H 1 RST Wm 1 Saving parameters to flash ROM completed
153. mpleted successfully saving the parameters to the flash ROM is started and Saving Parameters to Flash ROM X06 is set to ON If the parameter check has failed the ERR LED lights up and Error Set Signal for Master Function X03 is set to ON Check the error code in Error Information for Master Function address 01B1n and take corrective actions Upon completion of parameter saving to the flash ROM Parameters Saved to Flash ROM X07 is set to ON When Request for Saving Parameters to Flash ROM 17 is set to OFF Saving Parameters to Flash ROM X06 and Parameters Saved to Flash ROM X07 are set to OFF 7 9 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q 7 3 1 Program example using the utility package 1 When using auto configuration 1 Pre determine the slave node settings e g connection type before executing auto configuration 2 Check that the power of the slave nodes and the network is ON and the wiring is correct a The setting items for auto configuration are shown below Monitor Test Module information Module type DeviceNet Module Start 170 No 0000 Module model name QJ71DN91 Setting item Auto Configuration Please perform Auto Configuration by following steps 1 to 5 Stop 1 0 Communication Set Auto Configuration Operation Execute Auto Configuration Current value Setting value 1 0 Comm Stop 4 Confirm Auto Contigured Parameters Click Param Check to open
154. n 6 3 Parameter Area Monitor Test EI x Module information Module type DeviceNet Module Start 1 0 No 0000 Module model name 0J71DN91 1 Saino en O omae o A Parameters for Master Function ET Constant Sean Units ms El E 0 1st node Slave Node No and Message Group LE 0401 Lower Byte Slave Node No Higher Byte Message Group 1st node Slave Node Connection Type oa Specified J ateg x 1st node Slave Node Byte Module Points IO 0001 Lower Byte Input Byte Module Items Higher Byte Output Byte Module Items 1st node Slave Node Word Module Points opo ooo HH Lower Byte Input Word Module Items Higher Bute Output Word Module Items 1st node Slave Node Double Word Module opo 0000 Points Lower Byte Input Double Word Module Items Higher Byte Output Double Word Module Items 1st node Slave Node Expected Packet Rate D 0 Units ms 1st node Slave Node Watchdog Time Out Default Value Default Value Operation e 1st node Slave Node Production Disable Time D 0 Units ms J Parameters for Slave Function Slave Function Input Sizes Setting Area 8 8 Slave Function Output Sizes Setting Area 8 8 Auto Communication Start Setting No Start Start E 2 Flash ROM setting Details Write to Save fi Current value Monitoring module arare display Select input Read trom Load fie Make text file seta tana l No Start Start Stop
155. n from the slave node Master node Slave node 4 FUNCTIONS MELSEC Q Change of state Change of state is a communication method by which the following steps 1 and 2 are performed to each slave node by changes in I O data No data transmission is performed unless any change is made in I O data 1 When output data of the master node changes the master node sends the data to the slave node 2 When input data of the slave node changes the slave node sends the data to the master node The change of state communication does not have a concept of communication cycle Master node Slave node 4 FUNCTIONS MELSEC Q Cyclic Cyclic is a communication method by which the following steps 1 and 2 are repeated to each slave node at fixed intervals 1 Data of the master node are sent to the slave node 2 Data of the slave node are sent to the master node The cycle of cyclic transmission can be specified for each slave node Specify it to the following parameter items Cycle of transmission from master node Production inhibit time Cycle of transmission from slave node Expected packet rate The cyclic communication does not have a concept of communication cycle Master node Slave node 4 FUNCTIONS MELSEC Q 4 2 Master Function Message Communication Function The QJ71DN91 can read or write attribute data of slave nodes using its own buffer memory For details of other message communicatio
156. nction fail or fall off Secure the module with screws especially when it is used in an environment where constant vibrations may occur e Tighten the screws within the specified torque range If the screws are loose it may cause falling short circuits or malfunction If the screws are tightened too much it may cause damage to the screw and or the module resulting in falling short circuits or malfunction e Before mounting dismounting the module be sure to shut off all phases of the external power supply used by the system Failure to do so may cause product damage e Do not directly touch the conductive area or electric components of the module Doing so may cause malfunction or failure in the module WIRING PRECAUTIONS lt gt DANGER e Before installation or wiring shut off all phases of the external power supply used in the system Failure to do so may cause an electric shock damage to the product or malfunction A CAUTION e Be careful to prevent foreign matter such as dust or wire chips from entering the module It may cause a fire failure or malfunction e The top surface of the module is covered with a protective film to prevent foreign matter such as wiring chips from entering the module during wiring Do not remove this film until wiring is complete Before starting the system remove the film to release heat e Place the communication cables and power cables connected to the module in a duct or clamp them
157. ng the utility package refer to Section 8 2 1 2 When not using the utility package refer to Section 8 2 2 2 UO Communication Request Y11 3 UO Communicating X01 Auto Configuration Request Y15 OFF 3 4 8 Request for Saving Parameters to Flash ROM Y17 Saving Parameters to Flash ROM X06 Parameters Saved to Flash ROM X07 Error Set Signal for Slave Function X08 Error Information for Slave Function 0601 Parameter Area Select Bit 06301 1 MOV TO Parameter instruction check Parameters Flash ROM 1 Set parameters in the following buffer memory areas e Parameters for Slave Function address O60EH O60FH e Auto Communication Start Setting address 06314 2 Specify a parameter saving area in Parameter Area Select Bit address 0630 3 Set UO Communication Request Y11 and Auto Configuration Request Y15 to OFF 4 When Request for Saving Parameters to Flash ROM Y17 is set to ON parameters are checked 5 Ifthe parameter check is completed successfully saving the parameters to the flash ROM is started and Saving Parameters to Flash ROM X06 is set to ON 6 Ifthe parameter check has failed the ERR LED lights up and Error Set Signal for Slave Function X08 is set to ON Check the error code in Error Information for Slave Function address 0601H and take corrective actions 7 Upon completion of parameter saving to the flash ROM Parameters Sav
158. node up to 63 nodes information such as connection types and I O points is set 1 Parameters for Master Function address 01D4H to O3CFH 468 to 975 Master function parameters are set in this area For use of auto configuration refer to Section 7 3 2 For saving parameters to a flash ROM refer to Section 7 3 3 Table 3 24 Master function parameters Buffer memory ae Item Description address Hex 01D4H to T Use prohibited 01D6H Specified to keep link scan time constant 01D7H Constant scan Setting range 0 to 65535 ms FFFFH 1st slave node Low byte Node No MAC ID of the 1st slave node OOH to 3FH 0 to 63 High byte 01H Node that supports UCMM and uses any of message groups 3 2 and 1 03H Node that supports UCMM and uses message group 1 04H Node that does not support UCMM Group 2 only server 80H Reserved node Node No and message group Select a connection type for UO communication 0001H Polling Connection type 0002H Bit strobe 0004H Change of state 0008H Cyclic Low byte Number of input byte modules Number of byte modules High byte Number of output byte modules set in hexadecimal Eight bit modules 8 oints are counted as one byte module ioe one a Sogn Number of word modules High byte Number of output word modules set in hexadecimal Number of double word Low byte Number of input double word modules modules High byte Number of output double word module
159. ns refer to DeviceNet Common Service in DeviceNet Specifications Release 2 0 At one time 240 bytes of message data can be transferred For the execution timing refer to Section 3 3 2 3 1 Get Attribute Programmable controller CPU QJ71DN91 Slave node MAC ID 1 0110H Message 2 Class We H Se Instance 011FH 2 Message Comm Attribute SET Y12 H Request PCS Instance ribute 6 01201 Message 3 JL FROM gegen Comm X02 X05 012FH Result area eee 0130H Message Instance Comm mae Pete area Message communication Instance complete 1 i H FROM X02 X05 5 F Message Comm Completion In DeviceNet the areas used for reading and writing by communication are specified by the numbers such as class ID instance ID and attribute ID For details refer to the manual of each slave node 1 Set command data in Message Communication Command address 01104 to 011FH 2 Set Message Communication Request Y12 to ON to read out attribute data from the slave that is specified in the command data 3 The attribute data of the slave node are stored in Message Communication Data address 0130H to 01A7x 4 Upon completion of reading the processing result is stored in Message Communication Result address 0120H to 012FH and Message Communication Completion X02 is set to ON 5 The slave node s attribute data stored in Messag
160. o Flash ROM X07 Request for Saving Parameters to Flash ROM Y17 These signals are used to save the parameters in the buffer memory to the flash ROM Execute each signal action while UO Communicating X01 is OFF a b d When Request for Saving Parameters to Flash ROM Y17 is set to ON parameters are checked If the parameter check is completed successfully saving the parameters to the flash ROM is started and Saving Parameters to Flash ROM X06 is set to ON If the parameter check has failed the ERR LED lights up and Error Set Signal for Master Function X03 or Error Set Signal for Slave Function X08 is set to ON For details of Error Set Signal for Master Function X03 refer to Section 4 For details of Error Set Signal for Slave Function X08 refer to Section 3 3 3 4 Upon completion of parameter saving to the flash ROM Parameters Saved to Flash ROM X07 is set to ON When Request for Saving Parameters to Flash ROM Y17 is set to OFF Saving Parameters to Flash ROM X06 and Parameters Saved to Flash ROM X07 are set to OFF When parameter check completed successfully to Flash ROM Y17 Saving Parameters to Flash ROM X06 Parameters Saved to Flash ROM X07 I O Communication Request Y11 I O Communicating X01 Request for Saving Parameters Parameters P 7 instruction chee PECIFICATION ees Ae MELSEC Q When parameter check failed
161. o 1 Master Function 3rd slave node Node No 4 Receive Data 4th slave node Node No 3 Y11 UO Communication Request 3 3 2 2 Y100 to Y107 Master Function Eegen slave node Node No 2 3 46 Y110 to Y14F Transmit Data 3rd slave node Node No 4 slave node Node No 4 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q 2 Program example UO communication function D x0 XOF d f d TOP wm H900 K4Y100 K5 Sets initial transmit data values Com Set I O Communication Request to ON H d FROM HO HIBC vun vu Reads node communication status 1st slave node Node No 1 een 24 Error handling program for node No 1 Ne ge te ee H FROM HO H700 vum KI W101 LAN d x101 Input data processing program for node No 1 at 1 2nd slave node Node No 2 M102 E EE Error handling program for node No 2 mm EE Pe bicep Pele taal d C100 i Output data processing program i for node No 2 1103 i107 H EE EE IJ To HO H900 K2Y100 H Writes transmit data rd Slave od N d NG4 OEO a a A E Error handling program for node No 4 ee FROM HO H701 K4X110 K4 Reads receive data H X110 EE x111 T M104 d R Output data processing program d for node No 4 a SAAE ivi H wm een eee eee 1 d To Ho H901 K4Y110 H Writes transmit data 4th slave node Node No 3 UG E a e a nnn sanentocinsnnd tnntnencseennssenneennonearcctencch r Error hand
162. o 1 j Ian 8 point input i Receive data ee a eh AC AS N Receive X20010 X207 K bech 700H goo er data area for J it 701H i Input 00 to input 07 node No 1 1 X208 to X23F FROM 702H Kies ene Se gh b 1 For future i Node No 4 QJ71DN971 slave node 64 points d expansion l 703H GEES serie A io SE Dia Ve data area for J X240t0X27F TOSH Node No 3 status EE node No 2 ia For future Dari 7706H i i 64 points jk expansion i i i fy Di i Receive Er A X280 to X2BF fe 64 points 1 Receive Tt X2c0 to X2DF ata area for A 1 Ae wa X2E010 X2FF Sige For future expansion i i 1 64 points dan i i i i i Transmit data Transmit EE E vi 900H Remote I O node No 3 data area for A Y200 to X23F 901H i __16 point input node No 1 i For future i 9902H PE a 64 points Spansion i 1 903H GE Transmit LY 240 to X247 904H 100 to 115 data area for J y248 to X27F 905H _ Nodeno3 j Input 00 to input 15 node No 2 i For future 64 points d expansion r Transmit i l d Kaes dee S data area for 4 280 to X2BF E Remote I O node No 2 ter e t Y2C0 to S2CEL 8 point input a ro See ee ree ee a 7 Y2D0 to X2FF i f i data area for Ee A 4 i 000 to 007 node No 3 fi i expansion d Ye Nop Output 00 to output 07
163. ode 1 Detect Detect X Node 2 Detect Detect X Node 3 Detect Detect X Node 4 Detect Detect X Node 5 Detect Detect X Node 6 Detect Detect X Node 7 Detect Detect E Node 8 Detect Detect Node 9 Detect Detect X Node 10 Detect Detect X Setting items Reference Item Buffer memory address Hex section MELSEC Q Node 0 to Node 63 01CCH to 01CFH 3 4 4 5 6 UTILITY PACKAGE GX Configurator DN MELSEC Q 6 5 9 Message communication area monitor test Purpose Test the message communication area For the execution timing refer to Section 3 3 2 3 Operating procedure Monitor Test screen gt Msg Comm Area Setting screen Message Communication Area Monitor Test Module information Module type DeviceNet Module Start 1 0 No 0000 Module model name QJ71DN91 Setting item Current value Setting value Message Communication Command Command Number 0000 0000 Lower Byte Slave Node No 0000 0000 Higher Byte Object Class ID Object Instance ID 0000 0000 Lower Byte Object Attribute ID 0000 0000 Higher Byte Attribute Data Byte Lenath Message Communication Result Command Number 0000 0000 Execution Error Code 0000 0000 Lower Byte Slave Node No 0000 0000 Setting items Reference Item Buffer memory address Hex section Message Communication Command 0110H to 011FH Message Communication Result 0120H to 012FH 3 4 2
164. ode No 1 group 2 only server mr m D5 J Connection type Polling r Input byte module 1 MOVP 1 D6 S Output byte module 0 wu o D7 Input word module 0 7 Output word module 0 Tue 0 D8 Input double word module 0 Output double word module 0 FMOVP 0 9 4 Expected packet rate Default 200ms rHOVP 0 o Watchdog timeout action Default Timeout rHovP ou 1 q Production inhibit time F Default 10ms 7 2nd slave node ao i Node No 2 group 2 only server wm HI 3 J Connection type Polling rove 100 4 7 Input byte module 0 Output byte module 1 rw Ho 5 Input word module 0 8 Output word module 0 rum 0 6 q Input double word module 0 i Output double word module 0 Cup 0 D17 gt Expected packet rate Default 200ms rMOVP up D18 1 Watchdog timeout action j Default Timeout O 0 D19 Production inhibit time Default 10ms 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION Parameters for master function M10 t Dune Tur up Move up Move LU Move Move Move wove wove Move Move Move Hove X1 H M10 lb GES HO H1D4 H104 HI H808 HO HO K501 H2 K21 H103 H2 H204 HO HO HO HO HO DO Save parameters to flash ROM See 3 RST D20 D21 D22 D23 D24 D25 D26 D27 D28 D
165. onitor the I O communication status of each slave node Operating procedure Monitor Test screen gt Setting screen Node Communication Status Monitor Module information Module type DeviceNet Module Module model name QJ71DN91 Comm Status Mon Start 1 0 No 0000 Setting item Curent value Setting value Node 0 Comm Stop Node 1 Comm Stop Node 2 Jane Stop Node 3 Comm Stop Node 4 Comm Stop Node 5 Comm Stop Node 6 Comm Stop Node 7 Comm Stop Node 8 Comm Stop Node 9 Comm Stop Node 10 Comm Stop Setting items Reference Item Buffer memory address Hex f section Node 0 to Node 63 01BCH to 01BFH 3 4 4 2 6 UTILITY PACKAGE GX Configurator DN 6 5 6 Node communication error status monitor Purpose Monitor the I O communication error status of each slave node Operating procedure Monitor Test screen gt Setting screen Node Communication Error Status Monitor Module information Module type DeviceNet Module Module model name QJ71DN91 Comm Err Status Mon Start 1 0 No 0000 Setting item Il Current value Setting value D Node 0 No Error Node 1 No Error Node 2 No Error Node 3 No Error Node 4 No Error Node 5 No Error Node 6 No Error Node 7 No Error Node 8 No Error Node 9 No Error Node 10 No Error x Setting items
166. onitored tested Monitor Test screen Flash ROM setting screen Monitor Test Flash ROM setting Module information Module type DeviceNet Module Start 1 0 No 0000 Module information Module model name QJ71DNS1 Module type DeviceNet Module Module model name QU71DNS1 Setting item Current value Setting value Model Name MEE Node Number Mode Switch Number Bus Enor Counter Bus Off Counter HAW Test Item Area Before Start Test HAW Test Result Area Master Function Communication Status Eror Information for Master Function Present Link Scan Time Unite ms Minimum Link Sean Time Units ms Flash ROM setting Details Wiite to Current value module display Setting item Setting value Parameter Backup Pato Backup Monitoring Save fie J Cannot execute test Read tom Load fle Make text fle Refer to Section 6 6 Stop moritor Refer to Section 6 5 6 10 6 10 6 UTILITY PACKAGE GX Configurator DN MELSEC Q 6 3 3 Starting the Intelligent function module utility Purpose Starting the Intelligent function module utility from GX Developer activate the screen for selecting a module to set parameters From this screen the screen for configuring auto refresh of the QJ71DN91 and the screen for selecting a module to be monitored tested can be started Operating procedure Tools gt Intelligent function utility
167. or Master Function Constant Scan Units ms D oj Ist node Slave Node No and Message Group 0000 0000 Lower Byte Slave Node No Higher Byte Message Group Tst node Slave Node Connection Type Not Specified Not Specified Ist node Slave Node Byte Module Points 0000 0000 Lower Byte Input Byte Module Items Higher Byte Output Byte Module Items Tst node Slave Node Word Module Points 0000 0000 Lower Byte Input Word Module Items L_Hinher Bue Cutout Word Moche Items Ll Setting items Reference Item Buffer memory address Hex j section Parameters for Master Function 01D4H to 03CFH Parameters for Slave Function O60En O60FH Auto Communication Start Setting 0631H 3 4 14 6 UTILITY PACKAGE GX Configurator DN MELSEC Q 6 5 3 Save parameters to flash ROM Purpose Save parameters to the flash ROM Follow the instructions shown in the Setting item column Operating procedure Monitor Test screen Flash ROM Save Setting screen Save Parameters to Flash ROM Module information Module type DeviceNet Module Start 1 0 No 0000 Module model name QJ71DN91 Setting item Save Parameters to Flash ROM From this screen save parameters to the Flash ROM by following step 1 to 5 Current value Setting value a 1 Stop 1 0 Communication To save parameters to the Flash ROM the moduk should be in 1 0 communication stop s
168. orrectly Check the overall network for disconnection of terminating resistors DeviceNet cable length etc 0006 Noverrar Communication test was completed normally 3 SPECIFICATIONS MELSEC Q 3 4 13 Parameter saving area selection area This area is used to save parameters in the buffer memory to a flash ROM For the execution timing refer to Section 7 3 3 and 8 2 2 1 Parameter Area Select Bit address 0630H 1584 Select an area of the parameters that are to be saved to a flash ROM When clearing the parameters on the flash ROM set 8000n In this case parameters in the buffer memory are not cleared Default values vary depending on the operation mode Refer to Table 3 33 b15 to b3 b2 b1 b Not used Flash ROM clear 1 Clear 0 Not cleared Parameters for master function Parameters for slave function Auto communication start setting 1 Save 0 Not saved Table 3 30 Default values for Parameter Area Select Bit Pode O Default value 0 to 2 master function only 00051 3 to 5 slave function only 0006H 6 to 8 master and slave functions 00071 3 4 14 Auto communication start setting area The auto communication start setting is set in this area 1 Auto Communication Start Setting address 0631H 1585 Set whether or not to automatically start UO communication using the parameters saved on the flash ROM when power is turned ON from OFF or when the CPU module is reset For s
169. parameter check is succeeded I O communication with the master node is started and I O Communicating X01 is set to ON Note that until receiving an I O communication request from the master node the module waits for connection establishment e Data sent from the master node are stored in Slave Function Receive Data address OBOOH to OB3F e The ON OFF information to be sent to the master node is set in Slave Function Transmit Data address OCOOH to OC3F x 6 Ifthe parameter check has failed the ERR LED lights up and Error Set Signal for Slave Function X08 is set to ON At this time I O Communicating X01 is not set to ON Check the error code in Error Information for Slave Function address 0601H and take corrective actions Setting UO Communication Request Y11 to OFF stops I O communication with the master node causing I O Communicating X01 to turn OFF N 4 12 4 12 4 FUNCTIONS MELSEC Q b When starting UC communication automatically at power up Set Start in Automatic Communication Start Setting address 0631 2 Module Ready OF UO Communication Request Y11 UO Communicating X01 Error Set Signal for Slave Function X08 Error Information for Slave Function 0601h Parameters for Slave Function O60EH O60FH Slave Function Receive Slave Function Transmit Data OCOOH to OC3FH n 1 Save the following parameters to the flash ROM in advance
170. parameter settings 3BH QJ71DN91 f MAC IDs were detected in parameters A slave node having the same node No as that of this node exists in the parameters e Check the entire network and slave node The polling connection in the slave states for any fault such as disconnection 80H QJ71DN91 E e F function has timed out of a terminating resistor e Check the master node status A connection other than for explicit e Do not allocate any I O connection other 81H QJ71DN91 i messages and polling was allocated than for polling e Check if the connection type value is te correct 47H QJ71DN91 Incorrect connection type was specified tek O x e Read the communication error information and take appropriate actions The number of bytes received by polling e Set the master node s I O points that 82H QJ71DN91 is greater than the max number of x O match the settings of the QJ71DN91 receive points 9 TROUBLESHOOTING MELSEC Q 9 2 2 Execution error codes of message communication for the master function only An execution error code is stored in Message Communication Result address 0121h Read it when Message Communication Completion signal X02 is set to ON and check the error details When reading communication error information Detected Description Action QJ71DN91_ The specified slave node No is other than 0 to 63 e Specify a slave node No within the range of 0 to 63 Detected
171. ppear Save parameters Saves the parameter file Delete parameters Deletes the parameter file Exit Closes the current screen b Online menu Monitor Test Activates the Select monitor test module screen Read from PLC Reads intelligent function module parameters from the CPU module Write to PLC Writes intelligent function module parameters to the CPU module 1 2 3 Saving intelligent function module parameters in a file Since intelligent function module parameters cannot be saved in a file by the project saving operation of GX Developer save them on the shown module selection screen Reading writing intelligent function module parameters from to a programmable controller using GX Developer a Intelligent function module parameters can be read from and written into a programmable controller after having been saved in a file Set a target programmable controller CPU in GX Developer Online Transfer setup Checking the required utility While the start I O is displayed on the Intelligent function module utility setting screen may be displayed for the model name This means that the required utility has not been installed or the utility cannot be started from GX Developer Check the required utility selecting Tools Intelligent function utility Utility list in GX Developer b 6 UTILITY PACKAGE GX Configurator DN MELSEC Q 6 4 Auto Refresh Purpose Configure t
172. ppropriate action according to the error information Read the communication error information and take an appropriate action according to the error information Check the slave node manual and set the correct input data size Check the slave node manual and set the correct output data size Check the slave node manual and prevent any data of the function not supported by the QJ71DN91 from being sent from the slave node Check the entire network and slave node states for any fault such as disconnection of a terminating resistor Check the entire network and slave node states for any fault such as disconnection of a terminating resistor Check the entire network and slave node states for any fault such as disconnection of a terminating resistor e Check the entire network and slave node states for any fault such as disconnection of a terminating resistor e Check the entire network and slave node states for any fault such as disconnection of a terminating resistor e Check the entire network and slave node states for any fault such as disconnection of a terminating resistor e Check the entire network and slave node states for any fault such as disconnection of a terminating resistor O x 9 TROUBLESHOOTING MELSEC Q Detected ie Detectability in Description Master Slave function function The same node No is set for two or more slave nodes Correct the duplicated Two or more identical node numbers
173. pproved 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 Overseas service Overseas repairs shall be accepted by Mitsubishi s local overseas FA Center Note that the repair conditions at each FA Center may differ 4 Exclusion of loss in opportunity and se
174. puter Performance Se for personal computer Operating system Pc 6 UTILITY PACKAGE GX Configurator DN MELSEC Q e The functions shown below are not available for Windows XP and Windows Vista If any of the following functions is attempted this product may not operate normally Start of application in Windows compatible mode Fast user switching Remote desktop Large fonts Details setting of Display Properties Also 64 bit version Windows XP and Windows Vista are not supported Use a USER authorization or higher in Windows Vista 6 UTILITY PACKAGE GX Configurator DN MELSEC Q 6 3 Utility Package Operation 6 3 1 Common utility package operations 1 Control keys Special keys that can be used for operation of the utility package and their applications are shown in the table below Application Cancels the current entry in a cell Closes the window Moves between controls in the window Used in combination with the mouse operation to select multiple cells for test execution Deletes the character where the cursor is positioned Delete When a cell is selected clears all of the setting contents in the cell Back Deletes the character where the cursor is positioned Page Moves the cursor one page down Completes the entry in the cell 6 UTILITY PACKAGE GX Configurator DN MELSEC Q 2 Data created with the utility package The following data or files that are created with
175. quest gt button Clearing the parameters in the flash ROM is started and Clearing is displayed for Flash ROM Parameter Clearing When clearing the flash ROM parameters is completed Clear Completed is displayed for Flash ROM Parameter Clear Completion 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q After completion of clearing the flash ROM parameters set OFF for Request for Saving Parameters to Flash ROM Select OFF gt button Click the Close button 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q 7 3 2 Program example not using the utility package 1 When using auto configuration a Device list D Reference Device Description i section Parameter Setting Command for Master Function Auto Configuration Command Auto Configuration Flag X01 UO Communicating X14 Auto Configuring X15 Auto Configuration Completion Y11 UO Communication Request 3 3 2 8 Y15 Auto Configuration Request Y17 Request for Saving Parameters to Flash ROM DO Auto Configuration Operation Setting 3 4 5 b Program example Auto configuration 4300 Auto configuration operation setting WOvP H4 Di Le All configuration e Max detection node No 4 TOP HO H3FO DO K1 J Writes parameters to buffer memory H H YI7 4300 Op iF AF d SET H J Sets Auto Configuration Request Y5 X14 to ON d d SET W301 J Auto configuring 1 X15 Won
176. r function e Using auto configuration See 1 e Setting manually See 2 Parameter saving M302 II me m D36 Parameter Area Select Bit Master Auto Comm up HI D37 J Auto Communication Start Setting Start ToP HO 630 D36 K2 j Writes parameters to buffer memory H OU mp Wm JE LE EL j SET vu Sets Request for Saving Parameters to Flash ROM to ON Y17 X6 d SET W303 Saving parameters to flash ROM WW x ar RST 4303 1 Saving parameters to flash ROM completed RST 7 J Sets Request for Saving Parameters to Flash ROM to OFF RST mo J 1 Save the parameters in the buffer memory to a flash ROM Otherwise they are cleared when the power is turned OFF or the CPU module is reset 2 Since the number of writes to flash ROM is limited use Request for Saving Parameters to Flash ROM Y17 only when creating or changing parameters 7 26 7 26 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q 7 4 UO Communication Function 7 4 1 Program example using the utility package Device list Reference Device Description section M11 1 0 Communication Start Command M96 to M11 das Node Communication Status 1st ae ee node Node No 1 Master Function aa eee Neda slave node Node No 4 Receive Data 4th l4th slave node Node No 3 node Node No 3 Y11 UO Communication Request 3 3 2 2 Y100 to Y10F Master Function 2nd BEEN node Node No 2 346 Y110 to Y14F Transmi
177. r greater than the production inhibit time 3 When the set value 1 i e when the expected packet rate 0 ms the watchdog timer monitoring function is disabled 1 Specify an interval of data transmissions from the slave node to the master node 3 When the set value 1 i e when the production inhibit time 0 ms the master node transmits data to the slave node only when output data changes 1 Specify an interval of data transmissions from the master node to the slave node 2 When the specified expected packet rate value is not equal to 1 not equal to 0 ms the expected packet rate must be equal to or greater than the production inhibit time 3 Setting of the set value 1 i e the expected packet rate 0 ms is inhibited 3 Setting of the set value 1 i e the production inhibit time 0 ms is inhibited 1 If the setting of the production inhibit time is shorter than the scan time of the module the master node transmits data to the slave node at the intervals of the module s scan 2 The setting of the production inhibit time must be the same in all bit strobe connections 3 SPECIFICATIONS MELSEC Q 2 Auto Configuration Operation Setting address O3FOH 1008 The operation of auto configuration is set in this area For the execution timing refer to Section 7 3 2 a b Setting details 1 High byte Set an auto configuration type OOH All configuration Defa
178. r of slave nodes that perform I O communication set default values in the areas for the 5th and 6th slave nodes PECIFICATION E MELSEC Q Table 3 25 Details of the expected packet rate and production inhibit time Expected packet rate Production inhibit time 1 Set a communication watchdog timer value for the 1 Set a minimum transmit interval of the slave node Polling Bit strobe Change of state slave node When the communication between the master node and the slave node stops for the duration represented by set value x 4 the slave node executes the operation specified by the Watchdog Timeout Action which is the minimum time during which the slave node can prepare transmit data The master node transmits a polling request to the slave node when this time or longer has elapsed 2 When the specified expected packet rate value is not equal to 1 not equal to 0 ms the expected packet rate must be equal to or greater than the production inhibit time 3 When the set value 1 i e when the expected packet rate 0 ms the watchdog timer monitoring function is disabled Set a communication watchdog timer value for the slave node When the communication between the master node and the slave node stops for the duration represented by set value x 4 the slave node executes the operation specified by the Watchdog Timeout Action 3 When the set value 1 i e when the production inhibit time
179. rdware Test Result Area address 062Fn and take corrective actions ETUP AND PREPARATION ited S MELSEC Q 5 7 Precautions for Network Power Supply This section describes the precautions for network power supply 5 7 1 Network power supply unit position Follow the procedure below to determine the position to install the network power supply unit 1 Calculate the current consumption of each node on the network 2 Measure the total length of the network 3 Referring to Tables 5 4 and 5 5 find a maximum current value corresponding to the network length and the cable type used 4 Ifthe current value calculated at step 1 is less than the one obtained at step 3 any of the positions described on the next page can be used 5 If the current value calculated at step 1 exceeds the one obtained at step 3 install the network power supply unit near the center of the network referring to the next page and check if power can be supplied to all nodes 6 As a result of step 5 if power cannot be supplied to all nodes increase the number of network power supply units Table 5 4 Maximum current capable of being supplied to master slave nodes for each length of the network using thick cables 25 8 00 5 42 2 93 2 01 1 53 1 23 1 03 0 80 0 78 0 69 0 63 Table 5 5 Maximum current capable of being supplied to master slave nodes for each length of the network using thin cables to 20 30 40 so
180. rom Japan this manual does not require application to the Ministry of Economy Trade and Industry for service transaction permission Specifications subject to change without notice A MITSUBISHI ELECTRIC HEADQUARTERS EUROPEAN REPRESENTATIVES EUROPEAN REPRESENTATIVES EURASIAN REPRESENTATIVES MITSUBISHI ELECTRIC EUROPE B V German Branch Gothaer Stra e 8 D 40880 Ratingen Phone 49 0 2102 486 0 Fax 49 0 2102 486 1120 MITSUBISHI ELECTRIC EUROPE B V CZECH REPUBLIC Czech Branch Avenir Business Park Radlick 714 113a CZ 158 00 Praha 5 Phone 420 251 551 470 Fax 420 251 551 471 MITSUBISHI ELECTRIC EUROPE B V French Branch 25 Boulevard des Bouvets F 92741 Nanterre Cedex Phone 33 0 1 55 68 55 68 Fax 33 0 1 55 68 57 57 MITSUBISHI ELECTRIC EUROPE B V Irish Branch Westgate Business Park Ballymount IRL Dublin 24 Phone 353 0 1 4198800 Fax 353 0 1 4198890 MITSUBISHI ELECTRIC EUROPE B V Italian Branch Viale Colleoni 7 1 20041 Agrate Brianza MB Phone 39 039 60 53 1 Fax 39 039 60 53 312 MITSUBISHI ELECTRIC EUROPE B V Poland Branch Krakowska 50 PL 32 083 Balice Phone 48 0 12 630 47 00 Fax 48 0 12 630 47 01 MITSUBISHI ELECTRIC EUROPE B V Spanish Branch Carretera de Rub 76 80 E 08190 Sant Cugat del Vall s Barcelona Phone 902 131121 34 935653131 Fax 34 935891579 MITSUBISHI ELECTRIC EUROPE B V UK
181. rox 2 56A Straight line approximation between 100m and 150m In this configuration the current capacity on the left side is insufficient In this case move the network power supply unit in the direction of insufficient current capacity to the left in the figure above Network power supply unit Terminating resistor Slave node Slave node Slave node Slave node 1 1A 1 25A 0 5A 0 25A 0 25A 0 85A 100m 140m Total power supply distance on the left side 100m Total power supply distance on the right side 140m Total current capacity of the left side 1 1A 1 25A 2 35A Total current capacity of the left side 0 5A 0 25A 0 25A 0 85A 1 85A Max current capacity available for thick cable length of 100m See Table 5 4 approx 2 93A Max current capacity available for thick cable length of 140m See Table 5 4 approx 2 19A Straight line approximation between 100m and 150m As a result of shifting the network power supply unit it is able to supply power to all nodes 5 13 ETUP AND PREPARATION GE S MELSEC Q 4 When using both trunk and drop lines The current capacity is calculated as shown below when the network power supply unit is connected to a network that has a 200m long trunk line of thick cables and a 6m long drop line of a thin cable Network power supply unit Terminating resistor Terminating resistor Master node Slave node Slave node Slave nod
182. rs to flash ROM Create sequence program for saving parameters to flash ROM Refresh setting Configure auto refresh settings Write intelligent function module parameters to CPU module Refresh setting Create sequence program for refresh Programming for control Programming for control Create sequence program for control After writing it to programmable controller reset CPU module Create sequence program for control After writing it to programmable controller reset CPU module Failed Test run Failed OK Set Request for Saving Parameters to Flash ROM Y17 to ON to save parameters to flash ROM 1 Check that power supplies to slave nodes and network are ON and the wiring is correct 5 3 5 3 5 SETUP AND PREPARATION MELSEC Q 5 2 Implementation and Installation This section describes handling precautions to be taken from unpacking to mounting the QJ71DN91 For more details refer to the User s Manual of your programmable controller CPU 5 2 1 Handling precautions 1 Do not drop the module casing or connector or do not subject it to strong impact 2 Do not remove the printed circuit board of the module from its case Doing so may cause a failure 3 Be careful to prevent foreign matter such as wire chips from entering the module It may cause a fire failure or malfunction 4 The top surface of the module is covered with a protectiv
183. s auto refresh settings to the CPU module Perform this operation from the screen for selecting a target intelligent function module 3 Program example UO communication function II y XOF et Sets UO Communication i i S Request to ON 1st slave node Node No 1 Eeer Wechatedt soeqrsdegeedeancpoeartaspicceeicnesereda esereeetad We Error handling program for node No 1 H97 X100 Input data processing program for node No 1 X101 A 2nd slave node Node No 2 H98 Go H98 i Output data processing program i for node No 2 i__cyi03 x Cee eee oe ce ee ie cee ce oo y 3rd slave node Node No 4 PS EEE E E E mg Error handling program for node No 4 i H H99 X110 i aes Input data processing program for node No 4 1 D DE H99 i d d o gt Output data processing program i i for node No 4 com Y EE mm D 4th slave node Node No 3 M100 M100 To ensure consistency of transmit receive data of multiple words take a measure such as providing a handshake area at the end of transmit receive data to check the data transfer For the program example refer to Section 7 1 4 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q 7 4 2 Program example not using the utility package Device list Reference Device Description section M11 UO Communication Command DS M100 to M115 Node Communication Status UO Communicating 1st slave node Node N
184. s set in hexadecimal Set an expected packet rate for the slave node Setting varies depending on the connection type For details refer to Table Expected packet rate 3 25 Setting range 0 to 65535 ms FFFFH 0000 200ms Default Other than OOOOH Set value 1 ms 3 SPECIFICATIONS MELSEC Q Buffer memory HS Item Description address Hex Set an action for watchdog timeout of the slave node 0000 Equivalent to the following Timeout Default 0001H Timeout The connection is placed in timeout status Not recovered until an operator stops the communication and then resumes it 01DEH Watchdog timeout action 0002 Auto Delete The connection is automatically deleted At this time the 1st slave communication stops once and then resumes automatically node The output is cleared once 0003H Auto Reset The communication continues while the connection is maintained The output is not cleared Set a production inhibit time Setting varies depending on the connection type For details refer to Table 01DFH Production inhibit time 3 25 Setting range 0 to 65535 ms FFFFH 0000H 10ms Default Other than 0000H Set value 1 ms 01E0H to 03CFH Settings for 2nd to 63rd slave nodes Same as those for 1st slave node 1 When setting a value of 32768 or more set it in hexadecimal When changing master function parameters set default values for the areas after the changed area Example When changing the numbe
185. shown below 050220000000000 B Function version B Serial No first 5 digits 05022 MELSEC Q 9 TROUBLESHOOTING MELSEC Q H W Information Module Display format Module Name QJ71DN91 Product information 050220000000000 B H W LED Information HAW SW Information Item Value alu 0o00 0000 A Item Item Valu ws Rep Jm E Fees lt lt H m j Stop monitor Close c HM LED Information The LED status of the QJ71DN91 is displayed 0 OFF 1 ON ERR Indicates the ERR LED status MS RED Indicates the MS red LED status MS GREEN Indicates the MS green LED status NS RED Indicates the NS red LED status NS GREEN Indicates the NS green LED status d HW SW Information The switch setting status of the QJ71DN91 is displayed NA Displays the node No setting status MODE Displays the mode switch status APPENDIXE Z MELSEC Q APPENDIXES Appendix 1 External Dimensions The external dimensions of the QJ71DN91 are shown below ak o EE E EE 1 L Pi L QJ71DN91 FN 90 3 54 12 27 4 1 08 Unit mm App App 1 App 1 APPENDIXE z MELSEC Q Appendix 2 Functional upgrade of the QJ71DN91 The table below lists new functions of the QJ71DN91 and serial No and software version of the products that support each function First 5 digits of serial Software version Reference No
186. speed Yes No Eliminate node No duplication Yes Is the slave node set with parameters No UCMM support and message group matched with the No slave node spec Value set for watchdog timeout action matched with No the slave node spec UO configuration No parameters matched with the actual configuration No Y ave the parameters been written No Configure and write correct parameters Yes A Take corrective actions according Is there an error code Yes to the error code No Check the entire network condition such as noise or installation TROUBLESHOOTIN SE MELSEC Q 9 1 4 When unable to communicate with master node when using slave function Unable to communicate with master node NS LED is flashing green or lit red Mode switch set in 3 to 8 Yes Is DeviceNet cable connected to QJ71DN91 s connector securely Yes Is network power supply ON Yes Same communication speed set for all nodes Yes No gt Set Mode switch in range of 3 to 8 and reset No Connect DeviceNet cable securely No gt Turn ON the network power supply No Set same communication speed for all nodes No gt Connect terminating resistors Terminating resistors connected Yes Yes gt Eliminate node No duplication Set correct I O points according to the No
187. ss 01B1n and Error Set Signal for Master Function X03 is set to ON When the error is corrected Error Set Signal for Master Function is set to OFF While I O communication is stopped however it is not set to OFF b After the error is removed setting Error Reset Request for Master Function Y13 to ON clears the error code in Error Information for Master Function address 01B1h Error Reset Request for Master Function Y13 Error Set Signal for Master Function X03 Error Information for Master Function 01B1H Error code MOV FROM instruction cleared 5 Slave Down Signal X04 This signal indicates whether or not there is a slave node that is in I O communication stop status a failed node a H any one of the slave nodes that are set by parameters is detected as a failed node this signal is set to ON OFF All nodes communicating normally ON Faulty node exists b Slave Down Signal X04 is set to OFF when communication with the failed node resumes POINT 1 The I O communication status of each slave node can be confirmed at Node Communication Status address 01BCH to 01BFh 2 Reserved nodes are recognized as failed nodes To prevent a reserved node from being detected as a failed node turn ON the corresponding bit in Failed Node Detection Setting address 01CCH to 01CFH 3 SPECIFICATIONS MELSEC Q 6 Saving Parameters to Flash ROM X06 Parameters Saved t
188. ss 01D4H to O3CFr Confirm that the settings such as node No connection type I O points are correct Correct values if any incorrect setting is identified 7 8 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION Request for Saving Parameters to Flash ROM Y17 Error Set Signal for Master Function X03 Error Information for Master Function 01B1H MELSEC Q 3 Operation flow of parameter saving to flash ROM The following explains the operation flow in the case of saving parameters to the flash ROM When using the utility package refer to Section 7 3 1 3 When not using the utility package refer to Section 7 3 2 3 UO Communication Request Y11 3 UO Communicating X01 Auto Configuration Request Y15 OFF 3 Saving Parameters to Flash ROM X06 Parameters Saved to Flash ROM X07 Parameter Area Select Bit 0630H MOV TO Parameters 4 8 MOV FROM instruction 2 MOV TO instruction 1 Parameter check Flash ROM Set parameters in the following buffer memory areas e Parameters for Master Function address 01D4H to O3CFH e Auto Communication Start Setting address 06314 Specify a parameter saving area in Parameter Area Select Bit address 0630 Set I O Communication Request Y11 and Auto Configuration Request Y15 to OFF When Request for Saving Parameters to Flash ROM 17 is set to ON parameters are checked If the parameter check is co
189. st and perform it after wiring Execute the hardware test in the following sequence Start E Connect network power supply and power it ON See Section 5 5 J Set mode to 9 See Section 5 3 3 y By powering ON from OFF or resetting CPU module test starts y During test MS LED flashes green RUN E E vs Ns ERR When completed normally MS LED stays ON green RUN BD vs LG ERR _ When failed MS LED turns OFF and ERR LED turns ON RUN _ ms LG ERR Normal completion Check error code in Hardware Test Result Area address 062Fn and take corrective actions ETUP AND PREPARATION GE 2 MELSEC Q 5 5 Wiring 1 Connecting a DeviceNet cable The following explains how to connect a DeviceNet cable to the QJ71DN91 V red CAN_H white Shield drain wire CAN_L blue TmT V black The figure above shows the QJ71DN91 s DeviceNet connector Stickers in the colors of respective wires are put on the connector Connect the DeviceNet cable correctly so that the colors of the wires will match those of the stickers 2 Grounding the network The DeviceNet network should be grounded at a single point near the center of the network Connect the cable shield drain wire to the ground terminal of the power supply unit and ground it to the protective ground conductor If multiple po
190. supports UCMM and uses any of message group groups 3 2 and 1 03H Node that supports UCMM and uses message group 1 04H Node that does not support UCMM Group 2 only server Connection type for I O communication 0001H Polling Connection type 0002H Bit strobe 0004H Change of state 0008H Cyclic Low byte Number of input byte modules 01DAH Number of byte modules High byte Number of output byte modules set in hexadecimal Eight bit modules 8 points are counted as one byte module Low byte Number of input word modules 01DBH Number of word modules G High byte Number of output word modules set in hexadecimal DIEN Number of double word Low byte Number of input double word modules modules High byte Number of output double word modules set in hexadecimal 01DDH Expected packet rate Default value is stored 0000H 200ms ee Watchdog timeout action Default value is stored 0000H Timeout O1DFH O Production inhibit time Default value is stored 0000H 10ms 01E0H to 03CFH Settings for 2nd to 63rd slave nodes Same as those for 1st slave node ist slave node PECIFICATION EE MELSEC Q 3 4 6 Communication data area for master function Communication data for the master function are stored in this area 1 Master Function Receive Data address 0700H to O7FFH 1792 to 2047 Data received from each slave node are stored Data are aligned on word boundaries of slave nodes and stored as shown below For do
191. sure correct use CONTENTS SAFE TY PRECAUTIONS Aeir e a A Tar fede t dE dE A 1 PRE VISIONS EE A 4 INTRODUCTIONS EE A 6 EOGONTEIN Lee EE A 6 Compliance with the EMC and Low Voltage Direchives A A 10 Generic Terms and Abbreviations nssesneenneesneennttntttnsttnsttnsttnsttnettnttntnnnnnnnnnnnEnnEnn Enn EnEne nnan n nennen A 10 Definitions of Terminology sinensis aaa daia araa ea A 11 Packing EE A 13 EEN dee ege 1 1 Aker te IC LEE 2 1 2 2 Applicable Systems 24 5 end ee een al edhe aa RR ee a ee ee ee 2 3 2 3 How to Check the Function Version Serial No and Software Version cccccccccccesessessneeeeeeeesneees 2 5 2 4 Precautions on System Configuration ceccecceeeceeeeeeeeeeeeeeeeeeeeeeeeeeeseesaeeeeeeaeeeaeeeaeesaeesaeesaeeeteeeeeresas 2 7 3 1 Performance Specifications ccccccceccesecceeeeeeeeeeeeeeeeeaeeeeneeceaeeceaeeseaeeesaceeseaeeseaeescaeeecaeesteseeaseeseneessaees 3 1 3 1 1 Maximum trunk line distance when using thick and thin Cables AA 3 2 E UNCON DEE 3 3 3 3 I O Signals for Programmable Controller CDU 3 4 SE Re Elei NIE EE 3 4 3 3 2 I O signals for the Master PUNCO eeeeececeeeeeeeeeeteeeteeeeeeeeeeseeseeseesaeseeeseneseeeseneseaeseateneeeneeaaes 3 5 3 3 3 I O signals for the Slave unchon eeeeeceeteeeceteeeeeeeteeeteneceeteeeseeeceetaeseeeseeeseeeeeeeseeeseneseeeteneeeneeeaes 3 13 3 4 Buffer Memory sts ites aiie ited alte ital E deli a E E a Ei aiea 3 17 3451 Buffer memory l
192. t Check rs current value displayed for 11 170 Communication Request If the current value is 1 0 Comm Request select 1 0 Comm Stop Request as a setting value for Y11 1 0 Communication Setting items Reference Item Buffer memory address Hex section 2 Select Parameter Seege Area P Save Parameters Figen ROM ao Save Parameters to Flash ROM 4 Confirm Parameter Contin eege seno Fash ROM _ to Flash ROM 5 Turn Off Parameter 5 Turn Off Parameter Saving Request ssid Request 6 UTILITY PACKAGE GX Configurator DN MELSEC Q 6 5 4 Node configuration status monitor Purpose Monitor the parameter setting status of each slave node Operating procedure Monitor Test screen gt Setting screen Node Configuration Status Monitor Module information Module type DeviceNet Module Module model name QJ71DN91 Config Status Mon Start 1 0 No 0000 Setting item Current value Setting value Node 0 No Param Set Node 1 No Param Set Node 2 No Param Set Node 3 No Param Set Node 4 No Param Set Node 5 No Param Set Node 6 No Param Set Node 7 No Param Set Node 8 No Param Set Node 9 No Param Set Node 10 No Param Set Setting items Reference Item Buffer memory address Hex section Node 0 to Node 63 01B4H to 01B7H 3 4 4 1 6 5 5 Node communication status monitor Purpose M
193. t Data 3rd slave node Node No 4 1 Devices used in the auto refresh function of GX Configurator DN 2 Operation in the utility package a Auto refresh setting Refer to Section 6 4 1 Node Communication Status Node Communication Error Status A SE Se eege M96 to M111 2 Master Function Receive Data X100 to X16F 3 Master Function Transmit Data Y100 to Y14F Auto refresh setting Module information Module type DeviceNet Module Start 1 0 No Module model name QJ71DN91 Module side Transfer word count a JL DEE Transfer PLC side direction Device Module side Setting item Buffer size viv Slave Function Receive Data Node Configuration Status xa Node Communication Status i 1 Node Communication Error Status Node Fault Status RE Failed Node Detection Disable Status 1 Present Link Scan Time 1 gt Minimum Link Scan Time 1 gt Mosman nk Sen Tin a Se Slave Function Communication Status C RSG cael Error Information for Slave Function a ae 1 0 Address Area for Master Function EES Master Function Receive Data SSRs 2 Master Function Transmit Data Elke 3 etka acids a el E ae Slave Function Transmit Data Make text file End setup 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q b Writing intelligent function module parameters Refer to Section 6 3 3 Write parameters of the intelligent function module
194. t a network power supply unit to distribute power to the communication circuit Connect a power supply tap to the trunk line and install a network power supply unit To minimize the affect of noise keep DeviceNet cables power cables and signal lines of I O modules away from each other 2 SYSTEM CONFIGURATION SE SE MELSEC Q Please inquire to ODVA about the following devices that are required to construct a DeviceNet network e Network power supply unit e Power supply tap e Tap e Terminating resistor e DeviceNet cable Contact Open DeviceNet Vendor Association Inc http Awww odva org 2 SYSTEM CONFIGURATION SE MELSEC Q 2 2 Applicable Systems This section describes the systems to which the QJ71DN91 can be applied 1 Applicable modules and base units and No of modules a When mounted with a CPU module The table below shows the CPU modules and base units applicable to the QJ71DN91 and quantities for each CPU model Depending on the combination with other modules or the number of mounted modules power supply capacity may be insufficient Pay attention to the power supply capacity before mounting modules and if the power supply capacity is insufficient change the combination of the modules Applicable CPU afte No of modules CPU type CPU model model Extension base unit Gre T to 8 BEE poz to 24 S 8 SE SS o epucn TP to 64 lQ 25PHCPU aerial lQ25PRHCPU Gees to 36 QO4U
195. t values Stop monitor Execute test Performs a test on the selected items To select more than one item select them while holding down the key Closes the screen that is currently open and returns to the previous screen REMARK The Execute test operation is explained below using an example of writing data to Failed Node Detection Setting 1 Change the setting value for Node 1 to Do not detect Nothing is written to the QJ71DN91 at this point 2 Click the setting value field of Node 1 to select To write more than one setting item at the same time select the items while holding down the key 3 Click Execute test to execute the write operation Upon completion of writing the display in the current value field will change to Do not detect 6 UTILITY PACKAGE GX Configurator DN MELSEC Q 6 5 1 X Y monitor test Purpose Monitor I O signals and tests output signals Operating procedure Monitor Test screen X Y Monitor Test Setting screen X Y Monitor Test Module information Module type DeviceNet Module Start 1 0 No 0000 Module model name QJ71DN91 Setting item Curent value Setting value x00 Watchdog Timer Error Module Normal 01 1 0 Communicating 1 0 Comm Stop D Message Communication Completion OFF X03 Error Set Signal for Master Function Error Occurred x04 Slave Down Signal All Node Comm Normal X05 M
196. ta Slave Function Transmit Data Explanation of items 1 Items Module side Buffer size Displays the buffer memory size of the setting item Module side Transfer word count Displays the number of words to be transferred Transfer direction lt indicates that data are written from the programmable controller CPU to the buffer memory gt indicates that data are loaded from the buffer memory to the programmable controller CPU PLC side Device Enter a CPU module side device that is to be automatically refreshed Applicable devices are X Y M L B T C ST D W R and ZR When using bit devices X Y M L or B set a number that can be divided by 16 points examples X10 Y120 M16 etc Also buffer memory data are stored in a 16 point area starting from the specified device number For example if X10 is entered data are stored in X10 to X1F 6 UTILITY PACKAGE GX Configurator DN MELSEC Q 2 Command buttons Make text file Creates a file containing the screen data in text file format End setup Saves the set data and ends the operation Cancels the setting and ends the operation POINT _ e The auto refresh settings are stored in an intelligent function module parameter file The auto refresh settings become effective by turning the power OFF and then ON or resetting the CPU module after writing the intelligent function module parameters to the CPU module e The auto refresh settings cannot be change
197. te 0 0 bits are significant 0x0001 Poll Only Connection Input Data Name 6 Path Size 20 04 24 64 30 03 Assembly Object Instance 100 Data Help Output Connections Output1 Output Consuming 8 8 byte 0 0 bits are significant 0x0001 Poll Only Connection Output Data Name 6 Path Size 20 04 24 65 30 03 Assembly Object Instance 101 Data Help ParamClass MaxInst 0 Descriptor 0x00 CfgAssembly 0 App 6 App 6 APPENDIXES MELSEC Q MEMO App 7 App 7 INDEX A Add Configuration ccceeeeeeeeeeeneeeeeeenteees 3 35 All configuration 0 0 eee eeeeeteteteteeeteteeeteneeeees 3 35 Auto configuring X14 eseese 3 12 Auto configuration 0 0 eee eeeeeeeeteteteteeeeeeeees A 11 Auto configuration completion X15 3 12 Auto communication start setting 3 46 Auto configuration operation setting 3 35 Auto configuration request ID 3 12 Auto refresh ceccceeecceeeeeseeeeeeeeseeeteeessaees 6 13 B Bit strobe 4 5 Buffer memory let 3 17 BUS error COUNTED eeeeeceeeeeseeeeeeeneeetreeaeees 3 27 Bus Off counter 0 20 eeeeeeeeeeeeeeeeeeteeeteeeteees 3 27 C Change of state oo ee eeeeceeeeeeeeseeeeeeeteeeeees 4 6 Checking the LEDen 9 2 Communication error Codes 9 8 Communication Test 5 10 E EEN 4 7 D Differences from the AJ71DN91 A1SJ71DN91 ee ere eT ae ne ee App 2 E EDS files 25 ease eet aie A
198. teat fle Settingrange SSSSSSSOS S OFF Save Request Start monitor Stop monitor Execute test 1 When the current value for Y11 I O Communication Request is I O Comm Request set I O Comm Stop Request Select I O Comm Stop Request Execute test button 2 When the current value for X01 I O Communicating is UO Communicating set I O Comm Request for Y11 I O Communication Request Select I O Comm Request gt button Then set I O Comm Stop Request for Y11 UO Communication Request Select I O Comm Stop Request gt button Check that the current value for X01 UO Communicating was changed to I O Comm Stop 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q When the current value for Y17 Request for Saving Parameters to 3 Flash ROM is Save Request set OFF for it Select OFF gt button 4 Click the Close button c Clicking the Operation Setting 2 Set Auto Configuration Operation button on the Monitor Test screen will display the 1 Set Auto Configuration Operation screen Follow the setting instructions on Operatio Module information Module type DeviceNet Module Module model name QJ71DN91 Start 1 0 No 0000 Setting item 2 Set Auto Configuration Operation Set a desired value for Auto Configuration Operation Setting as shown below O03F ALL configuration 01 Add config
199. ter saving area When saving the parameters for slave function and the auto communication start setting set Slave Auto Comm for Parameter Saving Area Selection Select Slave Auto Comm Execute test button 5 Set Save Request for Y17 Request for Saving Parameters to Flash ROM Select Save Request Execute test button 6 Parameter saving to the flash ROM is started and Saving is displayed for X06 Saving Parameters to Flash ROM 7 Upon completion of the saving Save Completed is displayed for X07 Parameters Saved to Flash ROM ed oa ee a 8 PROGRAMMING FOR EXECUTING THE SLAVE FUNCTION MELSEC Q 8 If parameter check has failed Error Occurred is displayed for X08 Error Set Signal for Slave Function Check the error code in the current value column of Error Information for Slave Function and take corrective actions Refer to Section 9 2 1 9 After completing the parameter saving to the flash ROM set OFF for Y17 Request for Saving Parameters to Flash ROM Select OFF gt button 10 Click the button Since the number of writes to flash ROM is limited use Request for Saving Parameters to Flash ROM Y17 only when creating or changing parameters 3 When clearing parameters from the flash ROM Refer to Section 7 3 1 4 8 PROGRAMMING FOR EXECUTING THE SLAVE FUNCTION MELSEC Q 8 2 2 Program example not using the utility package 1 Setting exa
200. the 4 Confirm Auto Configured Parameters Param Check screen and check auto configured parameters If there is no problem auto configuration is complete If any repeat the operation from step 1 Save Parameters to Flash ROM If auto configured parameters are to be saved to the Flash ROM open the 5 Save Parameters to Flash ROM screen to save the parameters Fr 1 Scroll the Monitor Test screen and bring up the auto configuration setting area For information on how to display the Monitor Test screen refer to Section 6 3 2 Perform auto configuration according to the following steps 1 to 5 1 Stop I O communication Refer to b 2 Set auto configuration operation Refer to c 3 Execute auto configuration Refer to d 4 Confirm auto configured parameters Refer to e 5 Save parameters to flash ROM Refer to 3 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q b Tt Stop I O Communication Clicking the UO Comm Stop button on the Monitor Test screen will display the 1 Stop I O Communication screen Follow the setting instructions 1 Stop UO Communication Module information Module type DeviceNet Module Start 170 No 0000 Module model name 0J71DN91 Settingitem Lt Curent vae Setting vae jA GH Flash ROM setting Write to Current value Monitoring module Save tie display Select input Sg Loed fe Make
201. ting the CAN chip When any value other than 0 and 1 is set the CAN chip is not reset a Confirming a bus off error A bus off error can be confirmed by a LED and relevant values in the buffer memory 1 LED The NS LED on the QJ71DN91 turns ON red 2 Buffer memory How many times the error occurred is stored in Bus Error Counter address 01B2H and Bus Off Counter address 01B3n PECIFICATION AA MELSEC Q b After resetting the CAN chip The LED and relevant values in the buffer memory are changed as follows 1 LED When the CAN chip is reset the NS LED status on the QJ71DN91 changes as follows turning ON red gt OFF gt flashing green gt remaining ON green 2 Buffer memory Values in Bus Error Counter address 01B2xH and Bus Off Counter address 01B3x are not cleared even if the CAN chip is reset PECIFICATION E MELSEC Q 3 4 4 Node status area for master function The operation status of each slave node is stored in this area 1 Node Configuration Status address 01B4H to 01B7H 436 to 439 The parameter setting status of each slave node is stored e When the corresponding bit is ON Parameters have already been set e When the corresponding bit is OFF Parameters have not been set Table 3 19 Node No corresponding to each bit in Node Configuration Status Buffer memory address Node No corresponding to each bit Bit 15 au Bita on 01B4n Node 15 Node 14 Mode Nodeo SEN No
202. tion Intelligent 32 points 500 m 250 m 100 m 156 m 78m 39m See 3 1 1 Current consumption required on the network Number of writes to flash ROM No of occupied I O points 5 V DC internal current consumption 0 17A Weight 0 11 kg The maximum cable length complies with the DeviceNet Specifications Release 2 0 Volumes 1 and 2 3 SPECIFICATIONS MELSEC Q 3 1 1 Maximum trunk line distance when using thick and thin cables The maximum transmission distance in the case of using thick and thin cables is shown below Table 3 2 Maximum trunk line distance when using thick and thin cables hye Maximum trunk line distance when using thick Communication speed and thin cables 125 kbaud Thick cable length 5 X Thin cable length lt 500 m 250 kbaud Thick cable length 2 5 X Thin cable length lt 250 m 3 500 kbaud Thick cable length Thin cable length lt 100 m PECIFICATION EE MELSEC Q 3 2 Function Lists The functions of the QJ71DN91 are listed below 1 List of master and slave functions Table 3 3 List of master and slave functions F ae Reference Function Description section The QJ71DN91 master node can exchange I O data with each slave node up to 63 nodes using its own buffer 1 0 memory At communication Transfer of 512 input bytes up to 256 bytes per node and 512 output bytes up to 256 bytes per node is available The connection type is
203. tting Error Reset Request for Slave Function Y18 to ON clears the error code in Error Information for Slave Function address 06014 Error Reset Request for Slave Function Y18 Error Set Signal for Slave Function X08 _ Error Information for Slave Function 0601H MOV FROM instruction Error code cleared 5 Module Ready XOF Refer to Section 3 3 2 7 3 SPECIFICATIONS 3 4 Buffer Memory This section explains the buffer memory of the QJ71DN91 3 4 1 Buffer memory list The buffer memory list is shown in Table 3 6 Table 3 6 Buffer memory list 1 2 Availability Item Description Master Slave S function function E 0 to 271 Use prohibited 010Fx ge SE 01A7H 01A8 to 272 to 287 Message Communication A command for message Command communication is set 288 to 303 Message Communication Stores resu data of message Result communication 304 to 423 Message Communication Stores transmit and receiye data of o Data message communication EA 424 to 431 Use prohibited H 432 Master Function Stores the communication status of Communication Status the master function O O1AFi 01B0u 01B1H 01B2u 01B3x EE eee ce er Master Function the error occurred Stores an illegal frame count of the 434 Bus Error Counter CAN chip communication chip for DeviceNet when it exceeds 96 Stores the number of times the 435 Bus Off Counter QJ71DN91 was placed in the bus off st
204. uble word data the low word is stored first and then the high word When the number of byte input modules is an odd number one byte of an empty area is inserted Bit input modules are treated in the same way as byte input modules The following is an example lt Example gt 1st node Number of byte input modules 3 Number of word input modules 2 Number of double word input modules 2 2nd node Number of byte input modules 1 3rd node Number of byte input modules 1 Buffer memory address 0700H When the number of byte input modules is an odd number one byte of an empty area is inserted 1st byte module 2nd byte module 07011 3rd byte module 07024 1st word module 07031 2nd word module Low word of the Input data of the 1st node SE 1st double word module High word of SE the 1st double word module Low word of 0706 the 2nd double word module 07074 High word of the 2nd double word module 0708 1st byte module gt Input data of the 2nd node 0709 1st byte module gt Input data of the 3rd node Word input module Numeric data represented by 9 to 16 bits Double word input module Numeric data represented by 17 to 32 bits Byte input module ON OFF data or numeric data represented by 1 to 8 bits PECIFICATION eS A ae MELSEC Q 2 Master Function Transmit Data address 0900H to O9FFH 2304 to 2559 Data to be sent to each slave node are set in this
205. ult 01H Add configuration 2 Lowbyte Set the maximum detection node No 00H to 3FH 0 to 63 Default 3Fx Operation of auto configuration 1 When All configuration is set e Clears all of Parameters for Master Function address 01D4n to 03CFH Except the Constant scan area e Detects all of the slave nodes within a range from node 0 to the maximum detection node on the network e Stores parameters of the detected slave nodes into the Parameters for Master Function area address 01D4H to 03CFn 2 When Add configuration is set e Detects all of the slave nodes within a range from node 0 to the maximum detection node on the network except for slave nodes that have been already set to the master node e Stores parameters of the detected slave nodes into the area after the preset area in Parameters for Master Function address 01D4H to O3CFH Note that the area after the parameter storing area is not cleared PECIFICATION E MELSEC Q c Contents of Parameters for Master Function set by auto configuration An execution of auto configuration reads parameters of each slave node and writes them to Parameters for Master Function address 01D4H to O3CF Set values can be changed in sequence programs or GX Configurator DN Table 3 26 Auto configuration settings ES Item Description address Hex Low byte Node No MAC ID of the 1st slave node OOH to 3FH 0 to 63 Node No and message High byte 01H Node that
206. um Operating System Microsoft Windows Vista Business Operating System Microsoft Windows Vista Ultimate Operating System Microsoft Windows Vista Enterprise Operating System Generic term for the following Windows XP Microsoft Windows XP Professional Operating System Microsoft Windows XP Home Edition Operating System Definitions of Terminology Terms used in this manual and their definitions are listed below Function that allows I O input output data communications between master and slave UO communication function nodes er Function that allows reading or writing of slave node s attribute data in response to a Message communication y as ES request message For further details refer to the DeviceNet common service in the unction DeviceNet Specifications Release2 0 Device that exchanges I O data with slave nodes which are configured with the master Master node function parameters Device that exchanges UO data with a master node Master slave node Device that operates as a master and slave node Parameters for setting information such as connection type or I O points which are used to Master function exchange I O data with respective slave nodes when the QJ71DN91 is used as a master parameters node Configured in sequence programs or GX Configurator DN Function that detects slave nodes on the network and automatically creates master function parameters i Two options are available Al
207. under which the slave node notifies this error and take an appropriate action Check whether or not the specified MAC ID class ID instance ID and attribute ID are correct Verify the current status by reading the attribute Referring to the slave node manual check the condition under which the slave node notifies this error and take an appropriate action Check whether or not the specified MAC ID class ID instance ID and attribute ID are correct Referring to the slave node manual check the condition under which the slave node notifies this error and take an appropriate action Check whether or not the specified MAC ID class ID instance ID and attribute ID are correct Referring to the slave node manual check the condition under which the slave node notifies this error and take an appropriate action 9 TROUBLESHOOTING Error Detected BS d in Description Action in e Check whether or not the specified MAC ID class ID instance ID and attribute ID are correct The requested service cannot be executed in the Slave node i e Referring to the slave node manual check the current device status T t condition under which the slave node notifies this error and take an appropriate action MELSEC Q Check the entire network and slave node states for QJ71DN91 Slave node did not respond any fault such as slave node failure or disconnection of a terminating resistor e Check whether or not the specified M
208. uration For set a maximum detectable node number in Hex Ex 0104 is set when the maximum detectable node number is 10 Current value Setting value a After entering a setting value select the setting item and click on Execute test Auto Configuration Operation Setting Flash ROM setting Write to Current value module Save file display Read from module Load file Make text file Stop monitor Execute test DIE 1 Details Monitoring Hexadecimal input Setting range 0000 FFFF Close Set the auto configuration operation Refer to Section 3 4 5 To specify All configuration set 003F for Auto Configuration button 1 Operation Setting Select 003F Execute test 2 Click the Close button 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION MELSEC Q d D Execute Auto Configuration Clicking the Auto Config button on the Monitor Test screen will display the 3 Execute Auto Configuration screen Follow the setting instructions 3 Execute Auto Configuration Module information Module type DeviceNet Module Start 1 0 No 0000 Module model name QJ71DN91 Setting item Current value Setting value 3 Execute Auto Configuration After completion of step1 and 2 execute auto configuration Select Config Request in V15 Auto Configuration Request setting and click on Execute test
209. ure to do so may cause a failure or malfunctions of the module DISPOSAL PRECAUTION 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 Dec 2000_ SH NA 080143 A First Printing SH NA 080143 B Addition Section 2 3 2 4 Delete Section 2 2 1 2 2 2 Correction SAFETY PRECAUTIONS About the Generic Terms and Abbreviations Product Configuration Section 2 2 2 4 Section 6 2 6 2 1 6 2 2 6 3 3 6 5 Feb 2002 SH NA 080143 C Correction About the Generic Terms and Abbreviations Section 2 2 Section 6 2 1 6 2 2 Dec 2002 SH NA 080143 D Section 2 5 Correction Section 2 2 Section 3 3 2 3 4 1 Section 6 1 6 2 1 6 3 2 6 4 6 5 Section 9 2 1 9 2 2 Feb 2003 SH NA 080143 E Correction SAFETY PRECAUTIONS INTRODUCTION CONTENTS Section 6 2 2 Section 6 3 3 Section 6 4 Section 6 5 May 2003 SH NA 080143 F Correction Section 6 3 1 Jun 2004 SH NA 080143 G ken Correction Section 2 2 2 3 Section 3 3 2 Section 4 2 1 Section 6 3 2 6 5 6 6 Section 7 3 2 Section 8 1 8 3 Section 9 3 Feb 2006 SH NA 080143 H SAFETY PRECAUTIONS Compliance with the EMC and Low Voltage Directives Section 1 1 Section 2 1 2 3 Section 3 2 1 3 4 3 5 Section 4 1 4 2 1 Chapter 5 Chapter 6 screen change Sect
210. ut 8 point output Flex I O DeviceNet adapter DRT1 ID08 DRT1 OD08 16 point input 1794ADN 1B16 3 1 The QJ71DN91 master node is installed to slot 0 of the base unit with the start I O No set to OO00H 2 The QJ71DN91 slave node is installed to slot 1 of the base unit with the start I O No set to 0020H 3 Rockwell Automation s Flex UO DeviceNet adapter has input data of two bytes for its status It also has 2 byte input data and 2 byte output data 2 Settings a Settings of the master node QJ71DN91 master node For communication with the 1st to 4th slave nodes set the information such as connection type and I O points as the parameters for master function Refer to Section 7 3 Setting Node No Node No switches 0 00 Communication speed Mode switch 125kbaud Mode 0 Recevedata X10 to ep Transmit data Y100 to Y14F 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION b MELSEC Q Settings of the slave nodes For the setting of node No and communication speed refer to the manual for each slave node 1 1st slave node Omron s CompoBus D 8 point input DRT 1 ID08 Setting Node No 1 Communication speed 125kbaud Connection type Polling o points 8 input points 2 2nd slave node Omron s CompoBus D 8 point output DRT1 OD08 Node No 2 Communication speed 125kbaud Connection type Polling I O points 3 3rd slave node QJ71DN91 slave node Node No Nod
211. viceNet network faulty nodes will behave as follows 1 The master node QJ71DN91 holds input data which had been received from slave nodes before the error occurred 2 Whether output signals of a slave node are turned off or held is determined by the slave node s specifications or the parameters set at the master node When the QJ71DN91 is used as a slave node it holds data that have been input from the master node before the communication error Utilizing communications states of slave nodes create an interlock circuit on sequential programs and provide safety mechanism externally so that the system will operate safely A CAUTION e Do not install control wires or communication cables together with the main circuit or power wires or bring them close to each other Keep a distance of 300 mm 11 8 inch or more between them Failure to do so may cause malfunctions due to noise INSTALLATION PRECAUTIONS A CAUTION e Use the programmable controller in an environment that meets the general specifications contained in the User s Manual of the CPU module used Using it in an environment that does not meet them may result in an electric shock fire malfunction and damage to or deterioration of the product e While pressing the installation lever on the lower part of the module insert the module fixing projection into the hole in the base unit Then securely mount the module Incorrect module mounting may cause the module to malfu
212. wer supply units exist on the network ground only the power supply unit near the center of the network and do not ground others Also in such a case use power supply taps Power supply tap Power supply tap near the center of the network Power supply tap Vi CAN H Shield drain wire CAN_L V FG V V Power supply unit FG V V Power supply Power supply unit unit 5 SETUP AND PREPARATION 5 6 Communication Test When failed MS LED turns OFF and ERR MELSEC Q The transmission and reception tests are performed after connecting the QJ71DN91 and other DeviceNet devices with DeviceNet cables There is no restriction on the node No setting of the communication target Execute the test in the following sequence Start y Connect QJ71DN91 and other DeviceNet devices with DeviceNet cables See Section 5 5 Set same communication speed as those of other DeviceNet devices Set mode to A B or C See Section 5 3 3 y Turn ON network power supply and other DeviceNet devices y By powering ON from OFF or resetting CPU module test starts During test MS LED flashes green RUN E vs LINs ERR When completed normally MS LED stays ON green RUN His INS ERR LED turns ON RUN WE LINs ERR lt est rest gt Failed Normal completion End Check error code in Ha
213. y utility package A utility package GX Configurator DN is separately available Although the utility package is not essential it allows on screen parameter setting and automatic refresh setting reduces programming steps and make the setting and operation status check easy 2 SYSTEM CONFIGURATION MELSEC Q 2 SYSTEM CONFIGURATION This chapter explains the system configuration of DeviceNet 2 1 Overall Configuration The number of modules connectable to a DeviceNet network is 64 including master 2 slave and master slave nodes The QJ71DN91 can be used as a master node a slave node or a master slave node The following shows an example of a system configuration QJ71DN91 Master node J8 Drop line Network power supply unit 24V DC Trunk line main line Terminating resistor 1219 1 4W QJ71DN91 Slave node j Slave node Terminating resistor 1219 1 4W Power supply tap Drop line branch line Slave node 1 DeviceNet cables taps and terminating resistors DeviceNet cables are used as a trunk line and drop lines Each node is connected to the trunk line directly or connected to a drop line via a tap from the trunk line Nodes need not be wired in order of node numbers Connect terminating resistors at both ends of the trunk line 2 Network power supply unit and power supply tap In addition to power supply for each node connec

Download Pdf Manuals

image

Related Search

Related Contents

抜粋を見る(PDF:3.92MB) - 三井不動産レジデンシャルサービス    Air to Water Heat Pump PUHZ  Electrolux 8490 D Ventilation Hood User Manual  都市部の高齢化対策に関する検討  Harbor Freight Tools 94191 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file