Mitsubishi Electronics A1SJ71AR23Q, A1SJ71AP23Q, A1SJ71AT23BQ User Manual

MELSECNET, MELSECNET/B Local Station Data Link Module User's Manual
-A1SJ71AP23Q
-A1SJ71AR23Q
-A1SJ71AT23BQ

SAFETY PRECAUTIONS

WARNING
CAUTION
Indicates that incorrect handling may cause hazardous conditions, resulting in death or severe injury.
Indicates that incorrect handling may cause hazardous conditions, resulting in minor or moderate injury or property damage.
(Always read these instructions before using this product)
In this manual, the safety precautions are classified into two levels: " WARNING" and " CAUTION".
Note that the 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]
WARNING
For each station's operating status in the case of a communication error in the network, refer to this manual. A 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.
CAUTION
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.
A - 1
[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 to do so may cause an electric shock, fire, malfunction, or damage to or deterioration of the product.
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.
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.
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]
WARNING
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.
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.
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.
A - 2
[WIRING PRECAUTIONS]
CAUTION
When disconnecting a communication cable 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 discharge the static electricity from
the human body. Not doing so may cause a failure or malfunction of the module.
[DISPOSAL PRECAUTIONS]
CAUTION
When disposing of the product, treat it as industrial waste.
A - 3

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.
(2) 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;
• Nuclear Power Plants and any other power plants operated by Power companies, and/or any other cases in which the public could be affected if any problem or fault occurs in the PRODUCT.
• Railway companies or Public service purposes, and/or any other cases in which establishment of a special quality assurance system is required by the Purchaser or End User.
• Aircraft or Aerospace, 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.
A - 4

REVISIONS

Correction
Correction
Addition
Correction
Correction
Correction
Addition
*The manual number is given on the bottom left of the cover.
Print Date *Manual Number Revision
Mar., 2007 SH(NA)-080670ENG-A First edition
Oct., 2007 SH(NA)-080670ENG-B
Section 2.2, 3.1
Aug., 2010 SH(NA)-080670ENG-C
SAFETY PRECAUTIONS, Section 2.2, 3.2.1, 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.
2007 MITSUBISHI ELECTRIC CORPORATION
A - 5

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

