background image

 

WARRANTY 

Please confirm the following product warranty details before using this product. 
 

1. Gratis Warranty Term and Gratis Warranty Range 

If any faults or defects (hereinafter "Failure") found to be the responsibility of Mitsubishi occurs during use of the product 
within the gratis warranty term, the product shall be repaired at no cost via the sales representative or Mitsubishi Service 
Company. 
However, if repairs are required onsite at domestic or overseas location, expenses to send an engineer will be solely at 
the customer’s discretion.  Mitsubishi shall not be held responsible for any re-commissioning, maintenance, or testing on-
site that involves replacement of the failed module. 

[Gratis Warranty Term] 

The gratis warranty term of the product shall be for one year after the date of purchase or delivery to a designated 
place. 
Note that after manufacture and shipment from Mitsubishi, the maximum distribution period shall be six (6) months, and 
the longest gratis warranty term after manufacturing shall be eighteen (18) months. The gratis warranty term of repair 
parts shall not exceed the gratis warranty term before repairs. 

[Gratis Warranty Range] 

(1) The range shall be limited to normal use within the usage state, usage methods and usage environment, etc., 

which follow the conditions and precautions, etc., given in the instruction manual, user's manual and caution labels 
on the product. 

(2) Even within the gratis warranty term, repairs shall be charged for in the following cases. 

1. Failure occurring from inappropriate storage or handling, carelessness or negligence by the user. Failure caused 

by the user's hardware or software design. 

2. Failure caused by unapproved modifications, etc., to the product by the user. 
3. When the Mitsubishi product is assembled into a user's device, Failure that could have been avoided if functions 

or structures, judged as necessary in the legal safety measures the user's device is subject to or as necessary 
by industry standards, had been provided. 

4. Failure that could have been avoided if consumable parts (battery, backlight, fuse, etc.) designated in the 

instruction manual had been correctly serviced or replaced. 

5. Failure caused by external irresistible forces such as fires or abnormal voltages, and Failure caused by force 

majeure such as earthquakes, lightning, wind and water damage. 

6. Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi. 
7. Any other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the user. 

 

2. Onerous repair term after discontinuation of production 

(1) Mitsubishi shall accept onerous product repairs for seven (7) years after production of the product is discontinued. 

Discontinuation of production shall be notified with Mitsubishi Technical Bulletins, etc. 

(2) Product supply (including repair parts) is not available after production is discontinued. 

 

3. Overseas service 

Overseas, repairs shall be accepted by Mitsubishi's local overseas FA Center. Note that the repair conditions at each FA 
Center may differ. 

 

4. Exclusion of loss in opportunity and secondary loss from warranty liability 

Regardless of the gratis warranty term, Mitsubishi shall not be liable for compensation of damages caused by any cause 
found not to be the responsibility of Mitsubishi, loss in opportunity, lost profits incurred to the user by Failures of Mitsubishi 
products, special damages and secondary damages whether foreseeable or not , compensation for accidents, and 
compensation for damages to products other than Mitsubishi products, replacement by the user, maintenance of on-site 
equipment, start-up test run and other tasks. 

 

5. Changes in product specifications 

The specifications given in the catalogs, manuals or technical documents are subject to change without prior notice. 

 

6. Product application 

(1) In using the Mitsubishi MELSEC programmable controller, the usage conditions shall be that the application will not 

lead to a major accident even if any problem or fault should occur in the programmable controller device, and that 
backup and fail-safe functions are systematically provided outside of the device for any problem or fault. 

(2) The Mitsubishi programmable controller has been designed and manufactured for applications in general industries, 

etc. Thus, applications in which the public could be affected such as in nuclear power plants and other power plants 
operated by respective power companies, and applications in which a special quality assurance system is required, 
such as for Railway companies or Public service purposes shall be excluded from the programmable controller 
applications. 
In addition, applications in which human life or property that could be greatly affected, such as in aircraft, medical 
applications, incineration and fuel devices, manned transportation, equipment for recreation and amusement, and 
safety devices, shall also be excluded from the programmable controller range of applications. 
However, in certain cases, some applications may be possible, providing the user consults their local Mitsubishi 
representative outlining the special requirements of the project, and providing that all parties concerned agree to the 
special circumstances, solely at the users discretion. 

Summary of Contents for QJ71MT91

Page 1: ......

Page 2: ......

Page 3: ...ta by connecting peripheral devices to the CPU module or connecting a personal computer to the intelligent function module configure an interlocking circuit in a sequence program so that the safety of the overall system is always maintained Also before performing other control operations program modifications and operation status modifications status control on the running programmable controller ...

Page 4: ...In an environment of frequent vibrations secure the module with the screw Be sure to tighten the screws using the specified torque If the screws are loose it may cause the module to short circuit malfunction or fall off If the screws are tightened excessively it may damage the screws and cause the module to short circuit malfunction or fall off Do not directly touch any conductive part or electron...

Page 5: ...d or cable or make cable contact improper causing a malfunction Be careful not to let any foreign matter such as wire chips get inside the module They may cause fire as well as breakdowns and malfunctions of the module A protective sheet is pasted on the upper part of the module in order to prevent foreign matter such as wire chips to get inside the module while wiring Do not remove this protectiv...

Page 6: ...he 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 Always make sure to touch the grounded metal to discharge the electricity charged in the body etc before touching the module Failure to do so may cause a failure ...

Page 7: ...5 3 1 3 2 1 5 1 5 2 1 5 5 6 1 6 4 6 6 7 2 2 7 4 1 7 4 2 7 4 4 Chapter 8 Section 9 1 3 9 3 1 9 3 2 9 3 3 10 2 10 3 11 1 11 2 11 3 1 11 3 3 11 4 1 11 4 2 11 5 1 Addition Section 2 4 May 2008 SH NA 080446ENG F Change of a term PLC was changed to programmable controller Modifications SAFETY PRECAUTIONS Compliance with the EMC and Low Voltage Directives About the Generic Terms and Abbreviations Section...

Page 8: ...ms 2 1 2 2 Devices Necessary for Network Configuration 2 4 2 3 System Configuration and Access Range 2 5 2 4 Precautions for System Configuration 2 7 2 5 How to Check the Function Version and Software Version 2 8 3 SPECIFICATIONS 3 1 to 3 9 3 1 Performance Specifications 3 1 3 2 I O Signals for Programmable Controller CPU 3 2 3 2 1 I O signal list 3 2 3 3 Applications and Assignment of Buffer Memo...

Page 9: ...ware test 6 8 6 5 2 Self loopback test 6 9 6 6 Intelligent Function Module Switch Setting 6 10 6 6 1 Communication starting conditions depending on basic parameter MODBUSR device assignment parameter starting method setting 6 15 7 PARAMETER SETTING 7 1 to 7 33 7 1 Parameter Settings and Setting Procedure 7 1 7 2 Basic Parameters 7 6 7 2 1 Basic parameters details 7 6 7 2 2 TCP UDP IP setting 7 8 7...

Page 10: ...AMMING 9 1 to 9 49 9 1 Parameter Setting 9 1 9 1 1 Basic parameter setting 9 1 9 1 2 Automatic communication parameter setting 9 4 9 1 3 MODBUS device assignment parameter setting 9 7 9 2 Program Example for Normal System Configuration 9 11 9 2 1 System configuration and program conditions 9 11 9 2 2 Program using utility package 9 18 9 2 3 Program without using utility package 9 22 9 3 Program Ex...

Page 11: ...11 40 11 5 Conducting PING Test to Check QJ71MT91 Connection 11 41 11 5 1 From GX Configurator MB 11 42 11 5 2 Program example for use of sequence program 11 46 APPENDICES App 1 to App 7 Appendix 1 External Dimensions App 1 Appendix 2 Processing Time App 2 Appendix 3 GX Developer Connection Setup Example App 5 INDEX Index 1 to Index 4 ...

Page 12: ...For the shielded twisted pair cables strip a part of the outer cover and ground the exposed shield section on the widest contact surface as shown below Shielded twisted pair cables Shield Refer to b for grounding of the shield b Grounding of shield of shielded cable 1 Ground the shield of the shielded cable as close to the module as possible to avoid the electromagnetic induction from ungrounded c...

Page 13: ...on 2 2 describes the devices necessary to configure a network c Section 2 3 describes the system configurations that use the QJ71MT91 and the accessible range 3 Performance and specifications Chapter 3 a Section 3 1 provides the performance specifications of the QJ71MT91 b Section 3 2 and 3 3 give the I O signal and buffer memory lists of the QJ71MT91 4 MODBUSR standard functions supported by the ...

Page 14: ...ing Writing etc of MODBUSR device data with sequence programs Chapter 10 Chapter 10 describes the dedicated instructions designed to perform read write etc of MODBUSR device data with sequence programs 11 Error codes and corresponding corrective actions Chapter 11 a Section 11 1 describes the troubleshooting b Section 11 2 describes how to check the module condition c Section 11 3 describes the er...

Page 15: ...lso referred to as the MAC Media Access Control address This is used to identify the addresses of external devices over a network The Ethernet address of the QJ71MT91 can be verified on the MAC ADD column of the rating plate MELSECNET H The MELSECNET H network system Master The side from which a request is sent to execute a function Slave The side where the execution request from the master is pro...

Page 16: ...protocol Communication protocol developed for programmable controller by Schneider Electric SA MODBUSR device Device used for communication using the MODBUS R protocol Sequence program Programming system devised to make a contact type sequence compatible with the programmable controller language as is Draw two vertical control buses and describe contacts etc between the buses to perform programmin...

Page 17: ...unication parameters MODBUSR device data can be automatically read from or written to the slaves at the specified intervals using the QJ71MT91 buffer memory 1 Data can be transferred between the QJ71MT91 buffer memory and programmable controller CPU device memory by making the auto refresh setting with the utility package GX Configurator MB or accessing a intelligent function module device with a ...

Page 18: ... be read out to the programmable controller CPU device memory or programmable controller CPU data to be written to the slave 2 MBREQ instruction Can issue user desired request message format function code 1 data unit to a slave 1 Refer to Chapter 4 for the function code Z MBRW Command MODBUS TCP slave device Holding register Programmable controller CPU QJ71MT91 Device memory 1234H 1234H Request me...

Page 19: ...t needed b MODBUSR device assignment function Using MODBUSR device assignment parameters the MODBUSR devices are correlated with the programmable controller CPU device memory This enables direct access from the master to the programmable controller CPU device memory Supporting the MODBUSR devices of large capacity the QJ71MT91 allows all device memories of the programmable controller CPU to be ass...

Page 20: ...essage Request message 1 In response to a request message from the master the QJ71MT91 operates as a slave and returns a response message 2 The QJ71MT91 operates as a master and issues a request message to the slave b Example of communication between QJ71MT91 and QJ71MT91 The both functions can be operated bi directionally between QJ71MT91 and QJ71MT91 QJ71MT91 Master slave function Ethernet QJ71M...

Page 21: ...ections b 100 Mbps high speed communication Supporting 100BASE TX the QJ71MT91 can make 100Mbps high speed communication c Router relay function Communication can be made with a MODBUSR TCP device via a router 6 Ease of setting with utility package The optional utility package GX Configurator MB is available Though not required the use of the utility package allows on screen initial settings basic...

Page 22: ...re mounting modules and if the power supply capacity is insufficient change the combination of the modules Applicable CPU module Base unit 2 CPU type CPU model No of modules 1 Main base unit Extension base unit Q00JCPU Up to 8 Q00CPU Basic model QCPU Q01CPU Up to 24 Q02CPU Q02HCPU Q06HCPU Q12HCPU High Performance model QCPU Q25HCPU Up to 64 Q02PHCPU Q06PHCPU Q12PHCPU Process CPU Q25PHCPU Up to 64 ...

Page 23: ... each network module model Depending on the combination with other modules or the number of mounted modules power supply capacity may be insufficient Pay attention to the power supply capacity before mounting modules and if the power supply capacity is insufficient change the combination of the modules Base unit 2 Applicable network module No of modules 1 Main base unit of remote I O station Exten...

Page 24: ... MB Single CPU system Version 7 or later Q00J Q00 Q01CPU Multiple CPU system Version 8 or later Single CPU system Version 4 or later Q02 Q02H Q06H Q12H Q25HCPU Multiple CPU system Version 6 or later Single CPU system Q02PH Q06PHCPU Multiple CPU system Version 8 68W or later Single CPU system Q12PH Q25PHCPU Multiple CPU system Version 7 10L or later Q12PRH Q25PRHCPU Redundant system Version 8 45X o...

Page 25: ...ndard 1 Hub and other equipment a Shielded twisted pair cable 1 For 100BASE TX Shielded twisted pair cable STP cable Category 5 2 For 10BASE T Unshielded twisted pair cable UTP cable Category 3 4 5 A straight cable can be used We do not guarantee proper operation if a crossing cable is used for the 100BASE TX 10BASE T connection between the QJ71MT91 and the target device b RJ45 jack c Hub for 100M...

Page 26: ...P system exists However communication with the QJ71MT91 is not available 1 Basic system configuration MODBUSR TCP communication Ethernet Third party programmable controller Master User application Master Third party programmable controller Remote I O MELSEC A series programmable controller AJ71UC24 S2 Remote I O Slave QJ71MT91 Master slave function HMI Master CNC Slave Third party programmable con...

Page 27: ... examples Access path via QJ71MT91 GX Developer QJ71MT91 Connected programmable controller MODBUS TCP R b Precautions for GX Developer connection When the QJ71MT91 and Ethernet module exist together on the same Ethernet access cannot be made between the QJ71MT91 and Ethernet module GX Developer Ethernet module QJ71MT91 Ethernet and MODBUS TCP mixed network R ...

Page 28: ...uction cannot be used b GX Configurator MB GX Configurator MB cannot be used when accessing the Q12PRH Q25PRHCPU via an intelligent function module on an extension base unit from GX Developer Connect a personal computer with a communication path indicated below 2 1 Main base unit Extension base unit 1 2 Direct connection to the CPU Connection through an intelligent function module on the main base...

Page 29: ...serial No and function version of the module is shown in the SERIAL field of the rating plate MAC ADD Relevant regulation standards Function version Serial No first5 digits b Checking by GX Developer The serial No and function version of the module are displayed on the Production Info List and Module s Detailed Information screen of GX Developer The following explains how to check them on the Prod...

Page 30: ...OINT The serial No on the rating plate may be different from the serial No displayed on the product information screen of GX Developer The serial No on the rating plate indicates the management information of the product The serial No displayed on the product information screen of GX Developer indicates the function information of the product The function information of the product is updated when...

Page 31: ...ions Chapter 4 Input area size 4k words Automatic communica tion function Output area size 4k words Section 3 3 1 Number of instructions that can be executed concurrently 4 Up to 8 instructions Function for send MBRW instruction 9 functions MBREQ instruction 19 functions Chapter 4 Input area size Max 253 bytes per instruction Master function Dedicated instruction Output area size Max 253 bytes per...

Page 32: ...ompleted OFF Y2 X3 Basic parameter setting existence ON Parameters set OFF No parameters set Section 9 1 1 Y3 Use prohibited X4 Automatic communication parameter setting normally completed ON Normally completed OFF Y4 Automatic communication parameter setting request automatic communication start request ON Parameter setting being requested start being requested OFF No parameter setting requested ...

Page 33: ...1A Use prohibited X1B COM ERR LED status ON Lit OFF Not lit Section 11 4 2 Y1B COM ERR LED OFF request ON Being requested OFF Not requested Section 11 4 2 X1C PING test completed ON PING test completed OFF Section 11 5 2 Y1C PING test execution request ON PING test execution being requested OFF PING test execution not request Section 11 5 2 X1D Y1D X1E Use prohibited Y1E X1F Watch dog timer error ...

Page 34: ... 8 KeepAlive interval timer value Set time set value 500ms 14H 20 R W 0009H 9 KeepAlive KeepAlive resend count 3H R W 000AH 10 Router relay function 0H R W 000BH to 000CH 11 to 12 Subnet mask pattern FFFFFF00H R W 000DH to 000EH 13 to 14 Default router IP address 0H R W 000FH 15 Number of routers set 0H R W 0010H to 0011H 16 to 17 Subnet address 0H R W 0012H to 0013H 18 to 19 Router information 1 ...

Page 35: ...11 System area use prohibited 0200H to 0201H 512 to 513 Target station IP address 00000000 R W 0202H 514 Module ID 255H R W 0203H 515 Repeat interval timer value Set time set value 10ms 0 R W 0204H 516 Response check timer value Set time set value 500ms 0 R W 0205H 517 Target MODBUS R device type specification 0000H R W 0206H 518 Head buffer memory address 0000H R W 0207H 519 Target MODBUS R devic...

Page 36: ...t 1 Assignment points 0H R W 0984H to 09BFH 2436 to 2495 Input register assignment 2 to 16 Same as input register assignment 1 09C0H 2496 Device code 0H R W 09C1H 2497 Head device number 0H R W 09C2H 2498 Head holding register number 0H R W 09C3H 2499 Holding register assignment 1 Assignment points 0H R W 09C4H to 09FFH 2500 to 2559 MODBUS R device assignment parameter Holding register assignment ...

Page 37: ...m area use prohibited 0C20H to 0C23H 3104 to 3107 Automatic communication operation status storage area parameters 1 to 64 0H R Section 11 3 1 0C24H to 0C27H 3108 to 3111 System area use prohibited 0C28H to 0C67H 3112 to 3175 Automatic communication error code storage area parameters 1 to 64 0H R Section 11 3 1 0C68H to 0CA7H 3176 to 3239 Communi cation status monitor area System area use prohibit...

Page 38: ... to 3633 ICMP packet reception count 0H R 0E32H to 0E33H 3634 to 3635 Count of ICMP packet reception discarded due to sum check error 0H R 0E34H to 0E35H 3636 to 3637 Total number of sent ICMP packets 0H R 0E36H to 0E37H 3638 to 3639 Total number of ICMP echo request received 0H R 0E38H to 0E39H 3640 to 3641 Total number of ICMP echo reply sent 0H R 0E3AH to 0E3BH 3642 to 3643 Total number of ICMP...

Page 39: ...ation status by protocol type Receive error System area use prohibited 0E90H to 0FDFH 3728 to 4063 System area use prohibited 0FE0H 4064 Communication time check 2H R W 0FE1H 4065 Transmission count 4H R W 0FE2H to 0FE3H 4066 to 4067 IP address 0H R W 0FE4H 4068 Execution result 0H R 0FE5H 4069 Total packet transmission count 0H R 0FE6H 4070 Success count 0H R 0FE7H 4071 PING test Result Failure c...

Page 40: ... the master 11 1 2 Get communications event counter Gets the communication event counter 12 1 2 Get communications event log Gets the communication event log 15 Write multiple coils Writes values ON OFF to multiple coils Section 4 3 7 16 Write multiple registers Writes values to multiple holding registers Section 4 3 8 17 1 2 Report slave I D Reads the type status etc of the slave device to the ma...

Page 41: ...e 43 1 Read device identification Supported Not supported 1 The QJ71MT91 slave function does not support this function However it can be issued from the master QJ71MT91 by use of the MBREQ instruction 2 The function codes 07 08 11 12 and 17 are the functions dedicated to the MODBUS R serial protocol 3 For details of the function codes for the master function refer to the explanation of the corresp...

Page 42: ... of the response message from the slave Protocol ID 2 bytes Indicates the protocol of the PDU protocol data unit Stores 0 in the case of MODBUSR TCP Message length 2 bytes Stores the message size in byte unit The message length after this field is stored See the above figure MBAP header MODBUSR application header Module ID 1 byte Used to specify the slave connected to the other line e g MODBUSR se...

Page 43: ... read written device number 1 2 Overview of request response message format given in this section a Request response message format diagram The following indicates the overview of the request response message format diagram given in Section 4 3 1 to 4 3 12 Head coil number Data Read points H L H L Function code Function code 01H Area name Frame contents Request message format Setting range Respons...

Page 44: ...1 to 4 3 12 The exception code is also stored into the QJ71MT91 buffer memory Further to allow the cause to be indentified in more detail the error code is stored into the QJ71MT91 buffer memory The exception code and error code can be confirmed in the error log area address CFEH to DFF H of the buffer memory REMARK 1 Refer to Section 11 3 for the confirmation method and details of the exception c...

Page 45: ...on code Device data 1 Device data n Number of read bytes n Device data 1 to n Device data 1 b0 b1 b2 b3 b4 b5 b6 b7 Device data n 0 OFF 1 ON The read coil statuses are stored in order from low order to high order bits When the number of read points is not a multiple of 8 the excess bits turn to 0 Bit device storage order 01H Number of read bytes n When completed with an error Data Function code Fu...

Page 46: ...unction code Device data 1 Device data n Number of read bytes n Device data 1 to n Device data 1 b0 b1 b2 b3 b4 b5 b6 b7 Device data n 0 OFF 1 ON The read input statuses are stored in order from low order to high order bits When the number of read points is not a multiple of 8 the excess bits turn to 0 Bit device storage order 02H Number of read bytes n When completed with an error Data Function c...

Page 47: ...H 0001H to 007DH 2 Response message format Slave Master When completed normally Data H Function code Function code Device data 1 Device data n Number of read bytes n 2 1 L H L Number of read bytes n 2 1 03H For example when n 4 the number of read bytes is 4 2 8 bytes When completed with an error Data Function code Function code 83H Exception code 2 When completed with an error the exception code a...

Page 48: ...001H to 007DH 2 Response message format Slave Master When completed normally Data H Function code Function code Device data 1 Device data n Number of read bytes n 2 1 L H L Number of read bytes n 2 1 04H For example when n 4 the number of read bytes is 4 2 8 bytes When completed with an error Data Function code Function code 84H Exception code 2 When completed with an error the exception code and ...

Page 49: ...ion code Function code 0000H to FFFFH 0000H OFF FF00H ON 05H 2 Response message format Slave Master When completed normally The slave returns the request message received from the master as it is When completed with an error Data Function code Function code 85H Exception code When completed with an error the exception code and error code are stored into the buffer memory Refer to Section 11 3 for ...

Page 50: ...L Function code Function code 0000H to FFFFH 06H 0000H to FFFFH 2 Response message format Slave Master When completed normally The slave returns the request message received from the master as it is When completed with an error Data Function code Function code 86H Exception code When completed with an error the exception code and error code are stored into the buffer memory Refer to Section 11 3 f...

Page 51: ... 0001H to 00F6H 0FH Number of bytes n The values ON OFF stored into the device data 1 to n are written to the coils in order from low order to high order bits of the device data The number of points specified as the write points must be matched with the number of bits specified as the number of bytes For example when the write points are 16 set the number of bytes to 2 bytes 16 bits 2 Response mes...

Page 52: ...ompleted with an error Data Function code Function code 8FH Exception code When completed with an error the exception code and error code are stored into the buffer memory Refer to Section 11 3 for the storage location confirmation method and more details ...

Page 53: ...r of bytes n 2 1 1 The number of points specified as the write points must be matched with the number of bytes 2 Response message format Slave Master When completed normally Head holding register number Data Write points H L H L Function code Function code 10H The value same as in the request message is stored The value same as in the request message is stored When completed with an error Data Fun...

Page 54: ...000H to FFFFH 0000H to 270FH 0001H to 007CH 06H 0000H to FFFFH 0000H to 270FH 0001H to 007CH 06H The upper limit of the file number available for the QJ71MT91 slave function is equal to the file register size of the mounted programmable controller CPU Refer to Section 7 4 4 a Specify the number of sub requests m so that the PDU protocol data unit size in the request message does not exceed 253 byt...

Page 55: ...sponse data bytes m 2 N 2 Data L Device data 1 H H L Sub request m Number of read bytes nm 2 1 Reference number 06H Device data nm Number of response data bytes m 2 N 2 Number of read bytes nm 2 1 N in the above diagram represents the total n1 nm of the device data When completed with an error Data Exception code Function code Function code 94H When completed with an error the exception code and e...

Page 56: ...er of bytes m 7 Device data 1 Device data n1 H L H L Data File number 0000H to FFFFH H L Write head device number 0000H to 270FH H L H L Reference number 06H Write points nm 0001H to 007AH Device data 1 Device data nm H L H L Sub request m The upper limit of the file number available for the QJ71MT91 slave function is equal to the file register size of the mounted programmable controller CPU Refer...

Page 57: ...re stored into the buffer memory Refer to Section 11 3 for the storage location confirmation method and more details POINT Even if the slave QJ71MT91 receives this function with the programmable controller CPU file register ZR set as read only for example the storage location of the file register ZR is a Flash card the slave responds normally In this case however the Write file record is not perfo...

Page 58: ...r 0000H to FFFFH Data H L H L Function code Function code 16H H L AND mask value 0000H to FFFFH OR mask value 0000H to FFFFH 2 Response message format Slave Master When completed normally The slave returns the request message received from the master as it is When completed with an error Data Exception code Function code Function code 96H When completed with an error the exception code and error c...

Page 59: ...H to FFFFH Number of bytes m 2 Write points m 1 0001H to 0079H H L H L Number of bytes m 2 1 0000H to 00F2H Write device data 1 H L Write device data m 1 The number of points specified as the write points must be matched with the number of bytes 2 Response message format Slave Master When completed normally Read device data 1 Data H L Function code Function code 17H H L Number of bytes n 2 Read de...

Page 60: ...mmable controller CPU device memory Section 5 3 2 KeepAlive function Confirms the status of communication with the target device where a TCP connection has been established When communication is not made for a given period of time between the QJ71MT91 and the open target device the QJ71MT91 checks the target device for existence and cuts off unnecessary TCP connections Section 5 4 Router relay fun...

Page 61: ...ions of the QJ71MT91 and send receive functions Hardware test Tests the RAM and ROM of the QJ71MT91 Section 6 5 1 Self loopback test Tests the send receive functions and hardware of the QJ71MT91 Section 6 5 2 Various settings using utility package Use of the utility package GX Configurator MB allows easy parameter settings the basic parameters and automatic communication parameters and status moni...

Page 62: ...parameters to use this function Refer to Section 7 3 for details of the automatic communication parameters 2 Start and stop of automatic communication function a When the automatic communication parameters are set from the utility package GX Configurator MB the automatic communication function is activated by powering ON the programmable controller from OFF or by resetting the programmable control...

Page 63: ...operation status Automatic communication parameter creation Automatic communication parameter setting normally completed Automatic communication start Module READY X0 OFF ON ON ON ON ON ON ON ON Basic parameter setting existence X3 OFF Automatic communication stop request Y6 OFF Automatic communication function operating Automatic communication function operating Automatic communication parameter ...

Page 64: ...ation operation status a Confirming automatic communication operation status Use Automatic communication operation status X6 to confirm the automatic communication operation status b When an error occurs in the automatic communication Automatic communication error status X7 turns ON Also any erroneous part of the parameters and error details can be identified by the following 1 Acquisition of auto...

Page 65: ... timer expires Response monitoring timer stops 5 6 Corresponding bit of Automatic communication operation status turns off 0 Normal is set Repeat interval timer starts 7 8 Response monitoring timer expires 9 Corresponding bit of Automatic communication operation status turns on 1 Error is set Request message Request message 2 4 6 2 9 6 Repeat interval timer Response monitoring timer Master functio...

Page 66: ...ation function buffer input area When receiving a response message from the slave the QJ71MT91 writes data to the automatic communication function buffer input area in descending order of the addresses in 1 word 16 bits unit 2 Transfer direction in automatic communication function buffer output area When sending a request message to the slave the QJ71MT91 creates it by reading data from the automa...

Page 67: ...e memory by either of the following methods Transfer Method Transfer by auto refresh setting Transfer by auto refresh setting Make the auto refresh setting with GX Configurator MB Refer to Section 8 5 Transfer using the sequence program Specify the intelligent function module device Un G in a sequence program to make transfer For details of the intelligent function module device refer to the QCPU ...

Page 68: ...aster function Ethernet R Request message holding register 400500 read request Response message holding register 400500 1234H Dedicated instruction list The list of the dedicated instructions supported by the QJ71MT91 is indicated below Dedicated Instruction Description Reference MBRW Issues a MODBUS R device read write request message to the slave Section 10 2 MBREQ Communicates with the slave in...

Page 69: ...sage to the master The automatic response function uses the MODBUS R device assignment function Refer to Section 5 3 2 for the MODBUS R device assignment function Refer to Section 4 1 for the function codes supported by the slave function of the QJ71MT91 Request message function code Ethernet MODBUS TCP master device R Response message Sequence program unnecessary Programmable controller CPU Devic...

Page 70: ...e assigned Refer to Section 7 4 1 for the MODBUS R device sizes 2 MODBUSR device assignment parameter setting a Set the MODBUS R device assignment parameters from the utility package GX Configurator MB Setting from a sequence program is also available Refer to Section 9 1 3 Refer to Section 7 4 for details of the MODBUS R device assignment parameters b As the MODBUS R device assignment parameters ...

Page 71: ...et to the basic parameters as necessary Refer to Section 7 2 for details of the basic parameters 3 Operation of KeepAlive function a The QJ71MT91 starts the KeepAlive start timer when it receives the last message from the target device whose TCP connection is open b The QJ71MT91 sends the KeepAlive message for alive check to the target device and starts the KeepAlive interval timer when the KeepAl...

Page 72: ...rget device R Stop ACK KeepAlive resend count 3 times KeepAlive message KeepAlive message KeepAlive message KeepAlive message Timeout Start Start Start Start Timeout Start Start Timeout Alive check error Timeout Timeout Message Message Message Message Message Message Message Message Message Message Message Message Message Message Message Message ...

Page 73: ...t Router information Change the default values set to the basic parameters as necessary Refer to Section 7 2 for details of the routing information Ethernet QJ71MT91 Master function Router 1 Router 2 Default router Ethernet Ethernet Ethernet MODBUS TCP slave device 1 R MODBUS TCP slave device 2 R MODBUS TCP slave device 3 R MODBUS TCP slave device 4 R POINT 1 When the slave function of the QJ71MT9...

Page 74: ...o GX Developer via the QJ71MT91 b The QJ71MT91 can connect a maximum of eight GX Developer c Refer to Section 7 2 3 for the GX Developer connection setting 2 Accessible range Refer to Section 2 3 for details of the accessible range 3 GX Developer connection setup Refer to Appendix 3 for the method of GX Developer connection setup Ethernet GX Developer QJ71MT91 ...

Page 75: ...on explains the precautions for handling the QJ71MT91 1 Since the case of the QJ71MT91 is made of resin do not drop or give it hard impact 2 Always make sure to touch the grounded metal to discharge the electricity charged in the body etc before touching the module Failure to do so may cause a failure or malfunctions of the module 3 Tighten the screws such as module fixing screws within the follow...

Page 76: ...veloper Refer to Section 6 5 2 Refer to Section 6 6 Refer to Chapter 7 Conduct a hardware test Mount the QJ71MT91 to the base unit Refer to Section 6 5 1 Refer to Section 6 4 Refer to Section 6 6 Set the intelligent function module switches wirh GX Developer Connect the Ethernet cable to the QJ71MT91 and connect it to the network Set the parameters using GX Configurator MB or sequence program Set ...

Page 77: ...parameter setting request etc do not output turn ON the Use prohibited signal among the output signals Doing so may cause malfunction of the programmable controller system 3 When having replaced the QJ71MT91 reset the other device of communication target If the device holds the Ethernet address of the communication target communication may not be continued since the Ethernet address is changed by ...

Page 78: ...NIT OPEN SD RD COM ERR ERR QJ71MT91 100M 1 2 Name Description 1 Indicator LEDs Refer to the following section 1 Indications of indicator LEDs 2 10BASE T 100BASE TX connector RJ45 1 Connector for connection of the QJ71MT91 to 10BASE T 100BASE TX The QJ71MT91 detects whether 10BASE T or 100BASE TX is used according to the hub 1 The LED on the connector is not lit ...

Page 79: ...nt OPEN TCP connection open status Presence of open TCP connection Absence of open TCP connection SD Send status Data send in progress Data not yet sent ERR Setting error status Error Normal setting COM ERR Communication error status Communication error occurrence 2 Normal communication in progress 100M Transmission speed 100Mbps 10Mbps or not connected RD Receive status Data receive in progress D...

Page 80: ...ommunication cables together with the main circuit and power cables etc Keep a distance of at least 100mm between them Failure to do so can cause a malfunction due to noise The communication and power cables connected to the module must be placed in a duct or secured with clamps If the cables are not secured inadvertent tripping can cause damage to the module or cables or a malfunction When discon...

Page 81: ...T 1 The QJ71MT91 detects whether 10BASE T or 100BASE TX and the full or half duplex communication mode is used according to the hub For connection with the hub that does not support the auto negotiation function set the half duplex communication mode on the hub side 2 Refer to Section 2 2 for the devices necessary for connection to 10BASE T 100BASE TX and a system configuration example ...

Page 82: ...er to Section 6 6 3 Reset the programmable controller CPU Test start Normal 4 After 5 seconds check the status of each LED Error 5 When the hardware test is completed change the operation mode to Online or another mode in the intelligent function module switch setting 6 Reset the programmable controller CPU ON OFF A possible cause of error is the RAM ROM fault of the QJ71MT91 When an error occurs ...

Page 83: ... programmable controller CPU Test start Normal 4 After 5 seconds check the status of each LED Error 5 When the self loopback test is completed change the operation mode to Online or another mode in the intelligent function module switch setting 6 Reset the programmable controller CPU ON OFF A possible cause of error is the hardware fault of the QJ71MT91 When an error occurs the error code is store...

Page 84: ... Set the following to the slot where the QJ71MT91 is mounted Type Select Intelli Model name Enter the model name of the module Points Select 32 points Start XY Enter the head I O number of the QJ71MT91 Detailed setting Specify the control CPU of the QJ71MT91 in a multiple CPU system 2 Intelligent function module switch setting screen Click the Switch setting button on the I O assignment setting sc...

Page 85: ... used for operation REMARK For the operation method of GX Developer refer to the GX Developer Operating Manual 1 Operation mode setting Switch 1 Set the operation mode of the QJ71MT91 such as the online or offline mode Set value Item Description 0000H Online Normal operation mode Communicates with the target device 0001H Offline Disconnects the local station from the network In the offline mode pa...

Page 86: ...parameters for the time when the power is turned ON from OFF When corresponding bit is OFF The QJ71MT91 starts up with its default basic parameters and starts communication When corresponding bit is ON The QJ71MT91 starts up with the basic parameters set using a sequence program or GX Configurator MB and starts communication However the user set basic parameters are not registered to the QJ71MT91 ...

Page 87: ...ntroller CPU the initial setting is updated when the programmable controller is powered ON from OFF or the programmable controller CPU is reset with the programmable controller CPU s RUN STOP switch set to RUN POINT 1 Make this setting ON when a sequence program or GX Configurator MB is used to set the MODBUSR device assignment parameters 2 If no MODBUSR device assignment parameters have been set ...

Page 88: ...ant frame 3 IP address setting Switch 3 Switch 4 Set the IP address of the QJ71MT91 on the local station b0 Switch 3 b15 b7 b8 b0 b15 b7 b8 IP address 192 1 0 254 Switch 4 Set the value that satisfies the following conditions Condition 1 The IP address class is any of A B and C Condition 2 All the host address bits are not 0 or 1 If the conditions are not satisfied a switch 3 4 error 7303H will oc...

Page 89: ...with the user set parameters Switch 2 1 1 R MODBUS device assignment parameter starting method Communication starting conditions Not startable Not executable Request message not acceptable GX Developer not connectable Startable Executable Request message acceptable GX Developer connectable Module READY QJ71MT91 operation Y1 X1 X3 Y8 X8 XA X0 Slave function R R R Parameter setting processing by GX ...

Page 90: ...peration Y1 X1 X3 Y8 X8 XA X0 Slave function Default parameter setting Basic parameters Not startable Not executable Request message not acceptable GX Developer not connectable Startable Executable Request message acceptable GX Developer connectable R MODBUS device assignment parameters Parameter setting operation Function executability Basic parameter setting request Basic parameter setting norma...

Page 91: ...Request message not acceptable GX Developer not connectable Startable Executable Request message acceptable GX Developer connectable R Default parameter setting Module READY QJ71MT91 operation Y1 X1 X3 Y8 X8 XA X0 Slave function MODBUS device assignment parameters Parameter setting operation Function executability Basic parameter setting request Basic parameter setting normally completed Basic par...

Page 92: ...ble Not executable GX Developer not connectable Startable Executable Request message acceptable GX Developer connectable Default parameter setting Basic parameters R Parameter setting operation Function executability Basic parameter setting request Basic parameter setting normally completed Basic parameter existence R MODBUS device assignment parameter setting request R MODBUS device assignment pa...

Page 93: ...ctable Startable Executable GX Developer connectable Module READY QJ71MT91 operation Y1 X1 X3 Y8 X8 XA X0 Slave function Parameter setting operation Function executability Basic parameter setting request Basic parameter setting normally completed Basic parameter existence R MODBUS device assignment parameter setting request R MODBUS device assignment parameter setting normally completed R MODBUS d...

Page 94: ...he master Refer to Section 7 3 for details If the automatic communication function is not to be used setting of these parameters are not required c MODBUSR device assignment parameters Set the MODBUSR device assignment parameters when using the MODBUSR device assignment function with the QJ71MT91 acting as a slave When using the initial values preset to the QJ71MT91 no setting is required for thes...

Page 95: ... method b0 of the communication condition setting Switch 2 to ON Refer to Section 6 6 Set the MODBUS device assignment parameter starting method b1 of the communication condition setting Switch 2 to ON Refer to Section 6 6 Set the basic parameters Refer to Section 8 7 1 9 2 9 3 Set the automatic communication parameters Refer to Section 8 7 2 9 2 9 3 1 Set the MODBUS device assignment parameters R...

Page 96: ...s X6 Automatic communication operation status ON 1 Is X0A MODBUS device assignment parameter setting existence ON 1 Parameter setting completion Basic parameter error Take action according to troubleshooting Refer to Section 11 1 2 Automatic communication parameter error Take action according to troubleshooting Refer to Section 11 1 2 MODBUS device assignment parameter error Take action according ...

Page 97: ...munication parameter setting Refer to Chapter 9 Will the initial values of the MODBUS device assignment parameters be changed Create a sequence program for MODBUS device assignment parameter setting Refer to Chapter 9 Turn OFF b0 the basic parameter starting method of the communication condition setting Switch 2 Refer to Section 6 6 Turn OFF b1 MODBUS device assignment parameter starting method of...

Page 98: ...ommunication parameter setting error completed ON Is X9 MODBUS device assignment parameter setting error completed ON Parameter setting complete Basic parameter error Take action according to troubleshooting Refer to Section 11 1 2 Automatic communication parameter error Take action according to troubleshooting Refer to Section 11 1 2 MODBUS device assignment parameter error Take action according ...

Page 99: ...itoring timer value Set time set value 500ms 2 to 2400 60 0006H 6 KeepAlive 0 Not used 1 Used 1 0007H 7 KeepAlive start timer value Set time set value 500ms 1 to 32767 1200 0008H 8 KeepAlive interval timer value Set time set value 500ms 1 to 32767 20 0009H 9 KeepAlive KeepAlive resend count 1 to 10 3 000AH 10 Router relay function 0 Not used 1 Used 0 000BH to 000CH 11 to 12 Subnet mask pattern C00...

Page 100: ... to 65535 1 502 0111H 273 Target slave port No for automatic communication function 1 to 65535 1 502 0114H 276 CPU response monitoring timer value Set time set value 500ms 1 to 2400 10 0115H to 0116H 277 to 278 IP address Refer to Section 7 2 4 4 b 00000000H 0117H 279 Preferred node specification 1 Number of connections 0 to 64 0 0118H to 01D4H 280 to 468 Preferred node specification 2 to 64 Same ...

Page 101: ... connection is opened and TCP data are transmitted This timer is also used for the time for resending an ARP request in the case where a response is not returned in reply to the sent ARP request ARP is resent at the TCP resend timer value 2 2 No setting is required when the default value is used d TCP end timer value 1 When TCP connection is closed from the local station the local station sends FI...

Page 102: ...on 7 3 for details 2 Refer to Section 10 2 or 10 3 for details When making communication between two QJ71MT91s perform the same settings to both modules 2 Specify the target device side timer values that will satisfy the following conditions If the timer values are not as indicated below communication errors such as send time out may occur frequently Target device side TCP resend timer value QJ71M...

Page 103: ...cribed below When QJ71MT91 transmission message size 536 bytes n 1 When 536 bytes QJ71MT91 transmission message size 1072 bytes n 2 When 1072 bytes QJ71MT91 transmission message size 1608 bytes n 3 3 When a communication error occurs due to noise etc change the setting to increase the retry count The retry count is determined by the following expression In the case of the default value 2 60 20 1 1...

Page 104: ...k for the TCP connection opened with KeepAlive valid 2 No setting is required when the default value is used c KeepAlive interval timer value 1 Set the alive recheck interval time for the case that no response from the target device can be received through the TCP connection opened with KeepAlive valid 2 No setting is required when the default value is used d KeepAlive resend count 1 Set how many ...

Page 105: ...ording to the class Class Mask value Class A FF000000H Class B FFFF0000H Class C FFFFFF00H 1 Networks constructed by Ethernet include small scaled network systems where multiple devices are connected to one Ethernet and medium and large scaled network systems where multiple small scaled networks are connected by routers etc The subnet mask logically divides one network where many devices are conne...

Page 106: ...ding to e Subnet address and f Router IP address below when the QJ71MT91 communicates with the target device on another Ethernet via other than the default router 2 Set the necessary number of subnet addresses and router IP addresses to the areas of e and f below e Router information Subnet address 1 Set the network address 1 or subnet address 2 of the target device when the QJ71MT91 communicates ...

Page 107: ...0 0 0 0 0 1 81H 0 0 0 0 0 1 0 0 04H 0 1 0 0 40H 0 0 0 0 0 0 0 1 01H 0 0 0 0 1 0 0 0 0 0 0 1 81H 0 0 0 0 0 1 0 0 04H 0 0 0 0 00H 0 0 0 0 0 0 0 0 00H 0 0 0 0 Local station QJ71MT91 IP address Class B Target device 1 IP address Class B Subnet address set value Network address Network address Set the network address of the target device 1 Setting example 2 When the classes of the local station QJ71MT9...

Page 108: ... 1 1 1 1 1 0 0 0 0 0 00H 0 0 0 0 0 0 0 0 0 1 0 1 05H 0 0 1 0 28H 1 0 0 0 f Router information Router IP address Set the IP addresses of the routers to be used when the QJ71MT91 communicates with the target devices on other Ethernets via other than the default router Set the value that satisfies the following conditions Condition 1 The IP address class is any of A B and C Condition 2 The subnet add...

Page 109: ...ction represents connections for connecting GX Developer using the TCP protocol Set the desired number to the Number of TCP connections for GX Developer connection b TCP connections for GX Developer connection are handled as preferred connections c When GX Developer is connected using the UDP protocol no setting is required for the Number of TCP connections for GX Developer connection ...

Page 110: ...R TCP protocol define that 502 should be used as the port No for the slave In this setting the default value is 502 and normally need not be changed 2 When specifying a value of 32768 8000H or more in a sequence program set the value in hexadecimal 3 CPU response monitoring timer value a When the QJ71MT91 receives a request message from the master and the programmable controller CPU starts its pro...

Page 111: ...TCP connection in addition to already open 64 TCP connections the QJ71MT91 automatically closes the TCP connection that has not communicated for the longest time among the non communicating ones At this time the TCP connections with the target devices specified as the preferred nodes are not closed 4 If the number of TCP connections used by the QJ71MT91 exceeds 64 specify the preferred nodes for t...

Page 112: ...H Not specified 0100H Read coils 0200H Read discrete inputs 0400H Read input registers 0500H Read holding registers 0001H Write coils 0005H Write multiple registers 0505H Read Write multiple registers 0000H 0206H 518 Head buffer memory address 1000H to 1FFFH 0000H 0207H 519 Target MODBUS R device head number 0 to 65535 1 0 0208H 520 Read setting Access points 2 0 to 2000 0 0209H 521 Head buffer me...

Page 113: ...sends a next message to the slave b Overlap of send and receive processings may cause delay and take more time than the interval time set to the repeat interval timer c When the repeat interval timer value is 0 the QJ71MT91 will issue a next request message immediately after it has received a response message from the slave d The accuracy of the repeat interval timer is 0 to 10ms 4 Response monito...

Page 114: ...ltiple registers 1 To perform only read or write set 0 to each of the following Head buffer memory address Target MODBUS R device head number Access points 2 Reading and writing can be performed simultaneously with one instruction only when 0505H Read write multiple registers is set 6 Head buffer memory address Read setting Write setting a As the head buffer memory address specify the head address...

Page 115: ...g register 1 to 125 points 1 to 121 points POINT In the access to the bit device coil input of the slave the fraction bits are handled as described below 1 Bit device read Automatic communication parameter Read setting Type specification of the target MODBUS R device Head buffer memory address Target MODBUS R device head number Access points 0200H Input 1000H 16628 35 b0 b0 to to bF bF 1000H 1001H...

Page 116: ...from the MODBUSR compatible master device to the programmable controller CPU device memory D300 D299 400499 D300 400500 D301 400501 1234H Ethernet R R R Programmable controller CPU Sequence program unnecessary Device memory Device memory MODBUS device assignment parameters QJ71MT91 Slave function MODBUS device Request message holding register 400500 read request Response message holding register 4...

Page 117: ... Head device number 1201 Head coil number 0 Assignment points 3500 Coil assignment 2 Device code Y 009DH Head device number 0 Head coil number 3999 Assignment points 8192 Coil assignment 3 Device code L 0092H Head device number 0 Head coil number 64999 Assignment points 5 Holding register assignment 1 Device code SD 00A9H Head device number 0 1999 Assignment points 2048 Holding register assignment...

Page 118: ...to 609999 1 The availability of extended file register read write depends on that of the file register ZR read write to the programmable controller CPU For example if the file register ZR is stored on a Flash card the extended file register is read only because the file register ZR is read only For details refer to the QCPU user s manual explanation program fundamentals 2 The maximum access points...

Page 119: ...register assignment 1 Assignment points 0000H to FFFFH 1 0984H to 09BFH 2436 to 2495 Input register Input register assignment 2 to 16 Same as in input register assignment 1 09C0H 2496 Device code 0000H Device code not assigned Other than 0000H Device code 09C1H 2497 Head device number 0000H to FFFFH 09C2H 2498 Head holding register number 0000H to FFFFH 09C3H 2499 Holding register assignment 1 Ass...

Page 120: ...H Contact TS 00C1H Timer Current value TN 00C2H Coil SC 00C6H Contact SS 00C7H Retentive timer Current value SN 00C8H Coil CC 00C3H Contact CS 00C4H Counter Current value CN 00C5H Link special relay SB 3 00A1H Link special register SW 3 00B5H Internal user device Step relay S 0098H Direct input DX 00A2H Direct device Direct output DY 00A3H Index register Index register Z 00CCH R 00AFH File registe...

Page 121: ...er Head input register number Head holding register number a As the head MODBUSR device number set the head number of the MODBUSR device of the assignment target QJ71MT91 b Use the following expression to find the set value of the head MODBUSR device number Head MODBUSR device number Last 5 digits of MODBUSR device number to be set 1 Example Set 5139 when the MODBUSR device number is 105140 c The ...

Page 122: ...1 2048 SB 0 to 7FF Coil assignment 7 043008 043009 2048 V 0 to 2047 Coil assignment 8 045056 045057 8192 S 0 to 1FFF Coil assignment 9 053248 053249 2048 TC 0 to 2047 Coil assignment 10 055296 055297 2048 TS 0 to 2047 Coil assignment 11 057344 057345 2048 SC 0 to 2047 Coil assignment 12 059392 059393 2048 SS 0 to 2047 Coil assignment 13 061440 061441 2048 CC 0 to 2047 Coil assignment 14 063488 063...

Page 123: ...H 0 0 Input register assignment 1 to 16 0980H to 09BFH 0000H 0000H 0 0 Holding register assignment 1 09C0H to 09C3H 00A8H D 0000H 0 12288 Holding register assignment 2 09C4H to 09C7H 00A9H SD 0000H 20480 2048 Holding register assignment 3 09C8H to 09CBH F000H 5000H 22528 4096 Holding register assignment 4 09CCH to 09CFH 00B4H W 0000H 30720 8192 Holding register assignment 5 09D0H to 09D3H 00B5H SW...

Page 124: ...onse when the master makes a request to the programmable controller CPU on the QJ71MT91 mounted station to read from or write to a nonexistent file register ZR For the file register ZR refer to the QCPU user s manual explanation program fundamentals 3 MODBUS extended file register size The MODBUSR extended file register size depends on the file register ZR size set to the programmable controller C...

Page 125: ...to Section 7 4 2 b When using the default assignment parameter Use any of the MODBUSR device 422529 to 426624 Refer to Section 7 4 3 3 MODBUS device assignment range The following QJ71MT91 buffer memory addresses can be assigned to the MODBUSR devices Buffer Memory Address Size Name Auto Refresh Setting 5000H to 5FFFH 4096 User free area Available MODBUS Programmable controller CPU D300 MODBUS dev...

Page 126: ...nce scan 3 The QJ71MT91 creates a response message and sends it to the master POINT The programmable controller CPU device memory value can be stored in the QJ71MT91 buffer memory and the QJ71MT91 buffer memory value can be stored in the programmable controller CPU device memory Data can be stored by either of the following Automatic refresh setting on GX Configurator MB Refer to Section 8 5 Trans...

Page 127: ...written to the QJ71MT91 when the CPU module enters the RUN status Section 8 4 Auto refresh setting 1 The QJ71MT91 s buffer memory is configured for automatic refresh Automatic communication function buffer input area Automatic communication function buffer output area Automatic communication operation status storage area User free area 2 The data of the QJ71MT91 buffer memory areas set for auto re...

Page 128: ...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 129: ...le intelligent function modules are installed to the MELSECNET H remote I O station 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 MELSECNET H remote I O station Calculate the total number of parameter settings separately for the initial setting and for the auto refresh setting The number ...

Page 130: ... MicrosoftR WindowsR 2000 Professional Operating System English version MicrosoftR WindowsR XP Professional Operating System English version MicrosoftR WindowsR XP Home Edition Operating System English version MicrosoftR Windows VistaR Home Basic Operating System English version MicrosoftR Windows VistaR Home Premium Operating System English version MicrosoftR Windows VistaR Business Operating Sys...

Page 131: ...owsR XP Home Edition PentiumR 300MHz or more 128MB or more Windows VistaR Home Basic PentiumR 1GHz or more 1GB or more Windows VistaR Home Premium PentiumR 1GHz or more 1GB or more Windows VistaR Business PentiumR 1GHz or more 1GB or more Windows VistaR Ultimate PentiumR 1GHz or more 1GB or more Windows VistaR Enterprise PentiumR 1GHz or more 1GB or more POINT The functions shown below are not ava...

Page 132: ...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 133: ... project created with GX Developer Project Program Parameter PLC parameter Network parameter Intelligent function module parameter b Steps 1 to 3 shown in Figure 8 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 parameters 3 ...

Page 134: ... Monitor Test screen The text files can be utilized to create user documents Programmable controller CPU RUN ERR USER BAT BOOT RS 232 USB Q25HCPU MODE A A B 1 2 3 A GX Developer GX Configurator MB Project Project Disk A B Intelligent function module parameters Data saved by Make text file Personal computer Figure 8 1 Correlation chart for data created with the utility package ...

Page 135: ... Refer to Section 8 3 3 Initial setting screen Refer to Section 8 4 Refer to Section 8 5 Auto refresh setting screen Enter Start I O No and select Module type and Module model name Initial setting Auto refresh Select a target intelligent function module screen Tools Intelligent function utility Start ...

Page 136: ...8 10 8 10 MELSEC Q 8 UTILITY PACKAGE GX Configurator MB 1 Select the module to be monitored tested Select monitor test module screen Monitor Test screen Refer to Section 8 6 Online Monitor Test ...

Page 137: ...her screens Following screens can be displayed from the intelligent function module utility screen a Initial setting screen Start I O No 1 Module type Module model name Initial setting b Auto refresh setting screen Start I O No 1 Module type Module model name Auto refresh c Select monitor test module screen Online Monitor Test 1 Enter the start I O No in hexadecimal 2 Command buttons Delete Delete...

Page 138: ...er 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 controller after having been saved in a file b Set a target programmable controller CPU in GX Developer Online Transfer Setup Only use the control CPU...

Page 139: ...ule type Module model name Initial setting Setting Screen Explanation of items 1 Parameter settings Select a button under the Setting value and set the parameters on the corresponding screen Basic parameter setting refer to Section 8 7 1 Automatic communication parameter setting refer to Section 8 7 2 MODBUSR device assignment parameter setting refer to Section 8 7 3 2 Command buttons Make text fi...

Page 140: ...he QJ71MT91 is mounted on a MELSECNET H remote I O station the initial settings become effective when the remote I O station receives the information notifying the status change from STOP to RUN of the remote master station s programmable controller CPU At this time do not write data to the buffer memory using a sequence program and do not manipulate Y signals until Basic parameter setting existen...

Page 141: ...rating procedure Start I O No Module type Module model name Auto refresh Setting screen Explanation of items 1 Display data a Setting items Setting Item Buffer memory address Reference section Automatic communication function buffer input area 4096 to 8191 1000H to 1FFFH Automatic communication function buffer output area 12288 to 16383 3000H to 3FFFH Automatic communication operation status 1 to ...

Page 142: ... point area starting from the specified device number For example if X10 is entered data are stored in X10 to X1F The devices available for MELSECNET H remote I O modules are X Y M B D and W 2 Command buttons Make text file Creates a file containing the screen data in text file format End setup Saves the set data and ends the operation Cancel Cancels the setting and ends the operation POINT 1 The ...

Page 143: ...an also be started from System monitor of GX Developer Version 6 or later Refer to the GX Developer Operating Manual for details Monitor Test Screen Monitor Test Items Monitor Test Items Buffer memory address Reference section Switch 1 Operation mode setting status 0C00H 3072 Basic parameter starting method MODBUSR device assignment parameter starting method Online change enable disable Switch 2 C...

Page 144: ...t screens including sub screens The following explains the specifications common to respective screens 1 Display data Setting item Displays I O signals and buffer memory names Current value Monitors the I O signal states and present buffer memory values Setting value Enter or select the data to be written by test operation 2 Command buttons Current value display Displays the current value of the i...

Page 145: ...LSEC Q 8 UTILITY PACKAGE GX Configurator MB Monitor Test screen Sub screen shift 1 Refer to Section 8 6 2 Automatic communication Refer to Section 8 6 1 Refer to Section 8 6 3 X Y Monitor test Basic MODBUS R device ...

Page 146: ...8 20 8 20 MELSEC Q 8 UTILITY PACKAGE GX Configurator MB 1 Refer to Section 8 6 4 Refer to Section 8 6 5 Error log Communication status PING test Refer to Section 8 6 6 ...

Page 147: ...y completed X02 Basic parameter setting error completed X03 Basic parameter setting existence X04 Automatic communication parameter setting normally completed X05 Automatic communication parameter setting error completed X06 Automatic communication operation status X07 Automatic communication error status X08 MODBUSR device assignment parameter setting normally completed X09 MODBUSR device assignm...

Page 148: ...cute test button Monitor Test Item Buffer memory address Reference section Y01 Basic parameter setting request Y04 Automatic communication parameter setting request automatic communication start request Y06 Automatic communication stop request Y08 MODBUSR device assignment parameter setting request Y1B COM ERR LED OFF request Y1C PING test execution request Section 3 2 1 ...

Page 149: ...n Basic MODBUS R device Monitor Screen Monitor Items Monitor Item Buffer memory address Reference section Basic parameter setting existence Basic parameter error code storage area 0C10H 3088 MODBUSR device assignment parameter setting existence MODBUSR device assignment parameter error code storage area 0C13H 3091 Error device type 0C14H 3092 MODBUSR device assignment parameter setting result stor...

Page 150: ...y address Reference section Automatic communication operation status Section 5 2 1 Automatic communication parameter error code storage area 0C11H 3089 Automatic communication parameter setting result storage area 0C12H 3090 Section 11 3 1 Automatic communication start request 1 Automatic communication stop request 1 This section Automatic communication operation status storage area 0C20H to 0C23H...

Page 151: ...st button POINT When conducting a test on the automatic communication start request or automatic communication stop request with Being requested set in the Setting value column make sure that Not requested is displayed in the Current value column When the current value is Being requested the test for Being requested setting cannot be performed If the current value is Being requested change it to N...

Page 152: ...the monitoring items refer to Section 11 3 1 8 b Number of error occurred and d Error log error log 1 to 32 Operating procedure Monitor Test screen Error log Monitor Screen Monitor Items Monitor Item Buffer memory address Reference section Number of errors occurred 0CFEH 3326 Detailed error code Exception code Function code Local station port No Target IP address Error log 1 to 32 Target device po...

Page 153: ...Communication status Monitor Screen Monitor Items Monitor Item Buffer memory address Reference section IP packet reception count 0E10H to 0E11H 3600 to 3601 Count of IP packet reception discarded due to sum check error 0E12H to 0E13H 3602 to 3603 Total number of sent IP packets 0E14H to 0E15H 3604 to 3605 IP Simultaneous transmission error detection count 0E2AH to 0E2BH 3626 to 3627 Section 11 3 1...

Page 154: ...ent 0E3AH to 0E3BH 3642 to 3643 ICMP Total number of ICMP echo reply received 0E3CH to 0E3DH 3644 to 3645 TCP packet reception count 0E50H to 0E51H 3664 to 3665 Count of TCP packet reception discarded due to sum check error 0E52H to 0E53H 3666 to 3667 TCP Total number of sent TCP packets 0E54H to 0E55H 3668 to 3669 UDP packet reception count 0E70H to 0E71H 3696 to 3697 Count of UDP packet receptio...

Page 155: ... screen PING test Monitor Test Screen Monitor Test Items Monitor Test Item Buffer memory address Reference section Communication time check 0FE0H 4064 Transmission count 0FE1H 4065 IP address 0FE2H to 0FE3H 4066 to 4067 PING test execution request PING test completed Execution result 0FE4H 4068 Total packet transmission count 0FE5H 4069 Success count 0FE6H 4070 Result Failure count 0FE7H 4071 Sect...

Page 156: ...ACKAGE GX Configurator MB 8 7 Parameter Setting Using GX Configurator MB 8 7 1 Basic parameters Purpose Set the basic parameters on the basic parameter screen Operating procedure Initial setting screen Basic parameter Setting screen ...

Page 157: ...ly timer value 0004H 4 TCP UDP IP monitoring timer Split reception monitoring timer value 0005H 5 KeepAlive 0006H 6 KeepAlive start timer value 0007H 7 KeepAlive interval timer value 0008H 8 KeepAlive KeepAlive resend count 0009H 9 Router relay function 000AH 10 Subnet mask pattern 000BH to 000CH 11 to 12 Default router IP address 000DH to 000EH 13 to 14 Number of routers set 000FH 15 TCP UDP IP s...

Page 158: ...ction Local slave station port No 0110H 272 Target slave port No for automatic communication function 0111H 273 CPU response monitoring timer value 0114H 276 TCP UDP IP setting MODBUSR TCP setting Preferred node specification 1 to 64 IP address Number of connections 0115H to 01D4H 277 to 468 Section 7 2 ...

Page 159: ...figurator MB 8 7 2 Automatic communication parameters Purpose Set the automatic communication parameters on the Automatic communication parameter screen Operating procedure Initial setting screen Automatic communication parameter Setting screen ...

Page 160: ...7 Head buffer memory address 0206H 518 Target MODBUSR device head number 0207H 519 Read setting Access points 0208H 520 Head buffer memory address 0209H 521 Target MODBUSR device head number 020AH 522 Automatic communication parameter 1 Write setting Access points 020BH 523 Automatic communication parameter 2 to 64 Same as in automatic communication parameter 1 020CH to 04FFH 524 to 1279 Section 7...

Page 161: ...nfigurator MB 8 7 3 MODBUS device assignment parameters Purpose Set the MODBUSR device assignment parameters on the MODBUSR device assignment parameter screen Operating procedure Initial setting screen MODBUS R device assignment Setting screen ...

Page 162: ...16 Same as in input assignment 1 0944H to 097FH 2372 to 2431 Device code 0980H 2432 Device 1 Head device number 0981H 2433 Head input register number 0982H 2434 Input register assignment 1 Assignment points 0983H 2435 Input register assignment 2 to 16 Same as in input register assignment 1 0984H to 09BFH 2436 to 2495 Device code 09C0H 2496 Device 1 Head device number 09C1H 2497 Head holding regist...

Page 163: ... 9 1 1 Basic parameter setting 1 Basic parameter setting method Make basic parameter setting in the following procedure 1 Store the parameters into the basic parameter area address 0000H to 01D4H of the buffer memory 2 Turn on Basic parameter setting request Y1 2 I O signals used for basic parameter setting Use the following I O signals for basic parameter setting Signal Signal Name X0 Module READ...

Page 164: ... Basic parameter creation Basic parameter setting normally completed Error code clear b When setting is completed with an error Y1 X1 X3 X2 OFF ON ON OFF OFF OFF ON X0 OFF ON ON Executed by QJ71MT91 Executed by sequence program 0C10H ON Parameter creation Module READY Basic parameter setting request Basic parameter setting normally completed Basic parameter setting error completed Basic parameter ...

Page 165: ...meter setting error completed X2 turns ON d When the basic parameter setting is completed with an error an error code is stored into the basic parameter error code storage area address C10H 3088 of the buffer memory Check the stored error code take corrective action and make a parameter setting request again Refer to Section 11 3 for details of the error code e Basic parameter setting existence X3...

Page 166: ... setting Use the following I O signals for automatic communication parameter setting Signal Signal Name X0 Module READY ON Accessible OFF Inaccessible X3 Basic parameter setting existence ON Parameter set OFF No parameters set X4 Automatic communication parameter setting normally completed ON Normally completed OFF X5 Automatic communication parameter setting error completed ON Error completed OFF...

Page 167: ...n parameter setting normally completed Automatic communication start b When setting is completed with an error OFF ON OFF OFF OFF ON ON ON ON Y4 X4 X6 X5 X0 OFF ON X3 OFF ON Executed by QJ71MT91 Executed by sequence program 0C11H 0C12H Parameter creation Module READY Basic parameter setting existence Automatic communication parameter setting normally completed Automatic communication parameter set...

Page 168: ...ameter check its error code take corrective action and make a parameter setting request again Refer to Section 11 3 for details of the error code c The QJ71MT91 does not clear the automatic communication function buffer input area address 1000H to 1FFFH 4096 to 8191 and automatic communication function buffer output area address 3000H to 3FFFH 12288 to 16383 which are used for write read setting o...

Page 169: ...ice assignment parameter setting Use the following I O signals for MODBUSR device assignment parameter setting Signal Signal Name X0 Module READY ON Accessible OFF Inaccessible X3 Basic parameter setting existence ON Parameters set OFF No parameters set X8 MODBUSR device assignment parameter setting normally completed ON Normally completed OFF X9 MODBUSR device assignment parameter setting error c...

Page 170: ... existence R MODBUS device assignment parameter setting request R MODBUS device assignment parameter setting normally completed R MODBUS device assignment parameter setting error completed R MODBUS device assignment parameter setting existence R MODBUS device assignment parameter error code storage area R MODBUS device assignment parameter setting result storage area R MODBUS device assignment par...

Page 171: ...etting normally completed R MODBUS device assignment parameter setting error completed R MODBUS device assignment parameter setting existence R MODBUS device assignment parameter error code storage area R MODBUS device assignment parameter setting result storage area R MODBUS device assignment parameter correction R MODBUS device assignment parameter creation error R MODBUS device assignment param...

Page 172: ...details and correct the parameter 3 Make a MODBUSR device assignment parameter setting request again Refer to Section 11 3 1 for details of the MODBUSR device assignment parameter error code storage area and MODBUSR device assignment parameter setting result storage area d MODBUSR device assignment parameter setting existence XA turns ON also when the default parameters exist e The MODBUSR device ...

Page 173: ...be explained as an example to realize the following specifications for the setting target QJ71MT91 192 1 0 1 Ethernet QJ71MT91 192 1 0 5 QJ71MT91 1 192 1 0 1 GX Developer QJ71MT91 192 1 0 6 192 1 0 2 192 1 0 3 Setting target MODBUS TCP master device MODBUS TCP slave device R R 1 This QJ71MT91 is assumed to be mounted in Slot 0 of the base unit with the head I O No set to 0 ...

Page 174: ...24 065536 MODBUS protocol Output data 100 points 0C20H 3104 0C23H 3107 64 words 1024 bits 1000 H 4096 1100 H 4352 8191 MODBUS TCP slave device 192 1 0 2 D5000 D5099 D4096 D4159 Programmable controller CPU D4000 D4003 Input data Input data Output data D4092 D4095 D4008 D4071 Auto refresh GX Configurator MB Automatic communication operation status storage area Automatic communication operation statu...

Page 175: ...etting target QJ71MT91 Assignment details Programmable controller CPU device memory MODBUS devices R Output Y Coil 000001 000512 512 points Y0 512 points Y100 Y2FF Y1FFF 065536 Data register D Input register 300001 303500 5500 points D0 5500 points D3500 D8999 D12287 365536 308999 QJ71MT91 buffer memory User free area 5000H 1024 points 5500H 58FFH 5FFFH Holding register 400001 401024 1024 points 4...

Page 176: ...e KeepAlive resend count 0009H 9 3 Router relay function 000AH 10 0 Not used Subnet mask pattern 000BH to 000CH 11 to 12 FFFFFF00H 255 255 255 0 Default router IP address 000DH to 000EH 13 to 14 00000000H 0 0 0 0 Number of routers set 000FH 15 0 Subnet address 0010H to 0011H 16 to 17 00000000H 0 0 0 0 Routing information Router information 1 Router IP address 0012H to 0013H 18 to 19 00000000H 0 0 ...

Page 177: ...lue 0210H 528 60 30s Type specification of the target MODBUSR device 0211H 529 0005H Write holding registers Head buffer memory address 0215H 533 3A00H Target MODBUSR device head number 0216H 534 0 Automatic communication parameter 2 Write setting Access points 0217H 535 100 c MODBUS device assignment parameters Setting Item Buffer Memory Address Set Value Device code 0900H 2304 009DH Y Output Hea...

Page 178: ...utomatic communication operation status storage area parameter 1 to 64 D4008 to D4071 Automatic communication error code storage area parameter 1 to 64 D4092 to D4095 Automatic communication operation status storage area parameter 1 to 64 D4096 to D4159 Automatic communication function buffer input area D5000 to D5099 For auto refresh Automatic communication function buffer output area D9001 Basic...

Page 179: ...ameter error code storage area U0 G3090 Automatic communication parameter setting result storage area U0 G3091 MODBUSR device assignment parameter error code storage area U0 G3092 Error device type U0 G3093 MODBUSR device assignment parameter setting result storage area Error assigned group No U0 G3104 to U0 G3107 Automatic communication operation status storage area parameter 1 to 64 U0 G3112 to ...

Page 180: ...the user set parameters b0 1 2 MODBUSR device assignment parameter starting method Start with the user set parameters b1 1 3 Online change enable disable setting Online change enabled b2 1 4 Send frame specification Data are sent in Ethernet V2 0 compliant frame b3 0 0007H Switch 3 Set the upper half of the IP address C001H Switch 4 Set the lower half of the IP address 0001H 2 Parameter setting Se...

Page 181: ...creen Set the values shown in Section 9 2 1 2 b c MODBUS device assignment parameters Set the MODBUSR device assignment parameters on the MODBUS R device assignment parameter screen Set the values shown in Section 9 2 1 2 c POINT When the MODBUSR device assignment parameter screen is displayed it shows the initial values Delete unnecessary initial values ...

Page 182: ...ic communication function buffer input area 64 256 100H D4096 Automatic communication function buffer output area 100 2560 A00H D5000 Automatic communication operation status D4092 4 Automatic communication function For a program example for error code acquisition at an automatic communication error refer to Handling of automatic communication error in 5 POINT The automatic communication error cod...

Page 183: ...on parameter 1 is normal When automatic communication parameter 2 is normal Turns ON External output Y40 when automatic communication parameter 1 is invalid Acquires error code when automatic communication parameter 1 is invalid Turns ON External output Y41 when automatic communication parameter 2 is invalid Acquires error code when automatic communication parameter 2 is invalid Turns OFF External...

Page 184: ... parameter starting method Start with the user set parameters b0 1 2 MODBUSR device assignment parameter starting method Start with the user set parameters b1 1 3 Online change enable disable setting Online change enabled b2 1 4 Send frame specification Data are sent in Ethernet V2 0 compliant frame b3 0 0007H 1 2 3 Switch 3 Set the upper half of the IP address C001H Switch 4 Set the lower half of...

Page 185: ...o utilize the basic parameters with the initial values refer to Section 7 2 1 it is recommended to use the default parameters 2 When the device assignment of the CPU is not changed it is recommended to use the default parameters a Basic parameters For a program example of the basic parameters refer to Basic parameter setting in 5 b Automatic communication parameters For a program example of the au...

Page 186: ...KeepAlive KeepAlive start timer value KeepAlive interval timer value KeepAlive resend count Number of routers set Subnet address Router IP address Number of TCP connections for GX Developer connection Local slave station port No Target slave port No for automatic communication function CPU response monitoring timer value Preferred node specification 1 IP address Preferred node specification 1 Numb...

Page 187: ...ing is completed normally Turns ON automatic communication parameter setting command Turns OFF Basic parameter setting request Y1 and stores error code into D100 when setting fails Basic parameter setting normally completed Parameter setting command Basic parameter setting error completed ...

Page 188: ...g command Parameter setting command Automatic communication parameter 2 Write holding registers R R Target station IP address Module ID Repeat interval timer value Response monitoring timer value Type specification of the target MODBUS device Turns ON Automatic communication parameter setting request automatic communication start request Y4 Turns OFF automatic communication parameter setting comma...

Page 189: ...olding register number Turns ON MODBUS device assignment parameter setting request Y8 Turns OFF MODBUS device assignment parameter setting command Turns OFF MODBUS device assignment parameter setting request Y8 when setting is completed normally Turns OFF MODBUS device assignment parameter setting request Y8 and stores error code and parameter setting result when setting fails Assignment points Pa...

Page 190: ...OFF External output Y40 when automatic communication is normal Turns OFF automatic communication operation status for automatic communication parameter 1 D4000 0 Turns OFF External output Y41 when automatic communication is normal Turns OFF automatic communication operation status for automatic communication parameter 2 D4000 1 Refreshes automatic communication function buffer output area Module R...

Page 191: ... specifications for the setting target QJ71MT91 192 1 0 1 Ethernet GX Developer MELSECNET H Remote I O network Network No 1 Remote master station Station No 0 Remote I O station Station No 1 QJ71MT91 192 1 0 1 1 Setting target 192 1 0 3 MODBUS TCP master device R QJ71MT91 192 1 0 5 QJ71MT91 192 1 0 6 192 1 0 2 MODBUS TCP slave device R 1 This QJ71MT91 is assumed to be mounted in Slot 0 of the base...

Page 192: ...details D5000 D5099 D4096 D4159 MELSECNET H remote master station Programmable controller CPU MELSECNET H remote master module D4000 Automatic communication error code storage area D4003 Input data Output data D4092 D4095 W0FFC W0FFF D4008 D4071 W1388 W13EB W1000 W103F MELSECNET H link refresh MELSECNET H link scan 1 2 Automatic communication operation status storage area Automatic communication o...

Page 193: ...a 100 words 0C28H 3112 0C67H 3175 113FH 4415 1FFFH 400001 400100 465536 000001 015001 016024 065536 MODBUS protocol Output data 100 points 0C20H 3104 0C23H 3107 1000 H 4096 1100 H 4352 8191 MODBUS TCP slave device 192 1 0 2 Input data Auto refresh GX Configurator MB Automatic communication operation status storage area Automatic communication error code storage area Coil Bit register Input data 10...

Page 194: ...signment details Refer to Section 9 2 1 1 b for the assignment details 2 Parameter setting details a Basic parameters Refer to Section 9 2 1 2 a for the basic parameter setting details b Automatic communication parameters Refer to Section 9 2 1 2 b for the automatic communication parameter setting details c MODBUS device assignment parameters Refer to Section 9 2 1 2 c for the MODBUSR device assig...

Page 195: ... D0 to D19 D48 D272 to D273 D276 to D279 Basic parameter setting area D512 to D520 D524 to D529 D533 to D535 Automatic communication parameter setting area D2304 to D2307 D2432 to D2435 D2496 to D2499 MODBUSR device assignment parameter setting area D3088 Basic parameter error code storage area D3089 Automatic communication parameter error code storage area D3090 Automatic communication parameter ...

Page 196: ...ng command M101 REMTO instruction For instruction completion M102 REMTO instruction For instruction result M111 REMFR instruction For instruction completion M112 For automatic communication parameter setting REMFR instruction For instruction result M200 MODBUSR device assignment parameter setting command M201 REMTO instruction For instruction completion M202 REMTO instruction For instruction resul...

Page 197: ... b Automatic communication parameters Refer to Section 9 2 2 2 b for the automatic communication parameter setting c MODBUS device assignment parameters Refer to Section 9 2 2 2 c for the MODBUSR device assignment parameter setting 3 Auto refresh setting Make auto refresh setting from the Auto refresh setting screen of GX Configurator MB Set the following items for the program example Setting Item...

Page 198: ...nt XY setting BW setting 7 Refresh parameters 5 Automatic communication function a For a program example for normal automatic communication refer to Processing for normal automatic communication in 6 b b For a program example for error code acquisition at an automatic communication error refer to Handling of automatic communication error in 6 b POINT The automatic communication error code can be m...

Page 199: ...t SB49 Host data link status SW70 Baton pass status of each station SW74 Cyclic transmission status of each station SW78 Parameter communication status of each station SB20 Module status Set the following value in the timer constant K Baton pass status T0 T2 Sequence scan time 4 or more Cyclic transmission status Parameter communication status T1 T3 T4 Sequence scan time 3 or more Reason To preven...

Page 200: ...tion operation status for automatic communication parameter 2 D4000 1 Acquires automatic communication operation status and automatic communication error code at automatic communication error Handling of Z REMFR instruction error Turns ON External output Y41 when automatic communication parameter 2 is invalid Automatic communication operation status Automatic communication operation status Module ...

Page 201: ...ot use the MODBUSR device assignment function slave function No need to set 1 To utilize the basic parameters with the initial values refer to Section 7 2 1 it is recommended to use the default parameters 2 When the device assignment of the CPU is not changed it is recommended to use the default parameters a Basic parameters Execute Basic parameter setting request Y1001 after writing the basic par...

Page 202: ...ssignment XY setting 7 Refresh parameters 4 Refresh setting For the processing equivalent to auto refresh setting GX Configurator MB refer to Refresh processing in 6 b 5 Automatic communication function a For a program example for normal automatic communication refer to Processing for normal automatic communication in 6 b b For a program example for error code acquisition at an automatic communica...

Page 203: ... status host SB49 Host data link status SW70 Baton pass status of each station SW74 Cyclic transmission status of each station SW78 Parameter communication status of each station SB20 Module status Set the following value in the timer constant K Baton pass status T0 T2 Sequence scan time 4 or more Cyclic transmission status Parameter communication status T1 T3 T4 Sequence scan time 3 or more Reaso...

Page 204: ...w timer value TCP resend timer value TCP end timer value IP reassembly timer value Split reception monitoring timer value KeepAlive KeepAlive start timer value KeepAlive interval timer value KeepAlive resend count Router relay function Subnet mask pattern Default router IP address Number of routers set Subnet address Handling of ZP REMTO instruction error Turns ON Basic parameter setting command M...

Page 205: ...ing request Y1001 and stores error code into D3088 when setting fails Handling of ZP REMFR instruction error Parameter setting command REMTO instruction completion REMTO instruction completion Parameter setting command REMTO instruction result REMTO instruction result REMTO instruction completion Basic parameter setting normally completed REMFR instruction completion REMFR instruction result Basic...

Page 206: ...c communication parameter setting area Target station IP address Module ID Repeat interval timer value Response monitoring timer value Type specification of the target MODBUS device Head buffer memory address Target MODBUS device head number Access points R R Target station IP address Module ID Repeat interval timer value Response monitoring timer value Type specification of the target MODBUS devi...

Page 207: ... REMFR instruction result REMFR instruction completion Parameter setting command Turns OFF Automatic communication parameter setting request automatic communication start request Y1004 when setting is completed normally Turns ON MODBUS device assignment parameter setting command M200 Turns OFF Automatic communication parameter setting request automatic communication start request Y1004 and stores ...

Page 208: ...s Parameter setting command REMTO instruction completion REMTO instruction result REMTO instruction completion Parameter setting command REMTO instruction result Module READY Basic parameter setting existence R Take corrective action for error completion referring to Q Corresponding MELSECNET H Network System Reference Manual Remote I O Network Turns OFF MODBUS device assignment parameter setting ...

Page 209: ...orrective action for error completion referring to Q Corresponding MELSECNET H Network System Reference Manual Remote I O Network Turns OFF MODBUS device assignment parameter setting request Y1008 when setting is completed normally Turns OFF MODBUS device assignment parameter setting request Y1008 and stores error code and parameter setting result into D3091 when setting fails Handling of ZP REMFR...

Page 210: ... storage area Turns ON Normal processing command M322 after acquiring automatic communication operation status storage area data Handling of Z REMFR instruction error Turns OFF Normal processing command M322 when Module READY X1000 or Automatic communication operation status X1006 is OFF Take corrective action for error completion referring to Q Corresponding MELSECNET H Network System Reference M...

Page 211: ...or error completion referring to Q Corresponding MELSECNET H Network System Reference Manual Remote I O Network Turns ON External output Y40 when automatic communication parameter 1 is invalid Acquires error code when automatic communication parameter 1 is invalid Turns ON External output Y41 when automatic communication parameter 2 is invalid Acquires error code when automatic communication param...

Page 212: ...instruction execution Execute the dedicated instruction with the I O signals in the following status X0 X3 X0 X3 Dedicated instruction Module READY Basic parameter setting existence POINT Until completion of the dedicated instruction execution do not change the data control data argument etc specified for the dedicated instruction 2 Available devices The following devices are available for the ded...

Page 213: ... data Setting Setting Side 2 Data Type Un Head I O number of module 00H to FEH Upper 2 digits of the I O number in 3 digit notation User S1 Head number of device where control data are stored User system D1 3 Read data storing device System S2 3 Write data storing device User BIN 16 bits D2 Device turned ON one scan on completion of the instruction D2 1 also turns ON for error completion System Bi...

Page 214: ...r to 1 User S1 5 Module ID Set when a request message is sent to the slave without the MODBUS R TCP interface via the MODBUS R serial gateway etc When the destination of the request message is the MODBUS R serial gateway the set values are as described below 0 Broadcast 1 to 247 Station number of MODBUS R serial slave Set 255 when the destination of the request message is the slave having the MODB...

Page 215: ...ber specify the lower 5 digits of actual device number 1 With the exception of the file number and device number of the extended file register Example Specify 31 when accessing the input 400032 0 to 65535 3 5 User Set the write points of the MODBUS R device Use the following unit to set the access points Type specification of the target MODBUS R device Setting Access points that can be set 01H Coi...

Page 216: ...egisters 3 Read file record FC 20 and Write file record FC 21 allows access to multiple areas in one communication however only one area is accessible in one communication when using this dedicated instruction POINT 1 When the close option setting of the execution type S1 0 is TCP connection is closed after instruction completion TCP connection is closed after the dedicated instruction has been co...

Page 217: ...evice is made frequently using the dedicated instruction setting TCP connection is not closed after instruction completion saves the time required for TCP connection opening for the subsequent instruction execution 6 Whether the MBRW instruction is being executed or not and whether it is completed normally or not can be confirmed in the MODBUSR exception code S1 2 and the completion device D2 and ...

Page 218: ...indication device D2 1 turns ON and the error code is stored into the complete condition S1 1 When the processing in the slave is completed with an error the exception code is stored into S1 2 According to the error code and exception code check the error and take corrective action referring to the following manual Error code 03E8H to 4FFFH QCPU User s Manual Hardware Design Maintenance and Inspec...

Page 219: ...ding register of the slave IP address 192 1 0 2 When the I O signals of the QJ71MT91 are X Y00 to X Y1F Ethernet D100 D199 W0000 W001F 400500 400531 411000 411099 QJ71MT91 Master QJ71MT91 Master MODBUS TCP slave device 192 1 0 2 R MODBUS TCP slave device R R Device memory 100 points 32 points 32 points 100 points Read W rite MODBUS device ...

Page 220: ...toring timer value Type specification of the target MODBUS device Corresponding file number Target MODBUS device head number Access points Clears read data storage size to 0 Corresponding file number Target MODBUS device head number Access points Write data storage size Dedicated instruction Z MBRW R R R R Processing program for normal completion Processing program for error completion MBRW instru...

Page 221: ...on code 17H Read head holding register number 2AF7H Read points n 0064H Write head holding register number 01F3H Write points m 0020H Write device data 1 W0000 value Write device data m W001F value Number of bytes m 2 0040H Number of bytes m 2 Data Response message format Slave Master QJ71MT91 H L H L Function code Data Number of bytes n 2 Function code 17H Number of bytes n 2 C8H Read device data...

Page 222: ...ument can be omitted Set data Set data Setting Setting Side 2 Data Type Un Head I O number of module 00H to FEH upper 2 digits of the I O number in 3 digit notation User S1 Head number of device where control data are stored User system S2 Request message storing head device User D1 Response message storing head device System BIN 16 bits D2 Device turned ON one scan on completion of the instructio...

Page 223: ...lave port No Specify the port No of the target slave 0 Sent to No 502 1 to 65535 Sent to the set port No 0 1 to 65535 3 User S1 7 Response monitoring timer value Specify the time for monitoring a response from the target device slave 500ms increments 0 60 30s 2 to 2400 Set value Response monitoring timer value Set value 500ms 0 2 to 2400 User 1 Set the value that satisfies the following conditions...

Page 224: ... devices and their order b0 b15 b7 b8 b0 b15 b7 b8 b0 b15 b7 b8 b0 b15 b7 b8 00H 05H 9CH 03H 00H 40H 00H 02H S2 0 S2 1 S2 2 S2 3 Request message size 5 bytes Request message Ignored Request message is sent in order of low order to high order bytes starting at the lowest device number Send data storage order As described on the left User 1 The setting side is as described below User Data are set by...

Page 225: ...b15 b7 b8 b0 b15 b7 b8 b0 b15 b7 b8 00H 06H 04H 03H 05H 00H 34H 12H D1 0 D1 1 D1 2 D1 3 Response message size 6 bytes Response message Response message is stored in order of low order to high order bytes starting at the lowest device number Received data storage order As described on the left System 1 The setting side is as described below User Data are set by the user before dedicated instruction...

Page 226: ...s the time required for TCP connection opening for the subsequent instruction execution 5 Whether the MBREQ instruction is being executed or not and whether it is completed normally or not can be confirmed in the completion device D2 and completion status indication device D2 1 specified in the set data a Completion device D2 Turns ON in the END processing of the scan where the MBREQ instruction i...

Page 227: ... to 0DFFH of the buffer memory Check the exception and function codes by the response message that is stored in the response message storage device 2 This instruction is completed normally even if the target slave device gives an exception response When the instruction is completed normally check the highest order bit of the function code in the response message to determine whether the response i...

Page 228: ...Slave H L H L H L 0008H 16H 00H 02H 00H 00H 00H 08H Function code Data 7 bytes Function code Target holding register number AND mask value OR mask value Sending order b Response message format When completed normally H L H L H L 16H 00H 02H 00H 00H 00H 08H Function code Data 7 bytes Function code Target holding register number AND mask value OR mask value Receiving order 0008H When completed with ...

Page 229: ...mplete condition to 0 Sets 0 fixed Target IP address Module ID Station No Target slave port No Response monitoring timer value Request message size Request message Dedicated instruction Z MBREQ Dedicated instruction start command Module READY Basic parameter setting existence MBREQ instruction completed MBREQ instruction result Exception bit MBREQ instruction result Exception bit MBREQ instruction...

Page 230: ...ck the intelligent function module switch 1 operation mode setting value Check the intelligent function module switch 2 communication condition setting value Check the intelligent function module switch 3 4 IP address setting value Check the setting range of each intelligent function module switch and correct the value Section 6 6 Check if the QJ71MT91 is not mounted with the A mode QCPU Mount the...

Page 231: ... made even though each parameter setting is completed This section 3 6 Set the basic parameters from GX Configurator MB or from the sequence program Chapter 7 Chapter 8 Section 9 1 1 Check the basic parameter setting In the setting of intelligent function module switch 2 communication condition setting b0 Basic parameter starting method select OFF Start with the default parameters Section 6 6 4 IN...

Page 232: ...eter setting error completed X5 turned on Refer to the automatic communication parameter error code storage area 0C11H and confirm the error code and refer to the automatic communication parameter setting result storage area 0C12H and identify the parameter number where the error occurred Take the corresponding corrective action and retry Section 7 3 Section 11 3 6 MODBUSR device assignment parame...

Page 233: ...rding to the error code currently stored in the Automatic communication error code storage area 0C28H to 0C67H or the exception code sent from the target slave Section 11 3 1 10 COM ERR LED status X1B turned on Refer to COM ERR LED turned on This section 1 3 Check whether the slave function is used or not When the slave function is not used the MODBUSR device assignment parameter setting existence...

Page 234: ...r the module is waiting for a response from the target device with the dedicated instruction already being executed Wait for the response monitoring timer to expire Check the target device status If an error occurs refer to Dedicated instruction failed Section 7 2 This section 3 2 Check if the INIT LED is on Refer to INIT LED does not turn on This section 1 4 Confirm the error code or exception co...

Page 235: ...age length in MBAP header The MBAP header length 6 equals the application data unit length in Ethernet frame Correct the request message issued by the master Chapter 4 3 Slave function of QJ71MT91 does not return response message to request message Refer to Communication with target device cannot be made even though each parameter setting is completed This section 3 6 Check if the INIT LED is on R...

Page 236: ...k whether the target device is attempting to communicate with the QJ71MT91 Take corrective action if the target device has any problem Check the line status Correct the line status if it has any problem in traffic Check for any TCP connection disconnected automatically by the KeepAlive function Check that the target device is operating normally Adjust the KeepAlive start timer value and KeepAlive ...

Page 237: ...ed ones may be closed automatically when the connection resources become insufficient Specify the nodes as preferred ones when necessary Reduce the number of simultaneously connected connections Section 3 1 Section 7 2 Check whether the QJ71MT91 has issued two or more send requests concurrently If two or more send requests are issued long time is required as they are processed in due order Reduce ...

Page 238: ...slowly Check if the number of TCP connections connected simultaneously is within 64 TCP connections may fail temporarily Retry the connection TCP connections with the nodes not specified as preferred ones may be closed automatically when the connection resources become insufficient Reconnect and retry Specify the nodes as preferred ones when necessary Section 7 2 9 Normal communication is not avai...

Page 239: ... from GX Configurator MB GX Configurator MB has a Monitor Test screen for the status display and test of the QJ71MT91 Refer to Section 8 6 for the Monitor Test screen 2 System monitor of GX Developer The module status of the QJ71MT91 can be confirmed from the system monitor a When confirming the module status and error code on the Module s Detailed Information screen of the diagnostic function Sta...

Page 240: ...t ends with B indicates that the module is of function version B Module access Displays Enable when Module READY X0 is on and Watch dog timer error X1F is off Status of I O Address Verify Displays whether the module parameter set by the user matches the actually mounted module or not Error Display Displays the 16 latest error codes stored in the error log area of the buffer memory Present Error Di...

Page 241: ...D Information 1 2 Module status LED status 1 2 3 0C05H 3077 MODE Switch 1 Operation mode setting status 0C00H 3072 SETTING Switch 2 Communication condition setting status 0C01H 3073 IP ADD H Switch 3 Local station IP address setting status 0C02H 3074 Right side of H W SW Information IP ADD L Intelligent function module switch 4 Switch 4 Local station IP address setting status 0C03H 3075 1 LED stat...

Page 242: ... 3093 Automatic communication operation status storage area parameter 1 to 64 0C20H to 0C23H 3104 to 3107 Automatic communication error code storage area parameter 1 to 64 0C28H to 0C67H 3112 to 3175 Automatic communication function Error log area 0CFEH to 0DFFH 3326 to 3583 Master function Dedicated instruction Error log area 0CFEH to 0DFFH 3326 to 3583 Slave function Error log area 0CFEH to 0DFF...

Page 243: ...ted X4 turns ON 4 MODBUSR device assignment parameter error code storage area a When a MODBUSR device assignment parameter error occurs while the MODBUSR device assignment parameter setting request Y8 is ON the corresponding error code is stored in this area b The error code is stored when the MODBUSR device assignment parameter setting error completed X9 turns ON c The error code is cleared when ...

Page 244: ...status is set at the following timing 1 When a response message error completion is received from a slave Only the corresponding bit turns ON 2 When a communication error occurs Only the corresponding bit turns ON d The operation status is cleared at the following timing 1 When a response message normal completion is received from a slave Only the corresponding bit turns ON 2 When the automatic co...

Page 245: ...test errors are stored into the error log area as an error history Error Log Area Name Address Number of errors occurred 0CFEH 3326 Error log write pointer 0CFFH 3327 Error code 0D00H 3328 Exception code 0D01H 3329 Function code 0D02H 3330 Local station port No 0D03H 3331 Target IP address 0D04H to 0D05H 3332 to 3333 Error log 1 Target device port No 0D06H 3334 Error log 2 to 32 as in error log 1 ...

Page 246: ...3 for the error codes Exception code Stores an exception code returned from a slave in reply to a request sent by the automatic communication function or dedicated instruction When an error occurs for a request from the master stores an exception code returned to the master Stores 0 Function code Stores the function code with which the error originated Stores 0 Local station port No Stores the loc...

Page 247: ...MP echo request received 0E36H to 0E37H 3638 to 3639 Total number of ICMP echo reply sent 0E38H to 0E39H 3640 to 3641 Total number of ICMP echo request sent 0E3AH to 0E3BH 3642 to 3643 ICMP Total number of ICMP echo reply received 0E3CH to 0E3DH 3644 to 3645 TCP packet reception count 0E50H to 0E51H 3664 to 3665 Count of TCP packet reception discarded due to sum check error 0E52H to 0E53H 3666 to ...

Page 248: ...ed an unsupported function code Confirm the function code supported by QJ71MT91 and review the request message to be sent 02H Illegal data address The specified address of the MODBUS R device is abnormal Confirm the MODBUS R device type and size supported by QJ71MT91 and review the specified address of the request message to be sent 03H Illegal data value The contents of the data part of the reque...

Page 249: ...the slave device connected ahead of the gateway device Not issued by the slave function of the QJ71MT91 3 Error code for error completion of processing in slave QJ71MT91 If the processing in the slave QJ71MT91 results in error completion an exception code is stored into the buffer memory In the QJ71MT91 an error code is also stored into the buffer memory to identify the cause in detail The error c...

Page 250: ...tting of the intelligent function module switch 3 4 IP address setting is incorrect ERR Review the setting of the intelligent function module switch 3 4 7305H Switch 5 error The setting of the intelligent function module switch 5 not used is incorrect ERR Delete the setting of the intelligent function module switch 5 7306H ROM check error An error was detected by the ROM check made at power on ERR...

Page 251: ...sk pattern 7313H Default router IP address setting error The setting of the default router IP address in the basic parameter is incorrect COM ERR Review the setting of the default router IP address 7314H Subnet address setting error The setting of the subnet address in the basic parameter is incorrect COM ERR Review the setting of the subnet address 7315H Router IP address setting error The settin...

Page 252: ...s incorrect COM ERR Review the setting of the target slave port No for automatic communication function 7324H System area setting error Erroneous data have been written to the system area 0031H to 00F1H of the buffer memory COM ERR Do not write data to the system area 0031H to 00F1H of the buffer memory 7327H CPU response monitoring timer setting error The setting of the CPU response monitoring ti...

Page 253: ...n the MODBUS R device assignment parameter exceeds the maximum 65535 of the CPU device COM ERR Review the setting of the head device number and assignment points 7340H Target MODBUS R devic e type specification error The setting of the target MODBUS R device type specification in the automatic communication parameter is incorrect COM ERR Review the setting of the target MODBUS R device type specif...

Page 254: ...tion s control data is outside the setting range COM ERR Review the setting range of the MODBUS R device 734AH Module ID setting error The setting of the module ID set in the automatic communication parameter or dedicated instruction s control data is incorrect COM ERR Review the setting of the module ID 734BH Execution type setting error The setting of the execution type set in the dedicated inst...

Page 255: ...nfigurator MB at power on COM ERR When using GX Configurator MB switch the power on and then turn on Automatic communication parameter setting request Automatic communication start request Y4 after Basic parameter setting existence X3 has turned on 7360H Exception message reception When the automatic communication function or dedicated instruction is used the target slave device returned an except...

Page 256: ...uest Y4 was made with the automatic communication function ON COM ERR After stopping the automatic communication function make the automatic communication parameter setting request automatic communication start request Y4 7378H The response monitoring timer timed out in the automatic communication function COM ERR 7379H Response monitoring timer time out error The response monitoring timer timed o...

Page 257: ...ed in the received request message exceeds the maximum value of the MODBUS R device The maximum value of the extended file register is 10000 and that of any other MODBUS R device is 65536 COM ERR Review the specified data of the MODBUS R device on the master side from which the request message was sent 7386H MODBUS R device specification error The access points of the MODBUS R device specified in ...

Page 258: ...age on the master side from which the request message was sent 7396H Slave function busy The QJ71MT91 received request messages that exceed the number of simultaneously receivable request messages 64 COM ERR Retry after a little while on the master side from which the request message was sent 739CH to 739EH System error The OS of the QJ71MT91 detected error COM ERR Counter the problem in the follo...

Page 259: ... hardware error Check if the programmable controller CPU and base unit are normal referring to the manual for each module Or replace either of the modules to check the operation In case of failure please consult your local Mitsubishi system service center or representative explaining a detailed description of the problem 73C8H In the offline mode parameters were set by GX Configurator MB COM ERR I...

Page 260: ...f TCP connections with the target node in the preferred node specification Decrease the number of connections simultaneously used with the target node 73D3H Response message transmission failure As the TCP connection was cut off from the target device the response message via GX Developer connection could not be returned COM ERR Check whether the operation status of the target device is normal or ...

Page 261: ...R Retry after a little while Decrease the number of TCP connections used simultaneously 73DAH Alive check failure KeepAlive function Since the existence of the target device could not be confirmed by the KeepAlive function the TCP connection was disconnected COM ERR Check whether the operation status of the target device is normal or not Check the line status for an error 7400H Target device port ...

Page 262: ...ttle while Hardware fault 7420H Broadcast address specification error The broadcast address was specified in TCP based transmission COM ERR Review the IP address setting of the target device at the time of transmission 7421H Ethernet address error The Ethernet address of the target device is unknown COM ERR Review the IP address of the target device at the time of transmission Check whether the ta...

Page 263: ...be sent to the target device that has a different IP address class or net ID The routing information setting of the basic parameter is erroneous COM ERR Review the IP address of the target device at the time of transmission Review the setting of the routing information Review the setting of the subnet mask pattern 7440H UDP check sum error A check sum error was detected in the UDP protocol COM ERR...

Page 264: ...cted forcibly from the target device This error may be ignored when no problems arise from this error COM ERR Check whether the operation status of the target device is normal or not Check the line status for an error As the line may be busy retry after a little while 7462H TCP connection forcibly disconnected The TCP connection was closed forcibly from the local station The local station uses 64 ...

Page 265: ... status of the target device is normal or not Check the line status for an error As the line may be busy retry after a little while 7480H to 75FFH System error The OS of the QJ71MT91 detected error COM ERR Counter the problem in the following procedure Check whether or not the QJ71MT91 power supply module and CPU module are mounted correctly on the base unit Check whether or not the operating envi...

Page 266: ...turn off the COM ERR LED 2 The COM ERR LED turns on when an error occurs Once the COM ERR LED has turned on it does not turn off automatically even if the status returns to normal Use the following method to turn off the COM ERR LED Method Reference Section From GX Configurator MB Section 11 4 1 From sequence program Section 11 4 2 11 4 1 From GX Configurator MB This section explains how to turn o...

Page 267: ...lue field of the COM ERR LED OFF request select Being requested and click the Execute test button 3 Confirm the COM ERR LED is turned off When the processing is completed a Completed message appears Confirm that the Current value field of COM ERR status has changed from Lit to Not lit ...

Page 268: ...ERR LED it must be manually returned to Not requested after the COM ERR LED has turned off After confirming Not lit select Not requested in the COM ERR LED OFF request setting value field and click the Execute test button When the processing is completed a Completed message appears 5 Confirm the COM ERR LED OFF request current value The COM ERR LED OFF request current value must be as shown below ...

Page 269: ...COM ERR LED status X1B 1 2 3 1 ON ON b While the COM ERR LED OFF request Y1B is ON OFF request processing is performed continuously 3 in the figure c The error information in the error log area of the buffer memory is not cleared erased by turning ON the COM ERR LED OFF request Y1B 2 Program conditions In this program COM ERR LED OFF request Y1B is turned on to turn off the COM ERR LED Device Name...

Page 270: ...ING test Address Parameter Name Setting Setting Range Default 0FE0H 4064 Communication time check Specify the waiting time for completion of the PING test Set time set value 500ms 2 to 60 2 0FE1H 4065 Transmission count Specify the number of transmissions 1 to 10 4 0FE2H to 0FE3H 4066 to 4067 IP address Specify the IP address of the PING test target device Refer to 1 00000000H 0FE4H 4068 Execution...

Page 271: ...ins how to conduct a PING test from GX Configurator MB 1 Display the PING test screen Refer to Section 8 6 2 Set the PING test conditions Set the Communication time check Transmission count and IP address in the Setting value field and click the Execute test button with the values selected ...

Page 272: ...s and the data set in 2 are displayed in the Current value field Redo the settings if changing the conditions 4 Conduct a PING test Select Being requested in the PING test execution request setting value field and click the Execute test button When the processing is completed a Completed message appears and the PING test is executed ...

Page 273: ...execution request current value Being requested PING test completed current value OFF 6 Check the status when the PING test is completed PING test execution request current value Being requested PING test completed current value PING test completed Result current value Result is displayed for each ...

Page 274: ...st be manually changed to Not requested after the PING test is completed Select Not requested in the PING test execution request setting field and click the Execute test button When the processing is completed a Completed message appears 8 Confirm the PING test execution request current value The PING test execution request current value must be as shown below PING test execution request current v...

Page 275: ...smission count 4 times Success count 3 times Failure count 1 time PING test results Normal response is identified when the response of the PING test is received within the communication time check period b On completion of the PING test the PING test completion X1C turns ON 2 in the figure c Turn OFF the PING test execution request Y1C to turn OFF the PING test completion X1C 3 in the figure 2 Err...

Page 276: ...smission count 0FE1H 4065 4 4 times IP address 0FE2H to 0FE3H 4066 to 4067 C0010001H 192 1 0 1 2 Devices available for user Device Name Device Application X0 Module READY X3 Basic parameter setting existence Input X1C PING test completed QJ71MT91 input output Output Y1C PING test execution request External input command X20 PING test execution command D10000 For getting execution result D10001 For...

Page 277: ...setting for PING test PING test execution result Communication time check 1s Transmission count 4 times IP address 192 1 0 1 PING test execution request ON PING test execution request OFF Total packet transmission count Execution result Success count Failure count ...

Page 278: ...App 1 App 1 MELSEC Q APPENDICES APPENDICES Appendix 1 External Dimensions Unit mm in 27 4 1 08 90 3 54 98 3 86 APP ...

Page 279: ...until the repeat interval timer is started again after completion of communication with the slave Tac 7 Ts 2 Calculation items Setting Item Description Unit Tac Automatic communication function communication time ms Ts Target slave device processing time ms QJ71MT91 QJ71MT91 Repeat interval timer MODBUS TCP slave device MODBUS TCP slave device Start Automatic communication function communication t...

Page 280: ...ated instruction processing time is the time from when the dedicated instruction is started until the completed device turns on Trc 7 St St or Ts whichever is greater 2 Calculation items Setting Item Description Unit Trc Dedicated instruction processing time ms St Local station scan time ms Ts Message processing time at destination slave device ms ...

Page 281: ...an time ms Any of the following values is applied depending on the function code and assignment status Function code When programmable controller CPU device is assigned When buffer memory is assigned 01 1 0 02 1 0 03 1 0 04 1 0 05 1 0 06 1 0 15 1 0 16 1 0 20 1 0 21 1 0 22 2 0 n1 23 2 0 Any of the following values is applied depending on the function code and assignment status When programmable con...

Page 282: ...e GX Developer connection setup window when access is made from GX Developer to the programmable controller CPU via the QJ71MT91 For details of GX Developer refer to the GX Developer Operating Manual 1 Access route Ethernet GX Developer QJ71MT91 IP address 128 0 0 1 Head I O address 0000H IP address 128 0 0 2 MODBUS TCP ...

Page 283: ... F 1 Select Ethernet board and double click it to display the PC side I F Ethernet board setting screen 2 Set Protocol on the PC side I F Ethernet board setting screen Protocol Select TCP or UDP 3 Since Network No and Station No are not used leave them as displayed on the screen ...

Page 284: ... address of the QJ71MT91 to be connected IP input format Select DEC or HEX 3 Since Station No and Routing parameter transfer method are not used leave them as displayed on the screen c Other station Select Other station Single network d Network route 1 Select Ethernet and double click it to display the Network communication route Detailed setting of Ethernet screen 2 Select Access to Ethernet modu...

Page 285: ...ing precautions 9 6 Timing charts for setting 9 5 Automatic communication parameter setting result storage area 11 14 Automatic communication parameters 7 19 Automatic response function 5 10 B Basic parameter setting 9 1 I O signals for setting 9 1 Setting method 9 1 Setting precautions 9 3 Timing charts for setting 9 2 Basic parameters 7 6 Basic parameter error code storage area 11 13 Basic param...

Page 286: ...nnections for GX Developer connection 7 16 System monitor of GX Developer 11 10 H Handling precautions 6 1 Hardware test 6 8 Head buffer memory address 7 21 Head coil number 7 28 Head device number 7 28 Head holding register number 7 28 Head input number 7 28 Head input register number 7 28 Head MODBUSR device number 7 28 Holding register 7 25 Holding register assignment 1 7 26 I I O signals 3 2 I...

Page 287: ...nput registers 4 9 Read Write multiple registers 4 20 Write file record 4 17 Write multiple coils 4 12 Write multiple registers 4 14 Write single coil 4 10 Write single register 4 11 MODBUSR TCP setting 7 17 Module ID 7 20 Monitor test 8 17 Multiple CPU system 2 3 N Network configuration 2 4 Number of cascade connection stages 3 1 Number of errors occurred 11 16 Number of occupied I O points 3 1 N...

Page 288: ...e utility 8 11 Subnet mask pattern 7 12 Switch 1 6 11 Switch 2 6 12 Switch 3 6 14 Switch 4 6 14 System configuration 2 1 2 5 T Target MODBUSR device head number 7 21 Target station IP address 7 20 TCP end timer value 7 8 TCP resend timer value 7 8 TCP ULP timer value 7 8 TCP zero window timer value 7 8 TCP UDP IP monitoring timer 7 8 TCP UDP IP setting 7 8 Text file 8 8 Transmission method 3 1 Tro...

Page 289: ...ed not to be so by the user 2 Onerous repair term after discontinuation of production 1 Mitsubishi shall accept onerous product repairs for seven 7 years after production of the product is discontinued Discontinuation of production shall be notified with Mitsubishi Technical Bulletins etc 2 Product supply including repair parts is not available after production is discontinued 3 Overseas service O...

Page 290: ... Corporation in the United States and other countries Ethernet is a registered trademarks of Xerox Corporation in the United States MODBUS is the registered trademark of Schneider Electric SA Other company names and product names used in this document are trademarks or registered trademarks of respective companies SPREAD Copyright c 1996 FarPoint Technologies Inc SH NA 080446ENG F ...

Page 291: ......

Page 292: ......

Reviews: