background image

 
 

 

10 - 16                                                                                                                                                       10 - 16 

MELSEC-Q

10   TROUBLESHOOTING 

 

10.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: 
0133

H

). 

Read it when Message Communication Completion signal (X02) is set to on, and 
check the error details. (Valid when Communication error code is 35 (0023

H

).) 

  

Error code 

Error name 

Description 

Hex. Dec. 

0000

H

 to 0001

H

 

0 to 1 

Reserved 

Reserved by DeviceNet. 

0002

H

 2 

Resource 

unavailable 

The requested service could not be executed because there was no 
space in the required resource. 

0003

H

 to 0007

H

 

3 to 7 

Reserved 

Reserved by DeviceNet. 

0008

H

 8 

Service 

not 

supported 

The requested service is not supported. Or, the requested service is not 
defined by the specified object class/instance. 

0009

H

 

Invalid attribute value 

The requested service had an error in the attribute data. 

000A

H

 

10 

Reserved 

Reserved by DeviceNet. 

000B

H

 

11 

Already in requested mode/state 

The specified object has already been changed into the requested 
mode/status. 

000C

H

 

12 

Object state conflict 

The specified object was not in the state that could execute the requested 
service. 

000D

H

 

13 

Reserved 

Reserved by DeviceNet. 

000E

H

 

14 

Attribute not settable 

The requested setup service specified an unchangeable attribute. 

000F

H

 

15 

Privilege violation 

The service requester did not have the access privilege. 

0010

H

 16 

Device 

state 

conflict 

The specified device was not in the state that could execute the 
requested service. 

0011

H

 

17 

Reply data too large 

The response data length exceeded the data length that can be 
processed. 

0012

H

 

18 

Reserved 

Reserved by DeviceNet. 

0013

H

 

19 

Not enough data 

The requested service did not provide sufficient data to execute 
processing. 

0014

H

 

20 

Attribute not supported 

The requested service specified an undefined attribute. 

0015

H

 

21 

Too much data 

The requested service includes invalid data. 

0016

H

 

22 

Object does not exist 

The requested service specified an unimplemented object. 

0017

H

 

23 

Reserved 

Reserved by DeviceNet. 

0018

H

 

24 

No stored attribute data 

The attribute data of this object had not been saved before this service 
was requested. 

0019

H

 

25 

Store operation failure 

The attribute data of this object was not saved due to an error that 
occurred during the save operation. 

001A

H

 to 001E

H

 

26 to 30 

Reserved 

Reserved by DeviceNet. 

001F

H

 31 

Vendor 

specific 

error 

A vender-specific error occurred. A specific error occurred is indicated in 
the "Additional error code" area (0134

H

) of the error response. This error 

code can be used only when the error codes shown in this table and 
object class definitions do not apply to the corresponding error. 

0020

H

 32 

Invalid 

parameter 

The requested service had a parameter error. This code can be used 
only when the parameter satisfies neither the requirements of the 
DeviceNet specifications nor the requirements defined by application 
object specifications. 

0021

H

 to 0027

H

 

33 to 39 

Future extensions 

Reserved by DeviceNet. 

0028

H

 

40 

Invalid Member ID 

An unimplemented class/instance/attribute was specified for the member 
ID of the requested service.  

0029

H

 

41 

Member not settable 

The requested setup service specified an unchangeable member. 

002A

H

 to 00CF

H

 

42 to 207 

Reserved 

Reserved by DeviceNet. 

00D0

H

 to 00FF

H

 

208 to 255 

Reserved for Object Class and service errors

This error code range is used to indicate errors specific to the object 
class. The code in this range can be used only when any error code in 
this table does not correctly explain the error that occurred. Using the 
"Additional error code" area (0134

H

), the "General DeviceNet error code" 

area (0133

H

) can be explained in detail. 

 

Summary of Contents for QJ71DN91

Page 1: ...DeviceNet Master Slave Module User s Manual QJ71DN91 GX Configurator DN SW1D5C QDNU E ...

Page 2: ......

Page 3: ...anual in a safe place for future reference DESIGN PRECAUTIONS WARNING If a communications error occurs on a DeviceNet 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 paramet...

Page 4: ... directly touch the conductive area or electric components of the module Doing so may cause malfunction or failure in the module WIRING PRECAUTIONS WARNING 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 CAUTION Be careful to prevent foreign matter such as dust or wir...

Page 5: ...r a fire 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 Do not install remove the module to from the base unit more than 50 times after the first use of the product IEC 61131 2 compliant Failure to do so may cause malfunction Before handling the module touch a grounded metal...

Page 6: ... use of the PRODUCT in Nuclear Power Plants and any other power plants operated by Power companies and or any other cases in which the public could be affected if any problem or fault occurs in the PRODUCT Railway companies or Public service purposes and or any other cases in which establishment of a special quality assurance system is required by the Purchaser or End User Aircraft or Aerospace Me...

Page 7: ...tion 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 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...

Page 8: ...080143 L Addition CONDITIONS OF USE FOR THE PRODUCT Chapter 9 Section 3 4 15 3 4 16 Section Numbers Changed Chapter 9 Chapter 10 Correction GENERIC TERMS AND ABBREVIATIONS Section 1 1 2 2 2 3 3 4 1 3 4 3 3 5 1 4 1 4 3 6 2 1 7 1 7 3 7 4 2 7 8 8 3 2 10 2 1 Appendix 2 Sep 2014 SH NA 080143 M Addition Appendix 4 5 Section Numbers Changed Section 3 5 1 Section 3 5 3 Section 3 5 3 Section 3 5 1 Appendix...

Page 9: ...Version 2 7 2 4 Precautions on System Configuration 2 10 3 SPECIFICATIONS 3 1 to 3 50 3 1 Performance Specifications 3 1 3 1 1 Maximum trunk line distance when using thick and thin cables 3 2 3 2 Function Lists 3 3 3 3 I O Signals for Programmable Controller CPU 3 4 3 3 1 I O signal list 3 4 3 3 2 I O signals for the master function 3 5 3 3 3 I O signals for the slave function 3 13 3 4 Buffer Memo...

Page 10: ...en using both the master and slave functions 5 3 5 2 Implementation and Installation 5 4 5 2 1 Handling precautions 5 4 5 2 2 Installation environment 5 4 5 3 Part Names and Settings 5 5 5 3 1 LED indications 5 6 5 3 2 Node number switches 5 7 5 3 3 Mode switch 5 7 5 4 Hardware Test 5 8 5 5 Wiring 5 9 5 6 Communication Test 5 10 5 7 Precautions for Network Power Supply 5 11 5 7 1 Network power sup...

Page 11: ...recautions 7 1 7 2 System Configuration 7 4 7 3 Parameters for Master Function 7 7 7 3 1 Program example using the utility package 7 10 7 3 2 Program example not using the utility package 7 23 7 4 I O Communication Function 7 27 7 4 1 Program example using the utility package 7 27 7 4 2 Program example not using the utility package 7 29 7 5 Message Communication Function 7 32 7 5 1 Example of read...

Page 12: ... message communication for the master function only 10 16 10 3 Checking the QJ71DN91 Status by System Monitor in GX Developer 10 17 APPENDIXES App 1 to App 12 Appendix 1 External Dimensions App 1 Appendix 2 Functional Upgrade of the QJ71DN91 App 2 Appendix 3 Differences from the AJ71DN91 A1SJ71DN91 App 2 Appendix 3 1 Functions App 2 Appendix 3 2 I O signals App 3 Appendix 3 3 Buffer memory App 5 A...

Page 13: ...ures may be necessary Please refer to one of the following manuals QCPU User s Manual Hardware Design Maintenance and Inspection Safety Guidelines This manual is included with the CPU module or base unit The CE mark on the side of the programmable controller indicates compliance with EMC and Low Voltage Directives 2 Additional measures No additional measures are necessary for the compliance of thi...

Page 14: ...viceNet master slave module Personal computer The abbreviation for an IBM PC AT compatible personal computer Windows XP A generic term for the following Microsoft Windows XP Professional Operating System Microsoft Windows XP Home Edition Operating System Windows Vista A generic term for the following Microsoft Windows Vista Home Basic Operating System Microsoft Windows Vista Home Premium Operating...

Page 15: ...figuration 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 Slave function parameters Parameters provided for changing the number of I O points for a slave node when the QJ71DN91 is used as a slave node Configured in sequence programs or GX Configurator DN Aut...

