Toshiba AJ65VBTCU-68ADVN, AJ65VBTCU-68ADIN User Manual

Analog-Digital Converter Module Type AJ65VBTCU-68ADVN/ADIN User,s Manual
Mitsubishi Programmable Controller
A - 1 A - 1
SAFETY PRECAUTIONS
(Always read these precautions before using this equipment.)
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. Refer to the user’s manual of the CPU module to use for a description of the PLC system safety precautions. In this manual, the safety instructions are ranked as "DANGER" and "CAUTION".
!
DANGER
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 medium or slight personal injury or physical damage.
Note that the !CAUTION level may lead to a serious consequence according to the circumstances. Always follow the precautions of both levels because they are important to personal safety.
Please save this manual to make it accessible when required and always forward it to the end user.
[Design Precautions]
!
DANGER
When there are communication problems with the data link, the data for the master module will
be held. Configure an interlocking circuit in a sequence program so that the safety of the overall system is always maintained.
!
CAUTION
Do not bunch the control wires or communication cables with the main circuit or power wires, or
install them close to each other. They should be installed 100mm (3.9inch) or more from each other. Not doing so could result in noise that would cause erroneous operation.
A - 2 A - 2
[Installation Precautions]
!
CAUTION
Use the PLC in the environment that meets the general specifications contained in this Manual.
Using the PLC outside the range of the general specifications may result in electric shock, fire or malfunction, or may damage or degrade the module.
Securely fix the module to a DIN rail or securely fix it with the CC-Link connector type metal
installation fitting. Not doing so can cause a drop or malfunction.
Do not touch the conducted area of the module.
Doing so may cause module malfunctioning or breakdowns.
[Wiring Precautions]
!
CAUTION
Be sure to shut off all phases of the external power supply used by the system before installation
or wiring. Not doing so can cause the product to be damaged or malfunction.
Always ground the FG pin and FG1 pin to the protective ground conductor.
Not doing so can cause a malfunction.
Wire the module correctly after confirming the rated voltage and pin layout of the product.
Not doing so can cause a fire or failure.
Ensure that no foreign matter such as chips and wire-offcuts enter the module.
Foreign matter can cause a fire, failure or malfunction.
Do not insert the one-touch connector plug for I/O of the one-touch connector type/connector
type compact remote I/O unit into the one-touch connector for analog I/O accidentally. Doing so can cause the module to be damaged.
Always fit a non-wired, one-touch connector plug to the open one-touch connector for power
supply/FG. Not doing so can cause a failure or malfunction.
When connecting the wires or cables to the module, always run them in conduits or clamp them.
Not doing so can damage the module and cables due to loose, moved or accidentally pulled cables or can cause a malfunction due to a cable connection fault.
Do not install the control lines together with the communication cables, or bring them close to
each other. Failure to do so may cause malfunctions due to noise.
When disconnecting the communication and power supply cables from the module, do not hold
and pull the cable part. Disconnect the cables after loosening the screws in the portions connected to the module. Pulling the cables connected to the module can damage the module and cables or can cause a malfunction due to a cable connection fault.
A - 3 A - 3
[Starting and Maintenance Precautions]
!
CAUTION
Do not touch the pin while the power is on. Doing so may cause malfunction. Be sure to shut off all phases of the external power supply used by the system before cleaning.
Not doing so can cause the module to fail or malfunction.
Never disassemble or modify the module.
This may cause breakdowns, malfunctioning, injury and/or fire.
Do not drop the module or give it hard impact since its case is made of resin. Doing so can
damage the module.
Be sure to shut off all phases of the external power supply used by the system before mounting
or dismounting the module to or from the panel. Not doing so can cause the module to fail or malfunction.
Before handling the module, always touch grounded metal, etc. to discharge static electricity
from the human body. Failure to do so can cause the module to fail or malfunction.
[Disposal Precautions]
!
CAUTION
When disposing of this product, treat it as industrial waste.
A - 4 A - 4
REVISIONS
* The manual number is given on the bottom left of the back cover.
Print Date * Manual Number Revision
Apr., 2003 SH (NA)-080401E-A First Printing
Sep., 2004 SH (NA)-080401E-B
Addition
Section 4.8.3, 4.10.1 to 4.10.3
Correction
About Manuals, Section 1.2, 2.3, 3.2, 4.8.2, 4.9.2
Jul., 2005 SH (NA)-080401E-C
Correction
SAFETY PRECAUTIONS
Apr., 2007 SH (NA)-080401E-D
Correction
Section 4.3, 4.9.2, Appendix 2
Japanese Manual Version SH-080396-D
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.
© 2003 MITSUBISHI ELECTRIC CORPORATION
A - 5 A - 5
INTRODUCTION
Thank you for choosing a Mitsubishi MELSEC-A Series General Purpose Programmable Controller. Before using your new PLC, please read this manual thoroughly to gain an understanding of its functions so you can use it properly.
CONTENTS
SAFETY PRECAUTIONS..............................................................................................................................A- 1
REVISIONS ....................................................................................................................................................A- 4
INTRODUCTION............................................................................................................................................A- 5
About Manuals ...............................................................................................................................................A- 7
Conformation to the EMC Directive and Low Voltage Instruction ................................................................A- 7
About the Generic Terms and Abbreviations ................................................................................................A- 8
Product components ......................................................................................................................................A- 9
1 OVERVIEW 1- 1 to 1- 3
1.1 CC-Link Compatible Functions ................................................................................................................ 1- 1
1.2 Features ................................................................................................................................................... 1- 2
2 SYSTEM CONFIGURATION 2- 1 to 2- 6
2.1 Overall Configuration ............................................................................................................................... 2- 1
2.2 Applicable System.................................................................................................................................... 2- 3
2.3 Parts Sold Separately .............................................................................................................................. 2- 5
3 SPECIFICATION 3- 1 to 3-20
3.1 General Specification ............................................................................................................................... 3- 1
3.2 Performance Specification....................................................................................................................... 3- 2
3.3 I/O Conversion Characteristics................................................................................................................ 3- 3
3.3.1 Voltage input characteristics of the AJ68VBTCU-68ADVN ............................................................. 3- 4
3.3.2 Current input characteristics of the AJ65VBTCU-68ADIN .............................................................. 3- 5
3.3.3 Relationship between the offset/gain setting and digital output value............................................. 3- 6
3.3.4 Accuracy............................................................................................................................................ 3- 6
3.3.5 Conversion speed .............................................................................................................................3- 7
3.4 Function List .............................................................................................................................................3- 8
3.4.1 Sampling processing ......................................................................................................................... 3- 9
3.4.2 Average processing .......................................................................................................................... 3- 9
3.5 Remote I/O Signals .................................................................................................................................. 3-10
3.5.1 Remote I/O signal list ........................................................................................................................ 3-10
3.5.2 Functions of the remote I/O signals.................................................................................................. 3-13
3.6 Remote Register ...................................................................................................................................... 3-15
3.6.1 Remote register allocation ................................................................................................................ 3-15
3.6.2 A/D conversion enable/prohibit specification (Address RWwm+0
H) ............................................... 3-17
3.6.3 CH. input range setting (Address RWwm+1H, RWwm+2H) ......................................................... 3-18
3.6.4 Average processing specification (Address RWwm+3
H)................................................................. 3-19
3.6.5 CH.
Average time/number of times setting (Address RWwm+4
H to RW wm+BH)....................... 3-19
3.6.6 CH. Digital output value (Address RWrn+0H to RWrn+7H) .......................................................... 3-20
3.6.7 Error code (Address RWrn+8
H) ........................................................................................................ 3-20
A - 6 A - 6
4 SETUP AND PREPARATION BEFORE OPERATION 4- 1 to 4-23
4.1 Pre-Operation Procedure......................................................................................................................... 4- 1
4.2 Precautions When Handling ....................................................................................................................4- 1
4.3 Name of Each Part................................................................................................................................... 4- 3
4.4 Concept of Mode Select Switch Setting (Selection of Remote Device Station Compatible Version) ... 4- 6
4.5 Offset/Gain Setting................................................................................................................................... 4- 8
4.6 Station Number Setting............................................................................................................................ 4-10
4.7 Facing Direction of the Module Installation ............................................................................................. 4-10
4.8 Data Link Cable Wiring ............................................................................................................................4-11
4.8.1 Instructions for handling the CC-Link dedicated cables .................................................................. 4-11
4.8.2 Connection of the CC-Link dedicated cables................................................................................... 4-12
4.8.3 How to connect connectors .............................................................................................................. 4-13
4.9 Wiring........................................................................................................................................................ 4-14
4.9.1 Wiring precautions ............................................................................................................................ 4-14
4.9.2 Wiring of module with external equipment ....................................................................................... 4-14
4.10 How to Wire the One-Touch Connector Plug ....................................................................................... 4-16
4.10.1 Wiring procedures for the one-touch connector............................................................................. 4-16
4.10.2 Wiring procedures for the one-touch connector for communication ............................................. 4-19
4.10.3 Wiring procedures for the one-touch connector for power supply and FG ................................... 4-21
4.11 Maintenance and Inspection.................................................................................................................. 4-23
5 PROGRAMMING 5- 1 to 5-29
5.1 Programming Procedure.......................................................................................................................... 5- 1
5.2 When Remote Net Ver. 1 Mode Is Used................................................................................................. 5- 2
5.2.1 Conditions of Program Example ....................................................................................................... 5- 2
5.2.2 Program Example for Use of the QCPU (Q mode).......................................................................... 5- 4
5.2.3 Program Example for Use of the QnACPU ...................................................................................... 5- 7
5.2.4 Program Example for Use of the ACPU/QCPU (A mode) (dedicated instructions) ....................... 5- 9
5.2.5 Program Example for Use of the ACPU/QCPU (A mode) (FROM/TO instructions) ...................... 5-12
5.3 When Remote Net Ver. 2 Mode Is Used................................................................................................. 5-14
5.3.1 Conditions of program examples ...................................................................................................... 5-14
5.3.2 Setting of parameters and initialization procedure registration ....................................................... 5-17
5.3.3 Program example .............................................................................................................................. 5-20
5.4 When Remote Net Additional Mode Is Used .......................................................................................... 5-22
5.4.1 Conditions of program examples ...................................................................................................... 5-22
5.4.2 Setting of parameters and initialization procedure registration ....................................................... 5-25
5.4.3 Program example .............................................................................................................................. 5-28
6 TROUBLESHOOTING 6- 1 to 6- 6
6.1 Error Code List ......................................................................................................................................... 6- 1
6.2 Using the LED Indications to Check Errors............................................................................................. 6- 2
6.3 When the digital output value cannot be read ........................................................................................ 6- 4
6.4 Troubleshooting for the Case where the "ERR." LED of the Master Station Flickers ........................... 6- 5
APPENDIX App- 1 to App- 3
Appendix 1 Comparison, Differences and Compatibility between New and Conventional Models ........App- 1
Appendix 2 External dimension diagram...................................................................................................App- 3
INDEX Index- 1 to Index- 2
A - 7 A - 7
About Manuals
The following manuals are also related to this product.
In necessary, order them by quoting the details in the tables below.
Related Manuals
Manual Name
Manual Number
(Model Code)
CC-Link System Master/Local Module User's Manual type AJ61BT11/A1SJ61BT11
Describes the system configuration, performance specifications, functions, handling, wiring and
troubleshooting of the AJ61BT11 and A1SJ61BT11. (Optionally available)
IB-66721 (13J872)
CC-Link System Master/Local Module User's Manual type AJ61QBT11/A1SJ61QBT11
Describes the system configuration, performance specifications, functions, handling, wiring and
troubleshooting of the AJ61QBT11 and A1SJ61QBT11. (Optionally available)
IB-66722 (13J873)
CC-Link System Master/Local Module User's Manual type QJ61BT11N
Describes the system configuration, performance specifications, functions, handling, wiring and
troubleshooting of the QJ61BT11N. (Optionally available)
SH-080394E
(13JR64)
Programming Manual type AnSHCPU/AnACPU/AnUCPU/QCPU-A (A Mode) (Dedicated Instructions)
Explains the instructions extended for the AnSHCPU/AnACPU/AnUCPU/QCPU-A (A Mode).
(Optionally available)
IB-66251 (13J742)
Conformation to the EMC Directive and Low Voltage Instruction
When complying with EMC Directives and Low-Voltage Directives by assembling a Mitsubishi PLC compatible with EMC Directive and Low-Voltage Directives into the user product, refer to Chapter 3 "EMC Directives and Low-Voltage Directives" in the User’s Manual (Hardware) for the CPU module being used.
The CE logo is printed on the rating plate on the main body of the PLC that conforms to the EMC directive and low voltage instruction.
To conform this product to the EMC Directive and Low Voltage Directive, refer to the Section of "CC-Link Modules" in Chapter 3 "EMC Directive and Low Voltage Directive" of the User's Manual (Hardware) of the CPU module used.
A - 8 A - 8
About the Generic Terms and Abbreviations
Unless otherwise specified, the following generic terms and abbreviations are used in this manual to describe Type AJ65VBTCU-68ADVN/ADIN analog-digital converter module.
Generic Term/Abbreviation Description
GX Developer
Generic product name of the product types SWnD5C-GPPW-E, SWnD5C-GPPW-EA ,SWnD5C-GPPW-EV and SWnD5C-GPPW-EVA (n in the type indicates 4 or more.)
ACPU
Generic term for A0J2HCPU, A1SCPU, A1SCPUC24-R2, A1SHCPU, A1SJCPU, A1SJCPU-S3, A1SJHCPU, A1NCPU, A2NCPU, A2NCPU-S1, A3NCPU, A2SCPU, A2SHCPU, A2ACPU, A2ACPU-S1, A3ACPU, A2UCPU, A2UCPU-S1, A2USCPU, A2USCHPU-S1, A2USHCPU-S1, A3UCPU and A4UCPU
QnACPU
Generic term for Q2ACPU, Q2ACPU-S1, Q2ASCPU, Q2ASCPU-S1, Q2ASHCPU, Q2ASHCPU-S1, Q3ACPU, Q4ACPU, Q4ARCPU
QCPU (A mode) Generic term for Q02CPU-A, Q02HCPU-A, Q06HCPU-A
QCPU (Q mode)
Generic term for Q00JCPU, Q00CPU, Q01CPU, Q02CPU, Q02HCPU, Q06HCPU, Q12HCPU, Q25HCPU, Q12PHCPU and Q25PHCPU
Master station
Station that controls the data link system. One master station is required for each system.
Local station
Station having a PLC CPU and the ability to communicate with the master and other local stations.
Remote I/O station
Remote station that handles bit unit data only. (Performs input and output with external devices.) (AJ65BTB1-16D, AJ65SBTB1-16D)
Remote device station
Remote station that handles bit unit and word unit data only. (Performs input and output with external devices, and analog data exchange.)
Remote station
Generic term for remote I/O station and remote device station. (Controlled by the master station)
Intelligent device station
Station that can perform transient transmission, such as the AJ65BT-R2 (including local stations).
Master module
Generic term for QJ61BT11N, QJ61BT11, AJ61BT11, A1SJ61BT11, AJ61QBT11 and A1SJ61QBT11 when they are used as master stations.
SB
Link special relay (for CC-Link) Bit unit information that indicates the module operating status and data link status of the master station/local station. (Expressed as SB for convenience)
SW
Link special register (for CC-Link) 16 bit unit information that indicates the module operating status and data link status of the master station/local station. (Expressed as SW for convenience)
RX
Remote input (for CC-Link) Information entered in bit units from the remote station to the master station. (Expressed as RX for convenience)
RY
Remote output (for CC-Link) Information output in bit units from the master station to the remote station. (Expressed as RY for convenience)
RWw
Remote register (Write area for CC-Link) Information output in 16-bit units from the master station to the remote device station. (Expressed as RWw for convenience)
RWr
Remote register (Read area for CC-Link) Information entered in 16-bit units from the remote device station to the master station. (Expressed as RWr for convenience)
A - 9 A - 9
Product components
This product consists of the following.
Model name Product Name Quantity
Type AJ65VBTCU-68ADVN analog-digital converter module 1
AJ65VBTCU-68ADVN
Type AJ65VBTCU-68ADVN/ADIN analog-digital converter module user's manual (hardware)
1
Type AJ65VBTCU-68ADIN analog-digital converter module 1
AJ65VBTCU-68ADIN
Type AJ65VBTCU-68ADVN/ADIN analog-digital converter module user's manual (hardware)
1
1 - 1 1 - 1
MELSEC-A
1 OVERVIEW
1 OVERVIEW
This user's manual explains the specifications, handling, programming methods and others of Type AJ65VBTCU-68ADVN analog-digital converter module (hereafter abbreviated to the " AJ65VBTCU-68ADVN") and Type AJ65VBTCU-68ADIN analog­digital converter module (hereafter abbreviated to the “AJ65VBTCU-68ADIN”) which is used as a remote device station of a CC-Link system. In this manual, the AJ65VBTCU-68ADVN and AJ65VBTCU-68ADIN are generically referred to as the AJ65VBTCU-68ADVN/ADIN. The AJ65VBTCU-68ADVN/ADIN converts the analog signals (voltage or current input) from the PLC's external source to a 16-bit encoded binary data digital value.
For the explanation of this product, the conventional AJ65VBTCU-68ADV analog­digital converter module (hereafter abbreviated to the "AJ65VBTCU-68ADV") and AJ65VBTCU-68ADI analog-digital converter module (hereafter abbreviated to the "AJ65VBTCU-68ADI") are also described in some parts of this manual. In this manual, the AJ65VBTCU-68ADV and AJ65VBTCU-68ADI are generically called the AJ65VBTCU-68ADV/ADI.
1.1 CC-Link Compatible Functions
This product supports the following CC-Link functions.
• Cyclic transmission
• Expanded cyclic transmission
• Interstation cable length lessening
1
1 - 2 1 - 2
MELSEC-A
1 OVERVIEW
1.2 Features
This section gives the features of the AJ65VBTCU-68ADVN/ADIN.
(1) Selection of model according to appl ic ati on
AJ65VBTCU-68ADVN ...Voltage input on all eight channels.
AJ65VBTCU-68ADIN.....Current input on all eight channels.
(2) High accuracy
This module performs A/D conversion at the accuracy of ±0.3% relative to the maximum value of the digital output value at the operating ambient temperature of 0 to 55°C, or at ±0.2% relative to the maximum value of the digital output value at the operating ambient temperature of 25±5°C.
(3) Input range selectable per channel
You can choose the analog input range per channel to change the I/O conversion characteristics.
(4) High resol ution of 1/±4000
By changing the input range, you can choose and set the digital value resolution to either 1/4000 or 1/±4000 (Only AJ65VBTCU-68ADVN) to provide high­resolution digital values.
(5) Designation of sampling processi ng or average processing
As a conversion method, you can specify sampling processing or average processing per channel.
(6) Sharply r educibl e wiring man-hours
Wiring man-hours can be reduced sharply by adopting individual wire insulation displacement termination type one-touch connectors (no need for soldering, shield peeling and screwing) to connect the communication and power supply cables.
Connector
Soldering, peeling of the shield and screwing are unnecessary.
Push in
Each of the individual wires can be securely connected simply by pressing the side surface of the connector plug after the wires are inserted into the connector.
(7) Significant improvement of wiring performance
The above one-touch connectors for IN and OUT sides are plugged individually, greatly improving the performance of jumper wiring especially in an enclosure. (Mixed jumper wiring of the power supply cables with the I/O modules is not allowed.)
1
1 - 3 1 - 3
MELSEC-A
1 OVERVIEW
(8) Replacement of module without stoppi ng C C -Li nk system
The use of the online connectors (for communication, for power supply) allows the module to be changed without the CC-Link system being stopped.
One-touch connector plug for communication (A6CON-L5P)
One-touch connector plug for power su pply/F G (A6CON-PW5P/A6CON-PW5P-SOD)
Online connector for power supply/FG (A6CON-PWJ5P)
Online connector for communication (A6CON-LJ5P)
(9) Improved wiring workability
The connectors and setting switches are all front-mounted. This enables connections to be made only by front wiring, improving wiring workability. It also allows setting to be made after installation to an enclosure.
(10) Compatibility with conventional modules
Complete compatibility with the conventional AJ65VBTCU-68ADV/ADI module has been achieved in the ver. 1 remote device station setting. (Refer to Section
4.4.)
(11) Selection of optimum mode for system
The optimum mode can be selected according to the system. (Refer to Section
4.4.) Mode Outline
Remote net ver. 2 mode
Select this mode when configuring a new system. The number of connected remote device stations can be
increased to up to 42 in combination with the applicable master module.
Remote net additional mode
This module can be newly added to the existing system in combination with the applicable master module.
Remote net ver. 1 mode
Complete compatibility mode of the conventional remote net mode. Select this mode when system expansion is not necessary or when this module replaces the conventional one as a maintenance product.
2 - 1 2 - 1
MELSEC-A
2 SYSTEM CONFIGURATION
2 SYSTEM CONFIGURATION
This chapter describes the system configuration for use of the AJ65VBTCU­68ADVN/ADIN.
2.1 Overall Configuration
The overall configuration for use of the AJ65VBTCU-68ADVN/ADIN is shown below.
(1) Remote net ver. 1 mode
CC-Link master/local module (master station)
(QJ61BT11(N), A(1S)J61BT11, A(1S)J61QBT11)
CC-Link master/local module (local station)
(QJ61BT11(N), A(1S)J61BT11, A(1S)J61QBT11)
Ver. 1.10 compatible CC-Link dedicated cable
(Intelligent device station)
(Remote I/O station)
AJ65VBTCU-68ADVN/ADIN
(Remote device station)
(Remote device station)
3 stations occupied RX/RY: 32 points each RWr/RWw: 12 points each
Object whose
voltage/current
will be detected
2
2 - 2 2 - 2
MELSEC-A
2 SYSTEM CONFIGURATION
(2) Remote net ver. 2 mode, r emote net addi ti onal mode
CC-Link master/local module (master station)
QJ61BT11N
CC-Link master/local module (local station)
(QJ61BT11(N), A(1S)J61BT11, A(1S)J61QBT11)
Ver. 1.10 compatible CC-Link dedicated cable
(Intelligent device st atio n)
(Remote I/O station)
AJ65VBTCU-68ADVN/ADIN
(Remote device station)
(Remote device station)
1 station occupied RX/RY: 32 points each RWr/RWw: 12 points each
Object whose
voltage/current
will be detected
2
2 - 3 2 - 3
MELSEC-A
2 SYSTEM CONFIGURATION
2.2 Applicable System
This section explains the applicable system.
(1) Applicable master modul es
The following master modules can be used with the AJ65VBTCU-68ADVN/ADIN.
(a) For use in the remote net v er. 1 mode
QJ61BT11N QJ61BT11 AJ61BT11 A1SJ61BT11 AJ61QBT11 A1SJ61QBT11
(b) For use in the remote net v er. 2 mode or r emote net addi ti onal
mode
QJ61BT11N
(2) Applicable combinations
The following table indicates usability according to the combinations of the master modules, the mode setting and station information (station type) of the GX Developer network parameters, and the mode select switch setting of the module.
: Usable, : Unusable
Network Para mete r Se ttin g
Model Select Switch Setting
1
of AJ65VBTCU-
68ADVN/ADIN
Master Module
Mode setting
Station
information
(station type)
Ver. 1 remote device
station (Ver. 1 compatible
slave station)
Ver. 2 remote device
station (Ver. 2 compatible
slave station)
Remote net ver. 1
mode
Remote device
station Ver. 1 remote device station
Remote net ver. 2
mode
Ver. 2 remote device station Ver. 1 remote device station
QJ61BT11 AJ61BT11 A1SJ61BT11 AJ61QBT11 A1SJ61QBT11
Remote net
additional mode
Ver. 2 remote device station
Remote net ver. 1
mode
Remote device
station Ver. 1 remote device station
Remote net ver. 2
mode
Ver. 2 remote device station Ver. 1 remote device station
2
QJ61BT11N
Remote net
additional mode
Ver. 2 remote device station
3
1 For details, refer to Section 4.3 and Section 4.4. 2 When there is a station number used as the ver. 2 remote device station in the existing system, set the
station number of the ver. 1 remote device station to be added before that station.
3 Set the station number of the ver. 2 remote device station to be added after the station numbers used in
the existing system.
2 - 4 2 - 4
MELSEC-A
2 SYSTEM CONFIGURATION
POINT
For use in the remote net ver. 2 mode or remote net additional mode, the master module of QJ61BT11N and the peripheral software package of GX Developer Version 8.03D or later are required. For more information on the applicable modules (CPU modules, network modules) and applicable software packages, refer to the CC-Link System Master/Local Module User's Manual (Details) QJ61BT11N.
(3) Restrictions on use of CC-Link dedi cated instr uctions ( R LPA,
RRPA)
The CC-Link dedicated instructions may not be used depending on the PLC CPU and master module used. For details of the restrictions, refer to the A series master module user's manual, and the Programing Manual type AnSHCPU/AnACPU/AnUCPU/QCPU (A mode) (Dedicated Instructions). This module does not allow the use of the dedicated instructions other than RLPA and RRPA. Refer to Section 5.5 for a program example using the dedicated instructions (RLPA, RRPA).
2 - 5 2 - 5
MELSEC-A
2 SYSTEM CONFIGURATION
2.3 Parts Sold Separately
The plugs for AJ65VBTCU-68ADVN/ADIN are sold separately. Please purchase them as necessary.
Mitsubishi model
name
Part model name
(manufacturer)
Specifications
Color of
the cover
Applicable cable core size
(mm
2
)
Applicable cable
outer diameter
(mm)
Maximum
rated
current (A)
A6CON-P214
33104-6000FL
5
1.0 to 1.4 Transparent
A6CON-P220
33104-6100FL
5
0.14 to 0.2
(AWG#26 to 24)
1.4 to 2.0
2
Yellow
A6CON-P514
33104-6200FL
5
1.0 to 1.4 Red
Plug for one-touch connector
1, 4
A6CON-P520
33104-6300FL
5
0.3 to 0.5
(AWG#22 to 20)
1.4 to 2.0
3
Blue
communication line
0.5 (AWG#20)
2.2 to 3.0
One-touch connector
plug for
communication
2, 4
A6CON-L5P
35505-6000-
BOM GF
5
shielded cable (drain wire)
0.5 (AWG#20)
Red
A6CON-PW5P
35505-6080-A00
GF
5
2.2 to 3.0 Gray
One-touch connector
for power supply/FG
2, 4, 6
A6CON-PW5P-SOD
35505-6180-A00
GF
5
0.75 (0.66 to 0.98)
(AWG#18) wire diameter
0.16 mm or more
Outer insulation layer
material PVC
(Heat-resistant vinyl)
2.0 to 2.3
7
Blue
Online connector for
communication
3
A6CON-LJ5P
35720-L200-B00
AK 5
Online connector for
power supply/FG
3
A6CON-PWJ5P
35720-L200-A00
AK 5
One-touch connector
plug with terminating
resistor (including 1)
A6CON-TR11
One-touch connector plug
with terminating resister
attached for communication
(110)
1 Mitsubishi's A6CON-P includes 20 plugs. 2 Mitsubishi's A6CON- 5P includes 10 plugs. 3 Mitsubishi's A6CON- J5P includes 5 plugs. 4 Once insulation-displaced, the one-touch connector plugs cannot be reused. 5 Sumitomo 3M Co., Ltd. 6 Confirm the outer sheath diameter of the applicable cable and select the
connector.
2 - 6 2 - 6
MELSEC-A
2 SYSTEM CONFIGURATION
REMARK
The following table indicates the connectors of this module with which the above plugs/connectors are compatible.
Connector of This Module Compatible Optional Parts
One-touch connector for communication
• One-touch connector plug for communication
• Online connector for communication
• One-touch connector plug with terminating resistor One-touch connector for power supply/FG
• One-touch connector plug for power supply/FG
• Online connector for power supply/FG One-touch connector for analog I/O • Plug for one-touch connector
3 - 1 3 - 1
MELSEC-
A
3 SPECIFICATION
3 SPECIFICATION
This chapter provides the specifications of the AJ65VBTCU-68ADVN/ADIN.
3.1 General Specification
Table 3.1 indicates the general specifications of the AJ65VBTCU-68ADVN/ADIN.
Table 3.1 General specification
Item Specification
Usage ambient temperature 0 to 55°C
Storage ambient temperature -20 to 75°C
Usage ambient humidity 10 to 90%RH, no condensation
Storage ambient humidity 10 to 90%RH, no condensation
When there is intermittent vibration
Frequency Acceleration Amplitude Sweep count
10 to 57Hz
0.075mm
(0.0030inch)
57 to 150Hz
9.8m/s
2
When there is continuous vibration
Frequency Acceleration Amplitude
10 to 57Hz
0.035mm
(0.0013inch)
Vibration durability
Conforming to JIS B
3502, IEC 61131-2
57 to 150Hz
4.9m/s
2
10 times in each direction
X, Y, Z (80 minutes)
Shock durability
Conforming to JIS B 3502, IEC61131-2 (147m/s
2
, 3 times each in 3 directions)
Usage environment No corrosive gas
Usage height Less than 2000 m (less than 6562 ft.)
Installation area Within the control board
Over-voltage category *1
Less than II
Pollution level *2
Less than 2
*1 Indicates the location where the device is connected from the public cable network to the device structure wiring
area.
Category II applies to the devices to which the power is supplied from a fixed equipment.
Surge withstand voltage for devices with up to 300V of rated voltage is 2500V.
*2 This is an index which indicates the degree of conductive object generation in the environment Pollution level 2 is
when only non-conductive pollution occurs.
A temporary conductivity caused by condensation must be expected occasionally.
*3 Do not operate or store the PLC in the environment where the pressure applied is equal to greater than the
atmospheric pressure at the altitude of 0m.
Doing so may cause a malfunction. Please consult our branch office when the PLC is to be operated under
pressure.
3
3 - 2 3 - 2
MELSEC-
A
3 SPECIFICATION
3.2 Performance Specification
Table 3.2 indicates the performance specifications of the AJ65VBTCU-68ADVN/ADIN.
Table 3.2 Performance specification
Item AJ65VBTCU-68ADVN AJ65VBTCU-68ADIN
Protection class IP1XB
Voltage –10 to 0 to +10V DC (input resistance 1M )
Analog input
Current 0 to 20mA DC (input resistance 250
)
Digital output 16-bit signed binary (-4096 to +4095) 16-bit signed binary (-96 to +4095)
Accuracy
Analog input range Digital output
Ambient
temperature
0 to 55°C
Ambient
temperature
25±5°C
Max.
Resolution
-10 to +10V
User range setting 1
(-10 to +10V)
-4000 to +4000 2.5mV
0 to 5V 1.25mV 1 to 5V
AJ65VBTCU-
68ADVN (Voltage)
User range setting 2
(0 to 5V)
0 to 4000
1.0mV
0 to 20mA 5µA 4 to 20mA
AJ65VBTCU-
68ADIN
(Current)
User range setting
(0 to 20mA)
0 to 4000
±0.3%
(±12 digit
)
±0.2%
(±8 digit )
4µA
I/O characteristics, maximum resolution, accuracy (accuracy relative to maximum value of digital output value)
: digit indicates digital value. Maximum conversion speed 1ms/channel Absolute maximum input Voltage ±15 V current ±30mA Analog input points 8 channels/module CC-Link station type Remote device station (ver. 1 remote device station or ver. 2 remote device station)
Number of occupied stations
Ver. 1 remote device station (ver. 1 compatible slave station) setting:
3 stations
Ver. 2 remote device station (ver. 2 compatible slave station) setting:
1 station (Expanded cyclic setting: Quadruple)
Communication cable Ver. 1.10 compatible CC-Link dedicated cable: FANC-110SBH, FA-CBL200PSBH, CS-110
Specific isolated area
Isolation
method
Dielectric
withstand voltage
Insulation resistance
Across communication system terminals
and all analog input terminals
Photocoupler
isolation
Across power supply system terminals
and all analog input terminals
Transformer
isolation
500V AC for 1
minute
5M
or higher,
measured with 500V
DC insulation
resistance tester
Between channels Not isolated - -
Isolation specifications
Noise durability By noise simulator of 500Vp-p noise voltage, 1µs noise width and 25 to 60Hz noise frequency
External wiring system
One-touch connector for communication [Transmission circuit] (5 pins pressure welding type, the plug for the connector is sold separately) One-touch connector for power supply and FG [Unit power supply and FG] (5 pins pressure welding type, the plug for the connector is sold separately) One-touch connector for analog I/O (4 pins pressure welding type, the plug for the connector is sold separately) <Sold separately> Online connector for communication: A6CON-LJ5P
Online connector for power supply: A6CON-PWJ5P One-touch connector for communication
Communication line: Ver. 1.10 compatible CC-Link dedicated cable
0.5mm
2
(AWG#20) [ 2.2 to 3.0], shielded wire 0.5mm2 (AWG#20) One-touch connector for power supply/FG
0.66 to 0.98 mm2 (AWG#18) [ 2.2 to 3.0] Wire diameter 0.16 mm or more
Applicable wire size
One-touch connector for analog I/O
1.0 to 1.4 (A6CON-P214), 1.4 to 2.0 (A6CON-P220) [Applicable cable size: 0.14 to 0.2 mm2]
1.0 to 1.4 (A6CON-P514), 1.4 to 2.0 (A6CON-P520) [Applicable cable size: 0.3 to 0.5 mm2] TH35-7.5Fe, TH35-7.5Al (conforming to JIS C 2812)
Applicable DIN rail
CC-Link connector type metal installation fitting: A6PLT-J65V1
24V DC (20.4V to 26.4V DC, ripple factor within 5%)
Inrush current: 4.2A, within 1.2ms
External power supply
Current consumption 0.10A
Weight 0.17kg
3
3 - 3 3 - 3
MELSEC-
A
3 SPECIFICATION
3.3 I/O Conversion Characteristics
The I/O characteristics is the slope created by connecting the offset and gain values, with a straight line when converting the analog signals (voltage or current input) from an external source of the PLC to digital values. The offset value is an analog input value (voltage or current) at which the digital output value is 0. The gain value is an analog input value (voltage or current) at which the digital output value is 4000.
3 - 4 3 - 4
MELSEC-
A
3 SPECIFICATION
3.3.1 Voltage input characteristics of the AJ68VBTCU-68ADVN
The voltage input characteristic graph of the AJ65VBTCU-68ADVN is shown below.
3
2
1
4095 4000
2000
-2000
-4000
-4096
0
1
-15 -10 -5 0 5 10 1
5
Analog input voltage (V)
Analog input parcitcal value
-96
Digital output value
Number
Analog Input Range
Setting
Offset
Value
Gain
Value
Digital Output
Value*
Maximum
Resolution
1) -10 to +10V 0V 10V -4000 to +4000 2.5mV
2) 0 to 5V 0V 5V 1.25mV
3) 1 to 5V 1V 5V
0 to 4000
1.0mV
User range setting 1
(-10 to +10V)
0V 10V -4000 to +4000 2.5mV
User range setting 2
(0 to 5V)
0V 5V 0 to 4000 1.0mV
Fig. 3.1 Voltage Input Characteristic of the AJ65VBTCU-68ADVN
POINT
(1) Do not input more than ±15V. The element may be damaged. (2) If the analog input provided corresponds to the digital output value* beyond its
range, the digital output value is fixed to the maximum or minimum.
For 0 to 4000, the digital output value is within the range -96 to 4095. For -4000 to +4000, the digital output value is within the range -4096 to +4095.
(3) Within the analog input and digital output scopes of each input range, the
maximum resolution and accuracy are within the performance specification range. Outside those scopes, however, they may not fall within the performance specification range. (Avoid using the dotted line part in Fig. 3.1.)
(4) Set the offset and gain values of the user range setting within the range
satisfying the following conditions. (a) Setting range when user range setting 1 is selected: -10 to +10V
(b) Setting range when user range setting 2 is selected: 0 to 5V
(c) (Gain value) > (Offset value)
If you attempt to make setting outside the setting range of (a) or (b), the "RUN" LED flickers at 0.5s intervals. Set the values within the setting range. If you attempt to make setting outside the setting range of (c), the "RUN" LED flickers at 0.5s intervals. Make setting again.
3 - 5 3 - 5
MELSEC-
A
3 SPECIFICATION
3.3.2 Current input characteristics of the AJ65VBTCU-68ADIN
The current input characteristic graph of the AJ65VBTCU-68ADIN is shown below.
2
1
4095 4000
2000
-2000
-4000
0
4
-30 -20 -10 0 10 20 30 Analog input current (mA)
Analog input
parcitcal value
-96
Digital output value
Number
Analog Input Range
Setting
Offset
Value
Gain
Value
Digital Output
Value*
Maximum
Resolution
1) 0 to 20mA 0mA 20mA 5µA
2) 4 to 20mA 4mA 20mA
User range setting
(0 to 20mA)
0mA 20mA
0 to 4000
4µA
Fig. 3.2 Current Input Characteristic of the AJ65VBTCU-68ADIN
POINT
(1) Do not input more than ±30mA. A breakdown may result due to heat increase. (2) If the analog input provided corresponds to the digital output value* beyond its
range, the digital output value is fixed to the maximum or minimum.
For 0 to 4000, the digital output value is within the range -96 to 4095.
(3) Within the analog input and digital output scopes of each input range, the
maximum resolution and accuracy are within the performance specification range. Outside those scopes, however, they may not fall within the performance specification range. (Avoid using the dotted line part in Fig. 3.2.)
(4) Set the offset and gain values of the user range setting within the range
satisfying the following conditions. (a) Setting range when user range setting is selected: 0 to 20mA (b) (Gain value) > (Offset value)
If you attempt to make setting outside the setting range of (a), the "RUN" LED flickers at 0.5s intervals. Set the values within the setting range. If you attempt to make setting outside the setting range of (b), the "RUN" LED flickers at 0.5s intervals. Make setting again.
3 - 6 3 - 6
MELSEC-
A
3 SPECIFICATION
3.3.3 Relationship between the offset/gain setting and digital output value
The relationship between the offset/gain setting and digital output value is described.
(1) Resolution
The resolution is obtained by the following formula: (a) For the AJ65VBTCU-68ADVN:
(Gain value) - (Offset value)
Resolution =
4000
(b) For the AJ65VBTCU-68ADIN:
(Gain value) - (Offset value)
Resolution =
4000
(2) Relationship between the maximum resolution and digital output
value
The maximum resolution of the AJ65VBTCU-68ADVN/ADIN is as indicated in the performance specification. If the following is satisfied from the offset/gain setting, the digital output value does not increases /decreases by one.
(Gain value) - (Offset value)
4000
< Maximum resolution
3.3.4 Accuracy
Accuracy is relative to the maximum value of the digital output value. If you change the offset/gain setting or input range to change the input characteristic, accuracy does not change and is held within the range indicated in the performance specifications. Accuracy is within ±0.2% (±8 digit) at the operating ambient temperature of 25±5°C or within ±0.3% (±12 digit) at the operating ambient temperature of 0 to 55°C.
4000
-10V 10V
-4000
0V
Digital output value
Analog input value
Varies within the range of ±0.2% (±8 digit) at operating ambient temperature of 25±5 .
Varies within the range of ±0.3% (±12 digit) at operating ambient temperature of 0 to 55 .
0
Fig. 3.3 Accuracy of AJ65VBTCU-68ADVN
3 - 7 3 - 7
MELSEC-
A
3 SPECIFICATION
4000
0
20mA
0
Varies within the range of ±0.2% (±8 digit) at operating ambient temperature of 25±5 .
Varies within the range of ±0.3% (±12 digit) at operating ambient temperature of 0 to 55 .
Digital output value
Analog input value
Fig. 3.4 Accuracy of AJ65VBTCU-68ADIN
3.3.5 Conversion speed
Conversion speed indicates time from channel changing to A/D conversion completion. Conversion speed per channel of the AJ65VBTCU-68ADVN/ADIN is 1ms. Due to the data link processing time of the CC-Link system, there is a transmission delay until the A/D conversion value is read actually. For the data link processing time, refer to the user's manual of the master module used.
Example1) Ver. 1 remote device station (ver. 1 compatible slave station) setting
Data link processing time taken in the asynchronous mode when the master module is the QJ61BT11 (normal value)
[Calculation expression]
SM+LS×1+remote device station processing time
SM : Scan time of master station sequence program LS : Link scan time Remote device station processing time: (Number of channels used+1
)
× 1ms
: Internal processing time of AJ65VBTCU-68ADVN/ADIN
Example2) Ver. 2 remote device station (ver. 2 compatible slave station) setting
Data link processing time taken in the asynchronous mode when the master module is the QJ61BT11N (normal value)
[Calculation expression]
(a) In the case of the remote input (RX), remote register (RWw)
SM + LS × 1 × m + remote device station processing time
(b) In the case of the remote output (RY), remote register (RWr)
SM + LS × 1 × (m + 1) + remote device station processing time
SM : Scan time of master station sequence program LS : Link scan time m : Constant
1
Remote device station processing time: (Number of channels used + 1
2
)
× 1ms 1: Expanded cyclic setting is quadruple in this module, m = 7. 2: Internal processing time of AJ65VBTCU-68ADVN/ADIN
3 - 8 3 - 8
MELSEC-
A
3 SPECIFICATION
3.4 Function List
The AJ65VBTCU-68ADVN/ADIN function list is shown in table 3.3.
Table 3.3 AJ65VBTCU-68ADVN/ADIN function list
Item Description Refer to
Sampling processing
Perform A/D conversion of an analog input value one by one and store the result into
the remote register each time.
Section 3.4.1
Section 3.6.4
Average processing
Perform A/D conversion by the preset number of times or for a preset time on the
channel specified for average processing, and store the result into the remote
register.
Section 3.4.2
Section 3.6.4
A/D conversion
enable/prohibit
specification
Specify whether A/D conversion is enabled or disabled per channel.
By prohibiting the conversion for the channels which are not used, the sampling time
can be shortened.
Section 3.6.2
Can set the analog input range per channel to change the I/O conversion
characteristics.
Select the input range setting from among the following 8 types.
Input Range Set Value
-10 to +10V 0H
0 to 5V 1H
1 to 5V 2H
User range setting 1
(-10 to +10V)
3H
AJ65VBTCU-
68ADVN
User range setting 2
(0 to 5V)
4H
4 to 20mA 0H
0 to 20mA 1H
AJ65VBTCU-
68ADIN
User range setting
(0 to 20mA)
2
H
Input range changing
function
Section 3.6.3
Offset/gain setting
The offset/gain setting can be performed volumeless for each channel, and the I/O
conversion characteristics can be changed.
Section 4.4
3 - 9 3 - 9
MELSEC-
A
3 SPECIFICATION
3.4.1 Sampling processing
The A/D conversion is performed successively for the analog input, and the converted digital output values are stored in the remote register. The processing time to store the digital output value into the remote register after the sampling processing differs depending on the number of A/D conversion enabled channels.
(Processing time) Number of A/D conversion enabled channels) 1 (ms)
Maximum conversion speed
[Example] When three channels, channels 1, 2, and 3 are enabled for conversion:
3×1 = 3 (ms)
3.4.2 Average processing
The AJ65VBTCU-68ADVN/ADIN performs A/D conversion to the channel(s) for the average processing specified by the PC CPU for the set number of times or for the set time. The average is then obtained from the total value excluding the maximum and minimum values, and stored in the remote register. When the number of processing is two times or less, the sampling processing is performed. When the A/D conversion enable/prohibit setting is performed, the average processing is initialized.
(1) When the average processing specification is made for time
• Set the time in 1 ms modules.
• The number of times for processing for the set time depends on the number of A/D conversion enabled channels.
Set time
(Number of times for processing) =
(Number of A/D conversion enabled channels) × 1 (ms)
Maximum conversion speed
[Example] When the number of A/D conversion enabled channels is two, and the
set time is 1000 ms: 1000/(2 × 1)=500 times
(2) When the average processing specification is made for the number
of times
The processing time to store the average value (average of number of times) into the remote register depends on the number of A/D conversion enabled channels.
(Processing time) = (Set number of times) × (Number of A/D conversion enabled channels) × 1 (ms)
Maximum conversion speed
[Example] When two channels, channels 1 and 3 are A/D conversion enabled,
and the set number of times is 500: 500 × 2 × 1=1000 (ms)
3 - 10 3 - 10
MELSEC-
A
3 SPECIFICATION
3.5 Remote I/O Signals
This section describes the assignment and functions of the remote I/O signals.
3.5.1 Remote I/O signal list
Remote inputs (RX) mean the input signals from the AJ65VBTCU-68ADVN/ADIN to the master module, and remote outputs (RY) mean the output signals from the master module to the AJ65VBTCU-68ADVN/ADIN. In communications with the master station, the AJ65VBTCU-68ADVN/ADIN uses 32 points of the remote inputs (RX) and 32 points of the remote outputs (RY). The number of stations occupied by this module differs between ver. 1 remote device station (ver. 1 compatible slave station) setting and ver. 2 remote device station (ver. 2 compatible slave station) setting. 3 stations are occupied in the case of ver. 1 remote device station (ver. 1 compatible slave station) setting. The latter 64 points are not used. 1 station is occupied in the case of ver. 2 remote device station (ver. 2 compatible slave station) setting. Expanded cyclic setting is fixed to quadruple and the latter 32 points are not used.
3 - 11 3 - 11
MELSEC-
A
3 SPECIFICATION
(1) Remote I/O signal list for ver. 1 remote device station (ver. 1
compatible slave station) setting
Table 3.4 indicates the assignment and names of the remote I/O signals for ver. 1 remote device station (ver. 1 compatible slave station) setting.
Table 3.4 Remote I/O Signal List for Ver. 1 Remote Device Station
(Ver. 1 Compatible Slave Station) Setting
Signal direction: AJ65VBTCU-68ADVN/ADIN Master Module Signal direction: Master Module AJ65VBTCU-68ADVN/ADIN
Remote input (RX) Signal name Remote output (RY) Signal name
RXn0 CH.1 A/D conversion completion flag
RXn1 CH.2 A/D conversion completion flag
RXn2 CH.3 A/D conversion completion flag
RXn3 CH.4 A/D conversion completion flag
RXn4 CH.5 A/D conversion completion flag
RXn5 CH.6 A/D conversion completion flag
RXn6 CH.7 A/D conversion completion flag
RXn7 CH.8 A/D conversion completion flag
RXn8
to
RXnB
Reserved
RXnC
E
2
PROM write error flag
RXnD
to
RX(n+1)7
Reserved
RYn0
to
RY(n+1)7
Reserved
RX(n+1)8 Initial data processing request flag RY(n+1)8 Initial data processing completion flag
RX(n+1)9 Initial data setting completion flag RY(n+1)9 Initial data setting request flag
RX(n+1)A Error status flag RY(n+1)A Error reset request flag
RX(n+1)B Remote READY
RX(n+1)C
to
RX(n+5)F
Reserved
RY(n+1)8
to
RY(n+5)F
Reserved
POINT
The reserved devices given in Table 3.4 are used by the system and cannot be used by the user. If the user has used (turned on/off) any of them, we cannot guarantee the functions of the AJ65VBTCU-68ADVN/ADIN.
3 - 12 3 - 12
MELSEC-
A
3 SPECIFICATION
(2) Remote I/O signal list for ver. 2 remote device station (ver. 2
compatible slave station) setting
Table 3.5 indicates the assignment and names of the remote I/O signals for ver. 2 remote device station (ver. 2 compatible slave station) setting.
Table 3.5 Remote I/O Signal List for Ver. 2 Remote Device Station
(Ver. 2 Compatible Slave Station) Setting
Signal direction: AJ65VBTCU-68ADVN/ADIN Master Module Signal direction: Master Module AJ65VBTCU-68ADVN/ADIN
Remote input (RX) Signal name Remote output (RY) Signal name
RXn0 CH.1 A/D conversion completion flag
RXn1 CH.2 A/D conversion completion flag
RXn2 CH.3 A/D conversion completion flag
RXn3 CH.4 A/D conversion completion flag
RXn4 CH.5 A/D conversion completion flag
RXn5 CH.6 A/D conversion completion flag
RXn6 CH.7 A/D conversion completion flag
RXn7 CH.8 A/D conversion completion flag
RXn8
to
RXnB
Reserved
RXnC
E
2
PROM write error flag
RXnD
to
RX(n+1)7
Reserved
RYn0
to
RY(n+1)7
Reserved
RX(n+1)8 Initial data processing request flag RY(n+1)8 Initial data processing completion flag
RX(n+1)9 Initial data setting completion flag RY(n+1)9 Initial data setting request flag
RX(n+1)A Error status flag RY(n+1)A Error reset request flag
RX(n+1)B Remote READY
RX(n+1)C
to
RX(n+3)F
Reserved
RY(n+1)8
to
RY(n+3)F
Reserved
POINT
The reserved devices given in Table 3.5 are used by the system and cannot be used by the user. If the user has used (turned on/off) any of them, we cannot guarantee the functions of the AJ65VBTCU-68ADVN/ADIN.
3 - 13 3 - 13
MELSEC-
A
3 SPECIFICATION
3.5.2 Functions of the remote I/O signals
Table 3.6 explains the functions of the remote I/O signals of the AJ65VBTCU­68ADVN/ADIN.
Table 3.6 Remote I/O Signal Details (1/2)
Device No. Signal Name Description
RXn0
to
RXn7
CH.
A/D Conversion
completion flag
The A/D conversion completion flag turns on at completion of the A/D conversion of the
corresponding channel when the initial data setting request flag (RY(n+1)9) turns from
off to on after power-on.
The A/D conversion completion flag processing is processed only once when the A/D
conversion enable/prohibit specification is changed.
When changing the A/D conversion from prohibit to enable:
When the average processing is specified, the flag turns on after completing the
average processing of the number of times or time, and storing the A/D conversion
digital value in the remote register.
When changing the A/D conversion from enable to prohibit:
The corresponding channel's A/D conversion completion flag turns off.
RXnC
E
2
PROM write error flag
Turns on if the number of E
2
PROM write times exceeds its limit (100,000 times per
channel). If this flag has turned on, this module itself has failed (hardware fault) and
therefore this flag cannot be reset (turned off) by the error reset request flag.
At occurrence of this error, power on the AJ65VBTCU-68ADVN/ADIN again. If this flag
turns on after the power is switched on again, it is a hardware fault. Contact your
nearest Mitsubishi representative.
RX(n+1)8
Initial data processing
request flag
After power-on, the initial data processing request flag is turned on by the AJ65VBTCU-
68ADVN/ADIN to request the initial data to be set.
Also, after the initial data processing is complete (initial data processing completion flag
RY(n+1)8 ON), the flag is turned off.
RX(n+1)8
Initial data processing request flag
RY(n+1)8
Initial data processing completion flag
RX(n+1)9
Initial data setting completion flag
RY(n+1)9
Initial data setting request flag
RX(n+1)B
Remote ready
: Performed by sequence ladder : Performed by AJ65VBTCU-68ADVN/ADIN
RXn0 to RXn7
CH. A/D conversion completion flag
RX(n+1)9
Initial data setting
completion flag
When the initial data setting request (RY(n+1)9 ON) is made, the flag turns on after the
initial data setting completion is done.
Also, after the initial data setting is complete, the initial data setting completion flag
turns off when the initial data setting request flag turns off.
n: Address allocated to the master module by the station number setting.
3 - 14 3 - 14
MELSEC-
A
3 SPECIFICATION
Table 3.6 Remote I/O Signal Details (2/2)
Device No. Signal Name Description
RX(n+1)A Error status flag
Turns on at occurrence of an input range setting error, average time/number of times
setting error or E
2
PROM write error (RXnC).
Does not turn on at occurrence of the watchdog timer error. ("RUN" LED goes off.)
RY(n+1)A
Error reset request flag
RX(n+1)A
Error status flag
: Performed by sequence ladder : Performed by AJ65VBTCU-68ADVN/ADIN
RWrn+8
Error code
Error code
00
RX(n+1)B Remote READY
Turns on when initial data setting is completed after power-on or at termination of the
test mode.
(Used for interlocking read/write from/to the master module.)
RY(n+1)8
Initial data processing
completion flag
Turns on after initial data processing completion when initial data processing is
requested after power-on or test mode operation.
RY(n+1)9
Initial data setting request
flag
Turns on at the time of initial data setting or changing.
RY(n+1)A Error reset request flag
When this flag turns on, the error status flag (RX(n+1)A) is reset, but the E
2
PROM
write error flag (RXnC) cannot be rest and therefore the error status flag remains on.
n: Address allocated to the master module by the station number setting.
3 - 15 3 - 15
MELSEC-
A
3 SPECIFICATION
3.6 Remote Register
The AJ65VBTCU-68ADVN/ADIN has a remote resister for data communication with the master module. The remote register allocation and data structures are described.
3.6.1 Remote register allocation
(1) Remote register assignment for ver. 1 remote device station (ver. 1
compatible slave station) setting
Table 3.7 indicates the remote register assignment for ver. 1 remote device station (ver. 1 compatible slave station) setting.
Table 3.7 Remote Register Assignment for Ver. 1 Remote Device Station (Ver. 1
Compatible Slave Station) Setting
Communication direction Address Description Default value Reference section
RWwm+0H A/D conversion enable/prohibit specification 0 Section 3.6.2
RWwm+1H CH.1 to 4 input range setting 0
RWwm+2H CH.5 to 8 input range setting 0
Section 3.6.3
RWwm+3H Average processing specification 0 Section 3.6.4
RWwm+4H CH.1 average time, number of times setting 0
RWwm+5H CH.2 average time, number of times setting 0
RWwm+6H CH.3 average time, number of times setting 0
RWwm+7H CH.4 average time, number of times setting 0
RWwm+8H CH.5 average time, number of times setting 0
RWwm+9H CH.6 average time, number of times setting 0
RWwm+AH CH.7 average time, number of times setting 0
Master Remote
RWwm+B
H CH.8 average time, number of times setting 0
Section 3.6.5
RWrn+0H CH.1 digital output value 0
RWrn+1H CH.2 digital output value 0
RWrn+2v CH.3 digital output value 0
RWrn+3H CH.4 digital output value 0
RWrn+4H CH.5 digital output value 0
RWrn+5H CH.6 digital output value 0
RWrn+6H CH.7 digital output value 0
RWrn+7H CH.8 digital output value 0
Section 3.6.6
RWrn+8H Error code 0 Section 3.6.7
Remote Master
RWrn+9
H
to
RWrn+B
H
Reserved 0 ——
m, n: Address allocated to the master module by the station number setting.
POINT
Do not read or write data from or to the reserved area of the remote register. If data is read or written, we cannot guarantee the functions of the AJ65VBTCU­68ADVN/ADIN.
3 - 16 3 - 16
MELSEC-
A
3 SPECIFICATION
(2) Remote register assignment for ver. 2 remote device station (ver. 2
compatible slave station) setting
Table 3.8 indicates the remote register assignment for ver. 2 remote device station (ver. 2 compatible slave station) setting.
Table 3.8 Remote Register Assignment for Ver. 2 Remote Device Station
(Ver. 2 Compatible Slave Station) Setting
Communication direction Address Description Default value Reference section
RWwm+0H A/D conversion enable/prohibit specification 0 Section 3.6.2
RWwm+1H CH.1 to 4 input range setting 0
RWwm+2H CH.5 to 8 input range setting 0
Section 3.6.3
RWwm+3H Average processing specification 0 Section 3.6.4
RWwm+4H CH.1 average time, number of times setting 0
RWwm+5H CH.2 average time, number of times setting 0
RWwm+6H CH.3 average time, number of times setting 0
RWwm+7H CH.4 average time, number of times setting 0
RWwm+8H CH.5 average time, number of times setting 0
RWwm+9H CH.6 average time, number of times setting 0
RWwm+AH CH.7 average time, number of times setting 0
RWwm+BH CH.8 average time, number of times setting 0
Section 3.6.5
Master Remote
RWwm+C
H
to
RWwm+F
H
Reserved 0 ——
RWrn+0H CH.1 digital output value 0
RWrn+1H CH.2 digital output value 0
RWrn+2v CH.3 digital output value 0
RWrn+3H CH.4 digital output value 0
RWrn+4H CH.5 digital output value 0
RWrn+5H CH.6 digital output value 0
RWrn+6H CH.7 digital output value 0
RWrn+7H CH.8 digital output value 0
Section 3.6.6
RWrn+8H Error code 0 Section 3.6.7
Remote Master
RWrn+9
H
to
RWrn+F
H
Reserved 0 ——
m, n: Address allocated to the master module by the station number setting.
POINT
Do not read or write data from or to the reserved area of the remote register. If data is read or written, we cannot guarantee the functions of the AJ65VBTCU­68ADVN/ADIN.
3 - 17 3 - 17
MELSEC-
A
3 SPECIFICATION
3.6.2 A/D conversion enable/prohibit specification (Address RWwm+0H)
(1) Set whether A/D conversion is enabled or disabled per channel.
(2) By setting the unused channels to conversion prohibit, the sampling cycle can be
shortened.
Example) The sampling cycle when only channels 1 and 3 are set to A/D
conversion enabled:
2 (Number of channels enabled) × 1ms (Conversion speed at one channel) = 2ms
(3) Operation is performed according to the setting made for the leading edges of
initial data setting request flag (RY(n+1)9).
(4) The default setting is A/D conversion disable for all channels.
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1
CH.2 CH.1
b0
Ignored
CH.3CH.4
1: Enable A/D conversion 0: Prohibit A/D conversion
CH.6 CH.5CH.7CH.8
(5) AJ65VBTCU-68ADVN/ADIN processing when conversion is
enabled/prohibited (a) Average processing initialization
The data in the work area stored by the AJ65VBTCU-68ADVN/ADIN system to perform the average processing is initialized. For example, at a channel with the average processing specification at 50 times, if the conversion enable/prohibit is set after having completed sampling for 30 times, the 30 sampling data is all cleared, and then the average processing is performed from the initial state.
(b) A/D conversion completion flag processing
The A/D conversion completion flag processing is performed only once when the A/D conversion enable/prohibit setting is changed.
• When changed the A/D conversion from prohibit to enabled: When the average processing is specified, the flag turns on after performing the average processing for the number of time or time and storing the A/D conversion digital value in the remote register.
• When changed the A/D conversion from enabled to prohibited: The A/D conversion completion flag for the corresponding channel is turned off.
3 - 18 3 - 18
MELSEC-
A
3 SPECIFICATION
3.6.3 CH. input range setting (Address RWwm+1H, RWwm+2H)
(1) Set the analog input range per channel.
(2) Operation is performed according to the setting made for the leading edges of the
initial data setting request flag (RY(n+1)9).
(3) The default is as follows.
AJ65VBTCU-68ADVN : -10 to +10V AJ65VBTCU-68ADIN : 4 to 20mA
b15 b12 b11 b8 b7 b4 b3 b0to
CH.4
to
CH.3
to
CH.2
to
CH.1RWwm+1
b15 b12
b11 b8 b7 b4 b3 b0to
CH.8
to
CH.7
to
CH.6
to
CH.5RWwm+2
Input Range Set Value
-10 to +10V 0H
0 to 5V 1H
1 to 5V 2H
User range setting 1 (-10 to +10V) 3H
AJ65VBTCU-68ADVN
User range setting 2 (0 to 5V) 4
H
4to 20mA 0H
0 to 20mA 1H
AJ65VBTCU-68ADIN
User range setting (0 to 20mA) 2
H
POINT
If the set value is outside the setting range, error "20 " occurs, the "RUN" LED flickers at intervals of 0.1s, and all channels do not make A/D conversion.
indicates the channel No. where the error occurred.
3 - 19 3 - 19
MELSEC-
A
3 SPECIFICATION
3.6.4 Average processing specification (Address RWwm+3H)
(1) Selects between sampling processing and average processing selection and
when average processing is selected, the processing method is specified.
(2) The default is sampling processing on all channels.
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1
CH.2 CH.1
b0
CH.3CH.4CH.6 CH.5CH.7CH.8
Average processing channel specification
1: Average processing 0: Sampling processing
Time/number of times specification
1: Average time 0: Average number of times
CH.2 CH.1CH.3CH.4CH.6 CH.5CH.7CH.8
(3) Operation of average processing specification is performed according to the
setting made for the leading edges of the initial data setting request flag (RY(n+1)9).
POINT
(1) When performing an average processing specification, the average number of
processing or time must be set.
(2) When the average processing specification is not performed, the sampling
processing is performed regardless of the time/number of times setting.
3.6.5 CH. Average time/number of times setting (Address RWwm+4H to RWwm+BH)
(1) On each channel specified for average processing, the average time or average
number of times is written to the address corresponding to the channel at the remote register address RWwm+4
H to RWwM+BH.
At power-on, the average time and average number of times are 0.
(2) The setting ranges are as follows.
Number of times-based average processing: 1 to 10000 times Time-based average processing: 4 to 10000ms
(3) Operation is performed according to the setting made for the leading edges of the
initial data setting request flag (RY(n+1)9).
POINT
If the set value written is outside the above range, the corresponding channel results in error "10
, 11 " and performs A/D conversion processing using the
average time/number of times used prior to error occurrence.
indicates the channel No. where the error occurred.
3 - 20 3 - 20
MELSEC-
A
3 SPECIFICATION
3.6.6 CH.
Digital output value
(Address RWrn+0H to RWrn+7H)
(1) The digital value after the A/D conversion is stored in the remote register address
from RWrn+0
H to RWrn+7H for each channel.
(2) The digital output value is expressed in a 16-bit encoded binary.
b15b14b13b12b11b10b9b8b7b6b5b4b3b2b1b0
Date section
b12 to b14 change to 1 when the sign is negative (1 at b15) and to 0 when it is positive (0 at b15).
(
A negative digital value is expressed in 2's complement.
)
Sign bit 1: Negative 0: Positive
3.6.7 Error code (Address RWrn+8H)
If an error occurs (the RUN LED flickers) when data is written to the AJ65VBTCU­68ADVN/ADIN, the corresponding error code is stored into the remote register (address RWrn+8
H) of the AJ65VBTCU-68ADVN/ADIN.
Refer to Section 6.1 for details of the error codes.
4 - 1 4 - 1
MELSEC-
A
4 SETUP AND PREPARATION BEFORE OPERATION
4 SETUP AND PREPARATION BEFORE OPERATION
4.1 Pre-Operation Procedure
This section explains the preparatory procedure for operating the AJ65VBTCU­68ADVN/ADIN.
START
Start data link.
Make offset/gain setting?
Offset/gain setting (Refer to Section 4.5.)
END
No
Yes
Create a program.
Create a program. (Refer to Chapter 5.)
Create a program.
Mode select switch setting (refer to Section 4.3, Section 4.4)
4.2 Precautions When Handling
The precautions when handling the AJ65VBTCU-68ADVN/ADIN are described below:
CAUTION
Do not touch the pins while power is on. Doing so can cause a malfunction. Ensure that no foreign matter such as chips and wire-offcuts enter the module.
Foreign matter can cause a fire, failure or malfunction.
Do not disassemble or modify the module.
Doing so can cause a failure, malfunction, injury or fire.
Do not touch the conductive and electronic parts of the module directly.
Doing so can cause the module to malfunction or fail.
4
4 - 2 4 - 2
MELSEC-
A
4 SETUP AND PREPARATION BEFORE OPERATION
CAUTION
Dispose of the product as industrial waste. Use the module in the environment indicated in the general specifications given in
this manual. Not doing so can cause an electric shock, fire, malfunction, product damage or deterioration.
Securely fix the module to a DIN rail or securely fix it with the CC-Link connector
type fitting. Not doing so can cause a drop or malfunction.
Mount or dismount the module to or from an enclosure after switching power off
externally in all phases. Not doing so can cause the module to fail or malfunction.
Always make sure to touch the grounded metal to discharge the electricity charged
in the body, etc., before touching the module. Failure to do so may cause a failure or malfunctions of the module.
(1) When using the DIN rail adapter, install the DIN rail by making sure of the
following: (a) Applicable DIN rail models (conforming to the JIS C 2812)
TH35-7.5Fe TH35-7.5Al
(b) DIN rail installation screw interval
When installing the DIN rail, tighten the screws with less than 200mm (7.87 inch) pitches.
(2) As the CC-Link connector type metal installation fitting, use the narrow-width type
(width 41)-dedicated fitting.
(a) CC-Link connector type metal installation fitting model
A6PLT-J65V1
(3) Refer to the Master Module user's manual for specification, and manufacturers of
supported cables for the use with AJ65VBTCU-68ADVN/ADIN.
4
4 - 3 4 - 3
MELSEC-
A
4 SETUP AND PREPARATION BEFORE OPERATION
4.3 Name of Each Part
The name of each part in the AJ65VBTCU-68ADVN/ADIN is shown.
[Pin layout and signals name]
Pin arrangement Pin No. Signal name
1 DA 2 DB 3 DG 4 NC
CONA, B
5 SLD 1 CH1 V+/I+ 2 CH1 V-/I­3 NC
CON1
4 SLD 1 CH2 V+/I+ 2 CH2 V-/I­3 NC
CON2
4 SLD 1 CH3 V+/I+ 2 CH3 V-/I­3 NC
CON3
4 SLD 1 CH4 V+/I+ 2 CH4 V-/I­3 NC
CON4
4 SLD 1 CH5 V+/I+ 2 CH5 V-/I­3 NC
CON5
4 SLD 1 CH6 V+/I+ 2 CH6 V-/I­3 NC
CON6
4 SLD 1 CH7 V+/I+ 2 CH7 V-/I­3 NC
CON7
4 SLD 1 CH8 V+/I+ 2 CH8 V-/I­3 NC
CON8
4 SLD 1 FG 2 +24V(UNIT) 3 24G (UNIT) 4 AG
ON
N
AJ65VBTCU-68AD
CON
A
CON
B
L
I N K
C H 1
2
3
4
5
6
7
8
SEL
SET
SW1
POWER
RUN
L RUN
L ERR
TEST
1 2 4 8
GAIN
OFFSE T
MODE
P
O W
E
R
CON
C
CON
D
7)
9)
8)
1)
2)
5), 6)
4)
10)
3)
CON2
CON1
CONA
CONB
CON3
CON4
CON5
CON6
CON7
CON8
1234
1234
5
CONC
COND
12345
A module view from the top
CONC, D
5 FG1
4 - 4 4 - 4
MELSEC-
A
4 SETUP AND PREPARATION BEFORE OPERATION
Number
Name and
appearance
Description
POWER
ON : Power supply on OFF : Power supply off
Normal mode
On : Normal operation Flashing: 0.1s intervals : Input range setting error, mode select switch setting error.
This module is used as the Ver.2 remote device station (Ver.2 compatible slave station) when the network parameter mode is set to remote network Ver.1 mode.
0.5s intervals : Average value setting (count) time error. Mode select switch setting is changed after power-on.
Off : 24VDC power supply shutoff or watchdog timer error occurred
RUN
Test mode
On : Indicates that the SELECT/SET switch is in the SET position. Flashing : 0.1s intervals : Mode select switch setting error
0.5s intervals : An attempt was made to make setting outside the setting range at the time of offset/gain setting.
Off : Indicates that the SELECT/SET switch is in the SELECT or center position.
L RUN
On : Normal communication Off : Communication cutoff (time expiration error)
1)
Operation status display LED
L ERR.
On : Indicates that transmission speed setting or station number setting is outside the range. Flicker at fixed intervals : Indicates that transmission speed setting or station number setting
was changed from that at power-on.
Flicker at unfixed intervals : Indicates that you forgot fitting the terminating resistor or the module o
r
CC-Link dedicated cable is affected by noise. Off : Indicates normal communications. Normal mode
Normally OFF
2)
Offset/gain adjusting LEDs
TEST CH OFFSET GAIN
Test mode
TEST:ON The OFFSET/GAIN/ CH
LEDs lit change every time the SELECT/SET switch is
moved to SELECT. (Refer to section 4.5)
3)
SELECT/SET switch
Used to make offset/gain setting in the test mode.
The switch to be used for selecting the mode among Ver. remote device station (Ver. -compatible slave station)/Normal mode/Test mode
AJ65VBTCU-68ADVN AJ65VBTCU-68ADIN
Ver.1 remote
device station
(Ver.1-compatible
slave station)
0: Normal mode 1: Test mode
(User range setting 1)
2: Test mode
(User range setting 2)
Ver.1 remote
device station
(Ver.1-compatible
slave station)
0: Normal mode 1: Test mode
(User range setting)
Ver.2 remote
device station
(Ver.2-compatible
slave station)
3: Normal mode 4: Test mode
(User range setting 1)
5: Test mode
(User range setting 2)
Ver.2 remote
device station
(Ver.2-compatible
slave station)
3: Normal mode 4: Test mode
(User range setting)
- 6 to 7: Use prohibited - 2, 5 to 7: Use prohibited
4)
Mode select switch (Factory-set to "0")
4 - 5 4 - 5
MELSEC-
A
4 SETUP AND PREPARATION BEFORE OPERATION
Number
Name and
appearance
Description
Setting Switches
Set Value
4 2 1
Transmission Speed
0 OFF OFF OFF 156kbps 1 OFF OFF ON 625kbps 2 OFF ON OFF 2.5Mbps 3 OFF ON ON 5.0Mbps 4 ON OFF OFF 10Mbps
5)
Transmission speed setting switches
1
2 4
B RATE
ON
Always set the transmission speed within the above range. The switches are all factory-set to OFF. Making any other setting than the above will result in an error flickering the "L ERR." LED. Confirm the transmission speed setting switch numbers on the seal located on the side face of the connector for analog I/O. Use the switches in STATION NO. "10", "20" and "40" to set the tens of the station number. Use the switches in STATION NO. "1", "2", "4" and "8" to set the units of the station number. The switches are all factory-set to OFF. Always set the station number within the range 1 to 64. Setting any other number than 1 to 64 will result in an error, flickering the "L ERR." LED. You cannot set the same station number to two or more stations.
Tens Units
Station
Number
40 20 10 8 4 2 1 1 OFF OFF OFF OFF OFF OFF ON 2 OFF OFF OFF OFF OFF ON OFF 3 OFF OFF OFF OFF OFF ON ON 4 OFF OFF OFF OFF ON OFF OFF
10 OFF OFF ON OFF OFF OFF OFF 11 OFF OFF ON OFF OFF OFF ON
64 ON ON OFF OFF ON OFF OFF
(Example) To set the station number to "32", set the switches as indicated below.
Tens Units
Station
Number
40 20 10 8 4 2 1
32 OFF ON ON OFF OFF ON OFF
6)
Station number setting switches
STATION NO.
1 2 4 810 20 40
ON
Confirm the station number setting switch numbers on the seal located on the side face of the connector for analog I/O.
7)
One-touch connector for communication
A one-touch connector for connection of the communication line When carrying out wiring, connect two optional one-touch connector plugs for communication at top and bottom.
8)
One-touch connector for power supply and FG
A one-touch connector for connection of the module power supply line and FG. When carrying out jumper wiring, connect two optional one-touch connector plugs for power supply/FG at top and bottom.
9)
One-touch connector for analog I/O
One-touch connector for analog I/O Connect a one-touch connector plug when wiring.
10) DIN rail hook Used to mount the module to the DIN rail.
POINT
After power-on, do not change the mode select switch setting. If you change it midway during operation, the setting at power-on is valid.
4 - 6 4 - 6
MELSEC-
A
4 SETUP AND PREPARATION BEFORE OPERATION
4.4 Concept of Mode Select Switch Setting (Selection of Remote Device Station Compatible Version)
The AJ65VBTCU-68ADVN/ADIN must be handled after setting of the remote device station version according to the configuration of the used CC-Link system.
There are the following remote device stations.
• Ver. 1 remote device station (Ver. 1 compatible slave station)
• Ver. 2 remote device station (Ver. 2 compatible slave station)
Set the remote device station version with the "mode select switch" of the AJ65VBTCU-68ADVN/ADIN. Refer to Section 4.3 for details of the mode select switch. In addition, "mode setting" and "station information (station type)" in the network parameters of GX Developer must be set simultaneously. For details, refer to (2) in this section and Chapter 5 Programming.
(1) Basic concept
Use the following as a guideline in setting the remote device station version and mode select switch.
Mode Select Switch Setting Guideline for Selection
Ver. 1 remote device station
(Ver. 1 compatible slave station)
Number of occupied stations: 3 stations
In the case of the system where the maximum number of connected stations of the master station, including the AJ65VBTCU-68ADVN/ADIN that occupies 3 stations, does not exceed 64 stations.
Ver. 2 remote device station
(Ver. 2 compatible slave station)
Number of occupied stations: 1 station
In the case of the system where the maximum number of connected stations of the master station, including the AJ65VBTCU-68ADVN/ADIN that occupies 3 stations, exceeds 64 stations. (However, configure a system where the maximum number of connected stations of the master station, including the AJ65VBTCU-68ADVN/ADIN that occupies 1 station, will not exceed 64 stations.)
POINT
In the case of the system where the maximum number of connected stations of the master station, including the AJ65VBTCU-68ADVN/ADIN that occupies 3 stations, does not exceed 64 stations, set and use the ver. 1 remote device station (ver. 1 compatible slave station). It is not particularly necessary to set and use the ver. 2 remote device station (ver. 2 compatible slave station).
4 - 7 4 - 7
MELSEC-
A
4 SETUP AND PREPARATION BEFORE OPERATION
(2) Applicable combinations and setting concepts
The following table indicates usability according to the combinations of the master modules, the mode setting and station information (station type) of the GX Developer network parameters, and the mode select switch setting of the module. Refer to the following table and make selection.
: Usable, : Unusable
Network Parameter Setting
Model Select Switch Setting of
AJ65VBTCU-68ADVN/ADIN
Master Module
Mode setting
Station information
(station type)
Ver. 1 remote device
station (Ver. 1 compatible
slave station)
Ver. 2 remote device
station (Ver. 2 compatible
slave station)
Remote net ver.
1 mode
Remote device
station
Concept A Ver. 1 remote device station
Remote net ver.
2 mode
Ver. 2 remote device station Ver. 1 remote device station
QJ61BT11 AJ61BT11
A1SJ61BT11
AJ61QBT11
A1SJ61QBT11
Remote net
additional mode
Ver. 2 remote device station
Remote net ver.
1 mode
Remote device
station
Concept B Ver. 1 remote device station
Concept C
Remote net ver.
2 mode
Ver. 2 remote device station
Concept D Ver. 1 remote device station
Concept E
QJ61BT11N
Remote net
additional mode
Ver. 2 remote device station
Concept F
Setting Concept Outline
Concept A Select this concept when system expansion is not necessary. Select this concept when
the module replaces the conventional one as a maintenance product.
Concept B Select this concept when system expansion is not necessary. Select this concept when
the module replaces the conventional one as a maintenance product.
Concept C Select this concept when configuring a new system. The ver. 1 compatible slave station
and ver. 2 compatible slave station can be mixed. The ver. 1 remote device station occupies 3 stations.
Concept D Select this concept when configuring a new system. The ver. 1 compatible slave station
and ver. 2 compatible slave station can be mixed. The ver. 2 remote device station occupies 1 station, and can connect more devices. Refer to Chapter 5 Programming.
Concept E This concept allows this module to be newly added to the existing system. When there is
a station number used as the ver. 2 remote device station in the existing system, set the station number of the ver. 1 remote device station to be added before that station. The ver. 1 remote device station occupies 3 stations.
Concept F This concept allows this module to be newly added to the existing system.
Set the station number of the ver. 2 remote device station to be added after the station numbers used in the existing system. The ver. 2 remote device station occupies 1 station, and can connect more devices. Refer to Chapter 5 Programming.
POINT
For use in the remote net ver. 2 mode or remote net additional mode, the master module of QJ61BT11N and the peripheral software package of GX Developer Version 8.03D or later are required. For more information on the applicable modules (CPU modules, network modules) and applicable software packages, refer to the CC-Link System Master/Local Module User's Manual (Details) QJ61BT11N.
4 - 8 4 - 8
MELSEC-
A
4 SETUP AND PREPARATION BEFORE OPERATION
4.5 Offset/Gain Setting
When changing the I/O conversion characteristics, follow the procedure below.
Correct the gain value to a normal value.
ƒ‚hØŠ·ƒ`‚ðg1horg2h‚ÉÝ è‚·éB
RUN SELECT
On
SET
START
Every time the SELECT/SET switch is moved to "SELECT", the offset/gain adjusting LEDs lit change as shown below.
1 2 4 8 OFFSETGAIN
A
Make sure that the "RUN" LED is off.
Power ON
CH1 offset value setting
CH1 gain value setting
CH2 offset value setting
CH2 gain value setting
CH3 offset value setting
CH3 gain value setting
CH4 offset value setting
CH4 gain value setting
CH5 offset value setting
CH5 gain value setting
CH6 offset value setting
CH6 gain value setting
CH7 offset value setting
CH7 gain value setting
CH8 offset value setting
CH8 gain value setting
OnOff
ƒ‚hØŠ·ƒ`‚ðg1horg2h‚ÉÝ è‚·éB
Add the voltage or current that will be the offset value.
B
YES
NO
B
RUN SELECT
On
SET
YES
NO
C
Adjust other channels?
NO
A
Power OFF
END
Move the SELECT/SET switch to "SET". Release your hand after making sure that the "RUN" LED has turned on .
Change the lit offset/gain adjusting LEDs with the SELECT/SET switch, and make sure that the LED of the channel whose offset/gain will be set and the "GAIN" LED are lit.
Add the voltage or current that will be the gain value.
Move the SELECT/SET switch to "SET". Release your hand after making sure that the "RUN" LED has turned on .
Ver. 1 remote device station: Set to "1" or "2". Ver. 2 remote device station: Set to "4" or "5".
Does the "RUN" LED flicker at intervals of 0.5s?
Correct the offset value to a normal value.
Does the "RUN" LED flicker at intervals of 0.5s?
C
If the "RUN" LED is not lit, E2PROM may have failed. For details, refer to Section 3.5.2.
4 - 9 4 - 9
MELSEC-
A
4 SETUP AND PREPARATION BEFORE OPERATION
POINT
(1) Set the offset and gain values in the actual usage state. (2) The offset and gain values are stored on E
2
PROM in the AJ65VBTCU-
68ADVN/ADIN and are not cleared at power-off.
(3) Make offset/gain setting within the range indicated in POINT of Section 3.3.1
and Section 3.3.2. If setting is made outside this range, the maximum resolution/accuracy may not fall within the performance specifications range.
(4) When making offset/gain setting (in the test mode), set any of the following test
modes with the mode select switch.
AJ65VBTCU-68ADVN (Ver. 1 remote device station): 1, 2 AJ65VBTCU-68ADVN (Ver. 2 remote device station): 4, 5 AJ65VBTCU-68ADIN (Ver. 1 remote device station): 1
AJ65VBTCU-68ADIN (Ver. 2 remote device station): 4 The user range settings 1 selected with the mode select switch set to 1 and 4 are the same. The setting of the user range setting 1 can be changed by setting the mode select switch to either 1 or 4. This also applies to the user range settings 2 selected with the mode select switch set to 2 and 5. If the switch has been set to any unusable number, an error occurs and the "RUN" LED flickers at intervals of 0.1s.
(5) When the grounding indicated in Section 4.8.2 *5 is changed (not performed
perform, or performed to removed), repeat the offset/gain setting from the start.
4 - 10 4 - 10
MELSEC-
A
4 SETUP AND PREPARATION BEFORE OPERATION
4.6 Station Number Setting
The station number setting of the AJ65VBTCU-68ADVN/ADIN determines the buffer memory addresses of the master module where the remote I/O signals and read/write data are stored. For details, refer to the user's manual of the master module used.
4.7 Facing Direction of the Module Installation
The AJ65VBTCU-68ADVN/ADIN module may be installed in any of six orientations using a DIN rail or CC-Link connector type fitting. (There are no restrictions on the facing directions.)
DIN rail
Front installation
Flat installation
Ceilling installation
4 - 11 4 - 11
MELSEC-
A
4 SETUP AND PREPARATION BEFORE OPERATION
4.8 Data Link Cable Wiring
This section explains the wiring of the CC-Link dedicated cable used for connection of the AJ65VBTCU-68ADVN/ADIN and master module.
4.8.1 Instructions for handling the CC-Link dedicated cables
Do not handle the CC-Link dedicated cables roughly as described below. Doing so can damage the cables.
Compact with a sharp object. Twist the cable excessively. Pull the cable hard. (more than the permitted elasticity.) Step on the cable. Place an object on the top. Scratch the cable's protective layer.
4 - 12 4 - 12
MELSEC-
A
4 SETUP AND PREPARATION BEFORE OPERATION
4.8.2 Connection of the CC-Link dedicated cables
Connect the CC-Link dedicated cable between the AJ65VBTCU-68ADVN/ADIN and master module as shown below.
The power cables cannot be conected with the other remote I/O module having the one-touch connector for power supply.
One-touch connector plug for power supply/FG (A6CON-PW5P/A6CON-PW5P-SOD)
Online connector for communication (A6CON-LJ5P)
1 2 3 4 5
1 2 3 4 5
FG
CONC
1 2 3 4 5
1
2 3 4 5
FG
COND
+24V (UNIT)
24G (UNIT)
AG FG1
+24V (UNIT)
24G (UNIT) AG FG1
DC24V
One-touch connector plug for communication (A6CON-L5P)
Online connector for power supply/FG (A6CON-PWJ5P)
Online connector for power supply/FG
[Power supply/FG cable wiring diagram]
External supply power cable (IN)
External supply power cable (OUT)
One-touch connector plug with terminating resistor
5432 1
54321
A6CON-TR11
Always fit a non-wired connector to the open connector for power supply/FG.
Online connector for communication
DA
DB
DG
SLD
FG
NC
NC
NC
NC
NC
Master station
Terminating resistor
Ver.1.10 Compatible CC-Link dedicated cable (FANC-110SBH, CS-110, FA-CBL200PSBH)
(Blue)
(White)
(Yellow)
[CC-Link dedicated cable wiring diagram]
Online connector for communication
1 2 3 4 5
1 2 3 4 5
DA DB DG NC SLD
CONA
1 2 3 4 5
1 2 3 4 5
DA DB DG NC SLD
CONB
1 2 3 4 5
1 2 3 4 5
DA DB DG NC SLD
CONA
1 2 3 4 5
1 2 3 4 5
DA DB DG NC SLD
CONB
Terminating resistor (A6CON-TR11)
4 - 13 4 - 13
MELSEC-
A
4 SETUP AND PREPARATION BEFORE OPERATION
POINT
• On this unit, use the Ver. 1.10-compatible CC-Link dedicated cable (FANC­110SBH, CS-110, FA-CBL200PSBH). You cannot use the Ver. 1.10-compatible CC-Link dedicated cables of other than the above types, CC-Link dedicated cables and CC-Link dedicated, high­performance cables.
• The shield cable of the CC-Link dedicated cable should be connected to "SLD" in each module, and both ends should be grounded through "FG". SLD and FG are connected inside the module.
4.8.3 How to connect connectors
The following shows how to connect the one-touch connectors and online connectors.
One-touch connector plug for communication (A6CON-L5P)
One-touch connector plug for power supply/FG (A6CON-PW5P/A6CON-PW5P-SOD)
Online connector for power supply/FG (A6CON-PWJ5P)
Online connector for communication (A6CON-LJ5P)
4 - 14 4 - 14
MELSEC-
A
4 SETUP AND PREPARATION BEFORE OPERATION
4.9 Wiring
This section provides the instructions for wiring the AJ65VBTCU-68ADVN/ADIN and its wiring with external equipment.
4.9.1 Wiring precautions
To obtain maximum performance from the functions of AJ65VBTCU-68ADVN/ADIN and improve the system reliability, an external wiring with high durability against noise is required. The precautions when performing external wiring are as follows: (1) Use separate cables for the AC and AJ65VBTCU-68ADVN/ADIN external input
signals, in order not to be affected by the AC side surge or conductivity.
(2) Do not bundle or place with load carrying wires other than the main circuit line,
high voltage line or PLC. Noises, surges, or conductivity may affect the system.
(3) Place a one-point grounding on the PLC side for the shielded line or shielded
cable. However, depending on the external noise conditions, it may be better have a grounding externally.
4.9.2 Wiring of module with external equipment
(1) AJ65VBTCU-68ADVN
CH.1 V+
CH.1 V-
NC
SLD
CH.8 V+ CH.8 V-
NC
SLD
FG1
CON1 CH.1
CON8 CH.8
AG
1 2 3 4
1 2 3 4
Signal souce 0 to 10V
3
1 Shield
1 Shield
500k
500k
500k
500k
4 - 15 4 - 15
MELSEC-
A
4 SETUP AND PREPARATION BEFORE OPERATION
(2) AJ65VBTCU-68ADIN
1 Shield
2
FG1
Signal souce 0 to 20mA
AG
250
CH.8 I+
CH.8 I-
NC SLD
CON8 CH.8
1 2 3 4
250
CH.1 I+
CH.1 I-
NC SLD
CON1 CH.1
1 2 3 4
1 Shield
2
500k
500k
500k
500k
3
1 Use a two-core twisted shield line for the power cable. 2 Indicates the AJ65VBTCU-68ADIN input resistor. 3 Always perform grounding for FG1. When there is a lot of noise, it may be better ground AG
as well. If the grounding wiring (grounding yes/no) is changed after the offset and gain are set, perform the setting of the offset/gain values again.
POINT
• A/D conversion values are fluctuated by self-heating within approx. 30 minutes
after power is turned ON.
• Do not insert the one-touch connector plug for I/O of the one-touch connector
type/connector type compact remote I/O unit into the one-touch connector for analog I/O accidentally. Doing so can cause the module to be damaged.
• In an unused channel, if terminals remain open, an erratic digital value may be
output. To prevent this, take any of the following measures.
1. Select Prohibit in the A/D conversion enable/prohibit setting for the unused channel. Note that changing the setting from Enable to Prohibit will reduce the sampling cycle.
2. Short-circuit the input terminals (terminal V+ and V-) of the unused channel.
3. Connect the AG terminal to the GND terminal of the external device.
4 - 16 4 - 16
MELSEC-
A
4 SETUP AND PREPARATION BEFORE OPERATION
4.10 How to Wire the One-Touch Connector Plug
This section describes the way to wire the one-touch connector plug. Refer to section 2.3 for more information on the types and specifications of the one­touch connector plugs which conform to the AJ65VBTCU-68ADVN/ADIN.
4.10.1 Wiring procedures for the one-touch connector
The following are the wiring procedures for the one-touch connector.
Plug cover
Plug body
Metal contact
1) Check the connector. Check that the plug cover is attached to the plug body.
Note: Do not push the plug cover into the plug body.
Once pressed, the plug cannot be used any more.
[Termination using soldering]
Termination using soldering
V+
V-
SLD
One-touch connector plug for analog I/O
Connect the applicable cable ( 1).
Disentangle and twist the shield and cut them to proper length.
[Termination using crimping sleeves]
V+
V-
Termination using crimping sleeves Example: Butt joint
One-touch connector plug for analog I/O
Connect the applicable cable ( 1).
Disentangle and twist the shield and cut them to proper length.
SLD
1 For the applicable cable size, refer to
section 3.2.
2) Processing for analog input cable Strip the cable 3cm or more and perform the processing indicated at left. If the electric wire lengths are not even, trim their ends with a nipper to the same length so as to insert them neatly into a connector.
(To the next page)
4 - 17 4 - 17
MELSEC-
A
4 SETUP AND PREPARATION BEFORE OPERATION
(From the previous page)
4321
V+ / I+ V+ / I­NC SLD
Signal name
1
m
m
o
r
l
es
s
Metal contacts
3) Insert the cable. Lift the end of the plug cover and insert the cable until it almost reaches the plug body (within 1mm from the other end of the plug cover). Insufficient cable insertion may cause improper press fitting.
Note: When inserting the cable, prevent the cable from sticking
out from the plug cover end.
Metal contacts
4) Set the plug cover. After inserting the cable, put down the plug cover so that its face is horizontal to the plug surface, allowing the metal contacts to be fitted into the plug cover.
Pliers
5) Press the center part of the plug cover. Using pliers, press the center part of the plug cover vertically and strongly.
For the one-touch connectors, use adjustable pliers so that their jaws can be widely opened.
Latches
Pliers
6) Press both ends of the plug cover After pressing the center part of the plug cover, press both ends of the plug cover where latches are located. Verify that the latches engage with the plug body.
(To the next page)
4 - 18 4 - 18
MELSEC-
A
4 SETUP AND PREPARATION BEFORE OPERATION
(From the previous page)
[Correct example]
[Wrong example]
7) Check the press-fit condition (viewing from the wiring side). Viewing from the wiring side, check that the plug surface is flush with the plug cover. Do not allow the plug cover to protrude from the plug surface.
Note: The condition where the plug cover is tilted or protrudes
from the plug surface as shown in [Wrong example] is an improper press-fit condition. Press the plug cover firmly with pliers until it looks like [Correct example] condition illustrated on the left.
[Correct example]
[Wrong example]
Latches
Clearance
Latch
8) Check the press-fit condition (viewing from the top). Viewing from the top, check that there is no clearance between the plug body and plug cover.
Note: Clearance may occur between the plug body and plug
cover when the latches do not engage securely as shown in [Wrong example]. Press the plug cover firmly with pliers until it looks like [Correct example] condition illustrated on the left.
(Wiring completed)
4 - 19 4 - 19
MELSEC-
A
4 SETUP AND PREPARATION BEFORE OPERATION
4.10.2 Wiring procedures for the one-touch connector for communication
This section provides the wiring procedures of the one-touch connector for communication.
Plug body
Plug cove
r
Metal contact
1) Check the connector. Check that the plug cover is attached to the plug body.
Note: Do not push the plug cover into the plug body.
Once pressed, the plug cannot be used any more.
Cut the shield wire, aluminum tape and braid.
DA (Blue) DB (White) DG (Yellow) Drain wire (AWG20)
Stretch the drain wire and twist it from the base. (3cm in length, 7 times or more)
2) Processing for communication cable Strip the cable 3cm or more and perform the processing indicated at left. If the electric wire lengths are not even, trim their ends with a nipper to the same length so as to insert them neatly into a connector.
54
321
Signal name
DA (Blue) DB (White) DG (Yellow)
NCSLD
1
m
m
o
r
l
e
s
s
Metal contacts
3) Insert the cable. Lift the end of the plug cover and insert the cable until it almost reaches the plug body (within 1mm from the other end of the plug cover). Insufficient cable insertion may cause improper press fitting.
Note: When inserting the cable, prevent the cable from sticking
out from the plug cover end.
Metal contacts
4) Set the plug cover. After inserting the cable, put down the plug cover so that its face is horizontal to the plug surface, allowing the metal contacts to be fitted into the plug cover.
Pliers
5) Press the center part of the plug cover. Using pliers, press the center part of the plug cover vertically and strongly.
For the one-touch connectors, use adjustable pliers so that their jaws can be widely opened.
(To the next page)
4 - 20 4 - 20
MELSEC-
A
4 SETUP AND PREPARATION BEFORE OPERATION
(From the previous page)
Latches
Pliers
6) Press both ends of the plug cover After pressing the center part of the plug cover, press both ends of the plug cover where latches are located. Verify that the latches engage with the plug body.
[Correct example]
0.2mm or less
[Wrong example]
7) Check the press-fit condition (viewing from the wiring side). Viewing from the wiring side, check that the plug surface is flash with the plug cover. The difference between the plug cover and the plug surface must be 0.2mm or less.
Note: The condition where the plug cover is tilted as shown in
[Wrong example] or protrudes from the plug surface
0.2mm or more is an improper press-fit condition. Press the plug cover securely with pliers until it looks like [Correct example] condition illustrated on the left.
[Correct example]
[Wrong example]
Latches
Clearance
Latch
8) Check the press-fit condition (viewing from the top). Viewing from the top, check that there is no clearance between the plug body and plug cover.
Note: Clearance may occur between the plug body and plug
cover when the latches do not engage securely as shown in [Wrong example]. Press the plug cover firmly with pliers until it looks like [Correct example] condition illustrated on the left.
(Wiring completed)
4 - 21 4 - 21
MELSEC-
A
4 SETUP AND PREPARATION BEFORE OPERATION
4.10.3 Wiring procedures for the one-touch connector for power supply and FG
The following are the wiring procedures for the one-touch connector used for power supply and FG.
Plug body
Plug cove
r
Metal contact
1) Check the connector. Check that the plug cover is attached to the plug body.
Note: Do not push the plug cover into the plug body.
Once pressed, the plug cannot be used any more.
5
4321
Signal name
FG +24V (UNIT) 24G(UNIT)
FG1
AG
Metal contacts
1
m
m
o
r
l
e
s
s
2) Insert the cable. (
1) Lift the end of the plug cover and insert the cable until it almost reaches the plug body (within 1mm from the other end of the plug cover). Insufficient cable insertion may cause improper press fitting.
Note: When inserting the cable, prevent the cable from sticking
out from the plug cover end.
Metal contacts
3) Set the plug cover. After inserting the cable, put down the plug cover so that its face is horizontal to the plug surface, allowing the metal contacts to be fitted into the plug cover.
Pliers
4) Press the center part of the plug cover. Using pliers, press the center part of the plug cover vertically and strongly.
For the one-touch connector for power supply and FG, use adjustable pliers so that their jaws can be widely opened.
Latches
Pliers
5) Press both ends of the plug cover After pressing the center part of the plug cover, press both ends of the plug cover where latches are located. Verify that the latches engage with the plug body.
(To the next page)
4 - 22 4 - 22
MELSEC-
A
4 SETUP AND PREPARATION BEFORE OPERATION
(From the previous page)
[Correct example]
0.2mm or less
[Wrong example]
6) Check the press-fit condition (viewing from the wiring side). Viewing from the wiring side, check that the plug surface is flush with the plug cover. Set the plug cover so that it protrudes 0.2mm or less from the plug surface.
Note: The condition where the plug cover is tilted or protrudes
0.2mm or more from the plug surface as shown in [Wrong example] is an improper press-fit condition. Press the plug cover firmly with pliers until it looks like [Correct example] condition illustrated on the left.
[Correct example]
[Wrong example]
Latches
Clearance
Latch
7) Check the press-fit condition (viewing from the top). Viewing from the top, check that there is no clearance between the plug body and plug cover.
Note: Clearance may occur between the plug body and plug
cover when the latches do not engage securely as shown in [Wrong example]. Press the plug cover firmly with pliers until it looks like [Correct example] condition illustrated on the left.
(Wiring completed)
1 When using a cabtyre cable:
Strip the cable 2cm or more. If the electric wire lengths are not even, trim their ends with a nipper to the same length so as to insert them neatly into a connector.
2cm or more
Trim the wire ends to the same length
4 - 23 4 - 23
MELSEC-
A
4 SETUP AND PREPARATION BEFORE OPERATION
4.11 Maintenance and Inspection
There are no special inspection items for the AJ65VBTCU-68ADVN/ADIN module, but follow the inspections items describes in the PLC CPU User's Manual so that the system can always be used in the best condition.
5 - 1 5 - 1
MELSEC-A
5 PROGRAMMING
5 PROGRAMMING
The programming procedure, basic read/write programs, and program examples for the AJ765VBTCU-68ADVN/ADIN are described. When utilizing the program example introduced in this chapter for an actual system, fully verify that there are no problems in controllability in the target system. Refer to the user's manual of the master module used for the master module, to Section 3.6 for the remote registers, and to the AnSHCPU/AnACPU/AnUCPU/QCPU (A mode) Programming Manual (Dedicated Instructions) for details of the dedicated instructions.
5.1 Programming Procedure
Create a program which executes the AJ765VBTCU-68ADVN/ADIN analog/digital conversion by following the procedure below:
START
Perform average processing?
END
No
Yes
A/D conversion enable/prohibit specification
Input range setting
Average time, number of times setting
Specify the channel for which average processing will be performed.
Read digital output value
Initial settings
When using the QCPU (Q mode), you can use the remote device station
initialization procedure registration function to make settings. When using the ACPU, QCPU (A mode) or QnACPU, use the sequence program to make settings.
5
5 - 2 5 - 2
MELSEC-A
5 PROGRAMMING
5.2 When Remote Net Ver. 1 Mode Is Used
5.2.1 Conditions of Program Example
The program examples in this section are created under the following conditions.
(1) System configuration
PLC CPU Master station (X0 to X1F/Y0 to Y1F)
I/O (Output 64 points) (Y60 to Y9F)
AJ65VBTCU-68ADVN
(Station number 1)
I/O (Input 64 points) (X20 to X5F)
(2) Relationships betw een PLC C PU , master modul e and
AJ65VBTCU-68ADVN
AJ65VBTCU-68ADVN
(Station number 1)
PLC CPU
Device X
X400 to X40F X410 to X41F
Device Y
Y400 to Y40F Y410 to Y41F
Device D
D200 D201 D202 D203
Device D
D300 D301 D302 D303
Master module
Address
Remote input (RX)
RX00 to RX0F RX10 to RX1F
E0
H
E1
H
Remote output (RY)
RY00 to RY0F RY10 to RY1F
160
H
161
H
Remote register (RWw)
RWw0 RWw1 RWw2 RWw3
1E0
H
1E1
H
1E2
H
1E3
H
Remote register (RWr)
RWr0 RWr1 RWr2 RWr3
2E0
H
2E1
H
2E2
H
2E3
H
Remote input (RX)
RX00 to RX0F RX10 to RX1F
Remote output (RY)
RY00 to RY0F RY10 to RY1F
Remote register (RWw)
Remote register(RWr)
RWw0 A/Dconversion/prohibit
RWr0 CH.1 difital outp u t v a lu e
D204 D205 D206 D207
RWw4 RWw5 RWw6 RWw7
1E4
H
1E5
H
1E6
H
1E7
H
RWw3 Average processing
D208 D209 D210 D211
RWw8
RWw9
RWwA RWwB
1E8
H
1E9
H
1EA
H
1EB
H
D304 D305 D306 D307
RWr4 RWr5 RWr6 RWr7
2E4
H
2E5
H
2E6
H
2E7
H
D308
RWr8 RWr9 RWrA RWrB
2E8
H
2E9
H
2EA
H
2EB
H
RWr8 Error code
RWrA Reserved RWrB Reserved
RWr9 Reserve d
RWw1 CH.1 to CH.4 input range RWw2 CH.5 to CH.8 input range
RWr1 CH.2 digital output value RWr2 CH.3 digital output value RWr3 CH.4 digital output value RWr4 CH.5 digital output value RWr5 CH.6 digital output value RWr6 CH.7 digital output va lue RWr7 CH.8 digital output va lue
D309 D310 D311
In the program example (refer to Section 5.2.4) that uses the RRPA instruction (automatic refresh parameter setting) with the ACPU/QCPU (A mode), R Wr0 to RWr8 are assigned to D45 6 to D464.
RWw4 CH.1 average time,
number of times setting
RWw5 CH.2 average time,
number of times setting
RWw6 CH.3 average time,
number of times setting
RWw7 CH.4 average time,
number of times setting
RWw8 CH.5 average time,
number of times setting
RWw9 CH.6 average time,
number of times setting
RWwA CH.7 average time,
number of times setting
RWwB CH.8 average time,
number of times setting
specification setting setting spacification
5
5 - 3 5 - 3
MELSEC-A
5 PROGRAMMING
POINT
Some CPU modules may not accept the devices used in the program example in this chapter. For the setting ranges of the devices, refer to the user's manual of the CPU module used.For the A1SCPU, for example, devices X100, Y100 and later are unusable. Use such devices as B and M.
(3) Initial settings
Setting Item Settings
A/D conversion enable/prohibit specification (RWw0)
A/D conversion enabled channel: Channel 1, 2
CH. 1 to CH. 4 input range setting (RWw1)
Channel 1: 0 to 5V
Channel 2: User range setting 1 Average processing specification (RWw3)
Channel 1: Sampling processing
Channel 2: Average processing, number of times average CH. 2 average time, number of times setting (RWw5)
Number of average processing times of channel 2: 16 times
5 - 4 5 - 4
MELSEC-A
5 PROGRAMMING
5.2.2 Program Example for Use of the QCPU ( Q mode)
The program examples in this section are created under the following conditions. GX Developer is used to set the network and automatic refresh parameters. Using the remote device station initialization procedure registration function facilitates initial settings.
(1) Parameter setting
(a) Network par ameter setti ng
(b) Automatic refresh parameter setting
5 - 5 5 - 5
MELSEC-A
5 PROGRAMMING
(2) Initial setting by r emote device station initializ ation pr ocedur e
registration
(a) Setting the target station number
Set the station number to which initial setting will be made. Set the target station number to "1".
(b) Setting the procedure registration
When the initial data processing request flag (RX18) turns on and the remote device station initialization procedure registration (SB0D) is set, the following data are registered to the AJ65VBTCU-68ADVN/ADIN.
Procedure Execution Condition Execution
A/D conversion enable/prohibit specification: channenls 1, 2: enable (RWw0 :0003
H
) CH.1 to CH.4 input range setting : channel 1: 0 to 5V : channel 2: user range setting 1 (RWw1: 31
H
) Average processing setting : channel 1: sampling processing : channel 2: average processing, average number of
times
(RWw3: 200
H
) CH.2 average time, number of times setting: channel 2: 16 times (RWw5: 10H) Initial data processing completion flag (RY18) is turned on.
Initial data processing request flag (RX18) turns on
Initial data setting request flag (RY19) is turned on.
Initial data processing request flag (RX18) turns off Initial data processing completion flag (RY18) is turned off. Initial data setting completion flag (RX19) turns on Initial data setting request flag (RY19) is turned off.
(c) Setting results
The setting results are shown below.
POINT
For the case where the remote device station initialization procedure registration function is not used but a sequence program is used to make setting, refer to the user's manual of the used master module.
5 - 6 5 - 6
MELSEC-A
5 PROGRAMMING
(3) Program example
1)
2)
RX( m+1)B
RX( n+1)B
RX( m+1)8
RX( n+1)8
When remote device station initialization procedure registration is to be made to multiple modules, correct the program part enclosed by the dotted line 1 as shown below. RX(m+1)B/RX(n+1)B indicates remote REDY, and RX(m+1)8/RX(n+1)8 indicates an initial data processing request flag. The device number changes depending on the station number. Insert the remote REDY and initial data processing request flags for all stations where remote device station initialization procedure registration has been set.
1
The program part enclosed by the dotted line 2 is required only when the initial setting is changed.
2
Reads data link status.
AJ65VBTCU-68ADVN data link normal
AJ65VBTCU-68ADVN data link abnormal
A/D conversion enable/ prohibit specification (RWw0)
Turns off initialization procedure registration directive.
Turns on initialization procedure registration directive.
CH.1 to CH.4 input range setting (RWw1)
Average processing specification (RWw3)
CH.2 average time, number of times setting (RWw5) Turns on initial data setting request flag (RY19).
Turns off initial data setting request flag (RY19).
Reads CH.1 digital output value (RWr0).
Reads CH.2 digital output value (RWr1).
Reads error code (RWr8).
Turns on error reset request flag (RY1A).
Turns off error reset request flag (RY1A).
ƒƒƒ‹Ý’èÏX
Error reset
Checking of AJ65VBTCU-68ADVN status
Initialization procedure registration
Changing of initial settings
Initial setting change
Read of digital output values
Processing at error occurrence
1
2
5 - 7 5 - 7
MELSEC-A
5 PROGRAMMING
5.2.3 Program Example for Use of the QnACPU
GX Developer is used to set the network and automatic refresh parameters.
(1) Parameter setting
(a) Network par ameter setti ng
(b) Automatic refresh parameter setting
5 - 8 5 - 8
MELSEC-A
5 PROGRAMMING
(2) Program example
Initial settings
Checking of AJ65VBTCU-68ADVN status
Changing of initial settings
Initial setting change
Processing at initial setting s
Read of digital output values
Processing at error occurrence
Error reset
The program enclosed by the dotted line is necessary only when the initial settings are changed.
Reads data link status. AJ65VBTCU-68ADVN data
link normal AJ65VBTCU-68ADVN data
link abnorm a l
A/D conversion enable/ prohibit specification (RWw0)
CH.1 to CH.4 input range setting (RWw1)
Average processing specification (RWw3)
CH.2 average time, number of times setting (RWw5)
Turns on initial data processing completion flag (RY18).
Turns on initial data setting request flag (RY19).
A/D conversion enable/ prohibit specification (RWw0)
CH.1 to CH.4 input range setting (RWw1)
Average processing specification (RWw3)
CH.2 average time, number of times setting (RWw5)
Turns on initial data setting request flag (RY19).
Turns off initial data processing completion flag (RY18).
Turns off initial data setting request flag (RY19).
Reads CH.1 digital output value (RWr0).
Reads CH.2 digital output value (RWr1).
Reads error code (RWr8).
Turns on error reset request flag (RY1A).
Turns off error reset request flag (RY1A).
5 - 9 5 - 9
MELSEC-A
5 PROGRAMMING
5.2.4 Program Example for Use of the ACPU/QCPU (A mode) ( dedi cated instr ucti ons)
A sequence program is used to set the network and automatic refresh parameters.
(1) Program example
Setting of network parameters using RLPA dedicated instruction
Setting of automatic refresh parameters using RRPA dedicated instruction
Synchronization mode invalid Number of connected
modules:1
AJ65VBTCU-68ADVN station informatio n (r em ote device station, 3 station occupied, station No. 1)
Dedicated instruction (RLPA)
Starting I/O number of master module
Parameter storage starting device
Device which turns on 1 scan at completion
Reads parameter status at abnormal completion.
Sets RX starting number.
Sets "X".
Sets X400.
Sets RY starting number.
Sets 32 points.
Sets "Y".
Sets Y400.
Sets 32 points.
Sets RW starting number.
Sets "D".
Sets D200.
5 - 10 5 - 10
MELSEC-A
5 PROGRAMMING
Checking of AJ65VBTCU-68ADVN status
Initial settings
Sets 265 points.
Sets SB starting number.
Sets "B".
Sets B0.
Sets 512 points.
Sets SW starting number.
Sets "W".
Sets W0.
Sets 256 points.
Dedicated instruction (RRPA)
Starting I/O number of master module
Parameter storage starting device
Reads data link status.
AJ65VBTCU-68ADVN data link normal
AJ65VBTCU-68ADVN data link abnormal
A/D conversion enable/ prohibit specificatio n (RWw0)
CH.1 to CH.4 input range setting (RWw1)
Average processing specification (RWw3)
CH.2 average time, number of times setting (RWw5)
Turns on initial data processing completion flag (RY18).
Turns on initial data setting request flag (RY19).
5 - 11 5 - 11
MELSEC-A
5 PROGRAMMING
Initial setting change
Changing of initial settings
Processing at initial settings
Read of digital output values
Processing at error occurrence
Error reset
The program enclosed by the dotted line is necessary only when the initial settings are changed.
A/D conversion enable/ prohibit specification (RWw0)
CH.1 to CH.4 input range setting (RWw1)
Average processing specification (RWw3)
CH.2 average time, number of times setting (RWw5)
Turns on initial data setting request flag (RY19).
Turns off initial data processing completion flag (RY18).
Turns off initial data setting request flag (RY19).
Reads CH.1 digital output valu e (RWr0).
Reads CH.2 digital output valu e (RWr1).
Reads error code (RWr8).
Turns on error reset request flag (RY1A).
Turns off error reset request flag (RY1A).
5 - 12 5 - 12
MELSEC-A
5 PROGRAMMING
5.2.5 Program Example for Use of the ACPU/QCPU (A mode) ( F ROM /TO instr ucti ons)
A sequence program is used to set the network parameters.
(1) Program example
Number of connected modules: 1
Number of retries: 3
Number of automatic return modules: 1
Writes to master station Data link status when the
master station PLC CPU: continue
AJ65VBTCU-68ADVN station information (remote device station, 3 station occupied, station No. 1) Writes to master station
Writes to master station
Refresh dir ect i ve Data link started by
buffer memory Turns off start request
signal at normal completion of start. Reads parameter status at abnormal completionof start. Turns off start request signal at abnormal completion of start.
AJ65VBTCU-68ADVN data link normal
AJ65VBTCU-68ADVN data link abnormal
RX00 to RX1F are read to X400 to X41F
Reads data link status.
A/D conversion enable/ prohibit specification (RWw0) CH.1 to CH.4 input range setting (RWw1)
Writes to master station
Network parameter settings
Start data link
Read of remote input si gnals
Checking of AJ65VBTCU-68ADVN status
Initial settings
5 - 13 5 - 13
MELSEC-A
5 PROGRAMMING
The program enclosed by the dotted line is necessary only when the initial settings are changed.
Initial setting change
Error reset
Average processing specification (RWw3)
Turns on initial data processing completion flag (RY18).
Turns on initial data setting request flag (RY19).
A/D conversion enable/ prohibit specification (RWw0)
CH.1 to CH.4 input range setting (RWw1)
Writes to master station
Turns off initial data processing completion flag (RY18).
Turns off initial data setting request flag (RY19).
Reads CH.1 digital output value (RWr0).
Reads CH.2 digital output value (RWr1).
Turns on error reset request flag (RY1A).
Turns off error reset request flag (RY1A).
Y400 to Y41F are written into RY00 to RY1F.
Turns on initial data setting request flag (RY19).
Writes to master station CH.2 average time,
number of times setting (RWw5)
Writes to master station
Average processing specification (RWw3)
Writes to master station CH.2 average time,
number of times setting (RWw5)
Writes to master station
Reads error code (RWr8).
Changing of initial settings
Processing at initial setting s
Read of digital output values
Processing at error occurrence
Write of remote output signals
5 - 14 5 - 14
MELSEC-A
5 PROGRAMMING
5.3 When Remote Net Ver. 2 Mode Is Used
5.3.1 Conditions of program examples
The program examples in this section are created under the following conditions.
(1) System configuration
QX41 QY41P
QX41 QY41P
Q12HCPU
QJ61BT11N
AJ65VBTCU-68ADI
(Station number 1)
Ver. 1 remot e device stat i o n
(Ver. 1 compatible slave station)
AJ65VBTCU-68ADVN
(Station number 4)
Ver. 2 remot e device stat i o n
(Ver. 2 compatible slave station)
3 stations occupied
Mode select switch 0
(Normal mode)
1 station occupied
Mode select switch 3
(Normal mode)
(2) Relationships betw een PLC CPU , AJ65VBTCU -68AD I and
AJ65VBTCU-68ADVN
PLC CPU
Remote device station
(Station number 1)
AJ65VBTCU-68ADI
X100F to X1000 X101F to X1010 X102F to X1020
X105F to X1050
X104F to X1040
X103F to X1030
X109F to X1090
X108F to X1080
X106F to X1060 X107F to X1070
Y100F to Y1000 Y101F to Y1010 Y102F to Y1020
Y105F to Y1050
Y104F to Y1040
Y103F to Y1030
Y109F to Y1090
Y108F to Y1080
Y106F to Y1060 Y107F to Y1070
RX0F to RX00 RX1F to RX10
RY0F to RY00 RY1F to RY10
RX0F to RX00 RX1F to RX10
RY0F to RY00 RY1F to RY10
Remote device station
(Station number 4)
AJ65VBTCU-68ADVN
5 - 15 5 - 15
MELSEC-A
5 PROGRAMMING
W1000 W1001 W1002 W1003 W1004 W1005 W1006 W1007 W1008 W1009 W100A W100B W100C W100D W100E W100F W1010 W1011 W1012 W1013 W1014 W1015 W1016 W1017 W1018 W1019 W101A W101B
W0000 W0001 W0002 W0003 W0004 W0005 W0006 W0007 W0008 W0009 W000A W000B W000C W000D W000E W000F W0010 W0011 W0012 W0013 W0014 W0015 W0016 W0017 W0018 W0019 W001A W001B
RWw0 (A/D conversion enable/proh ibit specific ation)
RWw1 (CH. 1 to CH. 4 input range setting)
RWw2 (CH. 5 to CH. 8 input range setting)
RWw3 (Average process ing spec ification)
RWw4 (CH. 1 average time, numbe r of times setting)
RWw5 (CH. 2 average time, numbe r of times setting)
RWw6 (CH. 3 average time, numbe r of times setting)
RWw7 (CH. 4 average time, numbe r of times setting)
RWw8 (CH. 5 average time, numbe r of times setting)
RWw9 (CH. 6 average time, numbe r of times setting)
RWwA (CH. 7 average time, num be r of times setting)
RWwB (CH. 8 average time, num be r of times setting)
RWr0 (CH. 1 digital output value) RWr1 (CH. 2 digital output value) RWr2 (CH. 3 digital output value) RWr3 (CH. 4 digital output value) RWr4 (CH. 5 digital output value) RWr5 (CH. 6 digital output value) RWr6 (CH. 7 digital output value) RWr7 (CH. 8 digital output value) RWr8 (Error code) RWr9 (Reserved) RWrA (Reserved) RWrB (Reserved)
RWr8 (Er ror code ) RWr9 (Reserved) RWrA (R eserved ) RWrB (R eserved ) RWrC (Reserved) RWrD (Reserved) RWrE (R eserved ) RWrF (Reserved)
Remote device station
(Station number 1)
AJ65VBTCU-68ADI
Remote device station
(Station number 4)
AJ65VBTCU-68ADVN
RWwC (Reserved) RWwD (Reserved) RWwE (Reserved) RWwF (Reserved)
RWw0 (A/D conversion enable/ prohibit specification)
RWw1 (CH. 1 to CH. 4 input range setting)
RWw2 (CH. 5 to CH. 8 input range setting)
RWw3 (Average processing specification)
RWw4 (CH . 1 ave r ag e tim e, number of times setting)
RWw5 (CH . 2 ave r ag e tim e, number of times setting)
RWw6 (CH . 3 ave r ag e tim e, number of times setting)
RWw7 (CH . 4 ave r ag e tim e, number of times setting)
RWw8 (CH . 5 ave r ag e tim e, number of times setting)
RWw9 (CH . 6 ave r ag e tim e, number of times setting)
RWwA (CH . 7 ave r ag e ti m e, number of times setting)
RWwB (CH . 8 ave r ag e ti m e, number of times setting)
RWr0 (CH. 1 digital output value) RWr1 (CH. 2 digital output value) RWr2 (CH. 3 digital output value) RWr3 (CH. 4 digital output value) RWr4 (CH. 5 digital output value) RWr5 (CH. 6 digital output value) RWr6 (CH. 7 digital output value) RWr7 (CH. 8 digital output value)
PLC CPU
For write
For read
5 - 16 5 - 16
MELSEC-A
5 PROGRAMMING
(3) Initial settings
Remote Device Station Setting Item Settings
A/D conversion enable/prohibit specification (RWw0)
A/D conversion enable channel: Channel 1, 2
CH. 1 to CH. 4 input range setting (RWw1)
Channel 1: 4 to 20mA Channel 2: User range setting
Average processing specification (RWw3)
Channel 1: Sampling processing Channel 2: Average processing, number of times averaging
AJ65VBTCU-68ADI
CH. 2 average time, number of times setting (RWw5)
Number of average processing times
of channel 2: 16 times A/D conversion enable/prohibit specification (RWw0)
A/D conversion enable channel:
Channel 1, 2 CH. 1 to CH. 4 input range
setting (RWw1)
Channel 1: 0 to 5V
Channel 2: User range setting 1 Average processing
specification (RWw3)
Channel 1: Sampling processing
Channel 2: Average processing,
number of times averaging
AJ65VBTCU-68ADVN
CH. 2 average time, number of times setting (RWw5)
Number of average processing times
of channel 2: 16 times
POINT
When using the AJ65VBTCU-68ADVN as the ver. 2 remote device station in the normal mode, set the mode select switch to "3".
5 - 17 5 - 17
MELSEC-A
5 PROGRAMMING
5.3.2 Setting of parameters and initializati on pr ocedur e registration
The network parameters and automatic refresh parameters are set using GX Developer. Use of the remote device station initialization procedure registration function makes initial setting easy.
(1) Parameter setting
(a) Network par ameter setti ng
(b) Automatic refresh parameter setting
5 - 18 5 - 18
MELSEC-A
5 PROGRAMMING
(2) Initial setting by r emote device station initializ ation pr ocedur e
registration function
(a) Setting of target station numbers
Set the station numbers to which initial setting will be made. Set the target station numbers to "1" and "4".
(b) Selection of procedure registration (part 1)
Make setting for the AJ65VBTCU-68ADI. Click Procedure registration of target station number "1".
(c) Setting of procedure registration (part 1)
Set the conditions and execution for the AJ65VBTCU-68ADI. When the initial data processing request flag (RX18) turns ON and Remote
device station initialization procedure registration (SB0D) is set, the following data are registered to the AJ65VBTCU-68ADI.
Procedure Execution Condition in AJ65VBTCU-68ADI Execution Data
A/D conversion enable/prohibit specification: Channel 1, 2: Enable (RWw0 :0003
H
) CH.1 to CH.4 input range setting : channel 1: 4 to 20mA : channel 2: user range setting (RWw1: 20
H
) Average processing specification : channel 1: sampling processing : Channel 2: Average processing, number
of times averaging
(RWw3: 200
H
) CH. 2 average time, number of times setting: Channel 2: 16 times (RWw5: 10
H
)
Initial data processing completion flag (RY18) is turned ON.
Initial data processing request flag (RX18) turns ON
Initial data processing request flag (RY19) is turned ON.
Initial data processing request flag (RX18) turns OFF Initial data processing completion flag (RY18) is turned OFF. Initial data setting completion flag (RX19) turns ON Initial data setting request flag (RY19) is turned OFF.
(d) Setting result (part 1)
The following indicates the setting result of the AJ65VBTCU-68ADI.
5 - 19 5 - 19
MELSEC-A
5 PROGRAMMING
(e) Selection of procedure registration (part 2)
Make setting for the AJ65VBTCU-68ADVN. Click Procedure registration of target station number "4".
(f) Setting of procedur e r eg istr ati on (par t 2)
Set the conditions and execution for the AJ65VBTCU-68ADVN. When the initial data processing request flag (RX18) turns ON and Remote
device station initialization procedure registration (SB0D) is set, the following data are registered to the AJ65VBTCU-68ADVN.
Procedure Execution Condition in AJ65VBTCU-68ADVN Execution Data
A/D conversion enable/prohibit specification: Channel 1, 2: Enable (RWw0 :0003
H
) CH. 1 to CH. 4 input range setting : Channel 1: 0 to 5V : Channel 2: User range setting 1 (RWw1: 31
H
) Average processing specification : Channel 1: Sampling processing : Channel 2: Average processing, number
of times averaging
(RWw3: 200
H
) CH. 2 average time, number of times setting: Channel 2: 16 times (RWw5: 10
H
)
Initial data processing completion flag (RY18) is turned ON.
Initial data processing request flag (RX18) turns ON
Initial data setting request flag (RY19) is turned ON.
Initial data processing request flag (RX18) turns OFF Initial data processing completion flag (RY18) is turned OFF. Initial data setting completion flag (RX19) turns ON Initial data setting request flag (RY19) is turned OFF.
(g) Setting result (part 2)
The following indicates the setting result of the AJ65VBTCU-68ADVN.
POINT
For the case where the remote device station initialization procedure registration function is not used but a sequence program is used to make setting, refer to the user's manual of the used master module.
5 - 20 5 - 20
MELSEC-A
5 PROGRAMMING
5.3.3 Program example
AJ65VBTCU-68ADI AJ65VBTCU-68ADVN Data link normal
AJ65VBTCU-68ADI Data link abnormal
The program part enclosed by the dotted line is required only when the initial setting is changed.
Turns OFF the initialization procedure registration command.
A/D conversion enable/ prohibit specificatio n (RWw0)
CH. 1 to CH. 4 input range setting
Turns ON the initial data setting request flag (RY19).
Turns OFF the initial data setting request flag (RY19).
Reads the CH. 1 digital output value (RWr0).
Reads the CH. 2 digital output value (RWr1).
Average processing specification
CH. 2 average time, number of times setting (RWw5)
Turns ON the error reset request flag (RY1A).
Turns OFF the error reset request flag (RY1A).
Reads the error code (RWr8).
AJ65VBTCU-68ADVN Data link abnormal
Turns ON the initialization procedure registration command.
AJ65VBTCU-68ADI
AJ65VBTCU-68ADI
Confirmation of AJ65VBTCU-68ADI, AJ65VBTCU-68ADVN status
Initialization procedure registration
AJ65VBTCU-68ADI Change of initial setting
Initial setting change
AJ65VBTCU-68ADI Read of digital output values
AJ65VBTCU-68ADI Processing at error occurrence
Error reset
5 - 21 5 - 21
MELSEC-A
5 PROGRAMMING
The program part enclosed by the dotted line is requir ed only when the initial set ti ng is changed.
A/D conversion enable/ prohibit specification (RWw0)
CH. 1 to CH. 4 input range setting (RWw1)
Turns ON the initial data setting request flag (RY 1 9).
Turns OFF the initial data setting request flag (RY 1 9).
Reads the CH. 1 digital output value (RWr0).
Reads the CH. 2 digital output value (RWr1).
Average processing specification(RWw3)
CH. 2 average time, number of times setting (RWw5)
Turns ON the error reset request flag (RY1A).
Turns OFF the error reset request flag (RY1A).
Reads the error code (RWr8).
AJ65VBTCU-68ADVN
AJ65VBTCU-68ADVN
AJ65VBTCU-68ADVN Change of initial setting
Initial setting change
AJ65VBTCU-68ADVN Read of digital output values
AJ65VBTCU-68ADVN Processing at error occurrence
Error reset
5 - 22 5 - 22
MELSEC-A
5 PROGRAMMING
5.4 When Remote Net Additional Mode Is Used
5.4.1 Conditions of program examples
The program examples in this section are created under the following conditions.
(1) System configuration
QX41 QY41P QX41 QY41P
Q12HCPU
QJ61BT11N
AJ65VBTCU-68ADI
(Station number 1)
Ver. 1 remote device station
(Ver. 1 compatible slave station)
AJ65VBTCU-68ADVN
(Station number 4)
Ver. 2 remote device station
(Ver. 2 compatible slave station)
3 stations occupied
Mode select switch 0
(Normal mode)
1 station occupied
Mode select switch 3
(Normal mode)
(2) Relationships betw een PLC CPU , AJ65VBTCU -68AD I and
AJ65VBTCU-68ADVN
X100F to X1000 X101F to X1010 X102F to X1020
X105F to X1050
X104F to X1040
X103F to X1030
Y103F to Y1030
Y102F to Y1020
Y104F to Y1040 Y105F to Y1050
Y100F to Y1000 Y101F to Y1010
X150F to X1500 X151F to X1510 X152F to X1520 X153F to X1530
Y153F to Y1530
Y152F to Y1520
Y150F to Y1500 Y151F to Y1510
RX0F to RX00 RX1F to RX10
RY0F to RY00 RY1F to RY10
RX0F to RX00 RX1F to RX10
RY0F to RY00 RY1F to RY10
PLC CPU
Remote device station
(Station number 1)
AJ65VBTCU-68ADI
Remote device station
(Station number 4)
AJ65VBTCU-68ADVN
Ver. 1 compatible
Ver. 2 compatible
5 - 23 5 - 23
MELSEC-A
5 PROGRAMMING
W100 W101 W102 W103 W104 W105 W106 W107 W108
W109 W10A W10B
W000
W001
W002
W003
W004
W005
W006
W007
W008
W009 W00A W00B
W1500 W1501 W1502 W1503 W1504 W1505 W1506 W1507 W1508
W150C W150D W150E
W1000 W1001 W1002 W1003 W1004
W1009 W100A W100B W100C W100D W100E W100F
W150F
W1005
W1006
W1007
W1008
W1509 W150A W150B
Remote device station
(Station number 1)
AJ65VBTCU-68ADI
Remote device station
(Station number 4)
AJ65VBTCU-68ADVNPLC CPU
Ver. 1 compatible For write
Ver. 1 compatible For read
Ver. 2 compatible For write
Ver. 2 compatible For read
RWw0 (A/D conversion enable/prohibit specification)
RWw1 (CH. 1 to CH. 4 input range setting)
RWw2 (CH. 5 to CH. 8 input range setting)
RWw3 (Average processing specification) RWw4 (CH. 1 average time, number of
times settin g ) RWw5 (CH. 2 average time, number of
times settin g ) RWw6 (CH. 3 average time, number of
times settin g ) RWw7 (CH. 4 average time, number of
times settin g ) RWw8 (CH. 5 average time, number of
times settin g ) RWw9 (CH. 6 average time, number of
times settin g ) RWwA (CH. 7 average time, number of
times settin g ) RWwB (CH. 8 average time, number of
times settin g )
RWr0 (CH. 1 digital output value) RWr1 (CH. 2 digital output value) RWr2 (CH. 3 digital output value) RWr3 (CH. 4 digital output value) RWr4 (CH. 5 digital output value) RWr5 (CH. 6 digital output value) RWr6 (CH. 7 digital output value) RWr7 (CH. 8 digital output value) RWr8 (Erro r c o d e) RWr9 (Re served) RWrA (R e se rv e d) RWrB (R e se rv e d)
RWwC (Reserved) RWwD (Reserved) RWwE (Reserved) RWwF (Reserved)
RWw0 (A/D conversion enable/ prohibit specification)
RWw1 (CH. 1 to CH. 4 input range setting)
RWw2 (CH. 5 to CH. 8 input range setting)
RWw3 (Average processing specification)
RWw4 (CH. 1 average time, number of times setting)
RWw5 (CH. 2 average time, number of times setting)
RWw6 (CH. 3 average time, number of times setting)
RWw7 (CH. 4 average time, number of times setting) RWw8 (CH. 5 average time, number of times setting)
RWw9 (CH. 6 average time, number of times setting)
RWwA (CH. 7 average time, number of times setting)
RWwB (CH. 8 average time, number of times setting)
RWr8 (Error c o de) RWr9 (Reserved) RWrA (Reserved) RWrB (Reserved) RWrC (Reserved) RWrD (Reserved) RWrE (Reserved) RWrF (Reserved)
RWr0 (CH. 1 digital output value) RWr1 (CH. 2 digital output value) RWr2 (CH. 3 digital output value) RWr3 (CH. 4 digital output value) RWr4 (CH. 5 digital output value) RWr5 (CH. 6 digital output value) RWr6 (CH. 7 digital output value) RWr7 (CH. 8 digital output value)
5 - 24 5 - 24
MELSEC-A
5 PROGRAMMING
(3) Initial settings
Remote Device Station Setting Item Settings
A/D conversion enable/prohibit specification (RWw0)
A/D conversion enable channel: Channel 1, 2
CH. 1 to CH. 4 input range setting (RWw1)
Channel 1: 4 to 20mA Channel 2: User range setting
Average processing specification (RWw3)
Channel 1: Sampling processing Channel 2: Average processing, number of times averaging
AJ65VBTCU-68ADI
CH. 2 average time, number of times setting (RWw5)
Number of average processing times
of channel 2: 16 times A/D conversion enable/prohibit specification (RWw0)
A/D conversion enable channel:
Channel 1, 2 CH. 1 to CH. 4 input range
setting (RWw1)
Channel 1: 0 to 5V
Channel 2: User range setting 1 Average processing
specification (RWw3)
Channel 1: Sampling processing
Channel 2: Average processing,
number of times averaging
AJ65VBTCU-68ADVN
CH. 2 average time, number of times setting (RWw5)
Number of average processing times
of channel 2: 16 times
POINT
When using the AJ65VBTCU-68ADVN as the ver. 2 remote device station in the normal mode, set the mode select switch to "3".
5 - 25 5 - 25
MELSEC-A
5 PROGRAMMING
5.4.2 Setting of parameters and initializati on pr ocedur e registration
The network parameters and automatic refresh parameters are set using GX Developer. Use of the remote device station initialization procedure registration function makes initial setting easy.
(1) Parameter setting
(a) Network par ameter setti ng
(b) Automatic refresh parameter setting
5 - 26 5 - 26
MELSEC-A
5 PROGRAMMING
(2) Initial setting by r emote device station initializ ation pr ocedur e
registration function
(a) Setting of target station numbers
Set the station numbers to which initial setting will be made. Set the target station numbers to "1" and "4".
(b) Selection of procedure registration (part 1)
Make setting for the AJ65VBTCU-68ADI. Click Procedure registration of target station number "1".
(c) Setting of procedure registration (part 1)
Set the conditions and execution for the AJ65VBTCU-68ADI. When the initial data processing request flag (RX18) turns ON and Remote
device station initialization procedure registration (SB0D) is set, the following data are registered to the AJ65VBTCU-68ADI.
Procedure Execution Condition in AJ65VBTCU-68ADI Execution Data
A/D conversion enable/prohibit specification: Channel 1, 2: Enable (RWw0 :0003
H
) CH.1 to CH.4 input range setting : channel 1: 4 to 20mA : channel 2: user range setting (RWw1: 20
H
) Average processing specification : channel 1: sampling processing : Channel 2: Average processing, number
of times averaging
(RWw3: 200
H
) CH. 2 average time, number of times setting: Channel 2: 16 times (RWw5: 10
H
)
Initial data processing completion flag (RY18) is turned ON.
Initial data processing request flag (RX18) turns ON
Initial data processing request flag (RY19) is turned ON.
Initial data processing request flag (RX18) turns OFF Initial data processing completion flag (RY18) is turned OFF. Initial data setting completion flag (RX19) turns ON Initial data setting request flag (RY19) is turned OFF.
(d) Setting result (part 1)
The following indicates the setting result of the AJ65VBTCU-68ADI.
5 - 27 5 - 27
MELSEC-A
5 PROGRAMMING
(e) Selection of procedure registration (part 2)
Make setting for the AJ65VBTCU-68ADVN. Click Procedure registration of target station number "4".
(f) Setting of procedur e r eg istr ati on (par t 2)
Set the conditions and execution for the AJ65VBTCU-68ADVN. When the initial data processing request flag (RX18) turns ON and Remote
device station initialization procedure registration (SB0D) is set, the following data are registered to the AJ65VBTCU-68ADVN.
Procedure Execution Condition in AJ65VBTCU-68ADVN Execution Data
A/D conversion enable/prohibit specification: Channel 1, 2: Enable (RWw0 :0003
H
) CH. 1 to CH. 4 input range setting : Channel 1: 0 to 5V : Channel 2: User range setting 1 (RWw1: 31
H
) Average processing specification : Channel 1: Sampling processing : Channel 2: Average processing, number
of times averaging
(RWw3: 200
H
) CH. 2 average time, number of times setting: Channel 2: 16 times (RWw5: 10
H
)
Initial data processing completion flag (RY18) is turned ON.
Initial data processing request flag (RX18) turns ON
Initial data setting request flag (RY19) is turned ON.
Initial data processing request flag (RX18) turns OFF Initial data processing completion flag (RY18) is turned OFF. Initial data setting completion flag (RX19) turns ON Initial data setting request flag (RY19) is turned OFF.
(g) Setting result (part 2)
The following indicates the setting result of the AJ65VBTCU-68ADVN.
POINT
For the case where the remote device station initialization procedure registration function is not used but a sequence program is used to make setting, refer to the user's manual of the used master module.
5 - 28 5 - 28
MELSEC-A
5 PROGRAMMING
5.4.3 Program example
AJ65VBTCU-68ADI AJ65VBTCU-68ADVN Data link normal
AJ65VBTCU-68ADI Data link abnormal
The program part enclosed by the dotted line is required only when the initial setting is changed.
Turns OFF the initialization procedure registration command.
A/D conversion enable/ prohibit specification (RWw0)
CH. 1 to CH. 4 input range setting (RWw1)
Turns ON the initial data setting request flag (RY19).
Turns OFF the initial data setting request flag (RY19).
Reads the CH. 1 digital output value (RWr0).
Reads the CH. 2 digital output value (RWr1).
Average processing specification (RWw3)
CH. 2 average time, number of times setting (RWw5)
Turns ON the error reset request flag (RY1A).
Turns OFF the error reset request flag (RY1A).
Reads the error code (RWr8) .
AJ65VBTCU-68ADVN Data link abnormal
Turns ON the initialization procedure registration command.
AJ65VBTCU-68ADI
AJ65VBTCU-68ADI
Confirmation of AJ65VBTCU-68ADI, AJ65VBTCU -68ADVN status
Initialization pro ce dure registration
AJ65VBTCU-68ADI Change of initial setting
AJ65VBTCU-68ADI Read of digital output values
AJ65VBTCU-68ADI Processing at error occurr en ce
5 - 29 5 - 29
MELSEC-A
5 PROGRAMMING
The program part enclosed by the dotted line is required only wh en the initial setting is chang ed.
A/D conversion enable/ prohibit specification (RWw0)
CH. 1 to CH. 4 input range setting (RWw1)
Turns ON the initial data setting request flag (RY19).
Turns OFF the initial data setting request flag (RY19).
Reads the CH. 1 digital output value (RWr0).
Reads the CH. 2 digital output value (RWr1).
Average processing specification(RWw3)
CH. 2 average time, number of times setting (RWw5)
Turns ON the error reset request flag (RY1A).
Turns OFF the error reset request flag (RY1A).
Reads the error code (RWr8).
AJ65VBTCU-68ADVN
AJ65VBTCU-68ADVN
AJ65VBTCU-68ADVN Change of initial setting
Initial setting change
AJ65VBTCU-68ADVN Read of digital output values
AJ65VBTCU-68ADVN Processing at error occurrence
Error reset
6 - 1 6 - 1
MELSEC-A
6 TROUBLESHOOTING
6 TROUBLESHOOTING
The details of the errors which may occur when using the AJ65VBTCU-68ADVN/ADIN and troubleshooting are described.
6.1 Error Code List
If an error occurs (the "RUN" LED of the AJ65VBTCU-68ADVN/ADIN flickers) during write of data from the PLC CPU to the master module, the corresponding error code is stored into the remote register RWrn+8 of the AJ65VBTCU-68ADVN/ADIN.
Table 6.1 Error Code List (Errors detected by AJ65VBTCU-68ADVN/ADIN)
Error Code
(Decimal)
Cause Action
10
The average number of times setting is outside the range.
Correct the average number of times setting to within 1 to 10000.
11
The average time setting is outside the range.
Correct the average time setting to within 4 to 10000.
20
The input range setting is outside the setting range.
Correct the input range setting to within the setting range.
indicates the channel No. where the error occurred.
(1) If the average time/number of times setting error occurs, the "RUN" LED flickers at
intervals of 0.5s and A/D conversion processing is performed with the average time or number of times used prior to error occurrence. If the input range setting error occurs, the "RUN" LED flickers at intervals of 0.1s and A/D conversion processing is not performed on all channels
.
(2) If two or more errors occurred, the error code of the first error is stored and the
other errors are not stored.
(3) To reset the error code, turn on the error reset request flag RY(n+1)A.
6
6 - 2 6 - 2
MELSEC-A
6 TROUBLESHOOTING
6.2 Using the LED Indications to Check Errors
This section explains how to check errors using the LED indications of the AJ65VBTCU-68ADVN/ADIN. Refer to the PLC CPU and master module user's manual for issues regarding the PLC CPU and master module.
(1) When the AJ65VBTCU-68ADVN/ADIN "POWER" LED is off
Check item Corrective action Is 24VDC power on? Check the external power supply. Is the voltage of the 24VDC power supply within the
specified value?
Set the voltage value to within the range 20.4 to
26.4V.
(2) When the AJ65VBTCU-68ADVN/ADIN "RUN" LED is flashing
Check item Corrective action
When used as the ver. 1 remote device station (ver. 1 compatible slave station)
1. Check that the mode select switch is not set to other than 0. (When the module is used as the ver. 1 remote device station, set the mode select switch to "0".)
2. Check the error code (RWrn+8) to confirm the channel where the input range setting error occurred.
3. Correct the sequence program or GX Developer setting.
Is the LED flickering at 0.1s intervals in the normal mode?
When used as the ver. 2 remote device station (ver. 2 compatible slave station)
1. Check that the mode select switch is not set to other than 3. (When the module is used as the ver. 2 remote device station, set the mode select switch to "3".)
2. Check the error code (RWrn+8) to confirm the channel where the input range setting error occurred.
3. Correct the sequence program or GX Developer setting.
Is the LED flickering at 0.5s intervals in the mormal mode?
1. Check that the mode select switch has not been moved from the position at power-on. (When the switch is returned to the original setting, the flickering LED is lit.)
2. Check the error code (RWrn+8) to confirm the channel where the average number of times setting or average time setting error occurred.
3. Correct the sequence program or GX Developer setting.
Is the LED flickering at 0.1s intervals in the test mode?
Check that the mode select switch is not outside the
setting range.
Is the LED flickering at 0.5s intervals in the test mode?
Change the offset/gain adjustment to within the available setting range.
6
6 - 3 6 - 3
MELSEC-A
6 TROUBLESHOOTING
(3) When the AJ65VBTCU-68ADVN/ADIN "RUN" LED is off
Check item Corrective action
Is an attempt made to perform operation in the normal mode with the mode select switch set in the test mode?
Switch power on again after setting the mode select switch to the normal mode.
Has the watchdog timer error occurred?
Using the link special registers (SW0084 to SW0087) of the master module, check the watchdog timer error and power on the AJ65VBTCU-68ADVN/ADIN again. If the "RUN" LED is not lit after power is switched on again, the possible cause is a hardware fault. Contact your nearest Mitsubishi representative.
(4) When the AJ65VBTCU-68ADVN/ADIN "L RUN" LED is off
Communications are broken. For details, refer to troubleshooting in the user's manual of the master module used.
(5) When the AJ65VBTCU-68ADVN/ADIN "L ERR." LED flickers at fixed intervals
Check item Corrective action
Has the station number or transmission speed setting switch position been changed during normal operation?
After correcting th e se tti n g switch setting, switch power on again.
Is the station number or transmission speed setting switch faulty?
If the "L ERR." LED has begun flickering though switch setting change was not made during operation, the possible cause is a hardware fault. Contact your nearest Mitsubishi representative.
(6) When the AJ65VBTCU-68ADVN/ADIN "L ERR." LED flickers at unfixed intervals
Check item Corrective action
Have you forgotten fitting the terminating resistor?
Check whether the terminating resistor is fitted. If it is not connected, connect it and switch power on again.
Is the module or CC-Link dedicated cable affected by noise?
Earth both ends of the shield wire of the CC-Link dedicated cable to the protective earth conductor via SLD and FG of the corresponding module. Earth the FG terminal of the module without fail. When carrying out wiring in piping, earth the pipe without fail.
(7) When the AJ65VBTCU-68ADVN/ADIN "L ERR." LED is on
Check item Corrective action
Are the station number and transmission speed correct?
Set the correct station number and transmission speed.
6 - 4 6 - 4
MELSEC-A
6 TROUBLESHOOTING
6.3 When the digital output value cannot be read
Check item Corrective action Is the "POWER" LED off? Take action as described in Section 6.2 (1). Is the "RUN" LED flashing or off? Take action as described in Section 6.2 (2), (3). Is the "L RUN" LED off? Take action as described in Section 6.2 (4).
Is the "L ERR." LED on?
Take action as described in Section 6.2 (7). Check the error details according to the master module user's manual.
Is the PLC CPU "RUN" LED flashing or off?
Check the error details according to the PLC CPU user's manual.
Is the master module "RUN" LED off?
Check the error details according to the master module user's manual.
Is the master module [RD] [SD] LED on?
Check the error details according to the master
module user's manual. Is the analog input signal line disconnected, cut off, or any errors?
Check the error area by checking the signal line
visually or by conductive check.
Remove the AJ65VBTCU-68ADVN/ADIN analog input cable. Apply the test voltage (stable power supply or battery) to this module's terminal, and measure the digital output value.
If he AJ65VBTCU-68ADVN/ADIN module digital
output value is normal, the effects are being
received by noise from an external wiring. So check
the wiring and grounding method.
Lift the AJ65VBTCU-68ADVN/ADIN from the
system, and remove the grounding circuit. (install to
the DIN rail.)
6 - 5 6 - 5
MELSEC-A
6 TROUBLESHOOTING
6.4 Troubleshooting for the Case where the "ERR." LED of the Master Station Fl i ckers
The "ERR"LED on the master station is flashing
Do the parameter
setting and the installed system
configuration match
properly?
Are the master
station link special registers
SW0080 to SW0083 (other station
date link status)
turned on?
Are the master
station link special registers
SW0098 to SW009B (station
number overlap status)
turned on?
Check the module for which SW0098 to SW009B are on
Are the
station number setting
switches set
properly?
Set the station number setting swiches properly
Revise the parameter settings or installed system configuration
Master station malfunction
Corresponding module malfunction
Turn on the power again
1
3
N
N
N
Y
Y
Y
Y
Check the module for which SW0080 to SW0083 are on
Is the power on?
Turn on the power
Is the "POWER" LED lit?
Is the supplied
power within the specified
range
Set the supplied voltage to within the specified range
Corresponding module malfunction
2
Check on master station side
Check on slave station side
N
N
Y
Y
Y
N
Are the master
station link special registers
SW0144 to SW0147 (mounting/
parameter matching status (2))
turned on?
Check the module for which SW0144 to SW0147 are on.
Do the parameter
and module match in
CC-Link version?
Failure of the corresponding module
Match the version of the corresponding module and that of the parameter.
Switch power off, then on again.
N
Y
Y
N
N
6 - 6 6 - 6
MELSEC-A
6 TROUBLESHOOTING
Are the
station number
setting switches properly
(not overlapping with
other stations)?
Set the station number setting switches properly
Set the correct transmission speed
Is the transmission speed
setting correct?
Corresponding module malfunction
( Transmission speed setting switch )
Is the communication
cable wired properlly ?
*1
1 2 3
N
N
N
Y
Is the "L RUN" LED lit?
N
Turn on the power again
Turn on the power again
Wire the communication cable properly
Are the
station number
setting switches properly
(not overlapping with
other stations)?
Set the station number setting switches properly
Corresponding module malfunction
( station number setting switch )
End
Turn on the power again
Y
Y
Y
Y
N
*1 Check for a short, reversed connection, wire breakage, terminal resistor, FG connection, overall distance and station-to-station distance.
App - 1 App - 1
MELSEC-
A
A
PPENDIX
APPENDIX
Appendix 1 Comparison, Differences and Compatibility between New and Conventional
Models
(1) Comparison between AJ65VBTCU-68ADV/ADI and AJ65VBTCU-
68ADVN/ADIN
The following table indicates the comparison between the AJ65VBTCU­68ADV/ADI and AJ65VBTCU-68ADVN/ADIN.
Comparison between AJ65VBTCU-68ADV/ADI and AJ65VBTCU-68ADVN/ADIN
Item AJ65VBTCU-68ADV/ADI AJ65VBTCU-68ADVN/ADIN
Ver. 1 remote device station (ver. 1 compatible slave station) or remote device station
• Ver. 1 remote device station (ver. 1 compatible slave station) or remote device station
• Ver. 2 remote device station (ver. 2 compatible slave station)
System compatibility (Station type, mode)
Remote net ver. 1 mode or remote net mode
• Remote net ver. 1 mode or remote net mode
• Remote net ver. 2 mode
• Remote net additional mode
Number of occupied stations
3 stations (RX/RY 32 points each, RWr/RWw 12 points each)
Ver. 1 remote device station (ver. 1 compatible slave station) setting: 3 stations (RX/RY 32 points each, RWr/RWw 12 points each) Ver. 2 remote device station (ver. 2 compatible slave station) setting: 1 station (RX/RY 32 points each, RWr/RWw 16 points each)
Operation status indicator LED/RUN LED
Normal mode
On : During normal operation Flicker : 0.1s intervals Input range setting
error, mode select switch setting error
0.5s intervals Average value setting (number of times, time) error
Off : 24VDC power off or watchdog timer
error
Normal mode
On : During normal operation Flicker : 0.1s intervals Input range setting error, mode
select switch setting error, or when this module is set as the ver. 2 remote device station (ver. 2 compatible slave station) and used with the remote net ver. 1 mode selected in the mode setting of the network parameter.
0.5s intervals Average value setting (number of times, time) error, or when the mode select switch setting is changed after power-on.
Off : 24VDC power off or watchdog timer error
AJ65VBTCU-68ADV AJ65VBTCU-68ADVN
Ver. 1 remote device station (Ver. 1 compatible slave station)
0: Normal mode 1: Test mode (user range setting 1) 2: Test mode (user range setting 2)
Ver. 2 remote device station (Ver. 2 compatible slave station)
3: Normal mode 4: Test mode (user range setting 1) 5: Test mode (user range setting 2)
0: Normal mode 1: Test mode (user range setting 1) 2: Test mode (user range setting 2) 3 to 7: Reserved
6 to 7: Reserved
AJ65VBTCU-68ADI AJ65VBTCU-68ADIN
Ver. 1 remote device station (Ver. 1 compatible slave station)
0: Normal mode 1: Test mode (user range setting)
Ver. 2 remote device station (Ver. 2 compatible slave station)
3: Normal mode 4: Test mode (user range setting)
Mode select switch (factory setting "0")
0: Normal mode 1: Test mode (user range setting) 2 to 7: Reserved
2, 5 to 7: Reserved
App
App - 2 App - 2
MELSEC-
A
A
PPENDIX
(2) Differences between AJ65VBTCU-68ADV/ADI and AJ65VBTCU-
68ADVN/ADIN
The AJ65VBTCU-68ADVN/ADIN can be handled according to the system. (Refer to Section 4.4 for details.)
For the AJ65VBTCU-68ADV/ADI, the number of stations occupied by the module was 3 stations. For the AJ65VBTCU-68ADVN/ADIN, the number of stations occupied by the module can be handled as 1 station by setting the mode select switch of the module to the ver. 2 remote device station.
Further, for the AJ65VBTCU-68ADVN/ADIN, the number of stations occupied by the module can also be handled as 3 stations, like the AJ65VBTCU-68ADV/ADI, by setting the mode select switch of the module to the ver. 1 remote device station.
In the system where the maximum number of connected stations of the master station exceeds 64 stations when the number of stations occupied by the AJ65VBTCU-68ADVN/ADIN is handled as 3 stations, use of the AJ65VBTCU-68ADVN/ADIN in the above setting can increase the number of connected remote device stations.
(3) Compatibility between AJ65VBTCU-68ADV/ADI and AJ65VBTCU-
68ADVN/ADIN
There is compatibility when the AJ65VBTCU-68ADVN/ADIN is used as the ver. 1 remote device station in the existing system. (Refer to Section 4.4 for details.)
When the AJ65VBTCU-68ADV is replaced by the AJ65VBTCU-68ADVN or the AJ65VBTCU-68ADI is replaced by the AJ65VBTCU-68ADIN in the existing system, the replacement can be made without the programs being modified since the remote I/O signals, remote registers, etc. are the same.
Set the mode select switch of the module to the ver. 1 remote device station and use the same station number.
POINT
To handle the AJ65VBTCU-68ADVN/ADIN according to the system, the mode select switch of the module must be set, and at the same time, "mode setting" and "station information (station type)" in the network parameters of GX Developer must also be set. Set the network parameters of GX Developer according to the system.
App
Loading...