SAFETY PRECAUTIONS .................................................................................................................................A - 1
CONDITIONS OF USE FOR THE PRODUCT..................................................................................................A - 4
REVISIONS.......................................................................................................................................................A - 5
INTRODUCTION...............................................................................................................................................A - 6
CONTENTS ...................................................................................................................................................... A - 6
ABOUT MANUALS ........................................................................................................................................... A - 9
COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES.............................................................A - 9
HOW TO READ THIS MANUAL .....................................................................................................................A - 10
GENERIC TERMS AND ABBRERVIATIONS ................................................................................................. A - 11
DEFINITIONS OF TERMINOLOGY ................................................................................................................ A - 12
PACKING LIST ...............................................................................................................................................A - 13
CHAPTER1 OVERVIEW 1 - 1 to 1 - 5
1.1 Features........................................................................................................................................... 1 - 2
CHAPTER2 SYSTEM CONFIGURATION 2 - 1 to 2 - 5
2.1 Overall System Configuration .......................................................................................................... 2 - 1
2.2 Applicable Systems ......................................................................................................................... 2 - 4
2.2.1 Applicable system for Q series ................................................................................................. 2 - 4
2.2.2 Applicable system for L series.................................................................................................. 2 - 5
CHAPTER3 SPECIFICATIONS 3 - 1 to 3 - 29
3.1 Performance Specifications ............................................................................................................. 3 - 1
3.2 Cable Specifications ........................................................................................................................ 3 - 5
3.2.1 Optical fiber cable ..................................................................................................................... 3 - 5
3.2.2 Coaxial cable ............................................................................................................................ 3 - 6
3.2.3 Shielded twisted pair cable ....................................................................................................... 3 - 9
3.3 Function List .................................................................................................................................. 3 - 10
3.4 I/O Signal for Programmable Controller CPU ................................................................................ 3 - 11
3.4.1 List of I/O signal ...................................................................................................................... 3 - 11
3.4.2 Details of I/O signal................................................................................................................. 3 - 13
3.5 Buffer Memory List......................................................................................................................... 3 - 15
3.6 Details of Buffer Memory ............................................................................................................... 3 - 17
3.6.1 Precautions............................................................................................................................. 3 - 17
A - 6
3.6.2 Presence or absence of refresh information table .................................................................. 3 - 18
3.6.3 Refresh information table ....................................................................................................... 3 - 19
3.6.4 LRDP instruction receive request/receive result/work area .................................................... 3 - 22
3.6.5 LWTP instruction receive request/receive result/work area ................................................... 3 - 24
3.6.6 Special relay (for link) (M9200 to M9255)............................................................................... 3 - 26
3.6.7 Special register (for link) (D9200 to D9255) ........................................................................... 3 - 26
3.6.8 Input (X0 to X7FF) and output (Y0 to Y7FF) .......................................................................... 3 - 27
3.6.9 Link relay (B0 to BFFF) .......................................................................................................... 3 - 28
3.6.10 Link register (W0 to WFFF) .................................................................................................... 3 - 29
CHAPTER4 FUNCTIONS 4 - 1 to 4 - 11
4.1 Cyclic Transmission Function .......................................................................................................... 4 - 1
4.1.1 1 : n communication (B/W communication) .............................................................................. 4 - 1
4.1.2 1 : 1 communication (X/Y communication) ............................................................................... 4 - 5
4.2 Transient Transmission Function..................................................................................................... 4 - 6
4.3 RAS Functions................................................................................................................................. 4 - 8
4.3.1 Automatic return function.......................................................................................................... 4 - 8
4.3.2 Loopback function .................................................................................................................... 4 - 9
4.3.3 Error detection function .......................................................................................................... 4 - 11
CHAPTER5 PREPARATORY PROCEDURES BEFORE OPERATION 5 - 1 to 5 - 21
5.1 Implementation and Installation ....................................................................................................... 5 - 1
5.1.1 Handling precautions ................................................................................................................ 5 - 1
5.2 Preparatory Procedures before Operation....................................................................................... 5 - 2
5.3 Part Names and Settings ................................................................................................................. 5 - 3
5.4 Wiring............................................................................................................................................... 5 - 7
5.4.1 Optical fiber cable ..................................................................................................................... 5 - 7
5.4.2 Coaxial cable ............................................................................................................................ 5 - 9
5.4.3 Shielded twisted pair cable..................................................................................................... 5 - 11
5.5 Self-diagnostic Test ....................................................................................................................... 5 - 12
5.5.1 Self-loopback test ................................................................................................................... 5 - 13
5.5.2 Station-to-station test.............................................................................................................. 5 - 16
5.5.3 Forward loop test/reverse loop test ........................................................................................5 - 19
CHAPTER6 LINK DATA SEND/RECEIVE PROCESSING AND PROCESSING TIME
6 - 1 to 6 - 11
6.1 Link Data Send/Receive Processing ............................................................................................... 6 - 1
6.1.1 Send/receive processing overview ...........................................................................................6 - 1
6.1.2 Link refresh timing .................................................................................................................... 6 - 2
6.1.3 Link data handling in the case of a communication error ......................................................... 6 - 3
6.2 Transmission Delay Time ................................................................................................................ 6 - 5
6.2.1 Transmission delay time ........................................................................................................... 6 - 5
6.2.2 Link refresh time ....................................................................................................................... 6 - 7
6.2.3 Link data send/receive time (Link scan) ................................................................................... 6 - 8
A - 7
CHAPTER7 PROGRAMMING 7 - 1 to 7 - 16
7.1 System Configuration and Setting Conditions ................................................................................. 7 - 1
7.2 Program for Refresh and for Receiving LRDP/LWTP Instruction .................................................... 7 - 3
CHAPTER8 TROUBLESHOOTING 8 - 1 to 8 - 15
8.1 Troubleshooting Flowchart .............................................................................................................. 8 - 2
8.1.1 When "Data link is disabled in the entire system"..................................................................... 8 - 3
8.1.2 When "Data link is disabled at a specific station" ..................................................................... 8 - 5
8.1.3 When "Error is found in data transmission" .............................................................................. 8 - 7
8.1.4 When "Communication error is detected in some slave stations" .......................................... 8 - 12
8.2 Connecting GX Developer to Master Station for Error Checking................................................... 8 - 13
8.3 Checking Error with LEDs of Link Module on Faulty Station ......................................................... 8 - 14
8.4 Checking the Program for Refresh ................................................................................................ 8 - 15
APPENDICES App - 1 to App - 25
Appendix 1 List of Special Relays (for Link) ........................................................................................App - 1
Appendix 2 List of Special Registers (for Link)....................................................................................App - 3
Appendix 3 Steps to Create a Program for L Series ...........................................................................App - 5
Appendix 4 Replacing Local Station from A/QnA Series to Q Series .................................................. App - 9
Appendix 4.1 Differences between Q series and A/QnA series local stations ...............................App - 9
Appendix 4.2 When utilizing an existing project of the A/QnA series local station .......................App - 11
Appendix 5 Program for Refresh when Using Multiple Local Modules..............................................App - 13
Appendix 5.1 System configuration and setting conditions ..........................................................App - 14
Appendix 5.2 Program for refresh ................................................................................................App - 16
Appendix 6 External Dimensions.......................................................................................................App - 23
Appendix 6.1 A1SJ71AP23Q .......................................................................................................App - 23
Appendix 6.2 A1SJ71AR23Q ....................................................................................................... App - 24
Appendix 6.3 A1SJ71AT23BQ ..................................................................................................... App - 25
INDEX Index - 1 to Index - 1
A - 8

ABOUT MANUALS

Related manual
The following manuals are also related to this product. Order them by referring to the table below as necessary.
Manual name
Type MELSECNET, MELSECNET/B Data Link System Reference Manual
This manual explains specifications, data link setting, preparatory procedures before operation, programming,
and troubleshooting of the MELSECNET or MELSECNET/B data link system.
(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.
• User’s manual for the CPU module used
• 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).
Manual No.
(Model code)
IB-66350
(13JF70)
A - 9

HOW TO READ THIS MANUAL

MP
Station No.
Abbreviation
Network No.
1 to 64
M
P: Control station, NS: Normal station
1 to 239
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
l station Local station in the third tier
r station Remote I/O station in the third tier
(2) MELSECNET/H network system
(Example)
• Network No.1, control station, station No.1 1M
• Network No.1, normal station, station No.2 1N
P1
S2
(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
QA1S5 B LA1S5 B
QA1S6 B LA1S6 B
QCPU LCPU
A - 10

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/
abbreviation
Generic product name for SWnD5C-GPPW-E, SWnD5C-GPPW-EA, SWnD5C-GPPW-EV, and
GX Developer
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 (II) Generic term for the MELSECNET or MELSECNET/B data link system
Local module
Link module Abbreviation for the MELSECNET or MELSECNET/B data link module
QA1S5 B
QA1S6 B
SWnD5C-GPPW-EVA. ("n" means version 4 or later.)
"-A" and "-V" mean "volume license product" and "version-upgrade product" respectively.
Abbreviation for the A1SJ71AP23Q or A1SJ71AR23Q type MELSECNET local station data link
module and the A1SJ71AT23BQ type MELSECNET/B local station data link module
Another term for the QA1S51B extension base unit
Generic term for the QA1S65B and QA1S68B extension base units
Description
A - 11

DEFINITIONS OF TERMINOLOGY

The following explains definitions of the terms used in this manual.
Term Description
RAS
Master station
Local station
Remote I/O station
Abbreviation for Reliability, Availability, and Serviceability.
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.
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
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
program of the master station.
A - 12

PACKING LIST

Model Product name Quantity
A1SJ71AP23Q
A1SJ71AR23Q
A1SJ71AT23BQ
The followings are included in the package.
A1SJ71AP23Q type MELSECNET 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 (110 , 1/2W)
1
1
1
1
A - 13
1
POINT
MELSECNET (II)
Local module
Q series programmable controller (Main base unit)
Master station
Local station
Local station
Q series local station
(QA1S5 B extension base unit or QA1S6 B extension base unit)
OVERVIEW

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).
• A1SJ71AP23Q type MELSECNET local station data link module
• A1SJ71AR23Q type MELSECNET local station data link module
• 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.
• QA1S5 B extension base unit
• QA1S6 B extension base unit
1 - 1
Figure 1.1 MELSECNET or MELSECNET/B data link system
(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.
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
Data memory
storage area
Q series local station
Local module
CPU module
Master station
B
W
B
W
B
W
Link data
storage area
Link data
storage area
Buffer memoryBuffer memory
Data memory
storage area
B
W
Data memory
storage area
Local station
B
W
B
W
Link data
storage area
Link scan
Link refresh
Data flow (Send/receive processing)
X
Y
X
Y
Y
X
Y
X
Data memory
storage area
Q series local station
Local module
CPU module
Master station
Link data
storage area
Link data
storage area
Buffer memoryBuffer memory
Data memory
storage area
Link scan
Link refresh
Data flow (Send/receive processing)
OVERVIEW
1.1 Features
1
This section describes features of a local module.
(1) Cyclic transmission function
The data can be communicated between master and local stations cyclically.
(a) 1: n communication (B/W communication)
Data is communicated between the master station and a local station and between local stations. In this communication, ON/OFF information and 16-bit data are communicated.
1) The ON/OFF information is communicated by link relays (B).
2) The 16-bit data is communicated by link registers (W).
2
3
4
5
OVERVIEW
SYSTEM
CONFIGURATION
SPECIFICATIONS
FUNCTIONS
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).
Figure 1.3 X/Y communication data flow

1.1 Features

1 - 2
PREPARATORY
PROCEDURES BEFORE
OPERATION
6
LINK DATA SEND/
RECEIVE PROCESSING
AND PROCESSING TIME
7
PROGRAMMING
8
TROUBLESHOOTING
1
Q series local station
Local module CPU module
Link data
storage area
Buffer memory
Buffer memory
Data memory
storage area
Link scan
Link refresh
Data flow (Send/receive processing)
40
0
H
4FF
H
500
H
5FF
H
Receive processing
DMOV Z0
BMOV W0Z0 Z1
Send processing
W0 to WFF
W100 to W1FF
"A part" of the program for refresh
U0\ G4
U0\ G1024Z0
DMOV Z0
U0\ G2
BMOV W0Z0 Z1
U0\ G1024Z0
W0 to WFF
W100 to W1FF
OVERVIEW
(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.
CHAPTER 7 PROGRAMMING
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.
• 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.
Master station and local station for A/QnA series
Link module CPU module
Link data
storage area
W0 to WFF
W100 to W1FF
1 - 3
Figure 1.5 Link refresh of link data (Master station and A/QnA series local station)
1.1 Features
Data memory
storage area
W0 to WFF
W100 to W1FF
Data flow (Send/receive processing)
Link scan
Link refresh
1
Q series local station
Local module
CPU module
Link data
storage area
Buffer memory
Buffer memory
Data memory
storage area
DCH
DMOV Z0
BMOV D0Z1 Z2
Write data
Master station
Data memory
storage area
D20 to D29
Command
LWTP
Device write
D200 to D209
= K4
MOV Z2
= H4420 Z0
U0\ G174
U0\ G220
U0\ G216
U0\ G219
"A part" of the program for receiving LWTP instruction
A/QnA series local station
Link module
CPU module
Data memory
storage area
Master station
Data memory
storage area
D20 to D29
Command
LWTP
Device write
D200 to D209
OVERVIEW
(2) Transient transmission function
(a) Communication from a master station to a local station
(b) LRDP/LWTP instruction receive processing
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).
A Q series local station and an A/QnA series local station are different in processing at the time of accepting the LRDP/LWTP instruction.
1) Q series local station
The receive processing is performed to the LRDP/LWTP instruction in a sequence program.
CHAPTER 7 PROGRAMMING
1
2
3
4
OVERVIEW
SYSTEM
CONFIGURATION
SPECIFICATIONS
Figure 1.6 LWTP instruction receive processing (Q series local station)
2) A/QnA series local station
Figure 1.7 LWTP instruction receive processing (A/QnA series local station)
The receive processing is performed to the LRDP/LWTP instruction in the system. (The program for receiving LRDP/LWTP instruction is not required.)
1.1 Features
1 - 4
FUNCTIONS
5
PREPARATORY
PROCEDURES BEFORE
OPERATION
6
LINK DATA SEND/
RECEIVE PROCESSING
AND PROCESSING TIME
7
PROGRAMMING
8
TROUBLESHOOTING
1
POINT
OVERVIEW
(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.
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 of 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:
Appendix 3 Steps to Create a Program for L Series
1 - 5
1.1 Features
2
POINT
Third tier
No.1
No.2
No.3
No.4
Second tier
No.1
No.2
No.3
No.4
Optical fiber cable or coaxial cable
Optical fiber cable or coaxial cable
Station that can mount local module
Master station
Local station
Local stationLocal station
Remote I/O
station
Remote I/O
station
Local stationLocal station
Master station
Local stationLocal station Local stationLocal station
Local stationLocal station
Remote I/O
station
Remote I/O
station
Local stationLocal station
No.n
(n 64)
No.n
(n 64)
SYSTEM CONFIGURATION

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.
• Up to 64 local and remote I/O stations in total can be connected to one master station for the second tier.
• Up to 64 local and remote I/O stations in total can be connected to one master station for the third tier.
1
2
3
4
OVERVIEW
SYSTEM
CONFIGURATION
SPECIFICATIONS
Figure 2.1 MELSECNET data link system
A local module cannot be the master station or a remote I/O station since it is a module dedicated to a local station.
FUNCTIONS
5
PREPARATORY
PROCEDURES BEFORE
OPERATION
6
LINK DATA SEND/
RECEIVE PROCESSING
AND PROCESSING TIME
7
PROGRAMMING
8

2.1 Overall System Configuration

TROUBLESHOOTING
2 - 1
2
POINT
Local station Master station
Second tier
No.1
Shielded twisted pair cable
Station that can mount local module
No.3 No.2
No.4
No.1 No.3 No.2
No.4
Third tier
Shielded twisted pair cable
Local station
Local station
Master station
Remote I/O
station
Local stationLocal station Local stationLocal station Local stationLocal station
Local stationLocal station Local stationLocal station
Local stationLocal station
Local stationLocal stationLocal stationLocal station
No.n (n 31)
No.n (n 31)
SYSTEM CONFIGURATION
(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.
• Up to 31 local and remote I/O stations in total can be connected to one master station for the second tier.
• Up to 31 local and remote I/O stations in total can be connected to one master station for the third tier.
Figure 2.2 MELSECNET/B data link system
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 - 2
2.1 Overall System Configuration
2
Remark
L1
l1
l2
R3
Third tier
Station that can mount local module
Second tier
L2
m
M
LL11
l1l1
l2l2
r3
SYSTEM CONFIGURATION
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
M
1
OVERVIEW
2
Second tier
R3
L2
m
Third tier
l2
l1
Figure 2.3 When second tier is MELSECNET and third tier is MELSECNET/B
r3
Station that can mount local module
(2) When second tier is MELSECNET/B and third tier is MELSECNET
Figure 2.4 When second tier is MELSECNET/B and third tier is MELSECNET
SYSTEM
CONFIGURATION
3
SPECIFICATIONS
4
FUNCTIONS
5
PREPARATORY
PROCEDURES BEFORE
OPERATION
6
LINK DATA SEND/
RECEIVE PROCESSING
AND PROCESSING TIME
7
PROGRAMMING
2.1 Overall System Configuration
2 - 3
8
TROUBLESHOOTING
2
POINT
SYSTEM CONFIGURATION
2.2 Applicable 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 QnUDPVCPU)
QA1S5 B, QA1S6 B, or "QA6 B + A-A1S module conversion adapter"
(b) Number of mountable modules
QCPU User’s Manual (Hardware Design, Maintenance and Inspection)
• 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.
• 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:
"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 function modules, set up the identical CPU module as the control CPU.
2 - 4
(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:
• With the single CPU system
QCPU User’s Manual (Hardware Design, Maintenance and Inspection)
• With the multiple CPU system
QCPU User’s Manual (Multiple CPU System)

2.2 Applicable Systems

2.2.1 Applicable system for Q series

2
POINT
SYSTEM CONFIGURATION
1
2.2.2 Applicable system for L series
This section describes the applicable system for L series.
(1) Mountable modules and number of mountable modules
(a) Mountable modules
LCPU with a serial number (first five digits) of "16112" or later LA1S extension base unit
(b) Number of mountable modules
MELSEC-L LA1S Extension Base Unit User’s Manual
• 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.
• 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.
(2) Supported software package
For the supported version of software package, refer to the following:
MELSEC-L LA1S Extension Base Module User’s Manual
2
3
4
5
OVERVIEW
SYSTEM
CONFIGURATION
SPECIFICATIONS
FUNCTIONS
2.2 Applicable Systems

2.2.2 Applicable system for L series

2 - 5
PREPARATORY
PROCEDURES BEFORE
OPERATION
6
LINK DATA SEND/
RECEIVE PROCESSING
AND PROCESSING TIME
7
PROGRAMMING
8
TROUBLESHOOTING
3
SPECIFICATIONS

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
Item
MELSECNET mode MELSECNET II mode
Input (X) Up to the maximum number of I/O points for the CPU module used in the master station is
Maximum applicable
link points per station
Maximum link points
in a system
Maximum link points
per station
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 I/O stations: 64)
Modulation method CMI method
Transmission format Conforming to HDLC (Frame format)
Error control system
RAS function
Connector
Applicable cable
Number of I/O occupied points 32 points (Intelli: 32 points)
Internal current consumption (5VDC) 0.33A
Weight 0.30kg
Output (Y)
Link relay (B) 1024 points (128 byte) 4096 points (512 byte)
Link register
(W)
Master station
Local station
Remote I/O
station
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 (2048 byte) 4096 points (8192 byte)
1024 byte
512 byte
Number of I/O points: 512
points
Retries due to CRC (generating polynomial X
•Loopback function due to error detection and cable break
•Diagnostic function including link line check of host station etc.
2-core optical connector plug (User prepared
Optical fiber cable (User prepared
MELSECNET data link system
MELSECNET II composite
1024 byte (First half of link parameters)
1024 byte (Latter half of link parameters)
512 byte
-
16
12
+ X
+ X5 +1) and time out
*1
)
*1
)
Number of I/O points: 512
points
mode
3 - 1
* 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 Performance Specifications

3
SPECIFICATIONS
(2) Performance specifications of MELSECNET data link system and
A1SJ71AR23Q
Table 3.2 Performance specifications of MELSECNET data link system and A1SJ71AR23Q
Specifications
Item
MELSECNET mode MELSECNET II mode
Input (X) Up to the maximum number of I/O points for the CPU module used in the master station is
Maximum applicable
link points per station
Maximum link points
in a system
Maximum link points
per station
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)
Number of connected stations Up to 65 (Master station: 1, The total number of local stations and remote I/O stations: 64)
Modulation method CMI method
Transmission format Conforming to HDLC (Frame format)
Error control system
RAS function
Connector
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
Output (Y)
Link relay (B) 1024 points (128 byte) 4096 points (512 byte)
Link register
(W)
Master station
Local station
Remote I/O
station
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 (2048 byte) 4096 points (8192 byte)
1024 byte
512 byte
Number of I/O points: 512
points
Retries due to CRC (generating polynomial X
•Loopback function due to error detection and cable disconnection
•Diagnostic function including link line check of host station etc.
Connector plug for 3C-2V (User prepared):
•BNC-P-3-NiCAu-CF (DDK Ltd.)
Connector plug for 5C-2V (User prepared):
•BNC-P-5-NiCAu-CF (DDK Ltd.)
•BNC-P-5DV SA(41) (HIROSE ELECTRIC CO., LTD.)
MELSECNET data link system
MELSECNET II composite
1024 byte (First half of link parameters)
1024 byte (Latter half of link parameters)
512 byte
-
16
12
+ X
+ X5 +1) and time out
Number of I/O points: 512
points
mode
1
OVERVIEW
2
SYSTEM
CONFIGURATION
3
SPECIFICATIONS
4
FUNCTIONS
5
PREPARATORY
PROCEDURES BEFORE
OPERATION
6
3.1 Performance Specifications
LINK DATA SEND/
RECEIVE PROCESSING
AND PROCESSING TIME
7
PROGRAMMING
8
TROUBLESHOOTING
3 - 2
3
SPECIFICATIONS
(3) Performance specifications of MELSECNET/B data link system and
A1SJ71AT23BQ
Table 3.3 Performance specifications of MELSECNET/B data link system and A1SJ71AT23BQ
Specifications
Item
MELSECNET mode MELSECNET II mode
Input (X) Up to the maximum number of I/O points for the CPU module used in the master station is
Maximum applicable
link points per station
Maximum link points
in a system
Maximum link points
per station
Communication speed 125kbps/250kbps/500kbps/1Mbps
Communication method Half duplex bit serial method
Synchronization method Frame synchronization method
Transmission path Bus method
Overall cable distance
Number of connected stations Up to 32 (Master station: 1, The total number of local stations and remote I/O stations: 31)
Modulation method NRZI method
Transmission format Conforming to HDLC (Frame format)
Error control system
RAS function Diagnostic function including link line check of host station etc.
Connector Terminal block
Applicable cable Shielded twisted pair cable (User prepared)
Number of I/O occupied points 32 points (Intelli: 32 points)
Internal current consumption (5VDC) 0.66A
Weight 0.22kg
Output (Y)
Link relay (B) 1024 points (128 byte) 4096 points (512 byte)
Link register
(W)
Master station
Local station
Remote I/O
station
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 (2048 byte) 4096 points (8192 byte)
1024 byte
512 byte
Number of I/O points: 512
points
Changed due to communication speed
(125kbps: 1200m, 250kbps: 600m, 500kbps: 400m, 1Mbps: 200m)
Retries due to CRC (generating polynomial X
MELSECNET/B data link system
MELSECNET II composite
1024 byte (First half of link parameters)
1024 byte (Latter half of link parameters)
512 byte
-
16
12
+ X
+ X5 + 1) and time out
Number of I/O points: 512
points
mode
3 - 3
3.1 Performance Specifications
3
Remark
SPECIFICATIONS
Overall cable distance (1) MELSECNET data link system
The overall cable distance refers to a distance from OUT of the master station to IN of the master station via a slave station.
1
OVERVIEW
2
M
L1
L6
MELSECNET
R5
R4
Figure 3.1 Overall cable distance of MELSECNET
R2
L3
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.
Section 5.3 Part Names and Settings
Table 3.4 Communication speed and overall cable distance
Communication speed Overall cable distance
125kbps 1200m
250kbps 600m
500kbps 400m
1Mbps 200m
3
4
5
SYSTEM
CONFIGURATION
SPECIFICATIONS
FUNCTIONS
Overall cable distance of MELSECNET/B
L3ML1L2
Figure 3.2 Overall cable distance of MELSECNET/B
3.1 Performance Specifications
PREPARATORY
PROCEDURES BEFORE
OPERATION
6
LINK DATA SEND/
RECEIVE PROCESSING
AND PROCESSING TIME
7
PROGRAMMING
8
TROUBLESHOOTING
3 - 4
3
Remark
SPECIFICATIONS
3.2 Cable Specifications
This section describes the specifications of a cable used in the MELSECNET or MELSECNET/B data link system.
3.2.1 Optical fiber cable
The following shows the specifications of an optical fiber cable used in the MELSECNET data link system. For 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.
Item SI (Multicomponent glass) H-PCF (Plastic clad)
Station-to-station distance 1km 1km
Transmission loss 12dB/km 6dB/km
Core diameter
Clad diameter
Primary film
Applicable connector Connectors equivalent to F06/F08 (Conforming to JIS C 5975/5977)
Table 3.5 Specifications of optical fiber cable
200 m 200 m
220 m 250 m
250 m
-
(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.
3 - 5

3.2 Cable Specifications

3.2.1 Optical fiber cable

Loading...
+ 128 hidden pages