Page 16: ...el Product name Quantity QJ71DN91 QJ71DN91 DeviceNet master slave module 1 Terminating resistor 121 1 4W 2 Connector 1 SW1D5C QDNU E GX Configurator DN Version 1 single license product CD ROM 1 SW1D5C QDNU EA GX Configurator DN Version 1 volume license product CD ROM 1 ...

Page 17: ...ins the features of the QJ71DN91 1 Operating as a DeviceNet master node 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...

Page 18: ...for setting master function parameters 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 ca...

Page 19: ...mmunication Slave function I O communication I O communication I O communication I O communication 4 Preventing inconsistency of I O data When I O data is read from written to the buffer memory of the QJ71DN91 data inconsistency can be avoided using Data consistency dedicated instruction DNTMRD DNTMWR DNTSRD DNTSWR Refer to Chapter 9 5 Easy setting using GX Configurator DN The number of sequence p...

Page 20: ...line Trunk line main line QJ71DN91 Master node QJ71DN91 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 Networ...

Page 21: ...lease inquire to ODVA about the following devices that are required to construct a DeviceNet network Network power supply unit Power supply tap Tap Terminating resistor DeviceNet cable Contact Open DeviceNet Vendor Association Inc http www odva org 2 ...

Page 22: ...ed 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 module No of modules 1 Base unit 2 CPU type CPU model Main base unit Extension base unit Programmable controller CPU Basic model QCPU 3 Q00JCPU Up to 8 Q00CPU Up to 24 Q01CPU Hig...

Page 23: ...HCPU Q13UDVCPU Q13UDEHCPU Q20UDHCPU Q20UDEHCPU Q26UDHCPU Q26UDVCPU Q26UDEHCPU Q50UDEHCPU Q100UDEHCPU Safety CPU QS001CPU N A C Controller module Q06CCPU V Up to 64 Q06CCPU V B Q12DCCPU V Q24DHCCPU V Up to 62 Q24DHCCPU LS Applicable 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 number first five digi...

Page 24: ...2 5 2 5 MELSEC Q 2 SYSTEM CONFIGURATION 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 ...

Page 25: ... later Multiple CPU system Q02U Q03UD Q04UDH Q06UDHCPU Single CPU system Version 8 48A or later Version 1 23Z or later Multiple CPU system Q10UDH Q20UDHCPU Single CPU system Version 8 76E or later Version 1 24AA or later Multiple CPU system Q13UDH Q26UDHCPU Single CPU system Version 8 62Q or later Version 1 23Z or later Multiple CPU system Q03UDE Q04UDEH Q06UDEH Q13UDEH Q26UDEHCPU Single CPU syste...

Page 26: ...etting methods are common to those for other intelligent function modules Refer to the GX Works2 Version 1 Operating Manual Intelligent Function Module For a different operation from other intelligent function modules refer to Appendix 4 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 progr...

Page 27: ...sion and serial number of the QJ71DN91 a Checking at the SERIAL field of the rating plate located on the side of the module The serial number and function version of the module are shown in the SERIAL field of the rating plate Serial No Upper 5 digits Function version Relevant regulation standards b Checking the front of the module The serial number and function version are also printed on the fro...

Page 28: ...N91 does not support the product number display is displayed POINT The serial No displayed in the Product Information List of GX Developer may be different from the one on the rating plate and the front of the module The serial number on the raging plate and the front of the module indicates the management information on the product The serial No in the Product Information List of GX Developer ind...

Page 29: ...NFIGURATION 2 Checking the software version of GX Configurator DN To check the software version of GX Configurator DN select Help and then Product information from GX Developer In the case of GX Developer Version 8 Software version ...

Page 30: ...ns 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 ...

Page 31: ...e Max 4096 points 512 bytes max 256 bytes per node Message communication Send Max 240 bytes Receive Max 240 bytes Slave function Node type DeviceNet slaves Group 2 server Node No 0 to 63 Number of connections I O connection 1 polling Communication data size I O communication Send Max 1024 points 128 bytes Receive Max 1024 points 128 bytes Communication speed Selectable from 125 kbps 250 kbps and 5...

Page 32: ...ng thick and thin cables is shown below Table 3 2 Maximum trunk line distance when using thick and thin cables Communication speed Maximum trunk line distance when using thick and thin cables 125 kbaud Thick cable length 5 Thin cable length 500m 250 kbaud Thick cable length 2 5 Thin cable length 250m 500 kbaud Thick cable length Thin cable length 100m 3 ...

Page 33: ... 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 4 3 2 List of configuration functions Table 3 4 List of configuration functions Function Description Reference section Saving data to flash ROM The following parameters in the buffer memory can be stored in the flash ROM inside the QJ71DN91 ...

Page 34: ... O Communicating Y01 X02 Message Communication Completion Y02 X03 Error Set Signal for Master Function Y03 X04 Slave Down Signal Y04 X05 Message Communication Error Signal Y05 X06 Saving Parameters to Flash ROM Y06 X07 Parameters Saved to Flash ROM Y07 X08 Error Set Signal for Slave Function Y08 X09 Use prohibited Y09 X0A H W Test in Progress For hardware test Y0A X0B H W Test Completion For hardw...

Page 35: ... is on a When starting I O communication by I O Communication Request Y11 When I O Communication Request Y11 is set to on parameters are checked 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 ...

Page 36: ...eck POINT 1 I O 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 Auto Configuration Request Y15 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 elaps...

Page 37: ...led 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 I O Communication Request Y11 to on and then off stops I O communication with each slave node causing I O Communicating X01 to turn off When parameter check completed successfully M...

Page 38: ...ow 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...

Page 39: ...ddress 01B1H Error Reset Request for Master Function Y13 Error Set Signal for Master Function X03 OFF OFF OFF OFF ON ON Error Information for Master Function 01B1H MOV FROM instruction Error code 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 If any one of the slave nodes that are set by parameters...

Page 40: ...et 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 d Upon completion of parameter saving to the flash ROM Parameters Saved to Flash ROM X07 is set to on e When Request for Saving Parameters to Flash ROM Y17...

Page 41: ... that I O Communicating X01 is off set Request for Saving Parameters to Flash ROM Y17 to off and then on 2 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 I O Communication Request Y11 Auto Configuration Request Y15 Set the output signal to off and then set Request for Saving Parameters t...

Page 42: ...FF ON ON I O Communication Request Y11 I O Communicating X01 Auto Configuration Completion X15 Auto Configuring X14 Auto Configuration Request Y15 POINT 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 I O Communication Request Y11 Request for Saving Parameters to Flash ROM Y17 Turn the output signals t...

Page 43: ...k 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 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...

Page 44: ...eck POINT 1 I O 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 Auto Configuration Request Y15 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 elaps...

Page 45: ...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 OFF OFF ON ...

Page 46: ...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 setting Error Reset Request for Slave Function Y18 to on clears the error code in Error Information for Slave Function address 0601H Error Reset Request for Slave Function Y18 Error ...

Page 47: ...er Stores the number of times the QJ71DN91 was placed in the bus off status R 01B4H to 01B7H 436 to 439 Node Configuration Status Stores parameter setting status of each slave node R 3 4 4 01B8H to 01BBH 440 to 443 Use prohibited 01BCH to 01BFH 444 to 447 Node Communication Status Stores I O communication status of each slave node R 3 4 4 01C0H to 01C3H 448 to 451 Node Communication Error Status S...

Page 48: ...are Test Item Area Stores the test item number of the hardware test or communication test that is currently being executed For hardware test R 3 4 12 062FH 1583 Hardware Test Result Area Stores the result of the hardware test or communication test For hardware test R 0630H 1584 Parameter Area Select Bit Select the area of the parameters to be saved to a flash ROM R W 3 4 13 0631H 1585 Auto Communi...

Page 49: ...00H to 0C3FH 3072 to 3135 Slave Function Transmit Data Data to be sent to the master node is set R W 3 4 10 0C40H to 7FFFH 3136 to 32767 Use prohibited 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 ...

Page 50: ...Set Attribute Buffer memory address Hex Item Description 0110H Command No 0102H Set Attribute 0111H Slave node No slave MAC ID class ID Low byte Node No of the slave node MAC ID High byte Class ID of the object 0112H Instance ID Instance ID of the object 0113H Attribute ID Low byte Attribute ID of the object High byte Byte length of the attribute data to be set 1 to 240 1H to F0H c Reading communi...

