Home
3 - Mitsubishi Electric
Contents
1. 5 1 1 Handling precautions The following describes precautions for handling the single local module 1 Do not drop or give strong impact on the module since its case is made of resin 2 Do not remove a printed circuit board of the module from a case Doing so may cause failure 3 Be careful to prevent foreign matter such as wire chips from entering the module top at the time of wiring 4 Tighten a module mounting screw or a terminal screw within the following range Table 5 1 Screw tightening torque Tightening torque range Terminal screw for cable terminal block M3 5 screw 59 to 88N cm Mounting screw for cable terminal block M3 5 screw 59 to 88N cm Module mounting screw M4 screw 78 to 118N cm 5 1 5 1 Implementation and Installation 5 1 1 Handling precautions PREPARATORY PROCEDURES BEFORE OPERATION MELSEC A 5 2 Preparatory Procedures before Operation This section describes the outline of preparatory procedures before operation a E Check prior to power on Set the RUN STOP switch of the CPU module to STOP Check to see if the external power supply z voltage for the power supply module is within the E stipulated range x 3 Power on gt S Turn ON the external power supply Check to see if RUN LED of a local module is turned ON Local module single check Check the hardware of a local module by the self z loopback test E MES Section 5 5 1 Self loopback test 3 O o
2. 3 Command H H LWTP Buffer memory Link data i Data memory storage area storage area cou A part of the program for receiving LWTP instruction Data memory storage area Device U0 UN a G174 DIMON 6216 write Y D20toD29 M Write data ay D200 to D209 on CES MOV Sie 2 U0 H4420 Z0 H Bmov G220 D0Z1 Z2 Figure 4 9 LWTP instruction receive processing Q series local station 4 6 4 2 Transient Transmission Function FUNCTIONS MELSEC A 2 Access from a peripheral or intelligent function module to another station Access to another station is not allowed for any peripheral GX Developer GOT etc and intelligent function module e g serial communication module connected to a Q series local station Also any peripheral and special function module connected to the master station cannot access any Q series local station Unable to access a Q series local station Peripheral Master station MELSECNET II Figure 4 10 Access from a peripheral or intelligent function module to another station Remark AOS Station with peripheral Access source Master station Local station A QnA series Local station Q series Remote I O station Peripherals and special function modules connected to a CPU module can access another station via MELSECNET II The table below shows which station is accessible from a station with a peripher
3. Setup confirmation test Station onder check tesk Eommunication tesk Network Ho Group Mo Station Mo Communication status of each station Bl Normal B Error communication Disconnected PERSE Se See eee eee eee BERR RRR RRR AAA Figure 8 13 Network diagnostics Other station information 8 13 8 2 Connecting GX Developer to Master Station for Error Checking 8 TROUBLESHOOTING MELSECG A 8 3 Checking Error with LEDs of Link Module on Faulty Station Any of the following LEDs will light up when an error occurs a Table 8 1 ERROR LEDs m Error Indication detected Description status Code check error of receive data CRC error px a 5 ause CRC Cyclic redundancy o q check Data sending station was disconnected at the timing 2 Cable fault noise etc pi Received data were overwritten with another data received next due to delay in cas OVER Overrun error loading lt Cause gt Hardware failure in receiving part of link module 1 has been received consecutively more than stipulated times Receive data length is shorter than stipulated length z AB IF Abort invalid frame error lt Cause gt E Data sending station was disconnected at the timing N Monitoring time too short cable fault noise etc D Data link monitoring time is over 2 TIME Time check error SEE lt Cause gt Monitoring time too short cable fault noise etc Data containing erroneous code have been rec
4. Figure 5 3 Station No setting of MELSECNET data link system Es POINT 1 Set station No from the smallest number in order 2 Do not skip any station No since it has to be set in number order 3 Set station No so as not to overlap with other station No in the same tier 5 5 5 3 Part Names and Settings PREPARATORY PROCEDURES BEFORE OPERATION MEL SECA b MELSECNET B data link system Set 00 to the station No of the master station and set station No z 01 02 n n lt 31 to slave stations starting from the one next to the master T station m O Master station Z Slave station Slave station Slave station Slave station 2 No 1 No 3 No 2 No 31 de 5 20 a Station E m No 31 Q Figure 5 4 Station No setting of MELSECNET B data link system ep POINT He 1 The station No can be set regardless of station number order S There is no restriction on connection order of stations including the master g station 2 2 Do not skip any station No since it has to be set in number order 3 Set station No so as not to overlap with other station No in the same tier ep 6 O zZ T Lu oc je LL Lu m N Lu x m LI e oc A gt S FE E LOr Bow MO LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING 5 3 Part Names and Settings 5 6 PREPARATORY PROCEDURES BEFORE OPERATION MEL SEC A 9 4 Wiring This section describes precauti
5. W1006 wO0zZ0 W1016 w0Z0 W1018 WOZO w1011 Z0 Z2 W100A Z0 22 K4BOZ0 W100C Z0 22 K4B020 Z0 Z2 K4 Z1 Z0 Z1 Z0 Z1 Z0 Z1 Z0 Z1 Z0 Z2 K4 Z1 Z0 Z2 K4 Z1 Z0 Z2 K4 Z1 7 2 Program for Refresh and for Receiving LRDP LWTP Instruction MELSEC A B device transmission Latter half Start No Z0 No of words Z1 Divides the buffer memory address by 16 bits Transfers B of the host station to the local module Latter half W device reception 1 First half Start No Z0 No of words Z1 Obtains W of the other stations from the local module First half W device reception 2 First half Start No Z0 No of words Z1 Obtains W of the other stations from the local module First half W device reception 1 Latter half Start No Z0 No of words Z1 Obtains W of the other stations from the local module Latter half W device reception 2 Latter half Start No Z0 No of words Z1 Obtains W of the other stations from the local module Latter half X device reception Start No ZO No of words Z1 Divides the buffer memory address by 16 bits Obtains X of the host station from the local module B device reception 1 First half Start No ZO No of words Z1 Divides the buffer memory address by 16 bits Obtains B of the other stat
6. Was faulty station reconnected Has CPU module encountered an operation stop error NO Is RUN LED of link module on faulty station ON YES Modify sequence program and reset CPU module Replace link module hardware Was faulty station reconnected Check if F and R loop wiring for Is SD LED of faulty station is correct If not faulty station ON reconnect them properly NO Was faulty station reconnected O 4 Ifa faulty station was detected first check whether the link cable of the station is disconnected or not If disconnected shut off all phases of the external power supply used in the system and then connect the link cable Figure 8 4 When Data link is disabled at a specific station 8 5 8 1 Troubleshooting Flowchart 8 1 2 When Data link is disabled at a specific station TROUBLESHOOTING MELSECG A Lu Is input voltage NO Correct input voltage and reset CPU gi to power supply module on faulty module O station normal Was faulty station z reconnected 2 a LL 2S Is Mode setting switch Set ONLINE 0 1 and reset CPU nO set to ONLINE 0 1 module 2 Was faulty station O reconnected lt Le O Lu a 09 Is Station No setting Set correct station No and reset switch set correctly CPU module YES 2 NO Was faulty station 2 reconnected S T Lu Is the communication Set t
7. AA area Receive processing Q DMOV 4 Z0 WO to WFF WO to WFF SOY UO a Es 4FFH G1024Z0 900H lol Send W100 to W1FF processing U Data flow DMOV Gp 401 Send receive processing Link scan BMov wozo YA zi E G1024Z0 Link refresh Figure 1 4 Link refresh of link data Q series local station 2 Master station and A QnA series local station The data is refreshed automatically at either of the following timing e Upon completion of link scan e Only after execution of the END instruction in the sequence program For the ANUCPU QnACPU A2US H CPU S1 and Q2AS H CPU S1 refresh ranges can be changed with refresh parameters Master station and local station for A QnA series Link module CPU module Link data 3 Data memory EA area AER area gt T WO to WFF WO to WFF lt W100 to W1FF W100 to W1FF Data flow e Send receive processing E Link scan a Link refresh Figure 1 5 Link refresh of link data Master station and A QnA series local station 1 3 1 1 Features 1 OVERVIEW MELSEC A 2 Transient transmission function a Communication from a master station to a local station By executing the LRDP LWTP instruction in the sequence program of the master station data can be read from or written to local station devices T C D W gt LL gt O b LRDP LWTP instruction receive processing A Q series local station and an A QnA se
8. Abbreviation for the A1SJ71AP23Q or A1SJ71AR23Q type MELSECNET local station data link Local module l module and the A1SJ71AT23BQ type MELSECNET B local station data link module Link module Abbreviation for the MELSECNET or MELSECNET B data link module QA1S5OB Another term for the QA1S51B extension base unit QA1S6C B Generic term for the QA1S65B and QA1S68B extension base units DEFINITIONS OF TERMINOLOGY The following explains definitions of the terms used in this manual Term Description Abbreviation for Reliability Availability and Serviceability ae This term is used to express the overall usability of automation systems Station that controls slave stations local station and remote I O station connected to the data link system Master station It sets the link parameter for the data link system One master station is required per data link system The station No of the master station is set to 00 Station that controls the I O module or intelligent function module special function module of Local station the host station in the program of the host station incorporating link data B W X of the data link system Station that controls the I O module or special function module of the host station in the Remote l O station program of the master station PACKING LIST The followings are included in the package Product name Quantity A1SJ71AP23Q A1SJ71AR23Q A1SJ71AT23BQ A1SJ71AP23Q type MELSE
9. Figure 4 4 Send receive ranges when the local module is on the third tier local station 11 2 Link refresh of link data Q series local station Local module Buffer memory Link data storage area WO to WFF 4FFH 500H 3 Fe Q series local stations refresh link data using the sequence program Note that refresh is not executed when the CPU module is in STOP status 23 CHAPTER 7 PROGRAMMING ee en eee O eere eee Data memory A part of the program for refresh storage area Receive processing U0 D DMOV y ZOH WO to WFF UN BMOV 619479 W02 Z1 Send W100 to W1FF ore RS O VO Data flow DMOV z 40 Send receive processing UO BMOV WOZO A JE T G1024Z0 Q Link refresh Figure 4 5 Link refresh of link data Q series local station 4 1 Cyclic Transmission Function 4 3 4 1 1 1 n communication B W communication OVERVIEW CONFIGURATION SYSTEM SPECIFICATIONS n Z O E 0 Z 5 LL PROCEDURES BEFORE PREPARATORY OPERATION LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING A FUNCTIONS MELSEC A 3 B W communication example The following illustrates an example where link relay B data are transferred between the master station and a Q series local station L1 Master station Q series local station Link Local module CPU module module buffer memory CPU module PRS SSeS a See Se ee A A A
10. Input Master station 1024 byt 1024 byte First half of link parameters e Local station 1024 byte Latter half of link parameters Maximum link points i 512 byte 512 byte per station Remote I O Number of I O points 512 Number of I O points 512 station E points points Communication speed 1 25Mbps Communication method Half duplex bit serial method Synchronization method Frame synchronization method Transmission path Duplex loop Overall cable distance Up to 10km Station to station 1km Number of connected stations Up to 65 Master station 1 The total number of local stations and remote l O stations 64 Modulation method CMI method Transmission format Conforming to HDLC Frame format Error control system Retries due to CRC generating polynomial X 8 X1 X 1 and time out eL oopback function due to error detection and cable break RAS function Los pcia Diagnostic function including link line check of host station etc Connector 2 core optical connector plug User prepared Applicable cable Optical fiber cable User prepared Number of I O occupied points 32 points Intelli 32 points Internal current consumption 5VDC 0 33A Weight 0 30kg 1 Connecting an optical fiber cable with a connector requires professional skills and special tools Also a connector dedicated to an optical fiber cable is required For purchase contact your local Mitsubishi Electric System Service or representative 3 1 3 1 Per
11. Select the network type mode that is set up in the Network type mode ype network parameters in the master station BW receive program of Check the box if a station into which the refresh master station in third tier program is to be included is a third tier local station Sequence program LRDP instruction receive Check the box if the program of the master station to be created program includes the transient instruction to be given to LWTP instruction receive Station on which a local station data link module is program mounted App 6 Appendix 3 Steps to Create a Program for L Series APPENDICES MELSEC A 4 Set up the devices on the PLC side for link refresh Refresh program generation tool for MELSECNET IT local station Refresh program setting 0 Ll O O Z Ll A A lt _ A gt z gt EXE gt z gt mm Dev Name Points Start End Cl al e sb 81243 1255 1024 0000 03FF E E fRefreshes all points on the link side when a Dev Name is set They are not refreshed when the setting is blank INDEX Execute a Setting up Transfer SM and Transfer SD Set up the devices on the PLC side that refresh the special relays for link and the special registers for link of the MELSECNET II local station For the devices that bear the name SM or SD the device number is fixed For devices with the other names t
12. 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
13. 130 6 5 93 6 Unit mm Figure App 13 A1SJ71AT23BQ Appendix 6 External Dimensions App 25 Appendix 6 3 A1SJ71AT23BQ INDEX A Access to another station peripheral or intelligent UNCION IMOGUIC unica 4 7 ADPIICADIS CADIS sissa eiar ai 3 1 Automatic return fUNCtION cccocccoocccccncocnconcnnnnoss 4 8 A QnA to Q conversion support tool 1 5 B Buffer Memory occocccoccccccoccnocnconccnnnncnnononanonoos 3 15 3 17 B W COMMUNICATION ooccocccccncoccccccccnconnnanicaninonnns 4 1 C Cable specificatiONS ooccconcocncncociconnnoncncocnnnnos 3 5 Communication from a master station to a local station les tando a boi 4 6 COMMUNICATION Speed ooccccocncnccnnccncccnconcnnncnnncnnnnos 3 1 Communication speed setting oocccocn 5 3 Comparison Q series and A QnA series local o Jioc soe sali sumeaaenteatuecbisenaaetade App 9 CONNECI arca 3 1 Cyclic Transmission FUNCTION oocccccccccncccncnnncnno 4 1 E Error detection function occcocccocncocnccnnncncncnnoss 4 11 1 INPUT XOTO AEE bus 3 27 OSM aa aa E aa E 3 11 L E A E A 5 3 8 14 EINK A I A A Ot 6 1 Link data storage area occooccccccnocccoccnoncnnnnnnnos 3 15 6 1 UNK POR CS iras occ eerie da laca dial 1 3 6 1 6 2 Link refresh tiMe oooccoccccccccncccnconcoccnoconanicanonnnnos 6 7 Link register WO to WFFF o ooccccccnccncccnccoccnooo 3 29 Link relay BO to BERE siii 3 28 MA r
14. 4 1 250kbps switch A1SJ71AT23BQ d 2 500kbps 3 1Mbps 4 to F Unusable If set the local module goes into offline status XO ON Lu oc je LL Lu m N Lu x m LI e oc A gt S FE E LOr Bow MO Connects an optical fiber cable 4 FRONT SIDE INM Reverse loop send INN Forward loop receive LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME 5 Connector A1SJ71AP23Q 01078 Forward loop send OJU Reverse loop receive PROGRAMMING TROUBLESHOOTING 5 3 Part Names and Settings 5 4 PREPARATORY PROCEDURES BEFORE OPERATION MEL SEC A Table 5 2 Part names and settings Continued No Name Description Connects a coaxial cable 6 Connector A1SJ71AR23Q INMSSIDA Reverse loop send Dim DE Forward loop receive Terminal block 7 A1SJ71AT23BQ 1 Station No setting a MELSECNET data link system Set 00 to the station No of the master station and set station No 01 02 n n lt 64 to slave stations starting from the one next to the master station Master station for second tier Station No 00 Slave station Master station Slave station Slave station Slave station mn i No 1 for third tier No 2 No 3 No 64 Station Station Station Forward No 01 No 00 No 02 loop direction IN Tour INL ouT IN OUT Tertiary station Tertiary station Tertiary station No 1 No 2 No 64 Station Station Forward No 01 No 02 loop direction INT
15. DMOV BMOV WOZO DMOV MOV SFR BMOV K4B0Z0 DMOV MOV SFR BMOV K4B0Z0 Z0 21 22 SET W1002 W1032 U20 61024Z0 W1044 U20 61024Z0 1038 Z0 Z2 U20 59222 W104A Z0 22 U20 G592Z2 MELSEC A Saves the relevant device data in the save area D2042 SD2043 SD2044 DY211 Refresh in execution H26 Saves the L4 station refresh information table into W W transmission of L5 First half 70 Start No Z0 No of words Z1 21 Transfers W of L5 station to the local module First half W transmission of L5 Latter half 70 Start No Z0 No of words Z1 Z1 Transfers W of L5 station to the local module Latter half B transmission of L5 First half 70 Start No Z0 No of words Z1 Z2 K4 Divides the buffer memory address by 16 bits Z1 Transfers B of L5 station to the local module First half B transmission of L5 Latter half 70 Start No Z0 No of words Z1 Le K4 Divides the buffer memory address by 16 bits 21 Transfers B of L5 station to the local module Latter half Figure App 8 Program name L4_ADD App 20 Appendix 5 2 Program for refresh Appendix 5 Program for Refresh when Using Multiple Local Modules APPENDICES MELSEC A X207 W transmission of L6 First half DMOY W1062 Z0 Start No ZO No of words Z1 U20 BMOY WOZO 6102420 ZI Transfers W of L6 station to the local module First half W transmissi
16. L lt M 2 lt X L lt LS lt M orLS lt L lt M ra Master station ek ey B 6 Link register W M 01 LS L x 2 02 ms no Output Y Loga station LRDP LWTP instruction Mx 5 41 x 5 ms Local station Link relay B a i Link register W Mx 4 a1 x 3 L ms Master station Output Y O Local station O Link relay B ae D Link register W x a1x 2 L1 LS L2 x 2 02 ms Local station Table 6 2 Maximum transmission delay time for LS lt M lt L Item LS lt M lt L Yo Q Master station anereay 8 O Link register W M 041 Lx 3 42 x 2 ms 5 LL Output Y SOON LRDP LWTP instruction M 01 x 3 L 02 x 3 ms Lu LL Link register W Mx 3 01 x 2 L 02 ms a Master station Output Y O Ez Local station ce m z Link relay B A ae WO wi Lit y Link register W a Bie bee ee a ee So Local station 6 OS Table 6 3 Maximum transmission delay time for M lt L lt LS orL lt M lt LS BF Duz M lt L lt LS orL lt M lt LS 59 09 Ww l oO Master station ous ISE E ug Link register W M a1 LS x 2 L x 2 a 2 ms cua l Output Y TE ocal station LRDP LWTP instruction M a1 x 5 LS x 5 ms Local station Link relay B Link register W Mx4 01 x 3 LS x 3 L ms Master station Output Y o Local station Link relay B l ce ll Link register W M 1 x 2 LS x 3 L1 L2 x 2 2 ms O Local station a 0 O O JE op Ll a O o kE 6 2 Transmission Delay Time 6 5 6 2 1 Transmission de
17. Link parameter setting example Link parameters must be set to the master station for the second tier M and the master station for the third tier L2 m Link parameters for second tier B W 0 100 200 300 38 FFF L3 0 e First half of link parameters Link parameters of master station for third tier L2 m B W 0 200 280 2C0 300 FFF oo i eee e a First half of link parameters Figure 4 2 Link parameter setting example b Send receive ranges when the local module is on the second tier local station L1 1 L1 station writes data into the range of B W100 to 1FF and sends them to other stations 2 It can receive data written by other stations within the ranges of B WO to FF and B W200 to 37F B W 0 100 200 280 2C0 300 380 FFF WA MR Y y Y PISA IEEE ASI emer ED Readable range Writable range Figure 4 3 Send receive ranges when the local module is on the second tier local station L1 4 2 4 1 Cyclic Transmission Function 4 1 1 1 n communication B W communication A FUNCTIONS MELSEC A c Send receive ranges when the local module is on the third tier local station 11 1 11 station writes data into the range of B W280 to 2BF and sends them to other stations 2 It can receive data written by other stations within the ranges of B WO to FF B W200 to 27F and B W2CO0 to 2FF B W 0 100 200 280 2C0 300 380 FFF Y 7 AMA remar to emo EPI Readable range Writable range
18. Table App 6 Refresh information table range for local stations No 5 to No 7 Address Name Hexadecimal Decimal OH to 1H O to1 Presence or absence of refresh information table 2H Host station send Start number 0 to FFF 3H range in W Points in units of words 8H Host station send Start number 0 to FFO 9H Refresh information table First Points in units of words EH half of link parameters Host station send Start number 0 to 7F0 FH Points in units of words 11H Host station receive Start number 0 to 7F0 12H range in X Points in units of words 14H Host station send Start number 0 to FFF 15H Refresh information table Points in units of words 1AH Latter half of link parameters Host station send Start number 0 to FFO 1BH range in B Points in units of words b15 to b8 b7 to bO Address 0H MONO ON gt E B 0 No setting 1 Setting exists Host station send range in W Other station send range 1 in W Other station send range 2 in W Host station send range in B First half of Other station send range 1 in B link parameters Other station send range 2 in B Host station send range in Y Host station receive range in X Host station send range in W Other station send range 1 in W Other station send range 2 in W Latter half of Host station send range in B link parameters Other station send range 1 in B Other station send range 2 in B For system Special relay for link special
19. installing multiple local modules can increase the maximum link points per station MELSECNET data link system MELSECNET H network system Q series programmable controller Q30OB 1 1 1 1 1 1 1 1 o 1 1 1 1 1 1 1 1 1 1 1 1Ns2 station INDEX M station 1MpP1 station 1Ns5 station L1 station L4 to L7 stations QA1S6LB MELSECNET II L2 station R3 station Local module M station L1 station L2 station 1Ns4 station 1Ns5 station B WO M station M station L1 station 2 station 4 station 5 station L6 station L7 statio B WFFF L1 station L2 station L4 station L5 station L6 station L7 station L1 statio L2 statio L4 statio L5 statio L6 statio L7 statio n n n n n n Appendix 5 Program for Refresh when Using Multiple Local Modules 1Mp1 station 1Ns3 station 1Ns4 statio
20. 037F 4 Send range foreach station Sendrange for each station UR SecomdhafB SecomdhafW station No End PMO 2674000 oar 256 0400 os i e ooo osr ee ooo ee ee E2258 060 osre ese oeoo orr i SS AAA AAA E Wes as 0700 OFF 266 0700 or WES 286 0800 or 286 080 0er PP WEG 56 oso oor 256 090 oF T a a IL 7 256 0800 OAFF 256 0800 DAFF El Figure App 4 Link parameter setting of the master station Appendix 5 Program for Refresh when Using Multiple Local Modules Ap p 15 Appendix 5 1 System configuration and setting conditions 0 Ll O O Z Ll A A lt INDEX APPENDICES App 16 Appendix 5 2 Program for refresh This section introduces programs for refresh MELSEC A Execute the programs for refresh at the beginning of the sequence program 1 Adding new data to a project To the project add new programs e 4 ADD Program for using multiple modules e 4 PROG Program for refreshing local station No 4 e L5 PROG Program for refreshing local station No 5 e L6 PROG Program for refreshing local station No 6 e L7_ PROG Program for refreshing local station No 7 2 Setting PLC parameter Select PLC parameter Program and set the programs for refresh as the first sequence scans Q parameter setting Program L4 ADD L4 PROG L5 PROG L6_ PROG L7_PROG MAIN Acknowledge lt Y assignment Multiple CPU settings Default Chec
21. 14 3 4 2 Details of I O signal 3 SPECIFICATIONS MELSEC A 3 5 Buffer Memory List The following shows a buffer memory list of a local module Table 3 10 Buffer memory list Address Initial Readable Reference Name OH to 1H Oto 1 Presence or absence of refresh information table pa 2H Host station send Sn 4H Other station send Sk range 1 of W 6H SSF Other station send Ta 8H EEN Host station send g Section An Refresh information Other station send table First half of link B parameters CH ari station send EH Host station send Fi 10H System area Use prohibited area Use es System area Use prohibited 11H Host station receive Start number 0 to Start number 0 to 7FO Section 12H Points in units of words Fairey OR 3 6 3 13H System area Use prohibited area Use prohibited System area Use prohibited 14H Host station send 16H Other station send iT range 1 of W 18H Other station send 194 Refresh information range 2 of W table Latter half of 1AH Host station send link parameters 1CH Other station send 1EH ci station send master station for Section 21H 33 second tier first Points in units of words 3 6 3 master station for 23H 35 Refresh information second tier first Points in units of words EN table Send range of half of B 24H master station for the Send range of second tier master station for 25H 37 second tier latter Points in un
22. 1412 MEE MODEL A1SJ71AP230 U SY E MODEL CODE 13JR98 MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN NAGOYA WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPAN When exported from Japan this manual does not require application to the Ministry of Economy Trade and Industry for service transaction permission Specifications subject to change without notice
23. 3 2 2 3 4 2 7 2 Appendix 4 2 WARRANTY CONDITIONS OF USE FOR THE PRODUCT Apr 2011 SH NA 080670ENG D Section 3 6 4 3 6 5 7 2 8 1 2 Appendix 4 2 Oct 2011 SH NA 080670ENG E SAFETY PRECAUTIONS COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES GENERIC TERMS AND ABBRERVIATIONS Chapter 1 Section 1 1 2 2 Dec 2014 SH NA 080670ENG F COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES HOW TO READ THIS MANUAL Chapter 1 Section 1 1 2 2 Chapter 3 Section 5 1 5 3 6 2 1 7 2 8 1 4 Appendix 4 2 Appendix 3 Japanese Manual Version SH 080669 G This manual confers no industrial property rights or any rights of any other kind nor does it confer any patent licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual O 2007 MITSUBISHI ELECTRIC CORPORATION INTRODUCTION Thank you for choosing the Mitsubishi MELSEC AnS Series of General Purpose Programmable Controllers Before using the equipment please read this manual carefully to develop full familiarity with the functions and performance of the AnS series programmable controller you have purchased so as to ensure correct use CONTENTS O fa ee A 1 CONDITIONS OF USE FOR TRE PRODUCT le cole edge A 4 REVISION Sorrir ec eee ene eee eee ee renee eee eee A 5 INTRODUCTMON 00 tt Dic A 6 CONTENT Sussie de lolo iS A 6
24. A link module has a link data storage area that is provided for link data communication i with other stations and a data memory storage area that is used for processing of its own station data The link data storage area of a Q series local station uses the buffer memory 2 Link data transfer 2 Link data are sent or received by link scan and link refresh O a Link scan means link data transfer between link modules between the link data storage areas i ad O b Link refresh is link data transfer performed inside a link module E op 1 When using CPU modules with the link function on the master and local 283 stations x Bs Link data are sent and received between the link data storage area and the T O data memory storage area 6 m 2 When using a CPU module and a link module including the local module 2 E op Link data are sent and received between the link data storage area of the link 5 mba Z 109 module and the data memory storage area of the CPU module Di TE a ig a Master station Q series local station Local module CPU module Link scan MS 7 Buffer memory E a O po zZ 7 Data memory Link data Link data Data memory lt storage area storage area storage area storage area i Link refresh Link refresh Figure 6 1 Link data transfer S O O JE ep Ll a O o kE 6 1 Link Data Send Receive Processing 6 a 6 1 1 Send receive processing overview 6 2 LINK DATA SE
25. Bow MO LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING 5 5 Self diagnostic Test 5 12 PREPARATORY PROCEDURES BEFORE OPERATION MEI SEC A 5 5 1 Self loopback test The self loopback test checks the hardware including transmission circuit in a single local module The hardware is judged by whether the data sent from the send side can be received by the receive side in a given time 1 System configuration a MELSECNET A1SJ71AP23Q An optical fiber cable connects the OUT and IN of the local module Local station No 1 gt Data flow of forward loop Front lt Data flow of reverse loop Optical fiber cable Figure 5 13 MELSECNET A1SJ71AP23Q b MELSECNET A1SJ71AR23Q A coaxial cable connects the OUT and IN of the local module Local station No 1 Station No 01 OUT IN C N DON gt Data flow of forward loop lt Data flow of reverse loop m QO Q E P U oO ag eg Coaxial cable Figure 5 14 MELSECNET A1SJ71AR23Q Front c MELSECNET B A1SJ71AT23BQ There is no need to connect a cable or terminating register to the local module 2 Switch setting Set the RUN STOP switch of the CPU module to STOP and set the DIP switch on the front of the link module as follows gt Section 5 3 Part Names and Settings Table 5 5 Switch setting No Set value Item Description Station No setting switch Mode setting switc
26. Connection of cable 0 Connect link modules via a cable 77 Section 5 4 Wiring Line check between two stations Check the line between the two adjacent stations by Y the station to station test o Section 5 5 2 Station to station test O ng z Link parameter setting for the master station 5 Set link parameters for the master station K gt Type MELSECNET MELSECNET B Data Link System Reference Manual Programming for refresh Create a program for refresh Set the RUN STOP switch of the CPU module to RUN and check the program 237 CHAPTER 7 PROGRAMMING Lu oc je LL Lu m N Lu x m LI oc A gt S FE E LOr PEA aaO Line check not provided for MELSECNET B Check the forward loop or reverse loop side line of the MELSECNET a Section 5 5 3 Forward loop test reverse loop LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME Programming and debug Create a program for data link and check the program L gt Type MELSECNET MELSECNET B Data Link System Reference Manual gt F END O F Figure 5 1 Preparatory procedures before operation oO POINT The link parameter setting refresh parameter is not required for a Q series local E station since refresh is performed in a sequence program Lu D O X kE 5 2 Preparatory Procedures before Operation 5 2 PREPARATORY PROCEDURES BEFORE OPERATION MELSEC A 5 3 Part Names and Settings This chapter
27. D device Transfers the work area value to W device Clears the LWTP instruction work area to zero LWTP instruction receive request 5 Processing completion For a local in the third tier receives the second tier master W device reception First half Start No Z0 No of words Z1 Obtains W of the master station from the local module First half W device reception Latter half Start No Z0 No of words Z1 Obtains W of the master station from the local module Latter half B device reception First half Start No Z0 No of words Z1 Divides the buffer memory address by 16 bits Obtains B of the master station from the local module First half B device reception Latter half Start No Z0 No of words Z1 Divides the buffer memory address by 16 bits Obtains B of the master station from the local module Latter half Refresh completion Turns OFF refresh in execution Turns OFF the refresh request Turns ON the refresh request Restores the relevant device data PROGRAMMING MELSEC A POINT 1 After writing the program to the CPU module turn OFF and ON the power supply or reset the CPU module When the CPU module s RUN STOP switch is set to RUN the Q series local station starts sending receiving data to from other stations Refresh ready status X7 turns ON OFF 2 Check the program for refresh lt Examples of checking the program for refresh gt E Check
28. Modulation method CMI method T Transmission format Conforming to HDLC Frame format Error control system Retries due to CRC generating polynomial X18 X1 X 1 and time out T i eLoopback function due to error detection and cable disconnection z RAS function DiN eae m eDiagnostic function including link line check of host station etc 2 0 Lu Connector plug for 3C 2V User prepared 5 gt 6 BNC P 3 NiCAu CF DDK Ltd a q Connector Connector plug for 5C 2V User prepared y a BNC P 5 NiCAu CF DDK Ltd BNC P 5DV SA 41 HIROSE ELECTRIC CO LTD Applicable cable Cables equivalent to 3C 2V or 5C 2V User prepared Number of I O occupied points 32 points Intelli 32 points Internal current consumption 5VDC 0 80A Weight 0 33kg OS Ze mH nO uz dp O E tn oO wW O gt NX yA Oa Ww Zz X lt LINK DATA SEND PROGRAMMING TROUBLESHOOTING 3 1 Performance Specifications 3 2 SPECIFICATIONS MELSEC A 3 Performance specifications of MELSECNET B data link system and A1SJ71AT23BQ Table 3 3 Performance specifications of MELSECNET B data link system and A1SJ71AT23BQ Input Maximum applicable link points per station Maximum link points in a system Master station Local station Maximum link points Remote I O station per station Communication speed Communication method Synchronization method Transmission path Overall cable distance Number of connected stations Modulation m
29. PROGRAMMING TROUBLESHOOTING 3 6 Details of Buffer Memory 3 22 3 6 4 LRDP instruction receive request receive result work area 3 SPECIFICATIONS MELSEC A 1 LRDP instruction receive request Buffer memory address ACn The receive request for the LRDP instruction is stored 4 Processing requested System sets it when LRDP instruction is accepted 5 Processing completed User has to set it after the read data is stored Other than the above No request 2 LRDP instruction work area Buffer memory address BOH to D7n When the LRDP instruction receive request buffer memory address AChH is 4 the requested content of the LRDP instruction is stored into the following area 1 Read the read data buffer memory address B4H to D7H of a local module to the devices of the CPU module using the following area in a sequence program 2 After reading data set 5 to the LRDP instruction receive request buffer memory address ACn 3 Send the data which is stored in the read data buffer memory address B4H to D7H to the master station Table 3 12 LRDP instruction work area Address Hexadecimal Description Decimal Stores a start device name device code of the CPU module 544EH T BOH 176 Read start device name 434EH C 4420H D 5720H W B1H 177 Read start device No 1 Stores a start device No of the CPU module B2H 178 System area Use prohibited Stores the number of data to be read B3H 179 R
30. Systems This section describes applicable systems 2 2 1 Applicable system for Q series This section describes the applicable system for Q series 1 Mountable modules and number of mountable modules a Mountable modules High Performance model CPU and Universal model QCPU with a serial number first five digits of 13102 or later excluding the QnNUDPVCPU QA1S5OB QA1S6OB or QA6LB A A1S module conversion adapter b Number of mountable modules 25 QCPU User s Manual Hardware Design Maintenance and Inspection IPOINT e 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 e Mount a module within the number of I O points for the CPU module If the number of slots is within the available range the module can be mounted on any slot c When the module is used in a MELSECNET H remote I O station The local module cannot be used in a MELSECNET H remote I O station Mount the module with a CPU module of the master station 2 Support of a multiple CPU system When the local module is used in the multiple CPU system refer to the following first 23 PRECAUTIONS FOR USE OF AnS A SERIES MODULE in the QCPU User s Manual Multiple CPU System For AnS series compatible I O modules and special functi
31. When the CPU module s RUN STOP switch is set to RUN the Q series local station starts sending receiving data to from other stations Refresh ready status X7 turns ON OFF 2 Check the program for refresh lt Examples of checking the program for refresh gt Check the following in the device batch monitor test of GX Developer e Change the B WO value of the master station and check if the B WO value of local station No 4 is changed e Change the B W180 value of local station No 4 and check if the B W180 value of the master station is changed 3 For programs for data link with other stations refer to the following manual 23 Type MELSECNET MELSECNET B Data Link System Reference Manual App 22 Appendix 5 Program for Refresh when Using Multiple Local Modules Appendix 5 2 Program for refresh APPENDICES MELSEC A Appendix 6 External Dimensions Appendix 6 1 A1SJ71AP23Q 130 1 4 5 6 5 93 6 34 5 Unit mm Figure App 11 A1SJ71AP23Q 1 For details please consult your local Mitsubishi Electric System Service or representative Appendix 6 External Dimensions App 23 Appendix 6 1 A1SJ71AP23Q 0 Ll O O Z Ll A A lt INDEX APPENDICES MELSECG A Appendix 6 2 A1SJ71AR23Q 130 6 5 93 6 Unit mm Figure App 12 A1SJ71AR23Q App 24 Appendix 6 External Dimensions Appendix 6 2 A1SJ71AR23Q APPENDICES MELSEC A Appendix 6 3 A1SJ71AT23BQ 0 Ll O O Z Ll A o x INDEX
32. conversion support too execute This tool converts the program ofACPU nat supported t by EX Developer into the supported program The program conversion tool for AnS Q Module Conversion Adapter execute tthe XN device and No of buffer me memory with the compatible one COPYRIGHT C 2005 MITSUBISHI ELECTRIC CORPORATION ALL RIGHTS RESERVED Appendix 3 Steps to Create a Program for L Series App 5 APPENDICES MELSEC A 3 In the Refresh program generation tool for MELSECNET II local station window prepare the conditions for a new program Refresh program generation tool for MELSECNET II local station QCPU Qmode new program PLC type Q25H g VO No of A1SIJ71TAP23Q A1S 7 1TAR23SQ A1S 7 1AT23B0 200 0 FEO Network type mode f MELSECNET f MELSECNET Il including MNET Il comp mode sequence program to be created Creates the checked sequence programs if Refresh prog LRODP instruction receive program BW receive program of master station in third tier LWTP instruction receive program tom AI PLC type Select Q25H Enter the I O number of the slot on which the local module is mounted This setting is intended for the start number of a module to be accessed by the FROM TO instruction Before entering the I O number check the actual system An I O number I O No of A1SJ71AP23Q A1SJ71AR23Q A1SJ71AT23BQ different from that of the actually mounted module can cause the CPU module to stop
33. describes the part names and settings of the local module A18J71AP23Q A1SJ71AR23Q RUN SD RD F LOOP CPU STATION NO 0 ONLINE A R 0 ONLINE A R 1 ONLINE U R 1 ONLINE U R 2 0FFLINE 3 0FFLINE 4 0FFLINE 5 TEST 3 B M 6 TEST 4 B S 7 TEST 5 S R 2 0FFLINE 3 0FFLINE 4 0FFLINE 5 TEST 3 B M 6 TEST 4 B S 7 TEST 5 S R 4 FRONT SIDE 4 FRONT SIDE R SD N IN F RD F SD UT R RD A1SJ71AR23Q A1SJ71AT23BQ 0 A18J71AP23Q Figure 5 2 Outside drawing of local module Table 5 2 Part names and settings Description Name seus Description OOOO O RUN No Name LED Data link normal Data sending A1SJ71AP23Q RUN CRC SD OVER RD ABIF F LOOP TIME F LLOOP UNDER F LOOP 125k 250k ON R LOOP 500k ON Data receiving Forward loop side receives data OFF Reverse loop side receives data Communication with CPU module in execution Setting status of communication speed A1SJ71AT23BQ A1SJ71AR23Q 1 Code check error of receive data The processing of receive data has been delayed 1 has been received consecutively more than stipulated times Receive data length is shorter than stipulated length ON OFF Data link monitoring time is over if normal The data of error code has been received A1SJ71AT23BQ CRC RUN OVER E Internal processing of send data is not executed constantly DATA ae Receive error at forward loop side Receive error
34. discharge the static electricity from the human body Not doing so may cause a failure or malfunction of the module DISPOSAL PRECAUTIONS CAUTION O When disposing of the product treat it as industrial waste CONDITIONS OF USE FOR THE PRODUCT 1 Mitsubishi programmable controller the PRODUCT shall be used in conditions i where any problem fault or failure occurring in the PRODUCT if any shall not lead to any major or serious accident and ii where the backup and fail safe function are systematically or automatically provided outside of the PRODUCT for the case of any problem fault or failure occurring in the PRODUCT The PRODUCT has been designed and manufactured for the purpose of being used in general industries MITSUBISHI SHALL HAVE NO RESPONSIBILITY OR LIABILITY INCLUDING BUT NOT LIMITED TO ANY AND ALL RESPONSIBILITY OR LIABILITY BASED ON CONTRACT WARRANTY TORT PRODUCT LIABILITY FOR ANY INJURY OR DEATH TO PERSONS OR LOSS OR DAMAGE TO PROPERTY CAUSED BY the PRODUCT THAT ARE OPERATED OR USED IN APPLICATION NOT INTENDED OR EXCLUDED BY INSTRUCTIONS PRECAUTIONS OR WARNING CONTAINED IN MITSUBISHI S USER INSTRUCTION AND OR SAFETY MANUALS TECHNICAL BULLETINS AND GUIDELINES FOR the PRODUCT Prohibited Application Prohibited Applications include but not limited to the use of the PRODUCT in e Nuclear Power Plants and any other power plants operated by Power companies and or any other cas
35. in the third tier receives the SD2041 0 data of th ti t tati moy won be ata ol e secon tier master station W device reception First half U20 Start No Z0 No of words Z1 BMOV G1024Z0 WOZO Z1 Obtains W of the master station from the local module First half SD2041 1 W device reception Latter half DMOV w1024 20 Start No ZO No of words Z1 U20 BMOV G1024Z0 W0Z0 71 Obtains W of the master station from the local module Latter half SD2041 0 B device reception First half DMOV W1022 70 Start No Z0 No of words Z1 MOV Z0 Z2 SFR 22 K4 Divides the buffer memory address by 16 bits U20 BMOV 6592722 KABOZO 21 Obtains B of the master station from the local module First half 8D2041 1 B device reception Latter half DMOV W1026 20 Start No Z0 No of words Z1 MOV Z0 Z2 SFR 22 K4 Divides the buffer memory address by 16 bits U20 BMOV 659222 K4ABOZO 21 Obtains B of the master station from the local module Latter half X207 Refresh completion RST DY211 Turns OFF the refresh in execution RST DY216 Turns OFF the refresh request SET DY216 Turns ON the refresh request Figure 7 14 Program example Continued T 15 7 2 Program for Refresh and for Receiving LRDP LWTP Instruction PROGRAMMING SM400 MELSEC A Restores the relevant device data MOV SD2042 Z0 MOV SD2043 Z1 MOV SD2044 Z2 Figure 7 15 Program example Continued E JPOINT 1 After writing the
36. is found in data transmission 8 TROUBLESHOOTING MELSEC A i is 8 1 4 When Communication error is detected in some slave stations ul Ll gt O Connect GX Developer to master station and have link monitor screen displayed zZ Q 4 q Turn off each of stations in order Turn slave station back to ON after i starting from No 1 and check link checking and then check next one Y 5 status on link monitor of master tation no 2 NO O Normally loopbacked E E O Ll A YES 2 Were all slave stations up nO to the last one checked YES Z O kE Fault is suspected to be present Master station is suspected to be faulty 2 between power off slave station and T next station When loopback can be performed with station No 1 turned OFF master station may be faulty Lo Se Lu gt o O a Conduct self loopback test for g lt 00 suspected link module WO Ww VO Mao Replace link module LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME Conduct station to station test between suspected stations to check link cable Replace faulty link cable 1 If programmable controller cannot be turned OFF disconnect link cable PROGRAMMING 00 Figure 8 11 When Communication error is detected in some slave stations Z E e je E N L m x eE 8 1 Troubleshooting Flowchart 8 12 8 1 4 When Communication error is detected in some slave stations 8 TRO
37. link scan is completed and refresh is ready During a sequence scan when Refresh ready status X7 is turned ON a Q series local station stops data communication with other stations o Z O lt x Q LL O m o A 2 In a sequence program turn ON Refresh in execution DY11 and refresh devices for the local module and the CPU module using the following area e Presence or absence of refresh information table Buffer memory ep address On 1H F e Refresh information table Buffer memory address 2H to 27H S e Link data storage area Buffer memory address 100H to 13FFH 3 After refresh is completed turn OFF Refresh in execution DY 11 and Refresh m request DY 16 in the sequence program A gt 4 When the refresh request DY 16 is turned ON by sequence programs the SB refresh ready status X7 is turned OFF aa After sequence scans where the refresh ready status X7 is turned OFF Q e E series local stations restart data sending receiving from other stations IPOINT Read write the buffer memory from to the sequence scan where Refresh ready status X7 is ON When the sequence scan is read written to from the sequence scan where Refresh ready status X7 is OFF the sequence scan time for the host station may be prolonged or the CPU module may stop due to SP UNIT DOWN LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING 3 4 I O Signal for Programmable Controller CPU 3
38. nO uz dp O E tn oO wW O gt NX o Oa Ww Zz X lt LINK DATA SEND PROGRAMMING TROUBLESHOOTING 3 5 Buffer Memory List 3 16 3 SPECIFICATIONS 3 6 3 17 MELSEC A Details of Buffer Memory This section describes details of a buffer memory of a local module 3 6 1 1 2 Precautions Reading writing a buffer memory Read write the buffer memory from to the sequence scan where Refresh ready status X7 is ON When the sequence scan is read written to from the sequence scan where Refresh ready status X7 is OFF the sequence scan time for the host station may be prolonged or the CPU module may stop due to SP UNIT DOWN Buffer memory batch monitor test of GX Developer Buffer memory batch monitor test of GX Developer cannot be used When executing buffer memory batch monitor test of GX Developer the sequence scan time for the host station may be prolonged or the CPU module may stop due to SP UNIT DOWN In addition when the host station is offline station to station test or self loopback test a communication error occurs to GX Developer When monitoring testing link data storage area of a buffer memory monitor test the device of the refresh target CPU module Devices of the CPU module can be checked by the device batch monitor test of GX Developer 3 6 Details of Buffer Memory 3 6 1 Precautions 3 SPECIFICATIONS MELSEC A 3 6 2 Presence or absence of refresh information table Validity inv
39. or power cable do not pull it by holding the cable part To disconnect the cable hold its connector that is plugged into the module Loosen screws for a terminal block before disconnecting a cable for connecting terminal block Pulling the cable part with the cable still connected to the module may damage the module and or cable or cause malfunctions due to poor cable contact START UP AND MAINTENANCE PRECAUTIONS CAUTION Do not disassemble or remodel each of the modules Doing so may cause failure malfunctions personal injuries and or a fire When using a wireless communication device such as a mobile phone keep a distance of 25cm 9 85 inch or more from the programmable controller in all directions Failure to do so may cause malfunctions Be sure to shut off all phases of the external power supply used by the system before mounting or removing the module Not doing so may damage the product Do not touch terminals during power on Doing so may cause malfunctions Be sure to shut off all phases of the external power supply used by the system before cleaning or retightening the terminal screw or module mounting screw Not doing so may cause a failure or malfunction of the module If the screw is too loose it may cause a drop short circuit or malfunction Excessive tightening may cause damage to the screw and or module resulting in a drop short circuit or malfunction Before handling the module touch a grounded metal object to
40. register for link b15 to b2 b1 bO Address 1H For system NN 0 No setting 1 Setting exists Send range of master station for second tier first half of B W Send range of master station for second tier latter half of B W Figure App 7 Presence or absence of refresh information table ranges for local stations No 5 to No 7 App 18 Appendix 5 Program for Refresh when Using Multiple Local Modules Appendix 5 2 Program for refresh APPENDICES MELSEC A b Device list Devices used in the program are shown Each of the local modules is mounted in the position represented by the following I O No e Local module of local station No 5 X Y220 to X Y23F e Local module of local station No 6 X Y240 to X Y25F e Local module of local station No 7 X Y260 to X Y27F Table App 7 Device list Device Description X201 B W initial value setting status 0 Ll O O Z Ll A A lt X207 Refresh ready status Y210 For local station No 4 CPU operating status o Y211 Refresh in execution Y216 Refresh request X221 B W initial value setting status X227 Refresh ready status Y230 For local station No 5 CPU operating status Y 231 Refresh in execution Y 236 Refresh request X241 B W initial value setting status X247 Refresh ready status Y250 For local station No 6 CPU operating status Y251 Refresh in execution Y 256 Refresh request X261 B W initial value setting status X267 Refresh ready status Y270 For lo
41. station Table 4 2 Conditions for reconnecting a disconnected station depending on whether the automatic return function is supported or not Automatic return function Conditions for reconnecting a disconnected station local station Master station Local station Supported Automatically reconnected after the faulty part of the master station is corrected Supported Take actions to correct the faulty part of the master station Not supported Reset the master station and then the disconnected station Supported Automatically reconnected after the faulty part of the master station is corrected Not supported OS Take actions to correct the faulty part of the master station u ae Reset the disconnected station and then the master station 2 When a station is disconnected due to an error occurred in the station Table 4 3 Conditions for reconnecting a disconnected station depending on whether the automatic return function is supported or not Automatic return function Conditions for reconnecting a disconnected station local station Master station Local station Supported Automatically returns after the faulty part of the disconnected station is corrected Supported Take actions to correct the faulty part of the disconnected station Not supported Reset the disconnected station Supported Take actions to correct the faulty part of the disconnected station Not supported Reset the disconnected station and th
42. station L1 station L1 station L2 station L2 station L2 station L2 station L2 station B L4 station L4 station L4 station L4 station L4 station n yn L5 station L5 station L5 staton 15 station ee n L6 station L6 station a L6 station HN L6 station L7 station L7 station L7 station L7stationlo ______ L7 station M station M station M station M station M station L1 station L1 station L1 station L1 station L1 station L2 station L2 station L2 station L2 station ill e L4 station L4 station L4 station L4 station L4 station n L5 station L5 station a L5stationt b_T 211 5 station ee n JN L6 station L6 station L6 station DANA L6 station L7 station L7 station L7 station L7stationl 4 L 7 station ex i Ez Tr ha O al NO O al ep 92 92 92 ep Cer s O O O O E E i WFFF WFFF W1FFF Refresh range lt Transfer direction Local module CPU module gt Transfer direction Local module CPU module Figure App 6 Example of link register W data transfer Appendix 5 Program for Refresh when Using Multiple Local Modules Ap p 17 Appendix 5 2 Program for refresh APPENDICES MELSEC A 3 Refresh information table range of use e For local station No 4 all ranges are used e For local stations No 5 to No 7 the area shown below is used Note that Presence or absence of refresh information table Buffer memory address OH 1H uses the shaded parts in the figure below
43. station and a local station and between l Section B W local stations 44 4 oer communication Note that Q series local stations refresh link data using the sequence program de Cyclic transmission 1 1 communication The 1 1 data communication is performed between the master station and a local Section i X Y station 412 communication Note that Q series local stations refresh link data using the sequence program Bi By executing the LRDP LWTP instruction in the sequence program of the master Transient LRDP LWTP station data can be read from or written to local station devices T C D W Selona i transmission instruction Note that Q series local stations handle the reception of the LRDP LWTP instruction with the sequence program When a local station disconnected due to a data link error is recovered the station Section Automatic return automatically returns to the network and restarts data link 4 3 1 Disconnects a faulty part such as a disconnected cable or a faulty station from the Loopback network to continue data link among normally operating stations Not provided for por the MELSECNET B data link system RAS function pelea a special relay for link and special register for link of a local module to a device of the CPU Error detection The data link status or faulty part can be checked by using the refreshed device Section Note that the network diagnostics of GX Developer is not available fo
44. tte A o MS A A MS A EEN S EE A or tte Or HE Or y or HE A e e AS O or HE A tte A tte a File usability setting 10 refresh setting Acknowledge Y assignment Multiple CPU settings Default Check End Cancel Figure 7 5 Setting PLC parameter T 3 7 2 Program for Refresh and for Receiving LRDP LWTP Instruction PROGRAMMING MELSECG A 3 Program example 1 a Program overview a X 1 Program for refresh gt The following areas are refreshed according to the refresh information table Buffer memory address 2H to 27H A Local module A CPU Module cree ctactetes 6 Special relay for link M Special relay SM lt 103H M9240 to M9255 SM1240 to SM1255 E i H i i i az Special register for link D Special register SD cas 13BH SD1243 1474 a SD1255 7 Link relay B Link relay B z 250H BO to BF BO to BF E E ee AAA C E First half of link parameters 5 268H B170 to B17F B170 to B17F m l 269H B180 to B18F B180 to B18F y P E een PA MEA First half of link parameters 26FH B1FO to B1FF B1FO to B1FF 290H B400 to B40F PO B400 to B40F ee a M A 2 Latter half of link parameters Z j nse B570 to B57F B570 to B57F 2A9H B580 to B58F B580 to B58F Z pod e ES MA Latter half of link parameters i 2AFH B5F0 to B5FF B5F0 to B5FF i Lu Link register W Link register W 5 400H m Other station se
45. 3 Program for data link Send request 3 BIFF 2 B100 j END processing BO a Cyclic transmission a Link refresh Figure 4 6 B W communication example 4 4 4 1 Cyclic Transmission Function 4 1 1 1 n communication B W communication A FUNCTIONS 4 1 2 1 1 communication X Y communication Using a part of the I O points assigned to a master station and a local station one to one i data communication is performed between the master and local stations a The sending and receiving sides are regarded as output Y and input X respectively R Z A Localmodule CPU module _ E a Buffer memory 1 LL Data memory Link data Link data Data memory 7 5 storage area storage area storage area storage area une AT CIA Data flow Send receive processing E Link scan lt a Link refresh g 09 Figure 4 7 X Y communication data flow 1 I O ranges in X Y The I O ranges of X Y are set up with link parameters of the master station 2 Link refresh of link data Q series local stations refresh link data using the sequence program Note that refresh is not executed when the CPU module is in STOP status n Z O E 0 Z 5 LL L gt CHAPTER 7 PROGRAMMING g 3 X Y communication example go The following illustrates an example where input X and output Y data are aa transferred between the master station and a Q series local station e E Master station Q se
46. 4 MITSUBISHI MY Wa ELECTRIC Mitsubishi Programmable Controller MELSECNET MELSECNET B Local Station Data Link Module User s Manual A1SJ71AP23Q A1SJ71AR23Q A1SJ71AT23BQ SAFETY PRECAUTIONS Always read these instructions before using this product Before using this product please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety to handle the product correctly The precautions given in this manual are concerned with this product only For the safety precautions of the programmable controller system please read the User s Manual for the CPU module used In this manual the safety precautions are classified into two levels AA WARNING and N CAUTION NWARNING Indicates that incorrect handling may cause hazardous conditions resulting in death or severe injury Indicates that incorrect handling may cause hazardous conditions CAUTION resulting in minor or moderate injury or property damage w e SS SS Note that the N CAUTION level may lead to a serious consequence according to the circumstances Observe the precautions of both levels because they are important for personal and system safety Please save this manual to make it accessible when required and always forward it to the end user DESIGN PRECAUTIONS NWARNING O For each station s operating status in the case of a communication error in the network refer to this manual A
47. A First half of link parameters A to B27F B270 to B27F Host station send range ee to B28F B280 to B28F First half of link parameters M EEE to B2BF B2B0 to B2BF Other station send range 2 Bau beck B2C0 to B2CF First half of link parameters _ U gt 8 B2FO to B2FF B2FO to B2FF Send range of master station for second tier BAI O E407 B400 to B40F Latter half of link parameters a A A B4FO to B4FF B4FO to B4FF Other station send range 1 B600 to B60F B600 to B60F Latter half of link parameters A as 3 BE70toBE7F B670 to B67F Host station send range ae to B6SF B680 to B68F Latter half of link parameters 7 a A EEE to B6BF B6BO to B6BF Other station send range 2 B6C0 to B6CF B6C0 to B6CF Latter half of link parameters IO ee EIA B6FO to BOFF Figure 3 17 Refresh of link relay B 3 6 Details of Buffer Memory 3 28 3 6 9 Link relay BO to BFFF OVERVIEW CONFIGURATION SYSTEM OO Z Z O lt x O LL O m o A FUNCTIONS PROCEDURES BEFORE PREPARATORY OPERATION LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING 3 SPECIFICATIONS MELSEC A 3 6 10 Link register WO to WFFF The data of a link register WO to WFFF for the B W communication is stored Refresh devices of the CPU module and the data in this area using the following area ina sequence program e Presence or absence of re
48. CNET H network system O MeL Lo Station No 1 to 64 Abbreviation MP Control station Ns Normal station Network No 1 to 239 Example e Network No 1 control station station No 1 1Mp1 e Network No 1 normal station station No 2 1Ns2 3 When using this product in the system of L series Where there is no difference between Q series and L series the description is given for Q series only in reading this manual substitute Q with L where appropriate Here are examples of how to substitute the character Description in this manual Q After substitution L Q series L series QA1S5JB LA1S5OB QA1S6L B LA1S60B QCPU LCPU GENERIC TERMS AND ABBRERVIATIONS This manual describes the MELSECNET or MELSECNET B local station data link module using the following generic terms and abbreviations unless otherwise specified Generic term Description abbreviation Generic product name for SWnD5C GPPW E SWnD5C GPPW EA SWnD5C GPPW EV and GX Developer SWnD5C GPPW EVA n means version 4 or later A and V mean volume license product and version upgrade product respectively GX Works2 Generic product name of SWnDNC GXW2 E n represents the version MELSECNET Abbreviation for the MELSECNET data link system MELSECNET B Abbreviation for the MELSECNET B data link system MELSECNET H Abbreviation for the MELSECNET H network system MELSECNET Il Generic term for the MELSECNET or MELSECNET B data link system
49. CNET local station data link module Applicable cable optical fiber cable A1SJ71AR23Q type MELSECNET local station data link module Applicable cable coaxial cable A1SJ71AT23BQ type MELSECNET B local station data link module Applicable cable shielded twisted pair cable Terminating resistor 1100 1 2W 1 OVERVIEW MELSEC A CHAPTER1 OVERVIEW This manual describes the specification function preparatory procedures before operation programming and troubleshooting of the following data link module hereinafter referred to as a local module e A1SJ71AP23Q type MELSECNET local station data link module e A1SJ71AR23Q type MELSECNET local station data link module e A1SJ71AT23BQ type MELSECNET B local station data link module When applying a program example introduced in this manual to the actual system make sure to examine the applicability and confirm that it will not cause system control problems The local module can mount the Q series programmable controller as a local station in the second tier or local station in the third tier of the MELSECNET or MELSECNET B data link system Mount the local module to the following base unit e QA1S50OB extension base unit e QA1S6OB extension base unit Master station J Q series programmable controller 4 Main base unit Z QA1S50B extension base unit or A 0A1S6 OB extension base unit ocal module A DAA E rt z da 4H hes 2 4H Ob i S
50. DER Ml FLOOP R LOOP Figure 5 27 When normal VODIM b When failed The LED which corresponds to the error is flashed and the test is canceled A1SJ71AP21 RUN fi CRC sD OVER _ RO AB IF IR FLOOP i TIME A cru _ _ _ DATA U R UNDER i F LOOP iag R LOOP Ml Figure 5 28 When failed 1 When LEDs TIME DATA and UNDER are flashing e Hardware failure e Loopback due to cable disconnection or error of slave stations e The master station 00 is set for more than one station e Short monitoring time E JPOINT When a forward reverse loop has an error data link is switched to the one performed by a reverse forward loop When the forward reverse loop returns normal data link is performed by it However LED display shows an error Perform a forward or reverse loop test after resetting the master station 5 21 5 5 Self diagnostic Test 5 5 3 Forward loop test reverse loop test LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME MELSEC A CHAPTER6 LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME ff gt O This chapter describes how link data are sent or received in the data link system and its processing time 6 1 Link Data Send Receive Processing E Be 6 1 1 Send receive processing overview gt 9 The data link system repeatedly sends and receives link data set with the link parameters of the master station 7 6 1 Link module configuration S
51. ECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING 3 6 Details of Buffer Memory 3 24 3 6 5 LWTP instruction receive request receive result work area 3 SPECIFICATIONS MELSEC A 1 LWTP instruction receive request Buffer memory address AEn The receive request for the LWTP instruction is stored 4 Processing requested System sets it when LWTP instruction is accepted 5 Processing completed User has to set it after the write data is stored Other than the above No request 2 LWTP instruction work area Buffer memory address D8H to FFH When the LWTP instruction receive request buffer memory address AEn is 4 the requested content of the LWTP instruction is stored into the following area 1 Write the write data of a local module to the device of the CPU module buffer memory address DCH to FFH using the following area in a sequence program 2 After writing data set 5 to the LWTP instruction receive request buffer memory address AEH 3 The processing completion is notified to the master station Table 3 14 LWTP instruction work area Address Hexadecimal Description Decimal Stores a start device name device code of the CPU module 544EH T D8H 216 Write start device name 434EH C 4420H D 5720H W D9H 217 Write start device No 1 Stores a start device No of the CPU module DAH 218 System area Use prohibited Stores the number of write data DBH 219 Write data len
52. ELSEC A Data link disabled in input X and output Y Lu 6 NO Remote I O station Is it local station YES Local station z z Set master and local stations to STOP 5 f 20 status Q series local station must be 2 hu in RUN status Y10 ON v nO Is data link disabled NO Link output Y for link input X 2 of master station 2 S LL O Lu a 09 Forcibly turn ON OFF link output Y Forcibly turn ON OFF link output Y of local station of master station Monitor link input X of master station Monitor link input X of local station o that is corresponding to link output Y that is corresponding to link output Y 6 of local station of master station 5 5 LL X Does link input X of Does link input X of YES O master station turn ON OFF local station turn ON OFF on monitor on monitor a a Oxyz Ae Par LOr W O L EO Check link parameter assignments Sequence program error Modify sequence program Figure 8 7 When Error is found in data transmission Continued LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING 00 Z E e je E N L m x eE 8 1 Troubleshooting Flowchart 8 8 8 1 3 When Error is found in data transmission 8 TROUBLESHOOTING O Data link disabled in link relay B and link register W Set master and local stations to STOP status Q series local station must be in RUN status Y10 O
53. ESHOOTING MELSEC A 8 1 Troubleshooting Flowchart ul gt gt O acer on power supply Refer to troubleshooting section in CPU module manual module OFF Z NO o nz gt O Is RUN LED YES ee on CPU module OFF NO 2 4 O kE Is RUN LED YES S on CPU module 5 flashing o 09 NO Is RUN LED on YES Has CPU module YES Modify sequence program and master station link encountered an operation reset CPU module module OFF stop error n 6 NO NO O Replace link module hardware 5 s data link disabled YES i EET l z in the entire system MEN Section 8 1 1 When Data link is disabled in the entire system i vd Lu gt o NO O Yz lt 32 e 00 a YES y za Is data link disabled 237 Section 8 1 2 When Data link is disabled at a specific station ano at a specific station NO Error in data transmission us MES Section 8 1 3 When Error is found in data transmission LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME NO Is communication error detected in some slave stations YES lt 7 Section 8 1 4 When Communication error is detected in some NO PROGRAMMING Check if ERROR LED on link module is ON Section 8 3 Checking Error with LEDs of Link Module on Faulty Station 00 1 If the mode station No or communication speed of the link module is not set correctly SP UNIT LAY ERR will occur when the CPU module statu
54. F To o cc cs o receive range 197H X470 to X47F X470 to X47F Host station send range 1CFH ot Output Y Output Y 1DOH Pg Y480 to Y48F Y4F0 to Y4FF Figure 3 15 Refresh of input X and output Y 3 6 Details of Buffer Memory 3 6 8 Input XO to X7FF and output YO to Y7FF 3 SPECIFICATIONS MELSEC A 3 6 9 Link relay BO to BFFF The data of a link relay BO to BFFF for the B W communication is stored Refresh devices of the CPU module and the data in this area using the following area ina sequence program e Presence or absence of refresh information table Buffer memory address 0h 1H e Refresh information table Buffer memory address 2H to 27H The following shows the refresh of a link relay B for the case where link parameters are set as shown below and a local module is a local station in the third tier 11 station Link parameters of second tier B W 0 100 300 Ma NN FFF sen a tam fear E EA First half of link parameters O ES half of link parameters Link parameters of master station for third tier L2 m B W 0 200 280 2C0300 600 6806C0700 FEF First half of link half of link parameters Latter half of lr half of link parameters Figure 3 16 Link parameter setting Local module CPU module Link relay B Link relay B BO to BF Send range of master station for second tier First half of link parameters a BFO to BFF Other station send range 1 ZU we ER
55. FR U20 G59222 DMOV SFR U20 G59222 U20 G259 U20 G315 DMOV MOV HO TOZ1 DOZ1 wOZ1 MOV U20 G28 ZO Z2 K4B0Z0 U20 G30 K4B0Z0 K4SM1240 D1243 U20 G176 U20 G179 U20 G176 U20 180 Q U20 180 Q U20 180 Q 20 180 C Q K5 Z0 Z2 K4 Z1 Z0 Z2 K4 _ M1240 Z0 Z2 K40 Z2 Z2 Z2 Z2 U20 G172 Figure 7 9 Program example Continued MELSEC A B device reception Latter half Start No Z0 No of words Z1 Divides the buffer memory address by 16 bits Obtains B of the other stations from the local module Latter half B device reception2 Latter half Start No Z0 No of words Z1 Divides the buffer memory address by 16 bits Obtains B of the other stations from the local module Latter half Transfers the special relay for link from M9240 to SM1240 Transfers the special register for link from D9243 to SD1243 Obtains data of the special relay for link Obtains data of the special register for link LRDP instruction receive processing Obtains the read start device name and start device No Obtains the read data length Clears the LRDP instruction work area to zero Transfers the T device value to the work area Transfers the C device value to the work area Transfers the D device value to the work are
56. Figure 1 1 MELSECNET or MELSECNET B data link system E JPOINT 1 This manual describes necessary information to add or replace a Q series local station in the MELSECNET or MELSECNET B data link system For the details of the MELSECNET or MELSECNET B data link system refer to the following manual 23 Type MELSECNET MELSECNET B Data Link System Reference Manual 2 Where there is no difference between Q series and L series the description is given for Q series only substitute Q with L where appropriate 1 OVERVIEW MELSEC A 1 1 Features This section describes features of a local module gt LL gt O 1 Cyclic transmission function The data can be communicated between master and local stations cyclically a 1 n communication B W communication Z i O Data is communicated between the master station and a local station and E a between local stations o a a a LL In this communication ON OFF information and 16 bit data are communicated 2 6 Yn 1 The ON OFF information is communicated by link relays B 2 The 16 bit data is communicated by link registers W op zZ O lt Q series local station O m Master station Local module CPU module O E a eee os a ct EE mi i i 7 A Buffer memory Data memory Link data Link data Data memory storage area storage area 7 storage area storage area JL w 1 1 op 1 1 Zz i o kE O Z gt Local statio
57. K4B0 X201 x200 SM402 SM402 DMOV X207 SM402 X207 DMOV SD2040 0 DMOV BMOV WOZO SD2040 8 DMOV BMOV WOZO SD2040 6 DMOV MOV SFR K4Y1000Z0 SD2040 3 DMOV MOV SFR BMOV K4B02Z0 ZO Z1 Z2 U20 G1024 U20 G592 KO U20 GO U20 G2 U20 G1024zZ0 U20 G20 U20 6102420 U20 G14 ZO Z2 U20 646422 U20 G8 Z0 Z2 U20 659222 Figure 7 7 Program example SD2042 5D2043 SD2044 K4096 K256 DY210 DY216 SD2040 DY211 SD2040 Z0 Z1 Z0 Z1 Z0 Z2 K4 Z1 Z0 Z2 K4 Z1 MELSEC A Saves the relevant device data in the save area At power on initializes B W devices Transfers W to the local module Transfers B to the local module At power on or at STOP to RUN of the CPU module turns on RUN status and refresh request RUN status Refresh request In refresh ready status starts refresh No refresh request Refresh in execution Obtains the presence or absence status of the refresh information table W transmission First half Start No Z0 No of words Z1 Transfers W of the host station to the local module First half W transmission Latter half Start No Z0 No of words Z1 Transfers W of the host station to the local module Latter half Y device transmission Start No Z0 No of words Z1 Divides the buffer memory address by 16 bits Trans
58. M TUNGU OM esii A 4 11 CHAPTER5 PREPARATORY PROCEDURES BEFORE OPERATION 5 1to5 21 51 Implementation and Installation eee ee ae 5 1 Sale Aanding OFECAUUIOMS ressis a A E O a A 5 1 5 2 Preparatory Procedures before Operati0N coocccconccoccocncconccocnoconcconconononanononnonnnonnnonnnnnnnnonnninanenos 5 2 Dio Pant Names and Settings ci lis 5 3 SA WIN oa leia ota 5 7 eA OTIC ATI CFC Casi at aos a cdas 5 7 S42 A nee ieeanen a a Suerte a 5 9 94 3 SMIelIdSa iWIsted Pal CAD cas taco 5 11 SS o anaes ial ecu cited a aera dae 5 12 D0 SEI DA ICSE aie stars eee eet tied idee cee il ects eel eee 5 13 019 2 SAO Saon OSU isidro id 5 16 5 5 3 Forward loop test reverse loop test ocoonccconccccnoconoconoconoconnnncnonanononnonnnonanonnnnnnnnonaninaninnans 5 19 CHAPTER6 LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME 6 1to6 11 6 1 Link Data Send Receive Processing occccoccoocncccnccncnononononoconcnnnnonnnnnnnnonnnonnnnnnnnnnnnnnnnnnnnnnnanirannennnnos 6 1 6 1 1 Send receive processing OVESVICW cccccccssccssceceecceeccueeceeeceecueeceeeceeeceecseessueseueeseeeseaesagss 6 1 O2 EAA TOROS Fr TIMI ni slides 6 2 6 1 3 Link data handling in the case of a COMMUNICATION erfor o occccocccccncocnncncnnncnnnnnnnnnnnonnnonnnnnnnnos 6 3 O22 ranSmiSsioniWelay mG sic sats iss e a scnwd aot cccena ies tae alata noamlataesiaasagiecamasmesieaeee 6 5 O21 lt TransSimisSionraelay MMe o io eo 6 5 B22 HAI Teresi
59. N Monitor sequence program of receiving station Forcibly turn ON link relay B of sending station in test mode Or write data to link register W Does link relay B of receiving station turn ON on monitor or are data written to link register W YES NO YES Are link parameter assignments incorrect NO Unable to communicate YES with all stations NO MEN Section 8 1 2 When Data link is disabled at a specific station Sequence program error Modify sequence program Change link parameter settings or device numbers in sequence program Section 8 1 1 When Data link is disabled in the entire system Figure 8 8 When Error is found in data transmission Continued 8 1 Troubleshooting Flowchart 8 1 3 When Error is found in data transmission MELSEC A TROUBLESHOOTING MELSECG A Application instructions for data link not available LI E Check sequence program of master E station for error 6 Any error in sequence YES E gt Modify sequence program a program z 20 ra 25 NO D O es comondis YES C Secyan SA When Data mg is network disabled in the entire system 7 q NO O Ll A 09 Is it remote I O station assignments incorrect Correct link parameters NO NO ip Z Q He O Z iink Is data link of YES LL s data lin executab vi y link devices executable to specific station
60. ND RECEIVE PROCESSING AND PROCESSING TIME MELSEC A 6 1 2 Link refresh timing A Q series local station executes a program for refresh to perform link refresh after completion of a link scan 235 Section 3 4 2 Details of I O signal The following illustrates the link refresh timing of a Q series local station Link scan LS ee a OQ END oR END 0R9 EnD oQ END 0Q9 END HH Re Program for refresh Figure 6 2 Link refresh timing EJ POINT 1 Execute the program for refresh at the beginning of the sequence program 2 For the link refresh timing of the master and other local stations refer to the following gt Type MELSECNET MELSECNET B Data Link System Reference Manual 6 1 Link Data Send Receive Processing 6 1 2 Link refresh timing LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME MELSEC A 6 1 3 Link data handling in the case of a communication error When a communication error occurs link data are handled as follows The same for a i communication error of the station connected to the bypass switch E e The communication error station holds link data immediately before the communication error e The normally operating station holds link data immediately before the communication error in the send range of the communication error station z z 5 1 When a master station has a communication error 59 ee HZ Data communications with all stations are stopped gt O a Master station Com
61. PAB OUT IVAN UA So craic int ii a ddan cea A 9 COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES oocccccncncncnnncncncnccccnconncnconcnnnnnnonononcnnos A 9 HON TO READ THS MANUAL o A 10 GENERIC TERMS AND ABBRERVIA TIONS ceuiloraadt edo toldo lapiedra dello caida A 11 DEFINITIONS OF TERMINO Moa oia A 12 FS ING e adidas A 13 CHAPTER1 OVERVIEW 1 1to1 5 A A 1 2 CHAPTER2 SYSTEM CONFIGURATION 2 1to2 5 2 1 Overall System CONNQUIAUON sesso nS oie eee oie ene acid inte chile iii ete is 2 1 22 PADDING AIS DY SUC TINS cscs ees a Sate las ee ccs cee ca os cate aw ici 2 4 2 2 1 Applicable system for Q SETS A a 2 4 2 22 Applicable systemi for L Series iii a a TE 2 5 CHAPTER3 SPECIFICATIONS 3 1to3 29 3 1 APOCMOnMaANnGe e lotic gates Wh ntaadedehnesccathundieouento s 3 1 3 2 CADIS SPC CICA ONS stos tddi 3 5 32k OptcalDer cables lote a cial 3 5 Ose HOO AK aN 10 AEREA PU AA O antcare tone 3 6 3 2 9 Shielded TWISTER pair calle ici is la id 3 9 39 RUMCHOM Sara a lis cdo reis 3 10 3 4 1 0 Signal for Programmable Controller CPU occccncnncccconccocnnocncconcnncnnncnonanonncnoncnonanonnnnnnnnnnnnnos 3 11 A lb tage nee twee eases he ee ei a a uated acess 3 11 zo Deal O OS IN ad a ao 3 13 O20 e an 3 15 3 6 Details of Buffer Memory e eo cio 3 17 LOr e O A O E 3 17 A 6 3 6 2 Presence or absence of refresh information table c cccccececececcccececceeeceueueeuaeeneneacaneneas 3 18 3 6 3 Refresh i
62. PROCESSING TIME MELSEC A a Q series local station Communication error station 1 M9250 and M9251 turn ON 2 The areas M9241 to M9255 except for M9250 and M9251 and D9243 to D9255 store the data immediately before the communication error 3 The station holds the data that have been received from other stations and that were present immediately before the communication error b Master station Normally operating station 1 The station No of the communication error station can be checked in M9237 and D9228 to D9231 2 The mater station holds the data that have been received from the communication error station and that were present immediately before the communication error c Local station Normally operating station 1 The station No of the communication error station can be checked in M9255 and D9252 to D9255 2 The local station holds the data that have been received from the communication error station and that were present immediately before the communication error 6 1 Link Data Send Receive Processing 6 1 3 Link data handling in the case of a communication error LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME MELSEC A 6 2 Transmission Delay Time i 6 2 1 Transmission delay time i m gt The transmission delay time in the MELSECNET or MELSECNET B data link system is calculated by the following formulas Z Table 6 1 Maximum transmission delay time for L lt LS lt M or LS lt
63. Station No setting switch Station No 3 Remote I O station No 3 Mode setting switch E e Online with automatic return function Station No setting switch 04 to 07 Station No 4 to No 7 Local stations No 4 to No 7 Mode setting switch EA Online with automatic return function App 14 Appendix 5 Program for Refresh when Using Multiple Local Modules Appendix 5 1 System configuration and setting conditions APPENDICES MELSEC A 3 Wiring Connect each optical fiber cable between OUT and IN as illustrated below OUT of local station No 7 must be connected to IN of the master station 2 Section 5 4 Wiring Local station Local station Remote l O station Local station Local station No 7 No 4 No 3 No 2 No 1 Master station Station Station Station Station Station No 04 No 03 No 02 No 01 No 00 Front Front Front Front Front OUT IN OUT IN OUT IN OUT IN OUT IN Figure App 3 Wiring 4 Link parameter setting of the master station Link parameters are set to the master station as shown below Link parameters of second tier BWO 80 100 180 200 280 300 380 400 500 600 700 800 900 A00 BOO FFF First half of link parameters Latter half of link parameters a Eae LR A A E AAA station No End CO a o o IA O E E i 187 0080 COFF 128 ee a i M 887 000 or AAA A Y AAA AA CS BET EMU MS 128 0200 oer a oo ee a ae WEG 128 0280 OFF ae 0280 OFr IL 7 126 0500 037F 128 0300
64. T mode LS K KR x Total No of remote I O slave stations KL x Total No of local slave stations KB ms b In MELSECNET II mode LS K KL x Total No of local slave stations No of local stations assigned to latter half of link parameters KB ms c In MELSECNET II composite mode LS K KR x Total No of remote I O slave stations KL x Total No of local slave stations No of local stations assigned to latter half of link parameters KB ms d Obtain values for K Kr and K in the formulas from the following table Table 6 5 Constants K KR KL Total number of slave stations _itos sto16 17 to24 2510 32 33 to 40 41 t0 48 49 to 56 57 to G4 3 5 4 0 4 5 5 0 5 5 6 0 6 5 7 0 Constant 6 8 6 2 Transmission Delay Time 6 2 3 Link data send receive time Link scan LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME MELSEC A e Calculate the total link points number of bytes and obtain a value for Ks from the graph Total link points B Xo Yo W x 16 8192 Kbyte B Total points for link relays B that are used on all stations W Total points for link registers W that are used on all stations Xo Total points for link inputs X that are assigned to master station Yo Total points for link outputs Y that are assigned to master station a When the first and latter halves of link parameters are set b When only the first half of link param
65. UBLESHOOTING MELSEC A Connecting GX Developer to Master Station for Error Checking By connecting GX Developer to the master station faults can be checked using the network diagnostics For operation of the network diagnostics refer to the following manual GX Developer Version O Operating Manual MELSECNET IN 10 H diagnostics Host information Network infa Network NET II Type Masher station Link information Mode F loop status Online Hormal Loopback station Unused F loop status Communication information Communication status Bw from Master station Other station information Network mfa Network NET II Type Master station Module No 1 Other station info Error info Communication statue of each station Tata Link status of each station Parameter status of each station PU operation status of each station CPU RUN statue of each station Loop status of each station Reserved station designation of each station PSU operation status of each station extension Search status of local station error Each station PLE operation mode status Each station paring status Each station PLE system status Each station network type status Normal Curent Loopback station Unused Stark manitor Network No Group Mo Station Mo Stop monitor Close Link scan time Max 170 me Min 160 me 170 ms Network diagnostics Network test Loop test
66. a Transfers the W device value to the work area LRDP instruction receive request 5 Processing completion 7 2 Program for Refresh and for Receiving LRDP LWTP Instruction T 8 OVERVIEW CONFIGURATION SYSTEM SPECIFICATIONS FUNCTIONS PROCEDURES BEFORE PREPARATORY OPERATION LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME a Z 2 2 lt x ao 0 O aa a TROUBLESHOOTING PROGRAMMING X207 U20 U20 H K4 G174 DMOV G216 Z0 U20 MOV G219 22 U20 H544E ZO prov G220 TOZ1 7 2 U20 H434E ZO prov G220 cozl Z2 U20 H4420 ZO JA prov G220 Dozl 72 U20 H5720 Z0 JA prov G220 WOZ1 72 U20 FMOV HO G216 K40 U20 MOV K5 G174 S D2041 0 U20 DMOV 632 Z0 U20 BMOV G1024Z0 WOZO Z1 SD2041 1 U20 DMOV G36 ZO U20 BMOV G1024Z0 wozo 71 SD2041 0 U20 DMOV G34 ZO MOV ZO 72 SFR 22 K4 U20 BMOV G59272 K4B0Z0 71 SD2041 1 U20 DMOV G38 ZO MOV Z0 79 SFR 72 K4 U20 BMOV G592Z2 K4B0Z0 Z1 x207 RST DY211 RST DY216 SET DY216 SM400 MOV SD2042 ZO MOV SD2043 Z1 MOV SD2044 Z2 END Figure 7 10 Program example Continued 7 9 7 2 Program for Refresh and for Receiving LRDP LWTP Instruction MELSEC A LWTP instruction receive processing Obtains the write start device name and start device No Obtains the write data length Transfers the work area value to T device Transfers the work area value to C device Transfers the work area value to
67. ack into a ditch of the plug D Plug the plug until the plug fixing hole 2 fits the hook of jack Slightly pull the plug in the arrow direction to make sure that it is 2 installed properly 2 S LL 2 a Yn Figure 5 6 Connecting an optical fiber cable F Z E E O c Disconnecting an optical fiber cable F Z LL Disconnection Plug Turn OFF the power supply Pull out a fixing part of a plug in the arrow direction Lu oc je LL Lu m N Lu x m LI e oc A gt S FE E LOr Bow MO Cover the plug and jack with covers which covered them before connection N and store them Figure 5 7 Disconnecting an optical fiber cable LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING 5 4 Wiring 5 8 5 4 1 Optical fiber cable PREPARATORY PROCEDURES BEFORE OPERATION MEL SEC A 5 4 2 Coaxial cable The following describes how to connect a coaxial cable with the local module 1 Precautions for wiring a Securing of wiring space When a coaxial cable is connected with the local module a cable bend radius is restricted Local module Figure 5 8 Allowable bend radius of coaxial cable Table 5 3 Allowable bend radius of coaxial cable Connector part Allowable bend radius Applicable cable A mm r mm 3C 2V 23 30 30 b Laying a coaxial cable When laying a coaxial cable keep a distance of 100mm 3 94 inch or more from
68. al For executable functions refer to the following manual 25 Manual for the relevant peripheral or special function module Table 4 1 Station accessible from a station with a peripheral Accessible station Access destination Local station Local station i Master station i f Remote l O station AJQnA series Q series O O x o 0 termos ARTS Accessible x Not accessible 1 Not accessible when GX Developer is used EE EE EE EE SE EE ZE ZE ZE ZE ZE ZE ZE ZE ZE E E E E O O O o O o o o o o e O e e e e eae ee e e e e E e e e a E a e e le 4 2 Transient Transmission Function 4 aif OVERVIEW CONFIGURATION SYSTEM SPECIFICATIONS o Z O E 0 Z 5 LL PROCEDURES BEFORE PREPARATORY OPERATION LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING A FUNCTIONS MELSEC A 4 3 RAS Functions This chapter explains the RAS functions 4 3 1 Automatic return function When a local station disconnected due to a data link error is recovered this function allows the station to automatically return to the network and to restart data link The automatic return function is set by the mode setting switch of each link module 23 Section 5 3 Part Names and Settings Conditions for reconnecting a disconnected station vary depending on whether the automatic return function is supported or not as shown below 1 When data link is interrupted due to an error in a master
69. alf of link parameters A First half of link parameters Other station send range 1 Other station send range 1 Latter half of link parameters ME E Latter half of link parameters Host station send range Host station send range Latter half of link parameters MA Latter half of link parameters Other station send range 2 Other station send range 2 Latter half of link parameters Latter half of link parameters Figure 3 6 Refresh image 34FH IO ee WO 400H WO Other station send range 1 13FFH 3 19 3 6 Details of Buffer Memory 3 6 3 Refresh information table 3 SPECIFICATIONS MELSEC A 1 Each station send range of B W When a local module is a local station in the second tier L1 station each station gt send range of B W is stored as follows E 3 B W 0 100 200 300 FFF Link parameter assignment LM Ll BLL LL JA Sey Yj YAN Empty gt example 1 O kE Other station send range an A A are Host station send range Other station send range 2 gt Start number 0000H Start number 0100H Start number 0200H D Number of points 0100H Number of points 0100H Number of points 0180H o Z gt no B W 0 100 200 300 FFF a SENDA AREA YM YALE cae ane Ghee ee station send range Other station send range 1 Start number OOOOH Start number 0100H Number of points 0100H Number of points 0280H OO o Z O lt x O LL O m o A B W 0 100 200 280 FFF a
70. alidity of each table of refresh information table buffer memory address 2H to i 27H is stored g gt The refresh information table is created at the time of receiving link parameters from the master station b15 to b8 b7 to bO Address OH PT fF Pf ppp 0 No setting 1 With setting 6 Host station send range of W lt Other station send range 1 of W 3 Other station send range 2 of W OZ no Host station send range of B Other station send range 1 of B Other station send range 2 of B Host station send range of Y Host station receive range of X Host station send range of W Other station send range 1 of W Other station send range 2 of W Host station send range of B Other station send range 1 of B Other station send range 2 of B For system Special relay for link Special register for link First half of link parameters OO o Z O lt x Q LL O m o A Latter half of link parameters b15 to b2 b1 bO Z Address 1H For system MN 0 No setting 1 With setting O Send range of master station for second tier first half of B W re Send range of master station for second tier latter half of B W Figure 3 5 Presence or absence of refresh information table Se LL Lu gt o e i Te Lor FOR Lu O L a oO LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING 3 6 Details of Buffer Memory 3 18 3 6 2 Presence or absence of refresh informatio
71. alue for Ks from the graph for the set communication speed one of 1 to 4 Total link points B Xo Yo W x 16 8192 Kbyte 6 10 6 2 Transmission Delay Time 6 2 3 Link data send receive time Link scan MELSEC A LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME 2 Ke in the case of 250kbps 1 Ke in the case of 125kbps MAIAYSAO LL cab iq lt zz OD 5 2E yw Nx ww z lon Y gt SODO Su ES os O Scas Q Nr e of link parameters is set NOILWYNSISANOO WALSAS SNOILVOISIDAdS SNOILONNA Total link points Total link points 4 Ks in the case of 1Mbps 3 Ks in the case of 500kbps NOILLV43d0 co AWIL ONISSSDOUd ANY 3403398 SIYNUAITDOYd ONISSAONONd ENEE AYOLVaEVdsdd QN3S VLVd MNIT INININVIDOYd INILOOHSTTIENOYL Total link points Figure 6 5 Constant KB Total link points 6 2 Transmission Delay Time 6 2 3 Link data send receive time Link scan PROGRAMMING MELSEC A CHAPTER PROGRAMMING This chapter describes a program for refreshing the local module and for receiving LRDP LWTP instruction 7 1 System Configuration and Setting Conditions Program examples given here are based on the following system configuration and setting condit
72. ansmission Function This function allows cyclic data communication between master and local stations 4 1 1 1 n communication B W communication Data are written to the host station send range in the link relay B and link register W and they are sent to other stations The link relay B handles ON OFF information and the link register W sends and receives 16 bit data Q series local station Master station Local module CPU module a a a i ea ee en en See a a Sa am me Se Sm ec i ee iy sy ee I I I 7 Buffer memory Data memory Link data 1 Link data Data memory storage area storage area 3 storage area 7 storage area pas Lew Co SSeS SS SSS SSeS SS SS Se SS SS SS ee SS Se eS SS a Data flow Send receive processing a Link scan Data memory Link data l storage area storage area Link refresh wo vw Figure 4 1 B W communication data flow 4 1 Cyclic Transmission Function 4 A 4 1 1 1 n communication B W communication OVERVIEW CONFIGURATION SYSTEM SPECIFICATIONS n Z O E 0 Z 5 LL PROCEDURES BEFORE PREPARATORY OPERATION LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING A FUNCTIONS MELSEC A 1 Each station send range in B W Each station send range in B W is set up with link parameters of the master station The following explains a link parameter setting example and send receive ranges for local modules a
73. at reverse loop side 5 3 5 3 Part Names and Settings PREPARATORY PROCEDURES BEFORE OPERATION MEL SECA Table 5 2 Part names and settings Continued No Name Description Station No setting switch ff A1SJ71AP23Q gt A1SJ71AR23Q Sets station No of the local module Factory default setting 1 Refer to 7 gt 1 in this section gt X10 ts A1SJ71AP23Q A1SJ71AR23Q 1 to 64 Station No Ones E 2 X1 lt place If other than above is set the local module goes into offline status XO ON A1SJ71AT23BQ z A1SJ71AT23BQ 1 to 31 Station No E a If other than above is set the local module goes into offline status XO ON 0 STATION pi NO 59 Sets operation mode Factory default setting 0 No Item Description 0 Online Data link with automatic return function z Mode setting switch Data link without automatic return function E O eee ses amp Unusable If set the local module goes into offline status a sx Cato w 3 MODE E Station to station test Sy Executing station Estaca lia Ba i di viai ecks a line between two adjacent stations A1SJ71AT23BQ e Station to station test i MODE Other station 9 al Checks the hardware including transmission circuit in a O 7 Self loopback test l 5 single local module Z Unusable If set the local module goes into offline status 8 to F XO ON 5 Sets communication speed No 0 125kbps Communication speed Communication speed setting
74. ata of the special relay for link and special register for link of a local module are refreshed into CPU module devices With the refreshed devices the data link status or a faulty part can be checked For details of the special relay for link and special register for link refer to the following lt gt Appendix 1 List of Special Relays for Link Appendix 2 List of Special Registers for Link Note that the network diagnostics of GX Developer is not available for Q series local stations Check the data link status or a faulty part in the above mentioned way 4 3 RAS Functions 4 11 4 3 3 Error detection function OVERVIEW CONFIGURATION SYSTEM SPECIFICATIONS o Z O kr 0 Z 5 LL PROCEDURES BEFORE PREPARATORY OPERATION LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING PREPARATORY PROCEDURES BEFORE OPERATION MEL SEC A CHAPTERS PREPARATORY PROCEDURES BEFORE OPERATION This chapter describes the procedures up to connect a local module to the network and wiring procedures 5 1 Implementation and Installation This section describes handling precautions from unpacking to installation of the local module For details of the implementation and installation of the local module refer to the following e For Q series QCPU User s Manual Hardware Design Maintenance and Inspection e For L series MELSEC L LA1S Extension Base Unit User s Manual
75. atically refreshes data at either of the following timing Upon completion of link scan Only after execution of the END instruction in the sequence program For the ANUCPU QnACPU A2US H CPU S1 and Q2AS H CPU S1 refresh ranges can be changed with refresh parameters Starts data communications with other stations Handles the received instruction by the system The program for receiving LRDP LWTP instruction is not required Not particularly restricted The master station can access A QnA series local stations A QnA series local stations can access the master station Can use the network diagnostics of GX Developer App 9 Appendix 4 1 Differences between Q series and A QnA series local stations 0 Ll O O Z Ll A A lt INDEX APPENDICES MELSEC A Table App 3 Differences between Q series and A QnA series local stations Continued Description Place the Q series local station into RUN status Y 10 ON to conduct the test Section 5 5 3 Forward loop test reverse loop test If the test is conducted in STOP status Y10 OFF the master station treats the Q series local station as a faulty station relevant bit in D9228 to D9231 is turned ON However the test is normally conducted LRDP instruction receive request LRDP instruction completion M9204 Buffer memory address ACH Place the A QnA series local station into STOP status to conduct the test Forward loop te
76. atus Y210 CPU operating status Y211 Refresh in execution Y216 Refresh request Link data a Link register LRDP LWTP instruction target l Data register Link register W1002 to W1027 Save area for refresh information table Not protect device values SM400 Always ON SM402 After RUN ON for 1 scan only SM1240 to SM1255 Special relay for link M9240 to M9255 SD1243 to SD1255 Special register for link D9243 to D9255 SD2040 to SD2041 Presence or absence of refresh information table Protects device values SD2042 to SD2044 3 ZO to Z2 save area Protects device values e When link data are sent received Index register for device start number specification e On the receive processing of the LRDP LWTP instruction Index register for start device name specification ZO When link data are sent received Index register for device points specification e On the receive processing of the LRDP LWTP instruction Index register for start device No specification Z1 e When link data are sent received Index register for bit device start number specification a register equivalent to ZO whose unit is converted from bit to word for index modification in link data storage area when the start number of the bit device is stored in Z0 e On the receive processing of the LRDP LWTP instruction Index register for data length specification Z2 1 The range of device use varies depending on the link parameters of the master station 2 The ra
77. cal station No 7 CPU operating status Y271 Refresh in execution Y276 Refresh request BO to BEFF 1 Link relay Link data B1000 to B101F 2 Presence or absence of refresh information table WO to WFFF Link register Link data W1002 to W1027 W1032 to W1057 Refresh information table save area W1062 to W1087 Does not protect device values W1092 to W10B7 SM400 Always ON SM1240 to SM1255 Special relay for link M9240 to M9255 SD1243 to SD1255 Special register for link D9243 to D9255 SD2040 to SD2044 2 Save area for B1000 to B101F and ZO to Z2 Protects device values ZO Index register for device start number specification Z1 Index register for device points specification Index register for bit device start number specification a register equivalent to ZO Z2 whose unit is converted from bit to word for index modification in link data storage area when the start number of the bit device is stored in Z0 1 The range of device use varies depending on the link parameters of the master station 2 Can be replaced with other devices as necessary However to avoid wrong replacements we recommend using the program examples described in the manual without changes Appendix 5 Program for Refresh when Using Multiple Local Modules Ap p 19 Appendix 5 2 Program for refresh APPENDICES c Program example for local station No 4 1 Program name L4_ADD SM400 MOV MOV MOY X207 U20 BMOV G2 X207 DMOV BMOV WOZO
78. d side and receive side of forward loop are not connected by a cable 2 When three LEDs F LOOP R LOOP and TIME are turned ON e A reverse loop cable is disconnected e The send side and receive side of a reverse loop are not connected by a cable e The send side of a forward loop and the send side of a reverse loop are connected and the receive side of a forward loop and the receive side of a reverse loop are connected 3 When ERROR LED other than above 1 and 2 is turned ON e Hardware failure e A cable is disconnected during the test e A cable is broken during the test Lu oc je LL Lu m N Lu x m LI e oc A gt S FE E LOr PEA aaO LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING 5 5 Self diagnostic Test 5 18 5 5 2 Station to station test 5 19 PREPARATORY PROCEDURES BEFORE OPERATION 5 5 3 MELSEC A Forward loop test reverse loop test The forward loop test reverse loop test checks a forward or reverse loop side line of the MELSECNET after connecting all stations via a cable Not provided for the MELSECNET B data link system e Forward loop test The line is judged by whether the data sent from a forward loop send side of the master station can be received by a forward loop receive side of the master station e Reverse loop test The line is judged by whether the data sent from a reverse loop send side of the master station can be received by a r
79. dule and the data in this area in a sequence program sa lt LU The following shows refresh of special register for link D ah ano For details of a special register for link refer to the following gt Appendix 2 List of Special Registers for Link Local module CPU module Special register for link D i 3 Special register SD 10H 3 13BH SD1243 LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME 1474 o SD1255 O ASA E Z Figure 3 13 Refresh of poda register for link D O a A Z He O O ae ip LL D O o kE 3 6 Details of Buffer Memory 3 26 3 6 6 Special relay for link M9200 to M9255 3 SPECIFICATIONS 3 27 MELSEC A 3 6 8 Input XO to X7FF and output YO to Y7FF Data of input XO to X7FF and output YO to Y7FF of X Y communication is stored Refresh devices of the CPU module and the data in this area using the following area ina sequence program e Presence or absence of refresh information table Buffer memory address Oh 1H e Refresh information table Buffer memory address 2H to 27H The following shows the refresh of input X and output Y when link parameters are set as follows Master Q series station local station LIE Y O Actual I O Actual 1 0 O 400 400 47F 47F 480 480 AFE 4FF T o T Figure 3 14 Link parameter setting SE Local module GPU module Input X Input X 150H 1190H X400 to X40F o X400 to X40
80. e MELSECNET data link system if two stations located on both sides of a i i i i 0 normally operating station are powered OFF or ON at the same time within i E 100ms data link may be disabled in the entire system O Stations with the automatic return function will be reconnected to the network automatically Stations without the automatic return function remain disconnected from the e LL network To reconnect these stations reset the CPU module E a be i Example F xz eas aO Lu O L KEO L5 Power OFF Ls 14 Data link disabled e a x 1d A Pa Power OFF lf L1 and R3 are powered OFF at the same time within 100ms with R2 operating normally in the above system data link may be disabled in the entire system LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING 00 Z E e je E N L m x eE 8 1 Troubleshooting Flowchart 8 4 8 1 1 When Data link is disabled in the entire system 8 TROUBLESHOOTING MELSEC A 8 1 2 When Data link is disabled at a specific station Error occurred Detect faulty station by link monitor 1 Check link parameters for errors Does local station connected have station No set as remote I O station or does MELSECNET station connected have station No set as MELSECNET II station Are link parameters set correctly NO Correct link parameters and reset CPU module NO YES
81. e link 103H 259 Parameter OFF Received M9250 parameters 010 b10 unreceived ON Unreceived The master station sends link parameters to each local station when switching the loop line Valid when the data linking loop line is online Appendix 1 List of Special Relays for Link App 24 APPENDICES MELSECG A Table App 1 List of special relays for link Continued Buffer memory address Bit No Hexad ecimal Description Details Controlled according to the data link halt status of the host station 103H 259 OFF Normal Turns ON when data link is not performed on both the forward M9251 Link halt 011 b11 ON Halt and reverse loop lines Automatically turns OFF when data link returns to normal Valid when the data linking loop line is online 103H 259 4 Loop test OFF Not in execution Turns ON while the host station is executing the forward reverse 012 b12 wives status ON In execution loop test Controlled according to the system operation status of the Master station master station 103H 259 OFF RUN STEP RUN ee M9253 operating Turns ON when the master station is in STOP or PAUSE status b13 b13 ON STOP PAUSE o status eTurns OFF when the master station is in RUN or STEP RUN status eControlled according to the system operation status of the local stations except for the host station eTurns ON when any local station except for the host station in Operating i the l
82. e local station without automatic return Not supported function and then the master station 4 8 4 3 RAS Functions 4 3 1 Automatic return function A FUNCTIONS MELSEC A 4 3 2 Loopback function This function disconnects a faulty part such as a disconnected cable or a faulty station i from the network allowing data link to continue among normally operating stations Not E provided for the MELSECNET B data link system e Normally data link is performed using the forward loop 1 When an error occurs on the forward loop z When a cable disconnection or a cable connector failure occurs on the forward loop lt data link using the forward loop is not executable ze In such a case the system automatically switches the line from the forward loop to the 26 reverse loop to continue data link No 2 9 Master station No 1 O E Forward loop Reverse loop Disconnected o Z O E 0 Z 5 LL No 5 No 4 No 3 ta Figure 4 11 When an error occurs on the forward loop O m E 2 When errors occur on the forward and reverse loops ESO E When cable disconnections or cable connector failures occur on the forward and FO reverse loops data link using these loops is not executable do Viewing from the master station loopback occurs at the station just before the fault and data li
83. ead data length 1 to 32 Word B4H to D7H Read data Stores the data to be read 180 to 215 1 Stored value when start device is D100 Table 3 13 Stored value when start device is D100 Address Hexadecimal Item description Stored value Decimal BOH 176 Read start device name D 4420H B1H 177 Read start device No 100 0064H 3 23 3 6 Details of Buffer Memory 3 6 4 LRDP instruction receive request receive result work area 3 SPECIFICATIONS MELSEC A 3 6 5 LWTP instruction receive request receive result work area When a device write LWTP instruction is requested to a Q series local station from the i master station execute receive processing to the LWTP instruction in a sequence E program CHAPTER 7 PROGRAMMING The following shows operations of a local module at the time of receiving the LWTP instruction z z a 50 no HH LWTP H Sequence scan o J END 3 09 Z Write command 2 S f W z Write completion device A Iscan D A 09 Write data storage device A too XK ip zZ Q O Link scan E 4 Processing Local module requested ul ad LWTP instruction receive request 5 Processing completed 2 AEH gt 0 ul Write data DCH or later E To Par LOr CPU module ERA ano Sequence scan Refresh ready status X7 ES Write data storage device 100 Figure 3 10 Operation of local module at the time of receiving LWTP instruction LINK DATA SEND R
84. ected e The send side and receive side of forward loop are not connected by a cable e The send side of a forward loop and the send side of a reverse loop and the receive side of a forward loop and the receive side of a reverse loop are connected 2 When three LEDs F LOOP R LOOP and DATA are turned ON e A reverse loop cable is disconnected e The send side and receive side of a reverse loop are not connected by a cable 3 When ERROR LED other than above 1 and 2 is turned ON e Hardware failure e A cable is disconnected during the test e A cable is broken during the test 5 5 Self diagnostic Test 5 5 1 Self loopback test PREPARATORY PROCEDURES BEFORE OPERATION MEL SECA 5 5 2 Station to station test The station to station test checks a line between two adjacent stations i A test is performed to a line between two stations assuming that the station which has the E small station No is the executing station and the other is the other station The line is judged by whether the data sent from the executing station can be sent from the other station in a given time 6 1 System configuration q 52 a MELSECNET A1SJ71AP23Q OZ An optical fiber cable connects OUT of the executing station and IN of the other 29 station 2 Executing station Other station 2 No n No n 1 S Front ea Front Data flow of reverse loop Optical fiber cable Figure 5 18 MELSECNET A1SJ71AP23Q ep b MELSECNET A1SJ71AR23Q e O A coaxial cable connect
85. eived DATA Data check error E lt Cause gt Cable fault noise etc Internal processing of send data is not executed constantly UNDER Underrun error l 2 lt Cause gt Hardware failure in sending part of link module 6 Forward loop line has an error O F LOOP Forward loop error Adjacent station was powered OFF r lt Cause gt Forward loop cable disconnection or incomplete cable connection Reverse loop line has an error u R LOOP Reverse loop error Adjacent station was powered OFF te Lu lt Cause gt Reverse loop cable disconnection or incomplete cable connection gt pe S yz z330 Lor e MO ZERO ano LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING 00 Z kE O je E N L m e x He 8 3 Checking Error with LEDs of Link Module on Faulty Station 8 14 TROUBLESHOOTING 8 4 MELSEC A Checking the Program for Refresh This section explains how to check the program for refresh and for receiving LRDP LWTP instruction Execute the program at the beginning of the sequence scan When using the example program introduced in this manual do not change it except for the following 2 gt CHAPTER 7 PROGRAMMING e Change the I O signals and intelligent function module device I O numbers depending on the module position e Change the link data refresh destination to prevent duplication with a device of the CPU module which is used for refresh parameters for the MELSECNET H netwo
86. er station for the third tier Master station No n n lt 64 Local station Mole Eile No 1 Optical fiber cable l S or coaxial cable l No 4 Remote I O Remote I O No 2 station station No 3 Local station Master station Kan Local station Eo ESA No 1 n lt 64 Optical fiber cable A eS or coaxial cable Third tier No 4 Remote I O Remote I O No 2 station station No 3 Local station Station that can mount Local station local module Figure 2 1 MELSECNET data link system E JPOINT A local module cannot be the master station or a remote I O station since it is a module dedicated to a local station 2 1 Overall System Configuration 2 a4 OVERVIEW N zZ O E lt a gt LL Z e O SYSTEM SPECIFICATIONS FUNCTIONS PROCEDURES BEFORE PREPARATORY OPERATION LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING 2 SYSTEM CONFIGURATION MELSEC A 2 MELSECNET B data link system MELSECNET B data link system is a system which connects the master station and slave stations local station and remote I O station via a shielded twisted pair cable e Up to 31 local and remote l O stations in total can be connected to one master station for the second tier e Up to 31 local and remote I O stations in total can be connected to one master station for the third tier Master station SN Shielded twisted pair cable Local station Loca
87. es in which the public could be affected if any problem or fault occurs in the PRODUCT e Railway companies or Public service purposes and or any other cases in which establishment of a special quality assurance system is required by the Purchaser or End User e Aircraft or Aerospace Medical applications Train equipment transport equipment such as Elevator and Escalator Incineration and Fuel devices Vehicles Manned transportation Equipment for Recreation and Amusement and Safety devices handling of Nuclear or Hazardous Materials or Chemicals Mining and Drilling and or other applications where there is a significant risk of injury to the public or property Notwithstanding the above restrictions Mitsubishi may in its sole discretion authorize use of the PRODUCT in one or more of the Prohibited Applications provided that the usage of the PRODUCT is limited only for the specific applications agreed to by Mitsubishi and provided further that no special quality assurance or fail safe redundant or other safety features which exceed the general specifications of the PRODUCTS are required For details please contact the Mitsubishi representative in your region REVISIONS The manual number is given on the bottom left of the cover Print Date Manual Number Revision Mar 2007 H NA 080670ENG A First edition Oct 2007 NA 080670ENG B Correction Hal eee IIS Aug 2010 H NA 080670ENG C ay SAFETY PRECAUTIONS Section 2 2 3 2 1
88. es one pay attention to the following Table App 3 Differences between Q series and A QnA series local stations Description Q series local station A QnA series local station Refreshes data with the sequence program 77 CHAPTER 7 PROGRAMMING Link parameter setting refresh parameters is not required Does not refresh data when the CPU module is in STOP status Starts data communication with other stations by executing the program for refresh Y10 ON with the CPU module set to RUN Until then the master station treats the Q series local station as a faulty station relevant bit in D9228 to D9231 is turned ON Handles the received instruction with the sequence program L gt CHAPTER 7 PROGRAMMING If the LRDP LWTP instruction is received when the CPU module is in STOP status sends an error response to the master station 4 LRDP LWTP inexecutable on the station The following are not available Buffer memory batch monitor test Network diagnostics of GX Developer Unable to access other stations Master station gt Q series local station eQ series local station gt Master station Unable to use the network diagnostics of GX Developer The data link status or fault location can be checked by refreshing the special relay for link and special register for link of the local module into CPU module devices Appendix 4 Replacing Local Station from A QnA Series to Q Series Autom
89. eters is set 1 2 3 4 5 6 7 8 9 10 Kbyte Total link points Figure 6 4 Constant KB 6 2 Transmission Delay Time 6 9 6 2 3 Link data send receive time Link scan OVERVIEW CONFIGURATION SYSTEM SPECIFICATIONS FUNCTIONS PROCEDURES BEFORE PREPARATORY OPERATION ep OS ZZ n vV O uz 09 tn aO Mo gt Z mgs OF am wW zZ X lt E Q Z i 0 lt E lt a x Z 4 PROGRAMMING TROUBLESHOOTING LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME MELSEC A 2 MELSECNET B data link system a In MELSECNET mode LS K KR x Total No of remote I O slave stations KL x Total No of local slave stations KB ms b In MELSECNET Il mode LS K KL x Total No of local slave stations No of local stations assigned to latter half of link parameters KB ms c In MELSECNET II composite mode LS K KR x Total No of remote I O slave stations KL x Total No of local slave stations No of local stations assigned to latter half of link parameters KB ms d K KL and Kr in the formulas vary depending on the communication speed of the MELSECNET B data link system Obtain values for them from the following table Table 6 6 Constants K KL KR Communication Total number of slave stations speed setting Constant 17 to 24 bps 6 7 7 2 7 7 8 2 e Calculate the total link points number of bytes and obtain a v
90. ethod Transmission format Error control system RAS function Connector Applicable cable Number of I O occupied points Internal current consumption 5VDC Weight X Link relay B Link register W 1024 points 2048 byte Specifications MELSECNET B data link system MELSECNET Il composite MELSECNET mode MELSECNET Il mode ode Up to the maximum number of I O points for the CPU module used in the master station is applicable The total number of link points for slave station is equal to the number of link using points for the master station 1024 points 128 byte 4096 points 512 byte 4096 points 8192 byte 1024 byte First half of link parameters 1024 byte 1024 byte Latter half of link parameters 512 byte 512 byte Number of I O points 512 Number of I O points 512 points points 125kbps 250kbps 500kbps 1Mbps Half duplex bit serial method Frame synchronization method Bus method Changed due to communication speed 125kbps 1200m 250kbps 600m 500kbps 400m 1Mbps 200m Up to 32 Master station 1 The total number of local stations and remote I O stations 31 NRZI method Conforming to HDLC Frame format Retries due to CRC generating polynomial X16 X12 X9 1 and time out Diagnostic function including link line check of host station etc Terminal block Shielded twisted pair cable User prepared 32 points Intelli 32 points 0 66A 0 22kg 3 1 Performance Specification
91. etting i Station No 1 Executing station No n switch 01 Mode setting switch Station to station test Executing station Station No setting 02 Station No 2 Other station No n 1 switch Mode setting switch Station to station test Other station 3 Execution of test Turn ON from OFF the power supply of the other station or reset the CPU module Turning ON from OFF the power supply of the executing station No n or resetting the CPU module leads to start the test Judge the test result Figure 5 21 Execution of test 5 17 5 5 Self diagnostic Test 5 5 2 Station to station test PREPARATORY PROCEDURES BEFORE OPERATION MEL SECA 4 Judge of test result The LED of the executing station displays the test result if gt a When normal m ERROR LED is turned ON and OFF repeatedly in a cycle of 2 CRC gt OVER gt AB IF gt TIME gt DATA gt UNDER gt CRC gt A1SJ71AP23Q z RUN fi CRC z 3 SD OVER Lo L E SE RD E AB IF R oe F LOOP i TIME a cru DATA R UNDER z F LOOP E 2 O Hi R LOOP D Figure 5 22 When normal b When failed The LED which corresponds to the error is turned ON and the test is canceled A1SJ71AP23Q RUN fi CRC z SD OVER le 5 RO ABIF IR F LOOP TIME J 5 cru DATA p UNDER F LOOP ij R LOOP fj Figure 5 23 When failed 1 When two LEDs F LOOP and TIME are turned ON e A forward loop cable is disconnected e The sen
92. everse loop receive side of the master station EJ POINT 1 Execute a forward or reverse loop line test setting a Q series local station to the RUN status Y10 ON If the test is conducted in STOP status Y10 OFF the master station treats the Q series local station as a faulty station relevant bit in D9228 to D9231 is turned ON However the test is normally conducted 2 Set link parameters for the master station when executing a forward or reverse loop back test At least set the total number of slave stations 1 System configuration a MELSECNET A1SJ71AP23Q An optical fiber cable connects the OUT and IN of all stations Local station Local station No 2 No 1 Master station GX Developer gt Optical fiber cable Figure 5 24 MELSECNET A1SJ71AP23Q SAA Data flow of reverse loop 5 5 Self diagnostic Test 5 5 3 Forward loop test reverse loop test PREPARATORY PROCEDURES BEFORE OPERATION MEL SECA b MELSECNET A1SJ71AR23Q A coaxial cable connects the OUT and IN of all stations Local station Local station 5 No 1 Master station GX Developer Station No 02 Station No 01 Station No 00 OUT IN OUT IN CM A N CAN Z O x a HZ as Data flow of Data flow of C areal forward loop reverse loop OANA A Figure 5 25 MELSECNET A1SJ71AR23Q a a op 2 Switch setting a a kE Set the RUN STOP switch of the CPU module to STOP and set the DIP switch on the S m front of the link modu
93. f a local module can be checked 4 A program for refresh and a program for receiving LRDP LWTP instruction can be created easily with A QnA to Q conversion support tool Version 1 02 or later A tool to create a program for refreshing link data and a program for receiving LRDP LWTP instruction is prepared When using the A QnA to Q conversion support tool a new project can be automatically created by inputting the module mounting position or refresh destination specification of link data on the screen The new project includes a program for refresh and a program for receiving LWTP instruction For details on the A QnA to Q conversion support tool please consult your local Mitsubishi representative To create a program used for L series by means of the A QnA to Q conversion support tool refer to the following 25 Appendix 3 Steps to Create a Program for L Series 1 1 Features 2 SYSTEM CONFIGURATION MELSEC A CHAPTER2 SYSTEM CONFIGURATION This chapter describes the system configuration of a local module 2 1 Overall System Configuration 1 MELSECNET data link system MELSECNET data link system is a system which connects the master station and slave stations local station and remote I O station via an optical fiber cable or a coaxial cable e Up to 64 local and remote I O stations in total can be connected to one master station for the second tier e Up to 64 local and remote I O stations in total can be connected to one mast
94. fers Y of the host station to the local module B transmission First half Start No Z0 No of words Z1 Divides the buffer memory address by 16 bits Transfers B of the host station to the local module First half 7 2 Program for Refresh and for Receiving LRDP LWTP Instruction 7 6 OVERVIEW CONFIGURATION SYSTEM SPECIFICATIONS FUNCTIONS PROCEDURES BEFORE PREPARATORY OPERATION LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME i Z 2 2 lt ao 0 O aa a TROUBLESHOOTING PROGRAMMING SD2040 B DMOV MOV SFR BMOV K4BOZO SD2040 1 DMOV U20 BMOV G1024Z0 SD2040 2 DMOV U20 BMOV G102420 SD2040 9 DMOV U20 BMOV G1024Z0 SD2040 A DMOV U20 BMOV G1024z0 SD2040 7 DMOV MOV SFR U20 BMOV G3362Z2 SD2040 4 DMOV MOV SER U20 BMOV G59222 SD2040 5 DMOV MOV SFR U20 BMOV G59222 Figure 7 8 Program example Continued K4x1000Z0 U20 G26 Z0 Z2 U20 659222 U20 G4 w0z0 U20 G6 w0z0 U20 G22 WOZO U20 G24 w0z0 U20 G17 Z0 Z2 U20 G10 Z0 Z2 K4B0Z0 U20 G12 Z0 Z2 K4B0Z0 Z0 Z2 K4 Z1 Z0 Z1 Z0 Z1 Z0 Z1 ZO Z1 Z0 Z2 K4 Z1 Z0 Z2 K4 21 Z0 Z2 K4 Z1 7 2 Program for Refresh and for Receiving LRDP LWTP Instruction MELSEC A B transmission Latter half Star
95. formance Specifications SPECIFICATIONS MELSEC A 2 Performance specifications of MELSECNET data link system and A1SJ71AR23Q Lu Table 3 2 Performance specifications of MELSECNET data link system and A1SJ71AR23Q gt Lu Specifications 5 MELSECNET data link system MELSECNET II composite MELSECNET mode MELSECNET II mode mode Input X Up to the maximum number of I O points for the CPU module used in the master station is 6 Maximum applicable applicable lt link points per station Output Y The total number of link points for slave station is equal to the number of link using points for the 3 master station z 6 l Link relay B 1024 points 128 byte 4096 points 512 byte Maximum link points E 3 Link register in a system W 1024 points 2048 byte 4096 points 8192 byte Master station 1024 byte First half of link parameters 0 1024 byte l Z Local station 1024 byte Latter half of link parameters O Maximum link points lt 512 byte 512 byte O per station Remote I O l Number of I O points 512 Number of I O points 512 Q station i Oo points points oe Communication speed 1 25Mbps Communication method Half duplex bit serial method Synchronization method Frame synchronization method Transmission path Duplex loop Overall cable distance Up to 10km Station to station 500m 2 Number of connected stations Up to 65 Master station 1 The total number of local stations and remote I O stations 64 T Z
96. fresh information table Saves the refresh information table into W W device transmission First half Start No ZO No of words Z1 Transfers W of the host station to the local module First half W device transmission Latter half Start No Z0 No of words Z1 Transfers W of the host station to the local module Latter half Y device transmission Start No Z0 No of words Z1 Divides the buffer memory address by 16 bits Transfers Y of the host station to the local module B device transmission First half Start No Z0 No of words Z1 Divides the buffer memory address by 16 bits Transfers B of the host station to the local module First half T 12 OVERVIEW CONFIGURATION SYSTEM SPECIFICATIONS FUNCTIONS PROCEDURES BEFORE PREPARATORY OPERATION LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME a E 2 2 lt ad 0 O aa a TROUBLESHOOTING PROGRAMMING SD2040 B DMOV MOV SFR BMOV K4B0Z0 SD2040 1 DMOV U20 BMOV 61024Z0 SD2040 2 DMOV U20 BMOV G1024Z0 SD2040 9 DMOV U20 BMOV 61024Z0 SD2040 A DMOV U20 BMOV G1024Z0 SD2040 7 DMOV MOV SFR U20 BMOV 633672 SD2040 4 DMOV MOV SFR U20 BMOV 659222 SD2040 5 DMOV MOV SFR U20 BMOV 659222 Figure 7 12 Program example Continued 13 K4X100020 W101A Z0 Z2 U20 G59222 w1004 WOZO
97. fresh information table Buffer memory address On 1H e Refresh information table Buffer memory address 2H to 27H The following shows the refresh of a link register W for the case where link parameters are set as shown below and a local module is a local station in the third tier 11 station Link parameters of second tier B W 0 100 20 300 400 0 500 600 700 FFF First half of link parameters Latter half of link parameters Second tier Link parameters of master station for third tier L2 m B W 0 200 280 2C0 300 600 6806C0 700 FFF First half of link parameters Latter half of link parameters Figure 3 18 Link parameter setting Local module CPU module Link register W Link register W Send range of master station for second tier First half of link parameters Other station send range 1 First half of link parameters Host station send range First half of link parameters Other station send range 2 First half of link parameters Send range of master station for second tier Latter half of link parameters Other station send range 1 Latter half of link parameters Host station send range Latter half of link parameters Other station send range 2 Latter half of link parameters 3 29 3 6 Details of Buffer Memory 3 6 10 Link register WO to WFFF A FUNCTIONS MELSEC A CHAPTER4 FUNCTIONS This chapter describes the functions of the local module 4 1 Cyclic Tr
98. g refresh parameters is not required for a Q series local station since refresh is performed in a sequence program 23 CHAPTER 7 PROGRAMMING Pay attention to the refresh destination of link data to avoid duplication with CPU module devices used for other modules E JPOINT Changing the PLC type to QCPU Q mode or LCPU results in the link parameter setting refresh parameters being deleted INDEX 2 Program for data link The existing program for data link can be utilized However since some operation such as sequence scans are different between Q series and A QnA series local stations the program may not be used as it is Be sure to check the operation Appendix 4 Replacing Local Station from A QnA Series to Q Series App 11 Appendix 4 2 When utilizing an existing project of the A QnA series local station APPENDICES MELSECG A Memo App 12 Appendix 4 Replacing Local Station from A QnA Series to Q Series Appendix 4 2 When utilizing an existing project of the A QnA series local station APPENDICES MELSEC A Appendix 5 Program for Refresh when Using Multiple Local Modules This section explains a refresh program for the case where multiple local modules are installed to a Q series programmable controller 0 Ll O O Z Ll A A lt Adding a Q series local station to the existing system or replacing an existing one allows data sharing with the MELSECNET H using the Q series local station as a relay station Also
99. gth 1 to 32 Word DCH to FFH Write data Stores the write data 220 to 255 1 Stored value when start device is D100 Table 3 15 Stored value when start device is D100 Address Hexadecimal Item description Stored value Decimal D8H 216 Write start device name D 4420H D9H 217 Write start device No 100 0064H 3 25 3 6 Details of Buffer Memory 3 6 5 LWTP instruction receive request receive result work area 3 SPECIFICATIONS MELSEC A 3 6 6 Special relay for link M9200 to M9255 Data of a special relay for link M9200 to M9255 is stored ia Refresh devices of the CPU module and the data in this area in a sequence program E The following shows refresh of special relay for link M For details of a special relay for link refer to the following 235 Appendix 1 List of Special Relays for Link 7 a 52 Sa Address 1004 9 Empty 08 OO 1014 A elm tory 1111111 moza soaa 11 P141 111 1 de Figure 3 11 Special relay for link M9200 to M9255 z E O m O Local module CPU module Hi ss ms a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 09 Special relay for link M 3 Special relay SM R Figure 3 12 Refresh of PER relay for link M z 3 6 7 Special register for link D9200 to D9255 i ad O Data of a special register for link D9200 to D9255 is stored a wz Refresh devices of the CPU mo
100. h Self loopback test 01 Station No 1 Local station No 1 5 13 5 5 Self diagnostic Test 5 5 1 Self loopback test PREPARATORY PROCEDURES BEFORE OPERATION MEL SECA 3 Execution of test E tart 2 ar E Turning ON from OFF the power supply or resetting E the CPU module leads to start the test Judge the test result 6 lt o 0 Figure 5 15 Execution of test ti nz 08 4 Judge of test result The LED displays the test result a When normal 2 O ERROR LED is turned ON and OFF repeatedly in a cycle of z CRC gt OVER gt AB IF gt TIME gt DATA gt UNDER gt CRC gt L 5 A1SJ71AP23Q RUN fi CRC sD OVER RD EE AB IF R g F LOOP J time R 5 O 5 cru DATA R T UNDER 5 F LOOP _ R LOOP Figure 5 16 When normal Lu oc je LL Lu m N Lu x m LI e oc A gt S FE E LOr PEA aaO b When failed The LED which corresponds to the error is turned ON and the test is canceled A1SJ71AP23Q RUN fi CRC sD OVER RD E ABIF R FLOOP TIME i A CPU E DATA R UNDER F LOOP ij R LOOP fj Figure 5 17 When failed LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING 5 5 Self diagnostic Test 5 14 5 5 1 Self loopback test 5 15 PREPARATORY PROCEDURES BEFORE OPERATION MELSEC A 1 When three LEDs F LOOP R LOOP and TIME are turned ON e A forward loop cable is disconn
101. h siti d a speed setting the same as NO et the same communication speed as n that of the master station that of the master station and reset a For the MELSECNET B data CPU module amp i link system only ESS Lor LOF W O m Has the faulty station YES returned to the system Lu Check faulty station by self loopback S test 90 Q E Z Z lt eee Q O YES lt 00 Is there failure Replace link module on faulty station S NO NO Was faulty station aE D reconnected lt Check link cables connected to faulty O station by station to station test o Replace faulty link cable End Figure 8 5 When Data link is disabled at a specific station Continued Z E e je E N L m x eE 8 1 Troubleshooting Flowchart 8 6 8 1 2 When Data link is disabled at a specific station 8 TROUBLESHOOTING MELSEC A 8 1 3 When Error is found in data transmission Error occurred YES Is data link disabled in all of link devices NO Is data link disabled only YES MES Section 8 1 2 When Data link is at specific station disabled at a specific station Is data link disabled in input X and output Y 3 NO Is data link disabled in link relay B and link register W O NO Figure 8 6 When Error is found in data transmission 8 7 8 1 Troubleshooting Flowchart 8 1 3 When Error is found in data transmission TROUBLESHOOTING M
102. h to O or 1 Check station No mode setting and communication speed setting Change refresh destination of link data After termination of refresh reset Refresh request DY 16 and set it again Always use direct access output DY 16 While Refresh ready status X7 is OFF turn ON Refresh request DY 16 Transfer initial B W device values to local module before data communication with other stations After B W initial value setting status X1 turned ON turn ON CPU operating status DY 10 Before starting refresh turn ON Refresh in execution DY 11 When terminating refresh reset Refresh in execution DY 11 Always use direct access output DY 11 APPENDICES MELSECG A APPENDICES Appendix 1 List of Special Relays for Link 0 Ll O O Z Wi A A lt A special relay for link turns ON OFF due to various causes that are generated during data link Special relays for link are used in the sequence program and data link error status can be checked by monitoring them INDEX The following table lists the special relays for link available for Q series local stations For those used in master and A QnA series local stations refer to the following manual 23 Type MELSECNET MELSECNET B Data Link System Reference Manual Table App 1 List of special relays for link Buffer memory address Bit No Hexad ecimal Cable disconnection 103H 259 Forward loop OFF No
103. he device number can be set at any number If the Dev Name field is left blank link refresh is not carried out o a Setting up Transfer B Transfer W and Transfer X Y Set up the devices on the PLC side that refresh the corresponding link device Setting the start number results in the following points being occupied automatically Band W 1024 points in MELSECNET mode 4096 points in MELSECNET Il composite mode e X and Y 2048 points The devices within the range of both Refresh program setting here and Network range assignment of the master station are subject to link refresh 1 Network type mode to be selected in Step 3 5 Check the destination to save the project of the generated link refresh Be sure to check the destination because it cannot be arbitrarily specified Refresh program generation tool for MELSECNET IT local station etz The following projects generation completed C FMELSECFAQ Cn vSupportA25H_200 Appendix 3 Steps to Create a Program for L Series App 7 APPENDICES MELSEC A 6 N Start up GX Works2 and open the project generated with A QnA to Q conversion support tool Project Open Other Data Open Other Project 7 Since the opened project is set to QCPU change the type to LCPU Project gt Change PLC Type Devices or instructions might need to be modified to use Please check the change list and
104. hout making space between them or soldering them too tight ep e Perform soldering immediately so as not to modify the insulator 2 Before removing mounting the coaxial cable connector be sure to touch a z grounded metal object to discharge the static electricity from the human body Not doing so may cause failure of the module EY TE TE E EA ano LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING 3 2 Cable Specifications 3 8 3 2 2 Coaxial cable 3 SPECIFICATIONS MELSEC A 3 2 3 Shielded twisted pair cable The following shows the specifications of a shielded twisted pair cable used in the MELSECNET B data link system Table 3 7 Specifications of shielded twisted pair cable Item Description Model name KNPEV SB 0 5SQ x 1P Cable Shielded twisted pair cable Core 2 core Conductor resistance 20 C 39 40 km or less Insulation resistance 20 C 10MQ km or more Dielectric withstand voltage V min 1000VAC 1 minute Capacitance 1KHz 7OnF km or less on average Characteristic impedance 100KHz 110 100 Cross section Bio Maker TOA ELECTRIC INDUSTRIAL CO LTD 3 9 3 2 Cable Specifications 3 2 3 Shielded twisted pair cable 3 SPECIFICATIONS MELSEC A 33 Function List This section describes a function list of a local module Table 3 8 Function list Reference Function Description section 1 n communication Data is communicated between the master
105. ime in transmission from master or local station in second tier to master station for third tier e Delay time in transmission from master for third tier to local station in third tier e Time taken for sending data received from second tier to third tier 6 6 6 2 Transmission Delay Time 6 2 1 Transmission delay time LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME MELSEC A 6 2 2 Link refresh time Link refresh processing time of a local station is calculated by the following formula gt X 2 1 5 0 3xN 0 0035 x B X Y 16 W ms gt a 2 Link refresh time of local station 6 lt X N Number of FROM TO instructions and intelligent function module device accesses which refreshed link data in a 5 me sequence scan when Refresh ready status X7 was ON o Z gt B Total points of refreshed B na W Total points of refreshed W X Total points of refreshed X Y Total points of refreshed Y Y O 3 D 2 Q He 2 T Y O 2 Ef Oxyz SAE LOF W O L a A O O OS ZZ n vV O uz 09 tn aO Mo gt Z mgs OF am wW zZ X lt E Q Z i 0 lt E lt a x Z 4 PROGRAMMING TROUBLESHOOTING 6 2 Transmission Delay Time 6 7 6 2 2 Link refresh time LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME MELSEC A 6 2 3 Link data send receive time Link scan Link data send receive time is calculated by the following formulas 1 MELSECNET data link system a In MELSECNE
106. ink parameters for second tier Lu B W 0 80 100 180 200 400 480 500 580 600 FFF D First half of link parameters Latter half of link parameters 2 Send range for each station O L R Second halfw O station No 5 IL 3 128 0180 OFF 128 0180 DIFF 128 0580 OSFF 128 0580 OSFF Lu Figure 7 3 Link parameter setting of the master station 2 a Z 0 1 TE Par LOr y ER ano LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME i Z 2 2 lt x ao 0 O aa a TROUBLESHOOTING 7 1 System Configuration and Setting Conditions T 2 PROGRAMMING MELSEC A 7 2 Program for Refresh and for Receiving LRDP LWTP Instruction This section explains the program for refresh and for receiving LRDP LWTP instruction Execute this program at the beginning of the sequence scan 1 Adding new data to a project Newly add a program given in 3 and 4 to the project Data type Program r Program type Ladder src J MELSAP L i ST Data name NET2_200 Title refresh program Figure 7 4 Adding new data to a project 2 Setting PLC parameter Select PLC parameter Program and set the program for refresh and for receiving LRDP LWTP instruction program name NET2_ 200 as the first sequence scan Q parameter setting j Program name Execute type Fixed scan n unit El Program 3 HE E MAIN Pa JNet2 200 ee EEES NET2_200 2 MAN Delete _ A tee A or Ar
107. ions 1 System configuration The following figure shows that a 32 point module is installed to each slot The points for an empty slot is 16 Local station No 3 Master station Local station No 1 MELSECNET II A1SJ71AP23Q Local station No 2 Figure 7 1 System configuration 2 Switch setting Set the DIP switches on the front face of the link module as shown below gt Section 5 3 Part Names and Settings Table 7 1 Switch setting Item Number Set value Description Station No setting switch 00 Station No 0 Master station Mode setting switch a ee Online with automatic return function Station No setting switch 01 to 03 Station No 1 to No 3 Local stations No 1 to No 3 Mode setting switch S ae Online with automatic return function 7 1 7 1 System Configuration and Setting Conditions PROGRAMMING MELSECG A 3 Wiring Connect each optical fiber cable between OUT and IN as illustrated below OUT of gt m local station No 3 must be connected to IN of the master station E Lu CF Section 5 4 Wiring 6 Local station Local station Local station No 3 No 2 No 1 Master station Z O z 5 ae nz as Figure 7 2 Wiring 4 Link parameter setting of the master station Link parameters are set to the master station as shown below D O z O L
108. ions from the local module First half B device reception 2 First half Start No ZO No of words Z1 Divides the buffer memory address by 16 bits Obtains B of the other stations from the local module First half PROGRAMMING MELSEC A B device reception 1 Latter half SD2040 C i it DMOV W101C 70 Start No Z0 No of words Z1 MOV 20 22 Lu a Lu SFR 22 K4 Divides the buffer memory address by 16 bits 5 Obtains B of the other stations from the local le Latter half BMOV G59222 K4B0Z0 21 module Latter half B device reception 2 Latter half SD2040 D Start No Z0 No of words Z1 DMOV W101E Z0 Z O kE MOV ZO Z2 o SFR Z2 K4 Divides the buffer memory address by 16 bits g 5 no U20 Obtains B of the other stations from the local BMOV 659272 K4BOZO 71 module Latter half Transfers data of the special relay for link Sp2040 F U20 from M9240 to the area starting from SM1240 BMOV G259 K4SM1240 K1 Transfers data of the special register for link from D9243 to the area starting from SD1243 U20 Obtains data of the special relay for link 2 BMOV G315 SD1243 K13 Obtains data of the special register for link 2 lt O x200 L 4 8M12 10 O B a a A x207 U20 y20 LRDP instruction receive processing T _ K4 G172 DMOV G176 Z0 Obtains the read start device name and start device No U20 MOV G179 Z2 Obtains the read data length U20 FMOV HO G176 K40 C
109. its U20 BMOY K4B0Z0 99222 21 Transfers B of L7 station to the local module Latter half SM400 Restores the relevant device data MOV SD2042 Z0 MOY SD2043 ZI MOV SD2044 Z2 Figure App 9 Program name L4_ADD Continued 2 Program name L4 PROG The same as the following program gt Section 7 2 4 Program example 2 Appendix 5 Program for Refresh when Using Multiple Local Modules App 21 Appendix 5 2 Program for refresh APPENDICES MELSEC A d Program example for local stations No 5 to No 7 Program name L5_ PROG L6 PROG L7_PROG Except for one instruction addition shown below each of the programs is the same as L4 PROG However change the I O signals and intelligent function module device I O numbers depending on the module position e Local module of local station No 5 X Y220 to X Y23F e Local module of local station No 6 X Y240 to X Y25F e Local module of local station No 7 X Y260 to X Y27F Change the I O signals and intelligent function module device I O numbers depending on the NS IN module position ae DMOV KO K8B1000 SET DY231 u Insert the instruction DAND H9C9 K8B1000 Mask the area other than ae eee estate pee die eee the host station send range 4 BMOV G2 W1032 H26 Figure App 10 In the case of L5 PROG E POINT a _ 1 1 1 After writing the program to the programmable controller turn OFF and ON the power supply or reset the CPU module
110. its of words master station for 27H 39 second tier latter Points in units of words 3 15 3 5 Buffer Memory List 3 SPECIFICATIONS Table 3 10 Buffer memory list Continued Address N Initial Readable Reference ame 28H to ABH 40 to 171 System area Use prohibited i Section ACH 172 LRDP instruction receive request a 3 6 4 O Section AEH 174 LWTP instruction receive request 365 AFH 175 System area Use prohibited poe fe 6 kE Section e BOH to D7H 176 to 215 LRDP instruction work area 5 3 6 4 me R W a E Section gt O B8H to FFH 216 to 255 LWTP instruction work area no 3 6 5 3 Section 100H to 103H 256 to 259 Special relay for link M9200 to M9255 366 104H to 10FH 260 to 271 System area Use prohibited ae 2 Section 110H to 147H 272 to 327 Special register for link D9200 to D9255 po f Rk 367 q 6 z 148H to 14FH 328 to 335 System area Use prohibited D Link data storage 4 l 2 CIN S a 150H to 1CFH 336 to 463 eras Input XO to X7FF Section 1DOH to 24FH 464 to 591 Output YO to Y7FF RAY 3 6 8 Section 250H to 34FH 592 to 847 Link relay BO to BFFF 36 9 350H to 3FFH 848 to 1023 System area Use prohibited poe fe Section z 4004H to 13FFH 1024 to 5119 Link register WO to WFFF EN R W 3610 2 O O zZ 1 Indicates whether reading writing can be performed with a sequence program r R Readable W Writable ul ad O LL a M a i prz ma LOr W O L TEO OS Ze mH
111. k End Cancel Figure App 5 Setting PLC parameter Appendix 5 Program for Refresh when Using Multiple Local Modules as ADD Scan v MaLa PROG Scan A S L5_ PROG Scan a fis PROG Scan vw L7_PROG MAIN Scan 4 Fixed scan al rre ane SE n 4 14 4 wo o a 3 i MAIN al eee A EA o ETA E Sra EFE Ere Era 18 MEN ee etal File usability setting 1 0 refresh setting Appendix 5 2 Program for refresh APPENDICES MELSEC A 3 Program examples a Program overview 0 Ll O O Z Ll A A lt 1 Refresh range of local station No 4 All areas are refreshed according to the refresh information table Buffer memory address 2H to 27H 2 Refresh range of local stations No 5 to No 7 The areas of the host station send ranges in B W and Y and the host station receive range in X are refreshed according to the refresh information table Buffer memory address 2H to 27H The following areas are not refreshed e Other station send range 1 and 2 in B W e Send range of master station for second tier in B W e Special relay for link e Special register for link INDEX An example of link register W data transfer is shown below Local station No 4 Local station No 5 Local station No 6 Local station No 7 CPU module buffer memory buffer memory buffer memory buffer memory Link register W me M station M station M station M station L1 station L1 station L1
112. l station Local station Local station No 1 No 3 No 2 No n n amp 31 Local station Master station Shielded twisted pair cable Third tier J Local station Local station Remote I O Local station station No 1 No 4 No 3 No 2 No n nS31 Local station Station that can mount local module Figure 2 2 MELSECNET B data link system EJ POINT A local module cannot be the master station or a remote I O station since it is a module dedicated to a local station Local station 2 2 2 1 Overall System Configuration 2 SYSTEM CONFIGURATION MELSEC A Remark A The following shows the combination of the three tier system other than 1 and 2 in this section 1 When second tier is MELSECNET and third tier is MELSECNET B OVERVIEW N Station that can mount local module zZ O E lt a gt LL Z e O SYSTEM ip Zz O x O Figure 2 3 When second tier is MELSECNET and third tier is MELSECNET B O 2 When second tier is MELSECNET B and third tier is MELSECNET D ip zZ O He O Z T Station that can mount local module oe O LL Lu gt o de Figure 2 4 When second tier is MELSECNET B and third tier is MELSECNET E m z 00000000000000000000000000000000000000000000000000090900 e E LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING 2 1 Overall System Configuration 2 3 2 SYSTEM CONFIGURATION MELSEC A 2 2 Applicable
113. lay time LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME MELSEC A Table 6 4 Maximum transmission delay time for M lt LS lt L Item an ee NI Link relay B Master station l l Link register W M a 1 LS L x 3 042 x 2 ms l Output Y Ocel seon LRDP LWTP instruction M a1 x 3 LS x 3 L 02 x 3 ms Local station Link relay B Link register W Mx 3 01 x 2 LS x 2 L 02 ms Master station Output Y Local station Link relay B i M a1 LS L1 2 L2 x 3 a 2 x 2 ms Link register W Local station M Sequence program scan time of master station 1 L Sequence program scan time of local station i LS Data transmission time 2 1 Link refresh time of master station A 2 Link refresh time of local station a 2 Link refresh time of local station receiving side 1 Can be checked by the ladder monitor of GX Developer or the monitor of the special registers D9017 to D9019 2 Can be checked by the link monitor of GX Developer or the monitor of the master station s special registers for link D9207 to D9209 when the data link is established E JPOINT In this section transmission delay time in the two tier system is explained For transmission delay time in the three tier system the elements shown below must be added For details on transmission delay time in the three tier system refer to the following manual 25 Type MELSECNET MELSECNET B Data Link System Reference Manual e Delay t
114. le as follows O A 1 7 Section 5 3 Part Names and Settings y Table 5 7 Switch setting Item No Set value Description Station No setting switch 00 Station No 0 Master station Forward loop test Mode setting switch 2 Reverse loop test 2 Slave stations No 1 and No 2 Station No setting switch 01 02 Station No 1 and 2 Local stations No 1 and No 2 Mode setting switch a a Online with automatic return function 3 Execution of test Turn ON from OFF the power supply of a slave station or reset the CPU module Put Q series local station into the RUN status Y10 0N Turning ON from OFF the power supply of the master Lu oc je LL Lu m N Lu x m LI e oc A gt S FE E LOr Bow MO station or resetting the CPU module leads to start the test LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME Judge the test result End Figure 5 26 Execution of test O Z lt 14 O O ag A O Z He O O ae op Lu m O X He 5 5 Self diagnostic Test 5 20 5 5 3 Forward loop test reverse loop test PREPARATORY PROCEDURES BEFORE OPERATION MEL SEC A 4 Judge of test result The LED of the master station displays the test result a When normal ERROR LED is turned ON and OFF repeatedly in a cycle of CRC gt OVER gt AB IF gt TIME gt DATA gt UNDER gt CRC gt A1SJ71AP21 RUN fi CRC ia so EE OVER Ml RD EE AB IF Ml F LOOP J TIME Ml cru DATA Ml UN
115. le is connected as shown below In addition use a terminating resistor for stations at both ends rs ae sco Terminating resistor 1100 1 2W Terminating resistor 1100 1 2W Figure 5 12 Connection method 5 11 5 4 Wiring 5 4 3 Shielded twisted pair cable PREPARATORY PROCEDURES BEFORE OPERATION MEI SEC A 5 5 Self diagnostic Test a The self diagnostic test checks the hardware or cable wiring of a local module E Table 5 4 Items of self diagnostic test m a Reference Item Description section a ae Section Self loopback test Checks the hardware including transmission circuit in a single local module 554 D Station to station test Executing station Checks a line between two adjacent stations E A test is performed to a line between two stations assuming that the station Section Station to station test Other station which has the small station No is the executing station and the other is the 5 5 2 E m other station D Forward loop test Checks a forward loop side line of the MELSECNET after connecting all Not provided for the MELSECNET B stations by a cable Section Reverse loop test Checks a reverse loop side line of the MELSECNET after connecting all 5 5 3 Not provided for the MELSECNET B stations by a cable z z O LL O Lu a op ep Z O ke O Z T Lu oc je LL Lu m N Lu x m LI e oc A gt S FE E LOr
116. lears the LRDP instruction work area to zero U20 2 H544E Z0 HH euo TOZ1 G180 Z2 Transfers the T device value to the work area 2 O U20 Z H434E Z0 PH prov COZ1 G180 Z2 Transfers the C device value to the work area LL U20 H4420 Z0 Heo DOZ1 G180 Z2 Transfers the D device value to the work area LU Z U20 O E 45720 70 Heo W0Z1 C180 72 Transfers the W device value to the work area Lu m ZN U20 Lu LRDP instruction receive request O wz aa Bo me 5 Processing completion g 3 2 lt LU T aO Boe aao Figure 7 13 Program example Continued LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME a Z 2 2 lt x ao 0 O aa a TROUBLESHOOTING 7 2 Program for Refresh and for Receiving LRDP LWTP Instruction 7 14 PROGRAMMING MELSEC A LWTP instruction receive processing X207 U20 U20 f k er way ee s Obtains the write start device name and start device No U20N MOV 6219 22 Obtains the write data length U20 Ao 20 Jeo 6220 TOZI 7 Transfers the work area value to T device U20 a H434E 20 JA pro 6220 cozi 22 Transfers the work area value to C device U20 H4420 20 eov G220 D021 22 Transfers the work area value to D device U20 H5720 20 JA eov G220 W021 22 Transfers the work area value to W device U20 FMOV HO G216 K40 Clears the LWTP instruction work area to zero ve LWTP instruction receive request MOV K5 6174 5 Processing completion For a local station
117. ls among I O signals for the programmable m O controller CPU i Doing so may cause malfunction of the programmable controller system Te sae LOr y ER ano LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING 3 4 I O Signal for Programmable Controller CPU 3 12 3 4 1 List of I O signal 3 SPECIFICATIONS MELSEC A 3 4 2 Details of I O signal The following shows details of I O signal of a local module 1 Link status X0 The link status is turned ON when the host station is offline station to station test or self loopback test The link status is turned OFF when setting the host station online and turning power supply ON from OFF or resetting the CPU module 2 B W initial value setting status X1 Refresh ready status X7 CPU operating status Y10 Refresh in execution Y11 and Refresh request Y16 Operations of link refresh are shown below For the programming refer to the following 25 CHAPTER 7 PROGRAMMING Link scan Local module v fF A J Link data storage area Sending receiving data Sending receiving data Buffer memory address 1004 to 19FF Joo rra Em A I a Sequence scan O FNDfO END O ENDO END Pe ae ae ee hae B W initial value setting status X1 E I Refresh ready status X7 Aa gt Se rr CPU operating status DY10 JE 4 ney a o ne m Device memory storage area 7 OA 3 A 3 At power on A odai for raah data to from other stati
118. lug Local module Figure 5 11 Disconnecting a coaxial cable Lu oc je LL Lu m N Lu x m LI e oc A gt S FE E LOr Bow MO LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING 5 4 Wiring 5 10 5 4 2 Coaxial cable PREPARATORY PROCEDURES BEFORE OPERATION MEL SECA 5 4 3 Shielded twisted pair cable The following describes how to connect a shielded twisted pair cable with the local module 1 Precautions for wiring a Laying shielded twisted pair cable When laying a shielded twisted pair cable pay attention to the following points so that it will not be affected by noise or surge induction 1 Do not install a shielded twisted pair cable together with the main circuit high voltage cable or load line and also do not bring them closer to each other Keep a distance of 100mm 3 94 inch or more between them 2 Do not use a part of shielded twisted pair cable for example one pair among three pairs as a cable for power supply b Connection of terminating resistor For the stations at both ends of the MELSECNET B data link system connect SDA RDA and SDB RDB with an attached terminating resistor 110 Q 1 2W Refer to lt gt gt 2 in this section c Connecting disconnecting a shielded twisted pair cable Be sure to shut off all phases of the external power supply used by the system 2 Connection of cable A shielded twisted pair cab
119. malfunction due to a communication error may result in an accident To control a running programmable controller data modification by connecting GX Developer to a CPU module or connecting a personal computer to an intelligent function module special function module create an interlock circuit on the sequence program so that the entire system will function safely all the time Also before performing any other controls e g program modification operating status change status control to the programmable controller read the manual carefully and ensure the safety Especially in the case of controlling a remotely located programmable controller from an external device a programmable controller side problem could not be resolved immediately due to data communication failure To prevent this establish corrective procedures for communication failure between the external device and the programmable controller CPU as well as creating an interlock circuit on the program NCAUTION O Do not install the control lines and or communication cables together with the main circuit or power cables and also do not bring them close to each other Keep a distance of 100mm 3 94 inch or more between them Failure to do so may cause a malfunction due to noise INSTALLATION PRECAUTIONS CAUTION Use the programmable controller in the environment conditions given in the general specifications of the User s Manual for the CPU module used Failure
120. modify the changed devices or instructions A IO PLC Series Select LCPU PLC Type Select the LCPU to be used Click OK button POINT A refresh program created with A QnA to Q conversion support tool generates the program utilizing SM1224 which turns to SM1255 by changing the PLC type with GX Works2 After changing the PLC type with GX Works2 substitute SM1255 in the ladder program with SM1224 8 In the confirmation window that appears shown below click Yes button Change PLC Type Change the PLC type to LO25 L025 P Are you sure to change all of the data to match the PLC type To check all data dick Confirm Change button ie App 8 Appendix 3 Steps to Create a Program for L Series APPENDICES Appendix 4 Replacing Local Station from A QnA Series to Q Series Appendix 4 1 Link refresh Operation after power OFF ON or resetting CPU module CPU module is in STOP LRDP LWTP instruction receive processing Access from peripheral to host station Access from peripheral to other stations Network diagnostics of GX Developer MELSEC A This section describes replacement of a local station from A QnA series to Q series stations Differences between Q series and A QnA series local The following table shows differences between Q series and A QnA series local stations When replacing an A QnA series local station with a Q seri
121. munication error station 1 M9210 turns ON or 5 is stored in D9204 2 Data immediately before the communication error are held in the areas M9224 z to M9239 and D9202 to D9242 S 3 The master station holds the data that have been received from local stations i and that were present immediately before the communication error b Q series local station 1 M9250 and M9251 turn ON 2 The station holds the data that have been received from other stations and that 2 were present immediately before the communication error z 2 When a Q series local station has a communication error Data communications are continued among normally operating stations e a Orz ae L1 station ct S Ti EES e Master station L2 station OS Z n vV O uz 09 tn aO Mo gt Z mgs OF am wW zZ X lt E Q Z i 0 lt E lt a x Z 4 B W M station M station M station send range receive range receive range L1 station L1 station L1 station receive range send range receive range L2 station L2 station L2 station Sending receiving data receive range receive range send range Holding data Figure 6 3 When a Q series local station L1 has a communication error PROGRAMMING TROUBLESHOOTING 6 1 Link Data Send Receive Processing 6 3 6 1 3 Link data handling in the case of a communication error LINK DATA SEND RECEIVE PROCESSING AND
122. n 1Ns5 station lt a Cyclic transmission a Data transfer by sequence program Figure App 1 Data sharing between MELSECNET I and MELSECNET H App 13 APPENDICES MELSEC A Appendix 5 1 System configuration and setting conditions Program examples given here are based on the following system configuration and setting conditions 1 System configuration The following figure shows that a 32 point module is installed to each slot The points for an empty slot is 16 Local stations No 4 to No 7 Q38B Master station 3 Local station No 1 lll MELSECNET Il JE Local station No 2 lt A1SJ71AP23Q L7 station A1SJ71AP23Q L6 station Remote I O station No 3 A1SJ71AP23Q L5 station A1SJ71AP23Q L4 station Figure App 2 System configuration 2 Switch setting Set the DIP switches on the front face of the link module as shown below 113 Section 5 3 Part Names and Settings Table App 5 Switch setting Item Number Set value Description Station No setting switch 00 Station No 0 Master station r r Mode setting switch A Online with automatic return function Station No setting switch 01 to 02 Station No 1 to No 2 Local stations No 1 and No 2 Mode setting switch Ls 2g Online with automatic return function
123. n 200 p Source daoi elf the host station goes down data before the failure will be also D9250 station No 33 to No 48 held 13CH Bits corresponding to the station Nos of STOP or PAUSE status local stations except for host station turn to 1 Example When local stations No 7 and No 15 are in STOP or PAUSE bit 6 and bit 14 in D9248 are 1 By monitoring D9248 16448 4040H is identified Stores status data of When the status of a local station except for the host station 143H 323 D9251 station No 49 to No 64 changes to RUN or STEP RUN the corresponding bit automatically turns to 0 Bits corresponding to the host and remote I O stations always store 0 Appendix 2 List of Special Registers for Link Ap p 3 APPENDICES MELSECG A Table App 2 List of special registers for link Continued Buffer memory address Bit No Hexad ecimal station in the loop into the corresponding bits in the special Stores status data of 144H 324 D9252 registers for link as shown below station No 1 to No 16 o Error detection is performed only for local stations other than the Description Details Stores station Nos of faulty local stations except for the host host station Remote I O station data are 0 and are not changed Stores status data of station No 17 to No 32 145H 325 D9253 Local station Conca aan aan ae aa aca aac af ork a le sf lof oso cesses sll sso error stat
124. n m Data flow Send receive processing 0 lt A Link scan E Data memory Link data O storage area storage area a Link refresh m Ee Je e k qi EE E E H Lor EEE TEENE E E ne ee Wi O w a oO Figure 1 2 B W communication data flow b 1 1 communication X Y communication The one to one data communication is performed between the master station and a local station The ON OFF information can be communicated using the input X output Y LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME Q series local station Master station Local module CPU module A A A A it ee ee ae RES ASA Nears 1 aaa Rl i Buffer memory 1 i O Data memory Link data Link data i Data memory zZ storage area storage area storage area 7 storage area O ag A Data flow Send receive processing Link scan S He lt a Link refresh 8 ae Figure 1 3 X Y communication data flow tl 5 O X He 1 1 Features 1 2 1 OVERVIEW MELSEC A c Link refresh of link data The method of link refresh for a Q series local station and the master station is different from that of link refresh for an A QnA series local station 1 Q series local station Refresh is performed in the sequence program 23 CHAPTER 7 PROGRAMMING Q series local station Local module CPU module A a a E Hala A E O E NR aaa a aa UR IS E A Ca Ea ARI Buffer memory Link data Data memory A part of the program for refresh AA area
125. n table 3 SPECIFICATIONS MELSEC A 3 6 3 Refresh information table The refresh information table is stored Refresh devices of the local module and CPU module using the refresh information table in a sequence program CHAPTER 7 PROGRAMMING A Local module A A Link data storage area 3 Device memory of buffer memory storage area 103H M9240 to M9255 SM1240 to SM1255 en D9243 to D9255 SD1243 to SD1255 4 Y1FFF 250H Other station send range 1 i Other station send range 1 BO First half of link parameters DE First half of link parameters Host station send range Host station send range First half of link parameters IN First half of link parameters Other station send range 2 Other station send range 2 First half of link parameters A First half of link parameters Other station send range 1 Other station send range 1 Latter half of link parameters ar Latter half of link parameters Host station send range Host station send range Latter half of link parameters Latter half of link parameters Other station send range 2 Other station send range 2 Latter half of link parameters rT half of link parameters Other station send range 1 First half of link parameters D First half of link parameters Host station send range Host station send range First half of link parameters MU a First half of link parameters Other station send range 2 Other station send range 2 First h
126. nd range 1 _ i 2 0 First half of link parameters O rz O7FH lt 2 580H OR Host station send range _ E a First half of link t l First half of link parameters SFFH 800H E ae Other station send range 1 _ Bo Latter half of link t ehf Latter half of link parameters 97FH i zO o E Wy 980H lt Host station send range _ lt gt J XOQ ZuUZ I lt Latter half of link parameters l j OFFH W5FF Figure 7 6 Program for refresh i 2 Program for receiving LRDP LWTP instruction Upon reception of a LRDP LWTP instruction request relevant processing is performed Z 2 2 lt x ao 0 O aa a TROUBLESHOOTING 7 2 Program for Refresh and for Receiving LRDP LWTP Instruction T 4 PROGRAMMING MELSEC A b Device list Devices used in the program are shown Note that the local module is mounted in the position indicated as I O No X Y200 to X Y21F Table 7 2 Device list Device Description X200 Link status X201 B W initial value setting status X207 Refresh ready status Y210 CPU operating status Y211 Refresh in execution Y216 Refresh request Link data a Link register LRDP LWTP instruction target Data register Link register SM400 Always ON SM402 After RUN ON for 1 scan only SD2040 to D2041 2 Presence or absence of refresh information table Protects device values SD2042 to D2044 3 ZO to Z2 save area Protects device values SM1240
127. nformation table ccccccccccseccsceceeeceneceucecseeceueceaeecaeecsueceueesaeeseusesaeesueeseaesseaeenas 3 19 3 6 4 LRDP instruction receive request receive reSult WOrk area ooococoncccccooncococnoconoonnnnnanonanonos 3 22 3 6 5 LWTP instruction receive request receive result work area oocooccconccnnconiconnconconnconnnoninannnos 3 24 3 6 6 Special relay for link M9200 to M92D9 oooooonccconccconcnconcnccoocononcoconcnnoncnnoncnnnnnnnonnnnonnnnnnnannnnnos 3 26 3 6 Special register for link D9200 to D9255 ccococcconccocnccocccocnonnnconanocanonannonanocanonannonanenaninos 3 26 3 6 8 Input XO to X7FF and output YO to Y7FF ocooocccccnccccccccncccnconnncncnnnnnnnnnnnnnnnnoncnnnnonnnnncnnnos 3 2 7 369 WMIAK relay BONO BEPE dai Gein olathe a A a a a 3 28 3 0 00 LINK register WO TONVEFE ess adela 3 29 CHAPTER4 FUNCTIONS 4 1to4 11 AN Cycle Transmission AA o io lia 4 1 4 1 1 1 n communication B W COMMUNICATION ccccceseeeeceeeeeeeeeceeeeceeeeeseeeeseeeeseueeseueeseeesaees 4 1 4 1 2 1 1 Communication X Y COMMUNICATION ocooccccocncccnoccnncocnconnonannnncnnonnonnnnoncnnnnonannnnnnnnnnonors 4 5 42 Transient Transmission FUNCION ii ads 4 6 wa A een Oe 4 8 4 3 1 Automatic return TUNC ION oocccoccoconoconnconnoconoconnnnnnonononononnnnonanonnnnnnnnnnnnonnnnnnnnennnennnnnnnnnnaninos 4 8 432 LOOPDACKTUNCUOM sanani e de aarti gale 4 9 A328 Enor CS TCCUO
128. ng A QnA series local station ke O O ae op Lu a X kE 1 1 Features 1 4 1 OVERVIEW MELSEC A IPOINT 1 Access to another station from peripherals or intelligent function module Access to another station is not allowed for any peripheral GX Developer GOT etc and intelligent function module e g serial communication module connected to a Q series local station Also any peripheral and special function module connected to the master station cannot access any Q series local station 23 Section 4 2 Transient Transmission Function 3 RAS function a Automatic return function When a local station disconnected due to a data link error is recovered the station automatically returns to the network and restarts data link b Loopback function Not provided for the MELSECNET B data link system A faulty part such as a disconnected cable or a faulty station is disconnected from the network to continue data link among normally operating stations c Error detection function Data of the special relay for link and special register for link of a local module are refreshed into CPU module devices With the refreshed devices the data link status or a faulty part can be checked Note that the network diagnostics of GX Developer is not available for Q series local stations Check the data link status or a faulty part in the above mentioned way d Self diagnostic function The hardware or cable wiring o
129. nge of device use varies depending on the start devices and the points that are specified by the LRDP LWTP instruction of the master station 3 Can be replaced with other devices as necessary However to avoid wrong replacements we recommend using the program examples described in the manual without changes T 11 7 2 Program for Refresh and for Receiving LRDP LWTP Instruction PROGRAMMING c Program example Z0 Z1 Z2 U20 G1024 U20 G592 SET SET KO SM400 MOV MOV MOV X201 A BMOVP WO0 BMOVP K4BO X201 X200 SM402 SM402 DMOV X207 SM402 X207 SD2040 0 DMOV BMOV WOZO SD2040 8 DMOV BMOV WOZO SD2040 6 DMOV MOV SFR BMOV K4Y1000Z0 SD2040 3 DMOV MOV SFR BMOV K4B0Z0 W1002 U20 G1024Z0 w1014 U20 G1024Z0 W100E Z0 22 U20 G46422 w1008 Z0 22 U20 659222 Figure 7 11 Program example 7 2 Program for Refresh and for Receiving LRDP LWTP Instruction SD2042 SD2043 SD2044 K4096 K256 DY210 DY216 SD2040 DY211 SD2040 H26 Z0 Z1 Z0 Z1 Z0 Z2 K4 Z1 Z0 Z2 K4 Z1 MELSEC A Saves the relevant device data in the save area At power on initializes B W devices Transfers W to the local module Transfers B to the local module RUN status Refresh request In refresh ready status starts refresh No refresh request Refresh in execution Obtains the presence or absence status of the re
130. nk is performed among data link executable stations only All stations located between the faulty stations are disconnected No 2 loopback station I LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME Master station No 1 O Z lt Ki he Reverse loop Forward loop K Disconnected O w Q Disconnected Z He O No 5 No 4 No 3 0 Lu loopback station Figure 4 12 When errors occur on the forward and reverse loops 3 o kE 4 3 RAS Functions 4 9 4 3 2 Loopback function A FUNCTIONS 4 10 MELSEC A 3 When a local station is powered down When power of a local station is turned OFF data link is disabled Viewing from the master station loopback occurs at the station just before the faulty station and data link is performed among data link executable stations only The power off station is disconnected No 2 loopback station Master station No 1 d gt aaa Reverse loop Forward loop No 5 No 4 No 3 Power OFF loopback station Figure 4 13 When a local station is powered down 4 3 RAS Functions 4 3 2 Loopback function A FUNCTIONS 4 3 3 MELSEC A Error detection function D
131. nk system As for a coaxial cable use 3C 2V or 5C 2V conforming to JIS C 3501 of a high frequency coaxial cable 1 Specifications of coaxial cable The following shows the specifications of a coaxial cable As for a coaxial cable choose the one which meets the operating ambient temperature 0 to 55 C described in the general specification Table 3 6 Specifications of coaxial cable 3C 2V 5C 2V Structure Internal conductor Insulator External conductor External sheath Diameter of internal 0 5mm Annealed copper wire 0 8mm Annealed copper wire conductor Diameter of insulator 3 1mm Polyethylene 4 9mm Polyethylene Diameter of external oe 3 8mm Single annealed copper wire mesh 5 6mm Single annealed copper wire mesh u Connector plug for 5C 2V BNC P 5 NiCAu CF DDK Ltd BNC P 5DV SA 41 HIROSE ELECTRIC CO LTD Applicable connector Connector plug for 3C 2V plug BNC P 3 NiCAu CF DDK Ltd 3 2 Cable Specifications 3 6 3 2 2 Coaxial cable OVERVIEW CONFIGURATION SYSTEM OO Z Z O 7 O LL O m o A FUNCTIONS PROCEDURES BEFORE PREPARATORY OPERATION LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING 3 SPECIFICATIONS MELSECG A 2 Connection of connector for coaxial cable The following shows how to connect a BCN connector connector plug for coaxial cable and a cable a Components of BNC connect
132. nonanononcnnnnonanonons App 1 Appendix 2 List of Special Registers for Link oooccoonccoccoconoconocccnoconncnnnoconconononanoconconanonanonons App 3 Appendix 3 Steps to Create a Program for L Series occooncccccoconoocnoconocanononnonanonanonannonanonanonannonanes App 5 Appendix 4 Replacing Local Station from A QnA Series to Q Series cocooccccocccccccncconccononnnnononcnnnnnnons App 9 Appendix 4 1 Differences between Q series and A QnA series local Stations ooocccocccoonno App 9 Appendix 4 2 When utilizing an existing project of the A QnA series local station App 11 Appendix5 Program for Refresh when Using Multiple Local Modules o coooccoccccocnconnconcnno App 13 Appendix 5 1 System configuration and Setting conditions oocccconccccncccnoconononononnnnnnnnnnnonnnnos App 14 Appendix 5 2 Program TOR TEM CSIs ri paisa ados App 16 Appendix 6 External DIMENSION Sy ii codi App 23 Appendix 6 1 AS gill A O ere Una MCD Ten R SER eee App 23 Appendix 6 2 AlSJ71TARZ30 since ee ie een eee OE eee ai App 24 Appendix6 3 ATSI TATZ JB iria App 25 INDEX Index 1 to Index 1 ABOUT MANUALS The following manuals are also related to this product Order them by referring to the table below as necessary Related manual Manual No METE TT Model code Type MELSECNET MELSECNET B Data Link System Reference Manual This manual e
133. ntroller to a local module Table 3 9 List of I O signal Signal direction Signal direction Local module Programmable controller CPU Programmable controller CPU Local module Device f Device f Signal name Signal name No No Link status XO OFF Online YO ON Offline station to station test or self loopback test B W initial value setting status X1 OFF B W initial value setting completed Y1 ON B W initial value setting in execution x2 xs X4 Use prohibited xs X6 Y6 pe Use prohibited Refresh ready status X7 OFF refresh not requested Y7 ON Refresh requested xe xs XA xB xC xD xE xE Use prohibited 3 11 3 4 I O Signal for Programmable Controller CPU 3 4 1 List of I O signal 3 SPECIFICATIONS MELSEC A Table 3 9 List of I O signal Continued Signal direction Signal direction Local module Programmable controller CPU Programmable controller CPU Local module Device Device Signal name Signal name No No a CPU operating status 3 X10 Y10 OFF STOP status ERROR status ON RUN status Refresh in execution X11 Y11 OFF Refresh not executed 6 ON Refresh in execution lt X12 Y12 O LL X13 Y N 2S Use prohibited nO va 3 vis X14 Y14 X15 Y15 o Refresh request Use prohibited X16 Y16 OFF Refresh not requested D yA ON Refresh requested 2 lt x X18 g X1A Y1A X1B Use prohibited X1C Y1C X1D Y1D YiD A XIE E XIF gt LL POINT Do not turn ON use prohibited signa
134. o BYALA WE TEEN Other station send range HO a a cana Host station send range Start number OOOOH Start number 0280H op Number of points 0280H Number of points 0100H O DD Readable range S E Writable range Figure 3 7 Each station send range of B W for refresh information table gt LL Lu gt o e i Te Lor FOR Lu O L EO LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING 3 6 Details of Buffer Memory 3 20 3 6 3 Refresh information table 3 SPECIFICATIONS MELSEC A 2 Storage example of refresh information table The following shows the storage example of refresh information table for the case where link parameters are set as shown below and a local module is a local station in the second tier L1 station Link parameters of second tier aE 100 aul at 380 FFF 1 ZTE ZETA EA eon A IFS ll 12 Other station Host station Other station send range 1 send range send range 2 Readable range E Writable range Figure 3 8 Link parameter setting Table 3 11 Storage example of refresh information table Address Name Stored value Hexadecimal Decimal 2H 2 Host station send Start number 0 to FFF 0100H 3H range of W Points in units of words 0100H 4H Other station send Start number 0 to FFF OOOOH 5H range 1 of W Points in units of words 0100H 6H se Sent Other station send Start number 0 to FFF 0200H 7H ces momen ae
135. on is started after setting the B W initial value Figure 3 4 Operation of link refresh a Turning power supply ON from OFF or resetting the CPU module 1 A local module turns ON the B W initial value setting status X1 2 The B W device of the CPU module is written to the B W device of the local module in a sequence program 3 When CPU operating status DY10 and Refresh request DY16 are turned ON in a sequence program after writing the initial value to the B W device of the local module a Q series local station starts data communication with other stations 3 13 3 4 I O Signal for Programmable Controller CPU 3 4 2 Details of I O signal 3 SPECIFICATIONS MELSEC A Es POINT 1 After turning power supply ON from OFF or resetting the CPU module be sure to transfer the initial value of the B W device to a local module before a Q series local station communicates data with other stations 2 When turning power supply ON from OFF or resetting the CPU module at the STOP status of the CPU module data communication with other stations is not started The master station treats a local station as a faulty station relevant bit in D9228 to D9231 is turned ON When executing a program for refresh Y10 ON at the RUN status of the CPU module data communication with other stations is started OVERVIEW CONFIGURATION SYSTEM OO b Link refresh of link data 1 A local module turns ON Refresh ready status X7 when a
136. on modules set up the identical CPU module as the control CPU 3 Supported software packages Using a local module requires GX Developer or GX Works2 For the version of software package compatible with the CPU module used refer to the following e With the single CPU system 25 QCPU User s Manual Hardware Design Maintenance and Inspection e With the multiple CPU system gt QCPU User s Manual Multiple CPU System 2 4 2 2 Applicable Systems 2 2 1 Applicable system for Q series 2 SYSTEM CONFIGURATION MELSEC A 2 2 2 Applicable system for L series This section describes the applicable system for L series OVERVIEW 1 Mountable modules and number of mountable modules 2 a Mountable modules LCPU with a serial number first five digits of 16112 or later LA1S extension base unit ad b Number of mountable modules 52 gt gt MELSEC L LA1S Extension Base Unit User s Manual 26 POINT e Depending on the combination with other modules or the number of E mounted modules power supply capacity may be insufficient Pay E attention to the power supply capacity before mounting modules and if e the power supply capacity is insufficient change the combination of the D op modules e Mount a module within the number of I O points for the CPU module If the number of slots is within the available range the module can be mounted on any slot ep 6 z 2 Supported software package T For the supported versi
137. on of L6 Latter half 0 Ll O O Z Ll A A lt Start No Z0 No of words Z1 DMOV W1074 Z0 U20 BMOY WOZO 6102470 ZI Transfers W of L6 station to the local module Latter half B transmission of L6 First half Start No Z0 No of words Z1 DMOY W1068 Z0 MOV Z0 Z2 in SFR 22 K4 Divides the buffer memory address by 16 bits a Z U20 BMOV K4B0Z0 G59272 71 Transfers B of L6 station to the local module First half B transmission of L6 Latter half DMOY W107A 70 Start No Z0 No of words Z1 MOV Z0 22 SFR Z2 K4 Divides the buffer memory address by 16 bits U20 BMOY K4B0Z0 G592Z2 Z1 Transfers B of L6 station to the local module Latter half X207 W transmission of L7 First half DHOV wiog92 20 Start No Z0 No of words Z1 U20 BMOV WOZO G1024Z20 Z1 Transfers W of L7 station to the local module First half W transmission of L7 Latter half DMOV WIOAS 70 Start No Z0 No of words Z1 U20 BMOY WOZO G1024Zz0 Z1 Transfers W of L7 station to the local module Latter half B transmission of L7 First half Start No ZO No of words Z1 DMOV W1098 Z0 MOV Z0 22 SFR 22 K4 Divides the buffer memory address by 16 bits U20 BMOV K4B0ZO G59222 ZI Transfers B of L7 station to the local module First half B transmission of L7 Latter half DMOY WIOAA 70 Start No ZO No of words Z1 MOV Z0 22 SFR 22 K4 Divides the buffer memory address by 16 b
138. on of software package refer to the following 13 MELSEC L LA1S Extension Base Module User s Manual e EY Orz sae LEO LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING 2 2 Applicable Systems 2 5 2 2 2 Applicable system for L series 3 SPECIFICATIONS MELSEC A CHAPTER3 SPECIFICATIONS This chapter describes performance specifications and function list of a local module For general specifications refer to the following manual User s manual for the CPU module used Hardware Design Maintenance and Inspection 3 1 Performance Specifications This section describes the performance specifications of the MELSECNET or MELSECNET B data link system and the local module 1 Performance specifications of MELSECNET data link system and A1SJ71AP23Q Table 3 1 Performance specifications of MELSECNET data link system and A1SJ71AP23Q Specifications MELSECNET data link system MELSECNET ll composite MELSECNET mode MELSECNET Il mode mods Up to the maximum number of I O points for the CPU module used in the master station is X Maximum applicable applicable link points per station Output Y The total number of link points for slave station is equal to the number of link using points for the master station l l Link relay B 1024 points 128 byte 4096 points 512 byte Maximum link points Link register in a system W 1024 points 2048 byte 4096 points 8192 byte
139. ons for connecting and wiring cables 5 4 1 Optical fiber cable The following describes how to connect an optical fiber cable with the local module 1 Precautions for wiring a Securing of wiring space When an optical fiber cable is connected with the local module a cable bend radius is restricted For details check the specifications of the cable to be used b Laying an optical fiber cable When laying an optical fiber cable do not directly touch an optical fiber core of a plug or jack and prevent dirt or dust from attaching it If oil from hand dirt or dust is attached transmission loss may increase resulting in failure at data link In addition do not remove the cover from a connector of the module before installing an optical fiber cable O Ka Connecting disconnecting an optical fiber cable Be sure to shut off all phases of the external power supply used by the system 2 Connection of cable a Connection method An optical fiber cable connects OUT and IN as shown below OUT of the last station is connected to IN of the master station Slave station Slave station No 2 No 1 Master station Figure 5 5 Connection method 5 7 5 4 Wiring 5 4 1 Optical fiber cable PREPARATORY PROCEDURES BEFORE OPERATION MELSEG A b Connecting an optical fiber cable gt Jack Turn OFF the power supply Plug jecti Local module 6 Insert a plug fitting a projection of the q j
140. oop is placed in STOP or PAUSE status 103H 259 status of local OFF RUN STEP RUN M9254 Does not turn ON even if the host station enters STOP or b14 b14 stations except ON STOP PAUSE _ PAUSE status Automatically turns OFF when the local stations except for the host station are placed in RUN or STEP RUN status When all bits in D9248 to D9251 turn OFF M9254 turns OFF Controlled according to the error detection status of the local stations except for the host station Turns ON when any one of the local stations except for the host Errors of local 103H 259 OFF Normal station goes down in the loop M9255 stations except b15 b15 pas ON Error Automatically turns OFF when the faulty station returns to normal or when data link returns to normal by loop line switching When all bits in D9252 to D9255 turn OFF M9255 turns OFF 1 Used for the MELSECNET data link system only App 2 Appendix 1 List of Special Relays for Link APPENDICES MELSECG A Appendix 2 List of Special Registers for Link Data link information is stored as numeric values into the special registers for link The special registers for link are used in the sequence program and error locations and causes can be checked by monitoring them 0 Ll O O Z Ll A A lt The following table lists the special registers for link available for Q series local stations For those used in master and A QnA
141. or and coaxial cable Components of BCN connector Components of coaxial cable oy S a External conductor External sheath Insulator Washer Gasket RA Plug shell oO LD Clamp Contact Internal conductor Figure 3 3 Components of BNC connector and coaxial cable b How to connect BNC connector and coaxial cable 1 Remove external sheath of a coaxial cable as shown below Be careful not to damage an external conductor j Cable A A 3C 2V 15mm 5C 2V 10mm Measures for removing external sheath 2 Put a nut washer gasket and clamp through the coaxial cable and unravel the external conductor Washer Gasket 3 Cut the external conductor insulator and internal conductor in the following dimensions As for the external conductor cut it in the same dimensions as taper part of the clamp and smooth it down to the clamp Insulator Internal conductor Cable B C 3C 2V 3mm 6mm aL TX 5C 2V 7mm C Clamp and external conductor 3 7 3 2 Cable Specifications 3 2 2 Coaxial cable 3 SPECIFICATIONS MELSEC A 4 Solder a contact to the internal conductor if Soldered gt 3 5 Insert a contact assembly in 4 to a plug shell and screw a nut into the plug a shell E a 52 aie as 02 6 T EIPOINT 1 When soldering an internal conductor and a contact pay attention to the o following points e Do not swell up the soldered part e Properly solder a contact and an insulator of the cable wit
142. or details of the optical fiber cable specifications refer to the catalogs of optical fiber cables Connecting an optical fiber cable with a connector requires professional skills and special tools Also a connector dedicated to optical fiber cables is required Optical fiber cables with connectors can be purchased in Mitsubishi Electric System Service or representative In addition they can provide installation service Contact your local Mitsubishi Electric System Service or representative Table 3 5 Specifications of optical fiber cable Item SI Multicomponent glass H PCF Plastic clad Station to station distance 1km 1km Transmission loss 6dB km Core diameter 200 um Clad diameter 250 U m Applicable connector Connectors equivalent to F06 F08 Conforming to JIS C 5975 5977 Remark AAN 1 Types of optical fiber cables are as follows A type Cable for connecting the inside of a control panel B type Cable for connecting control panels inside C type Cable for connecting control panels outside D type Reinforced cable for connecting control panels outside Since there are cables for specific use including move and heat resistance contact Mitsubishi Service or representative 0600000000000000000000000000000000000000000000000000000806 3 2 Cable Specifications 3 2 1 Optical fiber cable 3 SPECIFICATIONS MELSEC A 3 2 2 Coaxial cable The following shows the specifications of a coaxial cable used in the MELSECNET data li
143. 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
144. other power cables or control cables In addition connecting FGs of the power supply module of the base unit where the local module is mounted strengthens measures against noise Coaxial cable c Connecting disconnecting a coaxial cable Be sure to shut off all phases of the external power supply used by the system 2 Connection of cable a Connection method A coaxial cable connects OUT F SD R RD and IN F RD R SD as shown below OUT F SD R RD of the last station is connected to IN F RD R SD of the master station Slave station No 2 Slave station No 1 Master station Station No 02 Station No 01 Station No 00 OUT CN OUT OUT IN Oc oO IN IN Front Figure 5 9 Connection method 5 9 5 4 Wiring 5 4 2 Coaxial cable PREPARATORY PROCEDURES BEFORE OPERATION MEL SECA b Connecting a coaxial cable gt Local module m Jack Turn OFF the power supply Plug ae Insert a plug fitting a projection of the jack into a ditch of the plug Projection O Rotate the plug in the arrow direction Ditch clockwise properly until it comes to m the position shown below gt e op zZ O SH O LL O Lu a Yn Figure 5 10 Connecting a coaxial cable c Disconnecting a coaxial cable D 2 O Z T 5 Turn OFF the power supply Rotate a plug in the arrow direction to loosen the connection Hold the plug and pull it out in the arrow direction shown below P
145. program to the CPU module turn OFF and ON the power supply or reset the CPU module When the CPU module s RUN STOP switch is set to RUN the Q series local station starts sending receiving data to from other stations Refresh ready status X7 turns ON OFF Check the program for refresh lt Examples of checking the program for refresh gt Check the following in the device batch monitor test of GX Developer e Change the B WO value of the master station and check if the B WO value of local station No 3 is changed e Change the B W180 value of local station No 3 and check if the B W180 value of the master station is changed For programs for data link with other stations and the LRDP LWTP instruction refer to the following manual Type MELSECNET MELSECNET B Data Link System Reference Manual 7 2 Program for Refresh and for Receiving LRDP LWTP Instruction T 16 OVERVIEW CONFIGURATION SYSTEM SPECIFICATIONS FUNCTIONS PROCEDURES BEFORE PREPARATORY OPERATION LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME a Z 2 2 lt x ao 0 o aa a TROUBLESHOOTING 8 TROUBLESHOOTING MELSEC A CHAPTER amp 8 TROUBLESHOOTING This chapter explains how to check the data link status and error details 1 For the master station a Connect GX Developer to identify a faulty part gt Section 8 2 Connecting GX Developer to Master Station for Error Checking b Use the special relay fo
146. r Q series 4 3 3 local stations Check the data link status or a faulty part in the above mentioned way Checks the hardware or cable wiring of a local module Section 5 5 ES POINT 1 Access to another station from peripheral or intelligent function module Access to another station is not allowed for any peripheral GX Developer GOT etc and intelligent function module e g serial communication module connected to a Q series local station Also any peripheral and special function module connected to the master station cannot access any Q series local station 23 Section 4 2 Transient Transmission Function 3 3 Function List 3 10 OVERVIEW CONFIGURATION SYSTEM OO Z Z O lt O LL O m o A FUNCTIONS PROCEDURES BEFORE PREPARATORY OPERATION LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING 3 SPECIFICATIONS MELSECG A 3 4 IO Signal for Programmable Controller CPU 3 4 1 List of I O signal The following shows the list of I O signal of a local module to the programmable controller CPU The I O signal is assigned assuming that start I O number of a local module is 0000 Replace it with the I O signal of a slot where the local module is mounted Note that a local module cannot be mounted to the main base unit The device X is an input signal from a local module to the programmable controller CPU and the device Y is an output signal from the programmable co
147. r link or special register for link of a CPU module to identify a faulty part gt Type MELSECNET MELSECNET B Data Link System Reference Manual c When the master station is faulty check the error with the ERROR LED 23 Section 8 3 Checking Error with LEDs of Link Module on Faulty Station 2 For Q series local stations a Data of the special relay for link and special register for link of a local module are refreshed into CPU module devices The faulty part can be checked by using the refreshed devices gt Appendix 1 List of Special Relays for Link Appendix 2 List of Special Registers for Link Note that the network diagnostics of GX Developer is not available for Q series local stations Check the fault by the above method b When a Q series local station is faulty check the error with the ERROR LED that is lit gt Section 8 3 Checking Error with LEDs of Link Module on Faulty Station c Check for proper cable connection 2 gt Section 5 4 Wiring 1 In the MELSECNET data link system are the slave stations connected in order of station No starting from the master station 01 02 n n lt 64 in the forward loop direction 2 Isn t any station No skipped in the setting 3 Isn t any station No duplicated in the same tier d Check the program for refresh and for receiving LRDP LWTP instruction gt Section 8 4 Checking the Program for Refresh 8 TROUBL
148. range 2 of W Points in units of words 0180H First half of link 8H oe Host station send Start number 0 to FFO 0100H parameters 9H 0 range of B Points in units of words 0100H AH Other station send Start number 0 to FFO 0000H BH range 1 of B Points in units of words 0100H CH Other station send Start number 0 to FFO 0200H DH range 2 of B Points in units of words 0180H 3 21 3 6 Details of Buffer Memory 3 6 3 Refresh information table 3 SPECIFICATIONS MELSEC A 3 6 4 LRDP instruction receive request receive result work area When a device read LRDP instruction is requested to a Q series local station from the i master station execute receive processing to the LRDP instruction in a sequence E program 25 CHAPTER 7 PROGRAMMING The following shows operations of a local module at the time of receiving the LRDP instruction z z a 50 no HH LRDP Sequence scan o f END 3 ip yA Read command 2 S E l 7 Le Read completion device A 1 scan O a 09 Read data storage device oo SAA 100 e _ Q E AA E Y ip zZ O O Link scan Ly 2 Local module E ad LRDP instruction receive request 5 Processing completed 2 ACH Se a fH Read data B4H or later 5 ZG Ti a O ano Sequence scan Read data storage device Figure 3 9 Operation of local module at the time of receiving LRDP instruction LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME
149. ries local station OS Link Local module mF CPU module module buffer memo CPU module a i Z no 8 OO Program for data link ee ee Program for data link I lt Output P instruction 4 o X400 Y400 Output 2 X480 instruction lt AAA A le O END processing END processing lt a Cyclic transmission S He amp Link refresh O io Figure 4 8 X Y communication example gt O X He 4 1 Cyclic Transmission Function 4 5 4 1 2 1 1 communication X Y communication A FUNCTIONS MELSEC A 4 2 Transient Transmission Function When a transient request is made this function allows data communication between a master station and a local station 1 Communication from a master station to a local station a Communication from a master station to a local station By executing the LRDP LWTP instruction in the sequence program of the master station data can be read from or written to local station devices T C D W b LRDP LWTP instruction receive processing Q series local stations handle the reception of the LRDP LWTP instruction with the sequence program If the LRDP LWTP instruction is received when the CPU module is in STOP status the local module will send an error response to the master station 4 LRDP LWTP inexecutable on the station 235 CHAPTER 7 PROGRAMMING Q series local station Master station Local module CPU module r
150. ries local station are different in Z i i a O processing at the time of accepting the LRDP LWTP instruction E a 1 Q series local station 59 kE The receive processing is performed to the LRDP LWTP instruction in a 26 sequence program 23 CHAPTER 7 PROGRAMMING op 6 Q series local station z Master station Local module CPU module L Fe A CN ASAS i A SR A SA Lu lios Buffer memo Tine PETA ol Dat ee land A part of the program for receiving LWTP instruction E storage area storage area Data memory storage area Device y Y UN UO write Y O T K4 5174 A e 9 D20 to D29 M Write data B D200 to D209 ie E 4 E i MOV z9 22 5 wee ee ee ee ee ee ee ee eee eee Te __ VO H4420 ZO H BMov 6299 POZA 22 Figure 1 6 LWTP instruction receive processing Q series local station e LL 2 A QnA series local station 2 oc The receive processing is performed to the LRDP LWTP instruction in the FE 50 system zug Lu O Lu The program for receiving LRDP LWTP instruction is not required T O A QnA series local station Master station Link module CPU module Command H H LWTP i Data memory storage area LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME Data memory 7 1 AAA storage area Device 4 write D20 to D29 O Z AAA gt lt ag O O a o aaa Ma a sa a a o asa o o a a o a as o aa aa E Be Figure 1 7 LWTP instruction receive processi
151. rk module Table 8 2 Checking of the program for refresh and for receiving LRDP LWTP instruction Symptom Host station remains disconnected not starting data communication cyclic transmission with other stations Link data of host station normal not sent to other stations In spite of latch setting of host station B W devices O data OFF data are sent to other stations Long sequence scan Link refresh time is longer than calculated time 8 15 Check Is CPU operating status DY10 ON Action Turn ON CPU operating status DY 10 Is host station CPU module in STOP status Set host station CPU module to RUN Is it in offline status XO ON Is link data refresh destination duplicated with CPU module device which is used for refresh parameters of MELSECNET H network module Was Refresh request DY 16 turned ON from OFF after termination of refresh Is each station send range stored in Refresh information table Buffer memory address 2H to 27H Were initial B W device values transferred to local module before data communication with other stations After B W initial value setting status X1 turned ON was CPU operating status DY 10 turned ON Was Refresh in execution DY 11 turned ON before starting refresh Also was Refresh in execution DY 11 turned OFF after termination of refresh 8 4 Checking the Program for Refresh Set it to online status Set Mode setting switc
152. rmal Error in the forward loop receiving part of the host station link dll b1 b1 dd line error ON Error module Error in the forward loop sending part of the preceding station link module 103H 259 aug Reverse loop b2 b2 line error Automatically turns OFF when the error status returns to normal 103H OFF Not in execution oe M9243 Turns ON while the host station is executing loopback b3 b3 execution ON In execution 103H Turns ON when data have not been received from the master b6 b6 unreceived ON Unreceived station Turns ON in the three tier system when a local station has not 103H 259 Data OFF Received l M9247 received data from the master station on the higher link M9247 b7 b7 unreceived ON Unreceived Description Details eTurns ON when any of the following errors occurs on the forward loop line between the host and preceding stations eAutomatically turns OFF when the error status returns to normal eTurns ON when any of the following errors occurs on the reverse loop line between the host and the next stations eCable disconnection OFF Normal e Error in the reverse loop receiving part of the host station link ON Error module Error in the reverse loop sending part of the next station link module is ON when M9208 of the master station is ON Turns ON when link parameters have not been received from the master station Automatically turns OFF upon normal reception of th
153. s 3 SPECIFICATIONS MELSEC A Remark A Overall cable distance a 1 MELSECNET data link system m The overall cable distance refers to a distance from OUT of the master station to IN of the master station via a slave station Overall cable distance 6 of MELSECNET z 50 Ez as OO Figure 3 1 Overall cable distance of MELSECNET 2 MELSECNET B data link system The overall cable distance refers to a distance between stations at both ends The overall cable distance of the MELSECNET B data link system is determined depending on communication speed The communication speed is set by the communication speed setting switch of each link module Z Z O lt x O LL O m o A lt gt Section 5 3 Part Names and Settings Y Table 3 4 Communication speed and overall cable distance F 125kbps 1200m 250kbps 600m 500kbps 400m O 1Mbps 200m E eee ct SEL RAS 508 o Figure 3 2 Overall cable distance of MELSECNET B 000000000000 0000000000000000000000000000000000000000900 LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING 3 1 Performance Specifications 3 4 3 SPECIFICATIONS 3 5 3 2 MELSEC A Cable Specifications 3 2 1 This section describes the specifications of a cable used in the MELSECNET or MELSECNET B data link system Optical fiber cable The following shows the specifications of an optical fiber cable used in the MELSECNET data link system F
154. s OUT of the executing station and IN of the other station S 5 Executing station No n Other station No n 1 Station No 01 Station No 02 OUT IN Ha DA O Q IN EA A ON O Q OUT Q Q Oo or E Data flow of Front forward loop Front Lu oc je LL Lu m N Lu x m LI e oc A gt S FE E LOr Bow MO Data flow of Coaxial cable reverse loop Figure 5 19 MELSECNET A1SJ71AR23Q LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME PROGRAMMING TROUBLESHOOTING 5 5 Self diagnostic Test 5 16 5 5 2 Station to station test PREPARATORY PROCEDURES BEFORE OPERATION MELSEC A c MELSECNET B A1SJ71AT23BQ The connection of the MELSECNET B A1SJ71AT23BQ is as follows Executing stationNon eee Other station No n 1 Terminating resistor SDA RDA Terminating resistor 1100 1 2W SDB RDB 1100 1 2W SG L I I 1 I 1 1 1 1 1 1 1 I 1 I 1 1 1 I 1 1 1 1 I 1 I 1 I 1 1 1 of vo sv y Shield Shielded twisted Shield pair cable Data flow SDA SDB of executing station RDA RDB of other station t RDA RDB of executing station SDA SDB of other station Figure 5 20 MELSECNET B A1SJ71AT23BQ 2 Switch setting Set the RUN STOP switch of the CPU module to STOP and set the DIP switch on the front of the link module as follows gt Section 5 3 Part Names and Settings Table 5 6 Switch setting Item No Set value Description Station No s
155. s changes from STOP to RUN Figure 8 1 Troubleshooting Flowchart Z E e je E o LI m D x eE 8 1 Troubleshooting Flowchart 8 2 8 TROUBLESHOOTING MELSEC A 8 1 1 When Data link is disabled in the entire system Error occurred Has system been NO powered up correctly Reset CPU module YES NO YES Was data link started Has link parameters been set for master station NO Set link parameters for master station YES NO YES Was data link started s Mode setting switch set to ONLINE 0 1 and Station No setting switch to 0 on master station NO Correct setting and reset CPU module YES NO YES Was data link started Is monitoring time set as link parameter greater than link scan time NO Correct monitoring time setting YES NO YES Was data link started O Figure 8 2 When Data link is disabled in the entire system 8 3 8 1 Troubleshooting Flowchart 8 1 1 When Data link is disabled in the entire system 8 TROUBLESHOOTING MELSECG A m E gt Check master first and last stations by O self loopback test Z l YES e Is there faulty station Replace link module on faulty station lt ag NO 9 NO Was data link started Check link cables by station to station test YES gt O 3 i 09 Figure 8 3 When Data link is disabled in the entire system Continued POINT In th
156. 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 Microsoft Windows Windows Vista Windows NT Windows XP Windows Server Visio Excel PowerPoint Visual Basic Visual C and Access are either registered trademarks or trademarks of Microsoft Corporation in the United States Japan and other countries Intel Pentium and Celeron are either registered trademarks or trademarks of Intel Corporation in the United States and other countries Ethernet is a trademark of Xerox Corp All other company names and product names used in this manual are either trademarks or registered trademarks of their respective companies SH NA 080670ENG F SH NA 080670ENG F
157. series local stations refer to the following manual gt Type MELSECNET MELSECNET B Data Link System Reference Manual Table App 2 List of special registers for link INDEX Buffer memory address Bit No Hexad ecimal 13BH D9243 Description Details Host station No Stores station No Stores station No of the host station information 0 to 64 Useful for local station to check station No of the host station D9244 Total number n Stores the number of eUsed for local stations to detect the number of slave stations in n stations slave stations the loop eStores the accumulated counts of CRC OVER and ABIF detections Receive error Stores the accumulated o 13DH 317 D9245 Detected errors are counted up to FFFFH and then counting is detection count total of receive errors ER eResetting the CPU module clears the count to 0 Stores station Nos of STOP or PAUSE status local stations except for the host station into the corresponding bits in the Stores status data of special registers for link as shown below 140H 320 D9248 l station No 1 to No 16 Device No aieas 4a a a4 a0f sols sas sa ae 301 p9249 Stores status data of station No 17 to No 32 elf a local station other than the host station goes down data before the failure will be held Local station When the corresponding bit in D9252 to D9255 is 0 the operating status relevant bit in the above special registers is enabled e
158. st Reverse loop test Repl tf LWTP instruction receive request a Ta a i LWTP instruction completion M9205 special relay for link Buffer memory address AEH Hardware failure RUN LED OFF Link card failure M9211 Link status X0 Link status M9240 1 When replacing with a Q series local station the following alternative solution can be applied to GOT communications Table App 4 Alternative solution for GOT communications Before replacement Alternative solution Send receive the link data of the devices that are used for access from the GOT Change the setting so that the GOT can access the devices refreshed on the host station elf the number of link points is insufficient install another local GOT is connected to master station to access A QnA series local station GOT is connected to A QnA series local station to access master station module to the QA1S6 O B extension base unit where the Q series local station is mounted App 10 Appendix 4 Replacing Local Station from A QnA Series to Q Series Appendix 4 1 Differences between Q series and A QnA series local stations APPENDICES MELSEC A Appendix 4 2 When utilizing an existing project of the A QnA series local station The following explanation is provided for the case of utilizing an existing project of the A QnA series local station 0 Ll O O Z Ll A A lt 1 Link parameter setting Refresh parameters The link parameter settin
159. t No Z0 No of words Z1 Divides the buffer memory address by 16 bits Transfers B of the host station to the local module Latter half W device reception1 First half Start No Z0 No of words Z1 Obtains W of the other stations from the local module First half W device reception2 First half Start No Z0 No of words Z1 Obtains W of the other stations from the local module First half W device reception1 Latter half Start No Z0 No of words Z1 Obtains W of the other stations from the local module Latter half W device reception2 Latter half Start No Z0 No of words Z1 Obtains W of the other stations from the local module Latter half X device reception Start No Z0 No of words Z1 Divides the buffer memory address by 16 bits Obtains X of the host station from the local module B device reception1 First half Start No Z0 No of words Z1 Divides the buffer memory address by 16 bits Obtains B of the other stations from the local module First half B device reception2 First half Start No Z0 No of words Z1 Divides the buffer memory address by 16 bits Obtains B of the other stations from the local module First half PROGRAMMING SD2040 C 5D2040 D SD2040 F X200 K4 U20 G172 H544E H434E H4420 H5720 Z0 Z0 Z0 Z0 BMOV BMOV BMOV OV OV OV OV DMOV MOV S
160. ta O sai 6 7 6 2 3 Link data send receive time Link scan ccccecccseecceeececseeeceeeeceueeseuseceueescseeesseeeneueenenseneas 6 8 CHAPTER7 PROGRAMMING 7 1to7 16 7 1 System Configuration and Setting Conditions occoocccocncocnccncncncncnancnncnnncnnnancnnnnnncnnnnnonanonnnncnanenors 7 1 7 2 Program for Refresh and for Receiving LRDP LWTP Instruction ccoccccocncocncoccncccnnccnoncncnanonos 7 3 CHAPTERS TROUBLESHOOTING 8 1to8 15 8 1 Troubleshooting Flowchart iii is 8 2 8 1 1 When Data link is disabled in the entire SysteM ooocconcicccncccncconnnncncnononoconannnnanonanonnnnnnanonons 8 3 8 1 2 When Data link is disabled at a specific station oooncoconncocncccnnconnnonnnonnnnnnnnnnnnnnrnnnnnnnnnnnos 8 5 8 1 3 When Error is found in data transmission oocccncnnccncocnccncncncncocnncnnonnnnnonnnnnnnnnnnnnnnnnnrnnnnnonaninos 8 7 8 1 4 When Communication error is detected in some slave stations cooocccccncccncconncnonecannnnnnos 8 12 8 2 Connecting GX Developer to Master Station for Error Checking cooccocccconcocnconicocnonnconncanicancos 8 13 8 3 Checking Error with LEDs of Link Module on Faulty Station ooccoccccocccccnconncconncconccnnnnnnnnos 8 14 9 4 Checking the Program Tor ROMO ii eee once Re aes ec ee ee 8 15 APPENDICES App 1 to App 25 Appendix 1 List of Special Relays for Link ooocoocccconcoocnoconoconoconncnonnonnnononcono
161. the following in the device batch monitor test of GX Developer 3 e Change the B WO value of the master station and check if the B WO DE value of local station No 3 is changed _ e Change the B W180 value of local station No 3 and check if the B W180 value of the master station is changed 3 For programs for data link with other stations and the LRDP LWTP instruction z refer to the following manual lt gt Type MELSECNET MELSECNET B Data Link System Reference 5 Manual 4 Program example 2 a Program overview Z This example program runs in a manner similar to program example 1 5 In program example 2 the refresh information table Buffer memory address 2H n to 27H is saved in W devices Compared with program example 1 the number of accesses to the intelligent E function module devices ULI GLJ is reduced Sequence scan time can be e shortened by approx 1ms ESO However the saved W device values will not be protected ah aAa oO LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME a Z 2 2 lt x ao 0 o aa a TROUBLESHOOTING 7 2 Program for Refresh and for Receiving LRDP LWTP Instruction T 10 PROGRAMMING MELSEC A b Device list Devices used in the program are shown Note that the local module is mounted in the position indicated as I O No X Y200 to X Y21F Table 7 3 Device list Device Description X200 Link status X201 B W initial value setting status X207 Refresh ready st
162. to SM1255 Special relay for link M9240 to M9255 SD1243 to SD1255 Special register for link D9243 to D9255 When link data are sent received Index register for device start number specification e On the receive processing of the LRDP LWTP instruction ZO Index register for start device name specification e When link data are sent received Index register for device points specification e On the receive processing of the LRDP LWTP instruction Z1 Index register for start device No specification e When link data are sent received Index register for bit device start number specification a register equivalent to ZO whose unit is converted from bit to word for index modification in link data storage area when the start number of the bit device is stored in Z0 e On the receive processing of the LRDP LWTP instruction Z2 Index register for data length specification 1 The range of device use varies depending on the link parameters of the master station 2 The range of device use varies depending on the start devices and the points that are specified by the LRDP LWTP instruction of the master station 3 Can be replaced with other devices as necessary However to avoid wrong replacements we recommend using the program examples described in the manual without changes 7 5 7 2 Program for Refresh and for Receiving LRDP LWTP Instruction PROGRAMMING c Program example SM400 MOV MOV MOV X201 BMOVP WO0 BMOVP
163. to do so may cause an electric shock fire malfunction or damage to or deterioration of the product O Insert the module fixing projection into the module fixing hole in the base unit to mount the module For the AnS series module fix it to the base unit with screws within the specified torque Incorrect module mounting may cause a malfunction failure or drop of the module O Be sure to shut off all phases of the external power supply used by the system before mounting or removing the module Failure to do so may damage the module O Do not directly touch any conductive part or electronic component of the module Doing so may cause a malfunction or failure of the module WIRING PRECAUTIONS NWARNING O Be sure to shut off all phases of the external power supply before installation or wiring Failure to do so may result in an electric shock or damage to the product CAUTION Properly solder a connector for coaxial cable Failure to do so may cause malfunction O Be careful to prevent foreign matter such as dust or wire chips from entering the module Failure to do so may cause a fire failure or malfunction O Be sure to place the communication cables or power cables in a duct or clamp them If not dangling cables may swing or inadvertently be pulled resulting in damage to the module or cables or malfunctions due to poor cable contact WIRING PRECAUTIONS CAUTION O When disconnecting a communication cable
164. to specific station Y O LL Lu a a ig E Orz Section 8 1 2 When Data link is q 2 2 disabled at a specific station lt Oe Ww O U ero Mao Is data link of link devices executable NO Section 8 1 2 When Data link is Application instruction for link is incorrect disabled at a specific station Check error code and modify sequence program LINK DATA SEND RECEIVE PROCESSING AND PROCESSING TIME Figure 8 9 When Error is found in data transmission Continued PROGRAMMING 00 Z E e je E N L m x eE 8 1 Troubleshooting Flowchart 8 10 8 1 3 When Error is found in data transmission 8 11 TROUBLESHOOTING MELSEC A Error station is remote I O station Set master station to STOP status Is data link inexecutable NO Link output Y for link input X Turn ON OFF input X of remote I O station Forcibly turn ON OFF link output Y of master station Monitor link input X of master station which corresponds to input X of EDs of output module remote I O station on remote l O station turn on or off corresponding to link output Y of master station YES Does link input X of master station turn ON OFF on monitor NO Check link parameter assignments Sequence program error Modify sequence program Figure 8 10 When Error is found in data transmission Continued 8 1 Troubleshooting Flowchart 8 1 3 When Error
165. un ote Rene ee ore rn 6 8 E A N 5 19 LOOPDackK TUNCUION sorocs io a i 4 9 LRDP LWTP instruction receive processing 1 4 4 6 M Maximum link pOIN S oocoocccoccocccccncccncocinacononnns 3 1 MELSECNET data link systeM oooccoo 2 1 MELSECNET B data link system 2 2 Mode setting sica laa 5 3 Mountable modules No of mountable modules and mountable base unit ocoooccnccnccnncccnnccoconononanincnnnns 2 4 0 QUIPput COTO TF dae iaetas 3 27 Index 1 P Program for receiving LRDP LWTP instruction 7 1 Program for refreSh cccsscccseecseeeeeeeees 7 1 App 13 PTOGTAMIMINO ars tl ai cod 7 1 R RAS TUNCUON Saa oa 4 8 S Seli lOOpback test unidad 5 13 Special register for link D9200 to D9255 lero Sian 3 26 App 3 Special relay for link M9200 to M9255 3 26 App 1 Station No Setting aratia nn 5 3 5 5 Station to station test occooccccnccccocccoccccocnnonncnnos 5 16 Steps to Create a Program for L Series App 5 T Transient Transmission Function cc0ceee 4 6 Transmission Delay Time cccccceeeseeeeeeeeeeeees 6 5 W A tate aeeasaue te asap nas aa AE 2 3 Wiring cables ocooocococooncconccononononcnconononenaninns 5 7 X X Y communication ocoocccocccccncocicococcncocncncnnonononcnos 4 5 WARRANTY Please confirm the following product warranty details before using this product
166. us Stores status data of 146H 326 I PAA station No 33 to No 48 Bits corresponding to the station Nos of faulty local stations except for host station turn to 1 Example When local station No 12 is faulty bit 11 in D9252 turns to 1 By monitoring D9252 2048 800H is identified Automatically turns to Os when faulty stations return to normal Stores status data of station No 49 to No 64 147H 327 p9255 or when data link returns to normal by loop line switching 1 Used for the MELSECNET data link system only Ap p 4 Appendix 2 List of Special Registers for Link APPENDICES MELSECG A Appendix 3 Steps to Create a Program for L Series This section shows the steps to create a program for L series Using a program of A QnS series for L series requires A QnA to Q conversion support tool 0 Ll O O Z Ll A o x 1 Launch A QnA to Q conversion support tool 2 In the menu window select Refresh program generation tool for MELSECNET II local station execute INDEX AJQOn4 Q conversion support tool Version 1 14 PRE AJQNA 0 opc EA conversion Refresh program generation tool for MELSECNET local station execute This tool gen erates the refresh program gen eration for MELSECNET 11 local station MELSECNET II MELSECNET M10 H parameter conversion tool execute This tool converts the MELSECNET Ip MELSECMET M 0 H parameter and supports AJQNA gt Q program conversion ADJ
167. xplains specifications data link setting preparatory procedures before operation programming IB 66350 and troubleshooting of the MELSECNET or MELSECNET B data link system 13JF70 Sold separately COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES 1 Method of ensuring compliance To ensure that Mitsubishi programmable controllers maintain EMC and Low Voltage Directives when incorporated into other machinery or equipment certain measures may be necessary Please refer to one of the following manuals e User s manual for the CPU module used e Safety Guidelines This manual is included with the CPU module or the base unit The CE mark on the side of the programmable controller indicates compliance with EMC and Low Voltage Directives 2 Additional measures To ensure that this product maintains EMC and Low Voltage Directives please refer to one of the manuals listed in 1 HOW TO READ THIS MANUAL The following explains how to interpret the symbols for network station types that are used in the text tables and figures 1 MELSECNET or MELSECNET B data link system Abbreviation of network type Description M station Master station for the second tier L station Local station in the second tier R station Remote I O station in the second tier L m station Local station in the second tier master station for the third tier station Local station in the third tier r station Remote I O station in the third tier 2 MELSE
Download Pdf Manuals
Related Search
Related Contents
LG Art Coolo Stylist Unidad 2 Zalman ZM-NC1500 MKV-A BOSS User`s Manual Drawing Number: SWM69000940 Sandberg HDMI cable 19M-19M LUX Line 2m CG um TRE_09-FR 無停電電源装置 WOW-700U 取扱説明書 Manual de Serviço Copyright © All rights reserved.
Failed to retrieve file