Page 51: ...ribute Buffer memory address Hex Item Description 0120H Command No 0101H Get Attribute 0121H Execution error code Normal completion 0000H Failed Execution error code Refer to Section 10 2 2 0122H Slave node No slave MAC ID class ID Low byte Node No of the slave node MAC ID High byte Class ID of the object 0123H Instance ID Instance ID of the object 0124H Attribute ID data length Low byte Attribute...

Page 52: ...n 10 2 2 0122H Slave node No slave MAC ID class ID Low byte Node No of the slave node MAC 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 address Hex Item Description 0120H Command No FE H Refer to DeviceNet Common Service for 0121H Execution error code Normal completion 0000H Faile...

Page 53: ...tting attribute data of a slave node Attribute data is stored in units of bytes 2nd byte 4th byte 6th byte 1st byte 3rd byte 5th byte 0130H 01A7H to 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 4th byte 6th byte 1st byte 3rd byte 5th byte 0130H 01A7H Attribute data to be set to ...

Page 54: ... Refer to Section 10 2 3 1 0134H Additional error code Stores an additional error code sent from the slave node 2 0135H Heartbeat timeout count Stores the number 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 ...

Page 55: ...tion 00H Offline Being initialized 40H Stop I O communication stopped C0H Operate 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 00H to Stop 40H When I O Communication Request Y11 is set to on the status changes to Operate C0H 2 When Start is set for Auto Communication Start Setting...

Page 56: ...g on the communication status each bit turns on off as shown below Bit 7 A faulty node exists Parameter error Network has a serious problem and communication is not available Always off If the corresponding bit is on any of these errors may have occurred Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Always off ...

Page 57: ...de QJ71DN91 0H to 3FH 0 to 63 Node No MAC ID of the slave node where an error occurred POINT If errors occur at multiple nodes the error information of the node with the smallest node No MAC ID is stored 3 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 com...

Page 58: ... 3 2 2 2 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 Starting I O communication Refer to Section 3 3 2 6 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 ...

Page 59: ... 0 01C1H Node 31 Node 30 Node 17 Node 16 01C2H Node 47 Node 46 Node 33 Node 32 01C3H Node 63 Node 62 Node 49 Node 48 POINT 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 When the corresponding bit is on Fault information exists When the corresponding bit ...

Page 60: ...ponding 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 Buffer memory address Node No corresponding to each bit Hex Bit 15 Bit 14 Bit 1 Bit 0 01CCH Node 15 Node 14 Node 1 Node 0 01CDH Node 31 Node 30 Node 17 Node 16 01CEH Node 47 Node 46 Node 33 Node 32 01CFH Node 63 Node 62 Node 49 Node 48 POIN...

Page 61: ...hat 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 01D9H Connection type Select a connection type for I O communication 0001H Polling 0002H Bit strobe 0004H Change of state 0008H Cyclic 01DAH Number of byte modules Low byte Number of input byte modules High byte Nu...

Page 62: ...03H Auto Reset The communication continues while the connection is maintained The output is not cleared 01DFH Production inhibit time Set a production inhibit time Setting varies depending on the connection type For details refer to Table 3 25 Setting range 0 to 65535ms FFFFH 1 0000H 10ms Default Other than 0000H Set value 1 ms 01E0H to 03CFH Settings for 2nd to 63rd slave nodes Same as those for ...

Page 63: ...greater than the production inhibit time 3 When the set value 1 i e when the expected packet rate 0ms the watchdog timer monitoring function is disabled 3 When the set value 1 i e when the expected packet rate 0ms the watchdog timer monitoring function is disabled Change of state 1 Set a communication watchdog timer value for the slave node When the communication between the master node and the sl...

Page 64: ... Function address 01D4H to 03CFH Except the Constant scan area Detects all of the slave nodes within a range from node 0 to the maximum detection node on the network Stores parameters of the detected slave nodes into the Parameters for Master Function area address 01D4H to 03CFH 2 When Add configuration is set Detects all of the slave nodes within a range from node 0 to the maximum detection node ...

Page 65: ... Group 2 only server 01D9H Connection type Connection type for I O communication 0001H Polling 0002H Bit strobe 0004H Change of state 0008H Cyclic 01DAH Number of byte modules Low byte Number of input byte modules High byte Number of output byte modules set in hexadecimal Eight bit modules 8 points are counted as one byte module 01DBH Number of word modules Low byte Number of input word modules Hi...

Page 66: ...ut 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 0701H 0702H 0703H 0704H 0705H 0706H 0707H 0708H 0709H When the number of byte input modules is an odd number one byte of an empty area is inserted Input data of the 1st node Input data of the 3rd node 2nd byte module 1st byte module 3rd byte...

Page 67: ... 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 0900H 0901H 0902H 0903H 0904H 0905H 0906H 0907H 0908H 0909H When the number of byte input modules is an odd number one byte of an empty area is inserted Output data of the 1st node Output data of the 2nd node Output data of the 3rd no...

Page 68: ...address of 1st slave node Input data size of 1st slave node No of words Output data start address of 1st slave node Output data size of 1st slave node No of words Input data start address of 2nd slave node 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 05FCH 1532 The presen...

Page 69: ... Operate 00C0H Note that until receiving an I O communication request from the master node the module is placed in Ready status 0080H b When Start is set for Auto Communication Start Setting address 0631H Upon power up the status automatically changes from Offline 0000H to Operate 00C0H Note that until receiving an I O communication request from the master node the module is placed in Stop status ...

Page 70: ...e function are set For saving parameters to a flash ROM refer to Section 8 2 2 Table 3 28 Slave function parameters Buffer memory address Hex Item Description 060EH Slave function receive bytes input size setting area Set a size of I O data that can be received for the slave function Setting range 0 to 128 bytes Default 8 bytes 060FH Slave function transmit bytes output size setting area Set a siz...

Page 71: ...st byte 3rd byte 4th byte 6th byte 5th byte 2 Slave Function Transmit Data address 0C00H to 0C3FH 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 060FH are sent 0C00H 0C01H 0C02H 2nd byte 1st byte 3rd byte 4th byte 6th byte 5th byte POINT When the QJ71DN91 is used as a master node set an ev...

Page 72: ...me address 0620H to 0624H 1568 to 1572 QJ71DN91 is stored in ASCII code format 0620H 0621H 0622H 0623H 0624H J Q 7 1 N 1 D 9 0 0 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 ...

Page 73: ...eck Testing if ROM is normal 0002H RAM check Testing if RAM is normal 0003H Microcomputer check Testing if microcomputer is normal 0004H CAN controller check Testing if CAN controller is normal FFFFH Test completion Hardware test was executed and completed normally Table 3 30 Communication test items Test item No Meaning Description 0000H Before test Communication test not yet started 0001H Node N...

Page 74: ... Error code Error Detail Action 0001H Node No duplication error Any other node on the network has the same node No as the own node Assign unique node numbers to all nodes on the network 0002H Bus off error A bus off occurred during the test Set the same communication speed value to all nodes on the network Check the overall network for disconnection of terminating resistors DeviceNet cable length ...

Page 75: ... function Auto communication start setting Not used 1 Save 0 Not saved Table 3 33 Default values for Parameter Area Select Bit Mode Default value 0 to 2 master function only 0005H 3 to 5 slave function only 0006H 6 to 8 master and slave functions 0007H 3 4 14 Auto communication start setting area The auto communication start setting is set in this area 1 Auto Communication Start Setting address 06...

Page 76: ...chip is not reset 0 Stop communication without resetting the CAN chip default 1 Resume communication by resetting 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 occurre...

Page 77: ...onsistency dedicated instruction setting for slave function If Enable is set and I O communication is started an error occurs Check the error code in Error Information for Master Function address 01B1H and take corrective actions Refer to Section 10 2 1 2 Using the slave function When using the slave function disable Data consistency dedicated instruction setting for master function If Enable is s...

Page 78: ...es 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 8 0 190 a BT BTa 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 calc...

Page 79: ...robe 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 PIT LC LS PIT ms 2 LS PIT LC LS ms LC Communication cycle time ms LS Link scan time ms Refer to Section 3 5 1 PIT Production inhibit time ms Refer to Section 3 4 5 ...

Page 80: ... ms Normal value LC ST 0 5 ms b Transmission delay of receive data Item Condition Transmission delay time Maximum value Reading the receive data using MOV or FROM TO instruction LC 2 ms Using auto refresh LC 2 ST ms Normal value Reading the receive data using MOV or FROM TO instruction LC ms Using auto refresh LC ST 0 5 ms 2 When Data consistency dedicated instruction is used The following table l...

Page 81: ...o 256 bytes per node are available Programmable controller CPU QJ71DN91 Slave node SET Y11 I O Communication Request MasterFunction Receive Data area 0700H 07FFH Master Function Transmit Data area 0900H 09FFH Transmit Receive X Y Master node 1 Setting for I O communication with each slave node a Set the information such as connection types or I O points in Parameters for Master Function address 01...

Page 82: ...2 Data consistency dedicated instruction DNTMRD DNTMWR Ensured 3 Operation flow This section explains how I O communication is performed with each slave node a When starting I O communication by I O Communication Request Y11 1 3 3 4 5 7 6 2 Module Ready X0F Auto Configuration Request Y15 Request for Saving Parameters to Flash ROM Y17 I O Communication Request Y11 I O Communicating X01 Error Set Si...

Page 83: ...re 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 The status of input from each slave node is stored in Master Function Receive Data address 0700H to 07FFH The on off information to be sent to each slave node is set in Master Function Transmit Data address 0900H to 09FFH 6 If the parameter check has failed th...

Page 84: ...2 When the power is turned on parameters saved in the flash ROM is loaded into the buffer memory automatically Module Ready X0F 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 The status of input from each slave node is stored in Master Function Receive Data address 0700H to...

Page 85: ...ective 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 trigger...

Page 86: ...ted 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 transmission from the slave node Master node 2 Slave node 4 3 1 ...

Page 87: ... 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 1 2 Slave node ...

Page 88: ...e 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 1 2 Slave node...

Page 89: ...ute Attribute Attribute 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 0110H to 011FH 2 Set Message Communication Request Y12 to on to read out attribute data from the slave that is specified ...

Page 90: ...bute Message Comm Completion Instance 1 Set command data in Message Communication Command address 0110H to 011FH 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 Re...

Page 91: ...ribute Instance 1 Set command data in Message Communication Command address 0110H to 011FH 2 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 01A7H 3 Upon completion of reading the processing result is stored in Message Communication ...

Page 92: ...ing 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 I O data are stored in the following buffer memory areas Buffer memory address Hex Item Description Reference section 0B00H to 0B3FH Slave function receive data Data received from the master node are store...

Page 93: ...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 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...

Page 94: ...ave 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 7 Setting I O Communication Request Y11 to off stops I O communication with the master node causing I O Communicating X01 to turn off ...

Page 95: ...s loaded into the buffer memory automatically Module Ready X0F 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 Data sent from the master node are stored ...

Page 96: ...etting master function parameters Saving parameters to flash ROM See Section 7 3 2 3 Create sequence program for saving parameters to flash ROM Refresh setting See Section 7 4 1 Configure auto refresh settings Write intelligent function module parameters to CPU module Refresh setting See Section 7 4 2 Create sequence program for refresh Test run Use Not use Create sequence program for control Afte...

Page 97: ... 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 Test run Use Not use Create sequence program for control After writing it to programmable controller reset CPU module OK Failed OK Programming for control See Section 8 3 1 Create sequence program for control After writi...

Page 98: ...esh settings Write intelligent function module parameters to CPU module Refresh setting Create sequence program for refresh Test run Use Not use Create sequence program for control After writing it to programmable controller reset CPU module Set auto communication start setting Not needed when starting I O communication by I O Communication Request Y11 Auto communication start setting Create seque...

Page 99: ... not peel this label during wiring Remove it for heat dissipation before system operation 5 Tighten the screws such as module fixing screws within the following ranges Screw location Tightening torque range Module fixing screw usually not required M3 screw 1 0 36 to 0 48 N m DeviceNet connector screw M2 5 screw 0 20 to 0 30 N m DeviceNet connector wiring screw 0 608 to 0 823 N m 1 The module can b...

Page 100: ...MELSEC Q 5 SETUP AND PREPARATION 5 3 Part Names and Settings This section describes the part names LED indications and respective switch settings of the QJ71DN91 Mode switch Node No switches DeviceNet connector ...

Page 101: ...setting error Flashing Node number switch or mode switch was changed during module operation MS Green ON Communication is available Flashing Parameter error NS Green 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 Red ON Node No duplication or bus off error...

Page 102: ... Mode switch 0 Master function Operates as a master node at communication speed of 125k baud factory default 1 Operates as a master node at communication speed of 250k baud 2 Operates as a master node at communication speed of 500k baud 3 Slave function Operates as a slave node at communication speed of 125k baud 4 Operates as a slave node at communication speed of 250k baud 5 Operates as a slave ...

Page 103: ...ation Test and perform it after wiring Execute the hardware test in the following sequence Start Connect network power supply and power it on See Section 5 5 Set mode to 9 See Section 5 3 3 Test result Failed Normal completion By powering on from off or resetting CPU module test starts During test MS LED flashes green RUN ERR MS NS When completed normally MS LED stays on green RUN ERR MS NS When f...

Page 104: ... 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 power supply units exist on the network ground only the power supply unit near the center of the network and do not ground others A...

Page 105: ...ices 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 Test result Failed Normal completion By powering on from off or resetting CPU module test starts During test MS LED flashes green RUN ERR MS NS When completed normally MS LED stays on green RUN ERR MS NS When failed MS LED turns off and ERR LED turns on...

Page 106: ...ear 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 Network length m 0 25 50 100 150 200 250 300 350 400 450...

Page 107: ...A 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 Master node 0 1A Slave node 0 25A 0 2A 120m ...

Page 108: ...d 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 Master node 1 1A Slave node 1 25A 0 5A 100m Terminating resistor Terminating resistor 0 25A 0 25A 0 85A 140m Network power supply unit Slave node Slave node Slave node Slave node Total po...

Page 109: ...e node Terminating resistor Slave node 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 configurat...

Page 110: ...o refresh 1 The QJ71DN91 s buffer memory is configured for automatic refresh 2 Values set for auto refresh and stored in the QJ71DN91 s buffer memory are automatically read out when the END instruction is executed in the programmable controller CPU 6 4 Monitoring test The buffer memory and I O signals of the QJ71DN91 are monitored or tested Auto configuration and parameter backup are also availabl...

Page 111: ...d 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 PLC se...

Page 112: ...intelligent function modules are installed to the Q25HCPU configure the settings in GX Configurator so that the number of parameter settings 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 number of parameters that can be set for one module in G...

Page 113: ...c 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 Microsoft Windows 7 Starter Operating System English version 4 Microsoft Windows 7 Home Premium...

Page 114: ...ndows XP Pentium 300MHz or more 128MB or more Windows Vista Pentium 1GHz or more 1GB or more Windows 7 Pentium 1GHz or more 1GB or more for 32 bit version 2GB or more for 64 bit version POINT The functions shown below are not available for Windows XP Windows Vista and Windows 7 If any of the following functions is attempted this product may not operate normally Start of application in WindowsR com...

Page 115: ...t entry in a cell Closes the window Tab Moves between controls in the window Ctrl Used in combination with the mouse operation to select multiple cells for test execution Delete Deletes the character where the cursor is positioned When a cell is selected clears all of the setting contents in the cell Back Space Deletes the character where the cursor is positioned Moves the cursor Page up Moves the...

Page 116: ...ter file in a project created by GX Developer Program Parameter Project PLC Parameter 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 Open project Save Save as 2 On the intelligent function module selection screen of the utility select Intelligent function module parameter Open parameters Save pa...

Page 117: ...the Monitor Test screen of the utility Monitor Test screen Read from module Write to module Text files 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 QCPU Q25HCPU MODE RUN ERR USER BOOT RS 232 USB A B B A A C Disk A Intelligent function module parameters B ...

Page 118: ...rview GX Developer screen Tools Intelligent function utility Start Screen for selecting a target intelligent function module Enter Start I O No and select Module type and Module model name Refer to Section 6 3 3 Auto refresh Auto refresh setting screen Refer to Section 6 4 1 ...

Page 119: ...Test Selecting monitor test module screen Monitor Test screen Refer to Section 6 5 Select a module to be monitored tested 1 Monitor Test Select Module type and Module model name Flash ROM setting Tools Flash ROM setting Flash ROM setting screen Select Refer to Section 6 6 ...

Page 120: ...een Explanation of items 1 Activation of other screens Following screens can be displayed from the intelligent function module utility screen a Auto refresh setting screen Start I O No 1 Module type Module model name Auto refresh b Select monitor test module screen Online Monitor Test 1 Enter the start I O No in hexadecimal 2 Command buttons Delete Deletes the initial setting and auto refresh sett...

Page 121: ...ion 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 2 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 co...

Page 122: ...nd writing by sequence programs Operating procedure Start I O No Module type Module model name Auto refresh Enter the start I O No in hexadecimal Setting screen POINT 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 Can...

Page 123: ...700H to 07FFH Master Function Transmit Data 0900H to 09FFH Slave Function Receive Data 0B00H to 0B3FH 3 4 10 Slave Function Transmit Data 0C00H to 0C3FH 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 indicates that data are written from the pro...

Page 124: ...POINT 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 The auto refresh settings cannot be changed from sequence programs However processing equivalent to auto refresh can be added...

Page 125: ...o the GX Developer Operating Manual for details Setting screen Setting items Item Buffer memory address Hex Reference section Model Name 0620H to 0624H 3 4 11 Node Number 0625H Mode Switch Number 0626H Bus Error Counter 01B2H 3 4 3 Bus Off Counter 01B3H H W Test Item Area 062EH 3 4 12 H W Test Result Area 062FH Master Function Communication Status 01B0H 3 4 3 Error Information for Master Function ...

Page 126: ...ode Communication Error Status Monitor 6 5 6 Node Fault Status Monitor 6 5 7 Failed Node Detection Setting 6 5 8 Message Communication Area Monitor Test 6 5 9 I O Address Area Monitor for Master Function 6 5 10 Master Function Receive Data Monitor 6 5 11 Master Function Transmit Data Monitor Test 6 5 12 Slave Function Receive Data Monitor 6 5 13 Slave Function Transmit Data Monitor Test 6 5 14 Aut...

Page 127: ...lity 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 Stop monitor Selects whether or not to monitor current values Execute test Performs a test on the selected items To select more than one item select them while holding down the Ctrl key Close Closes the screen that is currently open and returns to...

Page 128: ...n Signal 3 3 2 5 X05 Message Communication Error Signal 3 3 2 3 X06 Saving Parameters to Flash ROM 3 3 2 6 X07 Parameters Saved to Flash ROM X08 Error Set Signal for Slave Function 3 3 3 4 X0A H W Test in Progress 3 3 2 9 X0B H W Test Completion X0C H W Test Error Detection X0F Module Ready 3 3 2 7 X14 Auto Configuring 3 3 2 8 X15 Auto Configuration Completion Y11 I O Communication Request 3 3 2 2...

Page 129: ... 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 Setting items Item Buffer memory address Hex Reference section Parameters for Master Function 01D4H to 03CFH 3 4 5 Parameters for Slave Function 060EH 060FH 3 4 9 Auto Communication Start Set...

Page 130: ...ns shown in the Setting item column Operating procedure Monitor Test screen Flash ROM Save Setting screen Setting items Item Buffer memory address Hex Reference section 1 Stop I O Communication 3 3 2 6 7 3 1 3 8 2 1 2 2 Select Parameter Saving Area 3 Save Parameters to Flash ROM 4 Confirm Parameter Saving to Flash ROM 5 Turn Off Parameter Saving Request ...

Page 131: ...Status Mon Setting screen Setting items Item Buffer memory address Hex Reference section Node 0 to Node 63 01B4H to 01B7H 3 4 4 1 6 5 5 Node communication status monitor Purpose Monitor the I O communication status of each slave node Operating procedure Monitor Test screen Comm Status Mon Setting screen Setting items Item Buffer memory address Hex Reference section Node 0 to Node 63 01BCH to 01BFH...

Page 132: ... Comm Err Status Mon Setting screen Setting items Item Buffer memory address Hex Reference section Node 0 to Node 63 01C0H 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 Setting items Item Buffer memory address Hex Reference section Node 0 to Node 63 01C4H to ...

Page 133: ...led node detection setting Purpose Test whether or not to detect a failed node Operating procedure Monitor Test screen Failed Node Detection Setting Setting screen Setting items Item Buffer memory address Hex Reference section Node 0 to Node 63 01CCH to 01CFH 3 4 4 5 ...

Page 134: ...unication area For the execution timing refer to Section 3 3 2 3 Operating procedure Monitor Test screen Msg Comm Area Setting screen Setting items Item Buffer memory address Hex Reference section Message Communication Command 0110H to 011FH 3 4 2 Message Communication Result 0120H to 012FH Message Communication Data 0130H to 01A7H ...

Page 135: ...s 0700H to 07FFH and Master Function Transmit Data address 0900H to 09FFH Operating procedure Monitor Test screen Address Area For Master Setting screen Setting items Item Buffer memory address Hex Reference section 1st Slave Input Data Start Address 0500H 3 4 6 3 1st Slave Input Data Size Words 0501H 1st Slave Output Data Start Address 0502H 1st Slave Output Data Size Words 0503H 2ndto 63rd Slave...

Page 136: ...ting screen Setting items Item Buffer memory address Hex Reference section Master Function Receive Data 0700H to 07FFH 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 Setting items Item Buffer memory address Hex Reference section Master Function Transmit Data 09...

Page 137: ...ting screen Setting items Item Buffer memory address Hex Reference section Slave Function Receive Data 0B00H to 0B3FH 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 Setting items Item Buffer memory address Hex Reference section Slave Function Transmit Data 0C00H...

Page 138: ...low the instructions shown in the Setting item column Operating procedure Scroll down on the Monitor Test screen Setting screen Setting items Item Buffer memory address Hex Reference section 1 Stop I O Communication 3 3 2 8 7 3 1 1 2 Set Auto Configuration Operation 3 Execute Auto Configuration 4 Confirm Auto Configured Parameters 5 Save Parameters to Flash ROM ...

Page 139: ...ear 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 Setting items Item Buffer memory address Hex Reference section Flash ROM Parameter Clear 7 3 1 4 8 2 1 3 ...

Page 140: ...nd 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 Param Backup Setting items Item Buffer memory address Hex Reference section Parameter Saving Area Selection 0630H 3 4 13 Parameters for Master Function 01D4H to 03CFH 3 4 5 Parameters for Slave Function 060EH 060FH 3 4 9 Auto Co...

Page 141: ...h ROM Setting Purpose Edit the flash ROM settings offline 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 Select Setting screen Param Backup ...

Page 142: ...item Displays parameter names Setting value Enter or select values to be set in the flash ROM 2 Command button Save file Saves the parameters on the hard disk etc Load file Reads the parameters saved on the hard disk etc Close Closes the currently open screen and returns to the previous screen ...

Page 143: ...inning of the sequence program Place the I O communication write processing program at the end of the sequence program Refresh processing request I O communication read processing I O 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 Program for communication X0F X0 Module err...

Page 144: ... shows an example in which data transfer is checked by providing a handshake area at the end of send receive data QJ71DN91 master Master function receive data 700H Master function transmit data 900H 901H 902H 903H D0 D1 D2 QJ71DN91 slave Slave function transmit data C00H Slave function receive data B00H B01H B02H B03H D100 D101 D102 703H C03H Receive data Transmit data Programmable controller CPU ...

Page 145: ...ts Transmit request flag Resets Transmit request flag Reads receive data from Slave function receive data area Sets Receive completion notification flag Resets Receive completion notification flag 1 Transmission command turns on 2 Data in D0 to D2 are stored in the transmit data area address 900H to 902H 3 Upon completion of storing the transmit data the transmit request flag address 903H turns on...

Page 146: ...mron CompoBus D 8 point output DRT1 OD08 Node No 0 1 The QJ71DN91 master node is installed to slot 0 of the base unit with the start I O No set to 0000H 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 I O DeviceNet adapter has input data of two bytes for its status It also has 2 byte input data and 2 byte output data...

Page 147: ...tput DRT1 OD08 Item Setting Node No Node No 2 Communication speed 125kbaud Connection type Polling I O points 8 output points 3 3rd slave node QJ71DN91 slave node Item Setting Node number Node number switches Node No 4 04 Communication speed Mode switch 125kbaud Mode 3 Connection type Polling Slave function receive bytes input points 8 bytes Slave function transmit bytes output points 8 bytes 4 4t...

Page 148: ...4 Node No 3 status Node No 3 701H 702H 703H 704H 705H 706H X110 to X14F FROM FROM X160 to X16F FROM Receive data 900H Node No 2 Node No 4 Node No 3 901H 902H 903H 904H 905H Transmit data Y100 to Y107 TO Y110 to Y14F TO I00 to I07 Input 00 to input 07 Remote I O node No 3 16 point input Transmit data Receive data Status I00 to I15 Input 00 to input 15 Dummy output Remote I O node No 2 8 point input...

Page 149: ... 2 group 2 only server 01E1H Connection type 0001H Polling 01E2H Number of byte modules 0100H Input 0 Output 1 01E3H Number of word modules 0000H Input 0 Output 0 01E4H Number of double word modules 0000H Input 0 Output 0 01E5H Expected packet rate 0000H 200ms 01E6H Watchdog timeout action 0000H Timeout 01E7H Production inhibit time 0000H 10ms 01E8H 3rd slave node Node No and message group 0104H N...

Page 150: ...Operation Setting address 03F0H Example When the auto configuration type is All configuration and the maximum detection node No is 4 set 0004H 2 Set I O Communication Request Y11 and Request for Saving Parameters to Flash ROM Y17 to off 3 Set Auto Configuration Request Y15 to on 4 Auto configuration is started and Auto Configuring X14 is set to on Up to approx 60 seconds are needed for completion ...

Page 151: ...parameters in the following buffer memory areas Parameters for Master Function address 01D4H to 03CFH Auto Communication Start Setting address 0631H 2 Specify a parameter saving area in Parameter Area Select Bit address 0630H 3 Set I O 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 If t...

Page 152: ...wiring is correct a The setting items for auto configuration are shown below 2 1 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 Execu...

Page 153: ...ommunication 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 I O Comm Request Execute test button Then set I O Comm Stop Request for Y11 I O Communication Request Select I O Comm Stop Request Execute test button...

Page 154: ...k the Close button c 2 Set Auto Configuration Operation Clicking the Operation Setting button on the Monitor Test screen will display the 1 Set Auto Configuration Operation screen Follow the setting instructions 1 2 1 Set the auto configuration operation Refer to Section 3 4 5 To specify All configuration set 003F for Auto Configuration Operation Setting Select 003F Execute test button 2 Click the...

Page 155: ...ions 1 2 3 4 5 1 Set Config Request for Y15 Auto Configuration Request Select Config Request Execute test 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 Execut...

Page 156: ... 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 I O communication automatically at power up set Start for Auto Communication Sta...

Page 157: ...to 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 ...

Page 158: ... Test screen For information on how to display the Monitor Test screen refer to Section 6 3 1 2 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 Settin...

Page 159: ...ROM Refer to 3 in this section POINT 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 ...

Page 160: ...is reset 1 2 3 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 I O Comm Request Execute test button Then set I O Comm Stop Request for Y11 I O Communication Req...

Page 161: ...ter Auto Comm for Parameter Saving Area Selection Select Master 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 Saving Completed is displayed for X07 Parameters Saved...

Page 162: ...umn of Error Information for Master Function and take corrective actions Refer to Section 10 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 Execute test button 10 Click the Close button POINT Since the number of writes to flash ROM is limited use Request for Saving Parameters to Flash ROM Y17 only when creating or ...

Page 163: ...ctions 1 2 3 4 5 6 1 Set Param Clear for Flash ROM Parameter Clear Select Param Clear Execute test button 2 Set Param Clear Request for Flash ROM Parameter Clear Request Select Param Clear Request Execute test button 3 Clearing the parameters in the flash ROM is started and Clearing is displayed for Flash ROM Parameter Clearing 4 When clearing the flash ROM parameters is completed Clear Completed ...

Page 164: ... Q 7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION 5 After completion of clearing the flash ROM parameters set OFF for Request for Saving Parameters to Flash ROM Select OFF Execute test button 6 Click the Close button ...

Page 165: ...Sets Auto Configuration Request to off Save parameters to flash ROM See 3 Writes parameters to buffer memory Sets Parameter Setting Command for Master Function to on Change settings See 2 1 Auto configuration 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 POINT...

Page 166: ... byte module 1 Output byte module 0 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 Node No 2 group 2 only server 1st slave node 2nd slave node Parameters for master function Connection type Polling Input byte module 0 Output byte module 1 ...

Page 167: ...fault 200ms Watchdog timeout action Default Timeout Production inhibit time Default 10ms Write parameters to buffer memory 3rd slave node 4th slave node Save parameters to flash ROM See 3 Parameters for master function 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 POINT When changing parameters for master fu...

Page 168: ...b Program example Parameter Area Select Bit Master Auto Comm Auto Communication Start Setting Start Writes parameters to buffer memory Sets Request for Saving Parameters to Flash ROM to on Sets Request for Saving Parameters to Flash ROM to off Saving parameters to flash ROM Saving parameters to flash ROM completed Setting parameters for master function Using auto configuration See 1 Setting manual...

Page 169: ... 4 6 X110 to X14F 1 3rd slave node Node No 4 X150 to X16F 1 4th slave node Node No 3 Y11 I O Communication Request 3 3 2 2 Y100 to Y10F 1 Master Function Transmit Data 2nd slave node Node No 2 3 4 6 Y110 to Y14F 1 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 Communica...

Page 170: ... 2 3rd slave node Node No 4 4th slave node Node No 3 I O communication function Error handling program for node No 1 Input data processing program for node No 1 Error handling program for node No 2 Output data processing program for node No 2 Error handling program for node No 4 Input data processing program for node No 4 Output data processing program for node No 4 Error handling program for node...

Page 171: ...aster function 3 6 16 D100 1 Data consistency dedicated instruction setting for master function X01 I O Communicating 3 3 2 2 X100 to X107 Master Function Receive Data 1st slave node Node No 1 3 4 6 X110 to X14F 3rd slave node Node No 4 X160 to X16F 4th slave node Node No 3 Y11 I O Communication Request 3 3 2 2 Y100 to Y107 Master Function Transmit Data 2nd slave node Node No 2 3 4 6 Y110 to Y14F ...

Page 172: ...dling program for node No 4 Input data processing program for node No 4 Output data processing program for node No 4 Error handling program for node No 3 Input data processing program for node No 3 Enables Data consistency dedicated instruction setting for master function Reads Data consistency dedicated instruction setting status for master function I O communication function Ensures data consist...

Page 173: ... Node No 4 4th slave node Node No 3 Error handling program for node No 1 Input data processing program for node No 1 Error handling program for node No 2 Output data processing program for node No 2 Error handling program for node No 4 Input data processing program for node No 4 Output data processing program for node No 4 Error handling program for node No 3 Input data processing program for node...

Page 174: ...d 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 Device Description Reference section M0 Get Attribute Command M100 Get Attribute Execute Flag X02 Message Communication Completion 3 3 2 3 Y12 Message Communication Request D0 to D3 Message Communication Com...

Page 175: ...ribute if Master Function Comm Status is C0H or 40H Get Attribute Node No 3 Class ID 1 Instance ID 1 Attribute ID 7 Writes message comm command to buffer memory Sets Message Comm Request to on Gets byte length of attribute data Calculates byte length of attribute data Reads attribute data Sets Message Comm Request to off Error handling program ...

Page 176: ...Attribute Command X02 Message Communication Completion 3 3 2 3 Y12 Message Communication Request D30 Message Communication Data 3 4 2 D300 to D303 Message Communication Command D310 to D314 Message Communication Result D200 Master Function Communication Status 3 4 3 2 Program example Sets attribute data Set Attribute Node No 3 Class ID 3 Instance ID 1 Byte length of attribute data 1 Attribute ID 3...

Page 177: ... M60 Error Reset Command X03 Error Set Signal for Master Function 3 3 2 4 Y13 Error Reset Request for Master Function D500 Error Information for Master Function 3 4 3 D501 Node No of Error Node D502 Error Code 2 Program example Reads error information for master function from buffer memory Node No of error node Error information for master function Error code Sets Error Reset Request for Master Fu...

Page 178: ... 703H 704H 705H 706H 900H 901H 902H 904H 905H 500H 5FBH 903H C00H C01H C02H C03H B00H B01H B02H B03H FROM TO FROM FROM FROM TO TO Receive data area for node No 1 64 points Transmit data area for node No 1 64 points Receive data area for node No 2 64 points Receive data area for node No 4 64 points Receive data area for node No 3 64 points Transmit data area for node No 2 64 points Transmit data ar...

Page 179: ...mmunication Request 3 3 2 2 Y200 to Y23F Master Function Transmit Data 1st slave node Node No 1 3 4 6 Y240 to Y27F 2nd slave node Node No 2 Y280 to Y2BF 3rd slave node Node No 4 Y2C0 to Y2FF 4th slave node Node No 3 D1000 to D1251 I O Address Area for Master Function 2 Program example Sets I O Communication Request to on Reads I O Address Area for Master Function Reads receive data according to in...

Page 180: ...vices Item Device Receive data X200 to X23F Transmit data Y200 to Y23F 8 2 Parameters for Slave Function POINT To change I O points for slave function parameters for slave function must be set However for the I O points of the QJ71DN91 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 ...

Page 181: ... parameters in the following buffer memory areas Parameters for Slave Function address 060EH 060FH Auto Communication Start Setting address 0631H 2 Specify a parameter saving area in Parameter Area Select Bit address 0630H 3 Set I O 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 If the ...

Page 182: ...eter Area Monitor Test screen For information on how to display the Monitor Test screen refer to Section 6 3 1 2 3 1 Enter 16 for Slave Function Input Sizes Setting Area and Slave Function Output Sizes Setting Area Select 16 Execute test button 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 Close bu...

Page 183: ...set 1 2 3 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 I O Comm Request Execute test button Then set I O Comm Stop Request for Y11 I O Communication Request ...

Page 184: ...ve 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 ...

Page 185: ...nction and take corrective actions Refer to Section 10 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 Execute test button 10 Click the Close button POINT 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 pa...

Page 186: ...mand for Slave Function X21 I O Communicating Y31 I O Communication Request D50 Slave Function Receive Bytes Input Sizes Setting Area 3 4 9 D51 Slave Function Transmit Bytes Output Sizes Setting Area b Program example Sets 16 bytes for input size of slave function Sets 16 bytes for output size of slave function Writes parameters to buffer memory Save parameters to flash ROM See 2 Parameters for sl...

Page 187: ...on Start Setting 3 4 14 b Program example Setting parameters for slave function See 1 Parameter Area Select Bit Slave Auto Comm Auto Communication Start Setting Start Sets Request for Saving Parameters to Flash ROM to on Sets Request for Saving Parameters to Flash ROM to off Saving parameters to flash ROM completed Parameter saving Writes parameters to buffer memory Saving parameters to flash ROM ...

Page 188: ...3 2 Y200 to Y23F 1 Slave Function Transmit Data 3 4 10 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 1 2 b Writing intelligent function module parameters Refer to Section 6 3 3 Write parameters of the intelligent f...

Page 189: ...ave function See Section 8 2 I O communication function Input data processing program Output data processing program POINT 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 ...

Page 190: ...O Communication Request 3 3 3 2 Y200 to Y23F Slave Function Transmit Data 3 4 10 1 Use these devices when executing Data consistency dedicated instruction DNTSRD DNTSWR 2 Program example a When Data consistency dedicated instruction DNTSRD DNTSWR is used Enables Data consistency dedicated instruction setting for slave function Reads Data consistency dedicated instruction setting status for slave f...

Page 191: ... 2 Sets initial transmit data values Reads receive data Writes transmit data I O communication function Output data processing program Input data processing program POINT 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 ...

Page 192: ...Device list Device Description Reference section M51 Error Reset Command X28 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 Reads error information for slave function from buffer memory Sets Error Reset Request for Slave Function to off Sets Error Reset Request for Slave Function to on Error h...

Page 193: ... area of the specified module 9 2 DNTMWR This instruction ensures data consistency when the CPU module writes data to the master function transmit data area of the specified module 9 3 DNTSRD This instruction ensures data consistency when the CPU module reads data from the slave function receive data area of the specified module 9 4 DNTSWR This instruction ensures data consistency when the CPU mod...

Page 194: ... following methods for data transfer between devices Doing so may result in data inconsistency Auto refresh MOV instruction FROM TO instruction 2 Transmission delay time when Data consistency dedicated instruction is used When Data consistency dedicated instruction is used transmission delay time becomes longer Refer to Section 3 5 3 3 Execution timing of Data consistency dedicated instruction Aft...

Page 195: ...a to be read 0700H to 07FH S2 Start device number which stores the read data System Device name S3 Number of read data 0 to 100H User 16 bit binary Function This instruction ensures data consistency when the CPU module reads data from the master function receive data area of the specified module Error OPERATION ERROR occurs in the following cases When the name of dedicated instruction is not set c...

Page 196: ...0900H to 09FFH S2 Start number of device which stores write data System Device name S3 Number of write data 0 to 100H User 16 bit binary Function This instruction ensures data consistency when the CPU module writes data to the master function transmit data area of the specified module Error OPERATION ERROR occurs in the following cases When the name of dedicated instruction is not set correctly Wh...

Page 197: ...ta to be read 0B00H to 0B3FH S2 Start device number which stores the read data System Device name S3 Number of read data 0 to 40H User 16 bit binary Function This instruction ensures data consistency when the CPU module reads data from the slave function receive data area of the specified module Error OPERATION ERROR occurs in the following cases When the name of dedicated instruction is not set c...

Page 198: ... 0C00H to 0C3FH S2 Start number of device which stores write data System Device name S3 Number of write data 0 to 40H User 16 bit binary Function This instruction ensures data consistency when the CPU module writes data to the slave function transmit data area of the specified module Error OPERATION ERROR occurs in the following cases When the name of dedicated instruction is not set correctly Whe...

Page 199: ...ur while using the QJ71DN91 as well as their troubleshooting procedures This chapter contains the following information Section 10 1 Problem Identification Troubleshooting procedures are shown according to symptoms Section 10 2 Error Codes Troubleshooting procedures are shown according to error codes 10 ...

Page 200: ...r 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 Set I O Communication Request Y11 to on NS LED flashing red I O communication with one or more slave nodes has failed Check 1B1H Error Information for Master Function or 601...

Page 201: ...d for all nodes Terminating resistors connected Is there a slave node having same node No as QJ71DN91 Eliminate node No duplication Have the parameters been written Are the parameters matched with hardware configuration of the actual slave nodes Configure and write correct parameters Connect terminating resistors I O Communication Request Y11 set to on Set I O Communication Request Y11 to on Is th...

Page 202: ...peed Node No duplicated Eliminate node No duplication Is the slave node set with parameters Is the parameter for node No same as the actual one Set as reserved node Specified connection type matched with the slave node spec UCMM support and message group matched with the slave node spec Value set for watchdog timeout action matched with the slave node spec I O configuration parameters matched with...

Page 203: ...rminating resistors connected Eliminate node No duplication I O points for slave function matched with parameter settings of master node Turn on the network power supply Set same communication speed for all nodes Connect terminating resistors Set correct I O points according to the master node settings I O Communication Request Y11 set to on Is there an error code Polling and UCMM support group 3 ...

Page 204: ...ng is not set up for the target slave node QJ71DN91 set I O Communication Request Y11 to off and then on Are the slave nodes set in order of node No 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 03CFH Are the connection types and I O points correct Referring to the manual for each slave node c...

Page 205: ...tart set in Auto Communication Start Setting address 0631H I O Communicating is on Set Not start in Auto Communication Start Setting address 0631H and save the parameters to a flash ROM Setting I O Communication Request Y11 to on and then off will stop I O communication and thereby I O Communicating X01 is set to off ...

Page 206: ... When the error detected node No low byte of error information is FFH Error code Hex Detected in Description Action Detectability Master function Slave function 36H QJ71DN91 The node No MAC ID value is out of range The mode switch value is out of range Set the node No within the range of 0 to 63 Set the mode switch to any other than D to F 39H QJ71DN91 The node No MAC ID is duplicated on the netwo...

Page 207: ... production inhibit time value 0CH QJ71DN91 Flash ROM checksum error Parameters for Master Function area Save the parameters again Do not turn off the power or reset while saving the parameters 0DH QJ71DN91 Flash ROM checksum error Parameters for Slave Function area Save the parameters again Do not turn off the power or reset while saving the parameters 0EH QJ71DN91 Flash ROM checksum error Auto C...

Page 208: ...ency dedicated instruction disable Data consistency dedicated instruction setting for slave function then turn on I O Communication Request Y11 24H QJ71DN91 The master function is used but Data consistency dedicated instruction setting for slave function was enabled and I O communication was started Disable Data consistency dedicated instruction setting for slave function then turn on I O Communic...

Page 209: ...om being sent from the slave node Check the entire network and slave node states for any fault such as disconnection of a terminating resistor 27H Slave node The connection is already in the specified mode Check the entire network and slave node states for any fault such as disconnection of a terminating resistor 28H QJ71DN91 Unexpected invalid data was received when the connection was established...

Page 210: ...d Check if the connection type value is correct Read the communication error information and take appropriate actions 80H QJ71DN91 The polling connection in the slave function has timed out Check the entire network and slave node states for any fault such as disconnection of a terminating resistor Check the master node status 81H QJ71DN91 A connection other than for explicit messages and polling w...

Page 211: ... 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 11 Slave node The object is already placed in the mode status that is requested by the service 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 Ref...

Page 212: ...ot 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 50 QJ71DN91 The response data format is invalid Check the entire network and slave node states for any fault such as disconnection of a terminating resistor 55 QJ71DN91 The specified slave node...

Page 213: ... Description Action 306 QJ71DN91 Failed to open a message connection Check whether the parameter value for the message group is set correctly or not 317 Slave node The response data length is too long Verify that the transmit message can be responded by the slave node ...

Page 214: ...a to execute processing 0014H 20 Attribute not supported The requested service specified an undefined attribute 0015H 21 Too much data The requested service includes invalid data 0016H 22 Object does not exist The requested service specified an unimplemented object 0017H 23 Reserved Reserved by DeviceNet 0018H 24 No stored attribute data The attribute data of this object had not been saved before ...

Page 215: ...g 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 H W Information b Product information The serial number and function version are displayed as shown below 050220000000000 B Function version B Serial No first 5 digits 05022 ...

Page 216: ...he 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 H W SW Information The switch setting status of the QJ71DN91 is displayed NA Displays the node No setting status MODE Displays the mode switch status ...

Page 217: ...App 1 App 1 MELSEC Q APPENDIXES APPENDIXES Appendix 1 External Dimensions The external dimensions of the QJ71DN91 are shown below 27 4 90 12 23 98 4 Unit mm A ...

Page 218: ...lists differences between the QJ71DN91 and the AJ71DN91 A1SJ71DN91 Appendix 3 1 Functions The following table lists functional differences between the QJ71DN91 and the AJ71DN91 A1SJ71DN91 Model Function QJ71DN91 AJ71DN91 A1SJ71DN91 Master function Input 4096 points Output 4096 points Input 2048 points Output 2048 points Slave function Auto configuration function Auto refresh function 1 Constant sc...

Page 219: ...for Slave Function Use prohibited This signal is used for the function added to the QJ71DN91 X0A H W Test in Progress X0B H W Test Completion X0C H W Test Error Detection X14 Auto Configuring X15 Auto Configuration Completion Output signal Y11 I O Communication Request Refresh request The module operation using this I O signal differs Refer to 1 in this section Y15 Auto Configuration Request Use p...

Page 220: ...ON OFF ON ON Turning on this signal will start communicating and updating I O data Turning off this signal will stop communicating and updating I O data b Operation of the AJ71DN91 A1SJ71DN91 Parameter check Parameters MOV TO instruction Refresh request Y11 Refreshing X01 Parameter set request Y17 Parameter being set X06 Parameter setting complete X07 OFF OFF OFF ON ON ON ON OFF OFF OFF OFF ON OFF...

Page 221: ...Auto Configuration Operation Setting Use prohibited 0500H to 05FBH 1280 to 1531 I O Address Area for Master Function Use prohibited 05FCH 1532 Present Link Scan Time Use prohibited 05FDH 1533 Minimum Link Scan Time Use prohibited 05FEH 1534 Maximum Link Scan Time Use prohibited 0600H 1536 Slave Function Communication Status Use prohibited 0601H 1537 Error Information for Slave Function Use prohibi...

Page 222: ...between the QJ71DN91 and the AJ71DN91 A1SJ71DN91 Model Signal QJ71DN91 AJ71DN91 A1SJ71DN91 Precautions when replacing the AJ71DN91 A1SJ71DN91 with the QJ71DN91 LED L RUN Check the QJ71DN91 status with MS NS and ERR LEDs ERR This LED is added to the QJ71DN91 Node number switches Set the host node number of the QJ71DN91 with node number switches see Section 5 3 2 The node number of the AJ71DN91 A1SJ...

Page 223: ...ameter 4 Click the Execute button Parameter backup Backup of parameter is performed on the test or monitor window Refer to Section 6 5 17 Follow the procedure below when performing backup of parameter 1 Select Online Read from PLC 2 Click the Intelligent Function Module tab 3 Check the Valid box on the module to readout the parameter 4 Click the Execute button Flash ROM setting Flash ROM setting i...

Page 224: ...cautions a GX Configurator DN cannot be used in the system of MELSEC iQ R series b The mode switch can be set in range of 0 to 8 c If the mode switch is set to the range other than 0 to 8 or the node number switch is set to the range other than 0 to 63 an error 2241H Parameter error module occurs in the CPU module of MELSEC iQ R series d Set parameters in a sequence program because the following c...

Page 225: ...ules Low byte Number of input byte modules High byte Number of output byte modules set in hexadecimal Eight bit modules 8 points are counted as one byte module 01DBH 1 8 Number of word modules Low byte Number of input word modules High byte Number of output word modules set in hexadecimal 01DCH 1 8 Number of double word modules Low byte Number of input double word modules High byte Number of outpu...

Page 226: ...lue 060EH Slave function receive bytes input size setting area Set a size of I O data that can be received for the slave function Setting range 0 to 128 bytes Default 8 bytes 060FH Slave function transmit bytes output size setting area Set a size of I O data that can be sent for the slave function Setting range 0 to 128 bytes Default 8 bytes ...

Page 227: ... 10ms K11 Change of state H4 0ms H0 0ms H0 Cyclic H8 30ms K31 25ms K26 1794 IB16 Flex I O input module 02H 02H 00H 00H 00H 00H 1794 OB16 Flex I O output module 02H 02H 00H 00H 00H 00H Omron Corporation DRT1 ID08 CompoBus D 8 point input Polling H1 bit strobe H2 00H 01H 00H 00H 00H 00H 1000ms K1001 Timeout H1 10ms K11 No DRT1 ID16 CompoBus D 16 point input Polling H1 bit strobe H2 00H 02H 00H 00H 0...

Page 228: ...odTypeStr Communication Adapter Communication Adapter Device ProdCode 4 MajRev 1 MinRev 1 ProdName QJ71DN91 Catalog I O Characteristics Section IO_Info Default 0x0001 Poll Only PollInfo 0x0001 1 Default Input Input1 1 Default Output Output1 Input Connections Input1 Input Producing 8 8 byte 0 0 bits are significant 0x0001 Poll Only Connection Input Data Name 6 Path Size 20 04 24 64 30 03 Assembly O...

Page 229: ...nction X08 3 16 Execution error codes of message communication 10 13 Expected packet rate 3 33 External dimensions App 1 F Failed node detection setting 3 30 Flash ROM setting 6 32 Functions of the utility package 6 1 Function version 2 6 10 17 G General DeviceNet error codes 10 16 GX Configurator DN 2 5 6 1 GX Developer 2 5 GX Works2 2 5 H Hardware test 5 8 Hardware test item area 3 43 Hardware t...

Page 230: ...ters for the master function 3 31 7 9 Parameters for the slave function 3 40 8 1 Performance specifications 3 1 Polling 4 5 Precautions for network power supply 5 11 Present link scan time 3 38 Production inhibit time 3 33 Programming precautions 7 1 R Request for saving parameters to flash ROM Y17 3 10 S Saving parameters to flash ROM X06 3 10 Slave function I O communication function 4 12 8 9 Sl...

Page 231: ...e 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 f...

Page 232: ...ration in the United States Japan and other countries Intel Pentium and Celeron are either registered trademarks or trademarks of Intel Corporation in the United States and other countries Ethernet is a registered trademark of Xerox Corp All other company names and product names used in this manual are either trademarks or registered trademarks of their respective companies SH NA 080143 M ...

Page 233: ......

Page 234: ...ithout notice When exported from Japan this manual does not require application to the Ministry of Economy Trade and Industry for service transaction permission 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 ...

Reviews: