(Always read these instructions 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 instructions given in this manual are concerned with this product. For the safety instructions of the
PLC system, please read the user's manual for the CPU module to use.
In this manual, the safety instructions are ranked as "DANGER" and "CAUTION".
DANGER
!
CAUTION
!
Note that the !CAUTION level may lead to a serious consequence according to t he circumstances.
Always follow the instructions of both levels because they are important to personal safety.
Please store this manual in a safe place and make it accessible when required. Alway s forward it to the
end user.
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.
[DESIGN PRECAUTION]
!
DANGER
• Do not write data into the "system area" of the buffer memory of intelligent function modules.
Also, do not use any "prohibited to use" signals as an output signal to an int elligent funct ion
module from the PLC CPU.
Writing data into the "system area" or outputting a signal for "prohibited to use" may cause a
PLC system malfunction.
!
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 may cause malfunction.
A - 1 A - 1
[INSTALLATION PRECAUTIONS]
!
CAUTION
• Use the PLC in an environment that meets the general specifications contain ed in the user's
manual of the CPU module to use.
Using this PLC in an environment outside the range of the general specificat ions may cause
electric shock, fire, malfunction, and damage to or deterioration of the product.
• When installing the module, securely insert the module fixing tabs int o the mountin g holes of the
base unit while pressing the installation lever locat ed at the bottom of the module downward.
Improper installation may result in malfunction, breakdown or the module co ming loose and
dropping.
Securely fix the module with screws if it is subject to vibration during use.
• Tighten the screws within the range of specified torque.
If the screws are loose, it may cause the module to fallout, short circuits, or malfunction.
If the screws are tightened too much, it may cause damage to the screw and/or the module,
resulting in fallout, short circuits or malfunction.
• Switch all phases of the external power supply off when mounting or removing the modu le.
Not doing so may cause damage to the module.
The system that uses the QnPHCPU allows y ou to change a module online. Not e that there are
restrictions on the modules that can be changed online and each module has a predetermined
changing procedure. For details, refer to the chapter of online module change in this manual.
• Do not directly touch the conductive area or electronic components of the module.
Doing so may cause malfunction or failure in the module.
[WIRING PRECAUTIONS]
!
CAUTION
• Always ground the FG terminal for the PLC.
There is a risk of electric shock or malfunction.
• When turning on the power and operating the module after wiring is completed, always attach
the terminal cover that comes with the product.
There is a risk of electric shock if the terminal cover is not attached.
• Tighten the terminal screws within the range of specified torque.
If the terminal screws are loose, it may result in short circuits or malfunction.
If the terminal screws are tightened too much, it may cause damage to the screw and/or the
module, resulting in short circuits or malfunction.
• Be careful not to let foreign matter such as sawdust or wire chips get inside the module.
They may cause fires, failure or malfunction.
• The top surface of the module is covered with protective film to prevent foreign objects such as
cable offcuts from entering the module when wiring.
Do not remove this film until the wiring is complete.
Before operating the system, be sure to remove the film to provide adequate ventilat ion.
A - 2 A - 2
[STARTING AND MAINTENANCE PRECAUTIONS]
!
CAUTION
• Do not disassemble or modify the modules.
Doing so could cause failure, malfunction injury or fire.
• Switch all phases of the external power supply off when mounting or removing the modu le.
Not doing so may cause failure or malfunction of the module.
The system that uses the QnPHCPU allows y ou to change a module online. Not e that there are
restrictions on the modules that can be changed online and each module has a predetermined
changing procedure. For details, refer to the chapter of online module change in this manual.
• Do not touch the connector while the power is on.
Doing so may cause malfunction.
• Switch all phases of the external power supply off when cleaning or retightening the terminal
screws and module installation screws.
Not doing so may cause failure or malfunction of the module.
If the screws are loose, it may cause the module to fallout, short circuits, or malfunction.
If the screws are tightened too much, it may cause damages to the screws and/or the module,
resulting in the module falling out, short circuits or malfunct ion.
•
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.
[DISPOSAL PRECAUTIONS]
!
CAUTION
• When disposing of this product, treat it as industrial wast e.
A - 3 A - 3
REVISIONS
The manual number is given on the bottom left of the back cover.
Print Date Manual NumberRevision
Dec., 1999SH (NA)-080055-A First printing
Oct., 2000SH (NA)-080055-B Add the contents of the function version B.
Correction
About the Generic Terms and Abbreviations, Section 2.1, Section 3.1.3,
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.
1999 MITSUBISHI ELECTRIC CORPORATION
A - 5 A - 5
INTRODUCTION
Thank you for purchasing the MELSEC-Q series PLC.
Before using the equipment, please read this manual carefully to develop full familiarity with the functions
and performance of the Q series PLC you have purchased, so as to ensure correct use.
Please forward a copy of this manual to the end user.
1.1 Features ..................................................................................................................................................1- 1
1.2 Functions Added to Function Version B and Later................................................................................1- 2
3.2 Function List............................................................................................................................................3-10
3.2.2 Maximum and minimum values hold function.................................................................................3-12
3.3 I/O Signals for the PLC CPU ..................................................................................................................3-12
3.3.1 List of I/O signals..............................................................................................................................3-12
3.3.2 Details of I/O signals ........................................................................................................................3-13
5.2 Installing and Uninstalling the Utility Package........................................................................................5- 2
5.2.1 User precautions ..............................................................................................................................5- 2
7.3.2 When industrial shipment setting is used and initial setting was made with sequence program. 7 - 8
7.3.3 When user range setting is used and initial setting was made with GX Configurator-AD
(other system is available)..............................................................................................................7 -12
7.3.4 When user range setting is used and initial setting was made with GX Configurator-AD
(other system is unavailable)..........................................................................................................7 -16
7.3.5 When user range setting is used and initial setting was made with sequence program
(other system is available)..............................................................................................................7 -22
7.3.6 When user range setting is used and initial setting was made with sequence program
(other system is unavailable)..........................................................................................................7 -26
7.4 Range Reference Table.........................................................................................................................7 -30
7.5 Precautions for Online Module Change ................................................................................................7 -31
Conformation to the EMC Directive and Low Voltage Instruction
For details on making Mitsubishi PLC conform to the EMC directive and low voltage instruction when
installing it in your product, please see Chapter 3, "EMC Directive and Low Voltage Instruction" of the User's
Manual (Hardware) of the PLC CPU to use.
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 instructi on.
By making this product conform to the EMC directive and low voltage instruction, it is not necessary to make
those steps individually.
About the Generic Terms and Abbreviations
Unless otherwise specified, this manual uses the following general terms and abbreviations.
Abbreviation/general termsDescription of the abbreviation/general terms
A/D converter moduleGeneric term for Q64AD, Q68ADI, Q68ADV
Personal computerIBM PC/AT® or compatible computer with DOS/V.
Generic product name of the product types SWnD5C-GPPW-E, SWnD5C-GPPW-EA,
GX Developer
GX Configurator-AD
QCPU (Q mode)
QnPHCPUGeneric term for Q12PHCPU and Q25PHCPU.
Personal computerGeneric term for DOS/V personal computer
Factory setting
SWnD5C-GPPW-EV and SWnD5C-GPPW-EVA.
"n" in the model name is 4 or greater.
Generic term for analog-digital converter module setting and monitor tool GX
Configurator-AD (SW0D5C-QADU-E)
Generic term for Q00JCPU, Q00CPU, Q01CPU, Q02CPU, Q02HCPU, Q06HCPU,
Q12HCPU, Q25HCPU
Generic term for analog input ranges 0 to 10V, 0 to 5V, 1 to 5V, -10 to 10V, 0 to 20mA
and 4 to 20mA
A - 9 A - 9
Product Structure
The product structure of this product is given in the table below.
Model codeProduct nameQuantity
Q64ADQ64AD Model Analog-Digital Converter Module1
Q68ADVQ68ADV Model Analog -Digital Converter Module1
Q68ADIQ68ADI Model Analog -Digital Converter Module1
SW0D5C-QADU-EGX Configurator-AD Version 1 (1-license product) (CD-ROM)1
SW0D5C-QADU-EAGX Configurator-AD Version 1 (Multiple-license product) (CD-ROM)1
A - 10 A - 10
1 OVERVIEW
1 OVERVIEW
MELSEC-Q
1.1 Features
This User's Manual describes the specifications, handling and programming methods
for the Q64AD analog-digital converter module (hereinafter referred to as the Q64AD),
Q68ADV analog-digital converter module (hereinafter referred to as the Q68ADV), and
Q68ADI analog-digital converter module (hereinafter referred to as the Q68ADI), which
are used in conjunction with MELSEC-Q Series CPUs.
In this manual, the Q64AD, Q68ADV, and Q68ADI are collectively referred to as the
A/D converter modules.
(1) Select the type of module according to the appl i cati on.
• Q64AD
• Q68ADV
• Q68ADI
4 channels, where the voltage input or current input can be
selected for each channel.
........
8 channels, all of which are voltage input.
..........
8 channels, all of which are current input.
...........
(2) High speed conversion
Conversion is performed at a high speed of 80 µ s/channel. Also, the
temperature drift compensation function can be performed using a processing
time of "conversion time for all channels + 160
s".
1
(3) High degree of accuracy
The degree of accuracy for the conversion process is ± 0.1% (When the ambient
temperature is 25 ± 5 °C).
(4) Changing the resolution mode
The resolution mode can be changed according to the application, and digitalvalue resolution settings of 1/4000, 1/12000 or 1/16000 can be selected.
(5) Changing the input range
The input range 1 can easily be set fro m th e GX De vel o pe r.
1: Input range refers to the type of offset/gain settings. The most frequently
used range is set as the default but the user can also set the offset/gain.
(6) Easy settings using the utility package
A utility package is sold separately (GX Configurator-AD).
The utility package is not a required item. However, it can be used to set initial
settings and automatic refresh settings on screen, reduce sequence programs,
and check settings and operating status.
1 - 1 1 - 1
1 OVERVIEW
1.2 Functions Added to Function Version B and Later
MELSEC-Q
1
Multiple PLC system
compatibility
Resolution mode
High resolution mode
status flag (X8)
Maximum value/minimum
value reset completed flag
(XD)
Online module change
Mode switching that does
not require PLC CPU to be
reset
(1) Functions added to function version B
The functions added by the function version B A/D converter module are listed
below.
ItemFunction overviewReference section
Compatible with a multiple PLC system. A PLC CPU of function version
B or later are required.
The resolution mode can be changed according to the appli cation, and
digital-value resolution settings of 1/4000, 1/12000 or 1/16000 ca n be
selected.
This turns ON when in high resolution mode.Section 3.3
This turns ON when the maximum and minimum values stored in buffer
memory addresses 30 to 45 are reset by the maximum v alue/minimu m
value reset request (YD).
Section 2.1
Section 3.2
Section 3.3
(2) Functions added to function version C
The functions added to the A/D converter module of function version C are listed
below.
ItemFunction overviewReference section
You can change the module without stopping the system. A PLC CP U
of function version C or later is required.
Using the mode switching setting (buffer memory addresses 158, 15 9:
Un\G158, Un\G159) and operation condition setting request (Y9), the
module is switched between the normal mode and offset/ga in settin g
mode without the PLC CPU being reset.
Using the dedicated instruction (G.OFFGAN), the module is switched
between the normal mode and offset/gain setting mode w ithout the
PLC CPU being reset.
Using GX Configurator-AD, the module is switched between the normal
mode and offset/gain setting mode without the PLC CPU being reset.
Chapter 7
Section 3.4.13
Appendix 2.1
Section 5.6.2
POINT
(1) See Appendix 1.1 for a comparison of functions of the function version.
(2) See Section 2.2 on how to check the function version.
1 - 2 1 - 2
2 SYSTEM CONFIGURATION
2 SYSTEM CONFIGURATION
2.1 Applicable Systems
This section describes the system configuration for the A/D converter module.
MELSEC-Q
(1) Applicable module and the nu mber of modules that can be installed
The following are the CPU module and network module (for remote I/O stations)
in which the A/D converter module can be installed and the number of modules
that can be installed.
CPU module
Network module
1 See User's Manual (Function Explanation, Program Fundamentals) for the CPU module to use.
2 See Q Corresponding MELSECNET/H Network System Reference Manual (Remote I/O
network).
Applicable module
Q12PHCPU
Q25PHCPU
QJ72LP25-25
QJ72LP25G
QJ71LP25GE
Number of modules that
can be installed
Q00JCPUMaximum 16
Q00CPU
Q01CPU
Q02CPU
Q02HCPU
Q06HCPU
Q12HCPU
Q25HCPU
QJ72BR15
Maximum 24
Maximum 64
Maximum 64
Maximum 64
Can be installed in Q mode only
1
(
MELSECNET/H Remote I/O
station (
Remarks
1
(
)
)
1
(
)
2
)
2
(2) Base Unit in which the converter modul e can be i nstall ed
The A/D converter module can be installed in any I/O slot ( 3) of the base unit.
However, a power shortage may occur depending on the combination with other
installed modules and the number of modules used, so always take into
consideration the power supply capacity when installing modules.
3 Limited to the range of the number of I/O points in the CPU module and network module (for
remote I/O station s) .
(3) Compatibility with a multiple PLC system
First read the QCPU (Q mode) user's manual (Function Explanation, Program
Fundamentals) if the A/D converter module is used with a multiple PLC system.
(a) Compatible A/D converter module
Use an A/D converter module with function version B or higher if using the
module in a multiple PLC system.
(b) Intelligent function module parameters
Perform PLC write of the intelligent function module parameters to the
control PLC of the A/D converter module only.
2 - 1 2 - 1
2 SYSTEM CONFIGURATION
(4) Compatibility with online module change
2
(5) Software packages supported
MELSEC-Q
To make an online module change, use the module of function version C or later.
POINT
The products of function version C include the functions of the products of function
versions A and B.
Correspondence between systems which use A/D converter modules and
software packages are as shown below.
The GX Developer is necessary when using a A/D converter module.
Software Version
GX Developer
GX Configurator-AD
4
Single PLC systemVersion 7 or later
Q00J/Q00/Q01CPU
Multiple PLC systemVersion 8 or later
Q02/Q02H/Q06H/
Q12H/Q25HCPU
Q12PH/Q25PHCPU
If installed in a MELSECNET/H remote I/O
station
4 Refer to Appendix 1.2 for the combinations of the A/D converter module functions and GX
Configurator-AD software versions.
Single PLC systemVersion 4 or later
Multiple PLC systemVersion 6 or later
Single PLC system
Multiple PLC system
Version 7.10L or later
Version 6 or later
Version 1.10L or later
(cannot be used with the
SW0D5C-QADU-E 50F
or earlier versions).
SW0D5C-QADU-E 00A
or later
SW0D5C-QADU-E 20C
or later
Version 1.13P or later
(cannot be used with the
SW0D5C-QADU-E 50F
or earlier versions).
SW0D5C-QADU-E 50F
or later
2 - 2 2 - 2
2 SYSTEM CONFIGURATION
2.2 How to Check the Function Version and Softw ar e Ver si on
This section describes how to check the function version of the A/D converter module
and the GX Configurator-AD software version.
(1) How to check the function version of the A/D conv er ter module
(a) To check the version using the "SERIAL column of the rating plate" located
on the side of the module
MELSEC-Q
(b) To check the version using the GX Developer
See Section 8.2.4 of this manual.
Function version
80M1 IND. CONT. EQ.
(2) How to check the GX Configurator-AD softw are v ersion
The GX Configurator-AD software version can be checked in GX Developer's
"Product information" screen.
[Startup procedure]
GX Developer "Help" Product information
Software version
(In the case of GX Developer Version 7)
2 - 3 2 - 3
2 SYSTEM CONFIGURATION
REMARK
The version indication for the GX Configurator-AD has been changed as shown
below from the SW0D5C-QADU-E 50F upgrade product.
Previous productUpgrade and subsequent versions
SW0D5C-QADU-E 50F
MELSEC-Q
GX Configurator-AD Version 1.10L
2 - 4 2 - 4
3 SPECIFICATIONS
3 SPECIFICATIONS
3.1 Performance Specifications
3.1.1 Performance specifications list
Table 3.1 shows the performance specifications of the A/D converter modules.
Table 3.1 Performance specifications
MELSEC-Q
Model name
Item
Q64ADQ68ADVQ68ADI
Analog input points4 points (4 channels)8 points (8 channels)8 points (8 channels)
Analog
input
Digital output
I/O characteristics,
Maximum resolution
Voltage–10 to 10 V DC (Input resistance value 1M )———
Current
0 to 20 mA DC
(input resistance value 250
)
———
0 to 20 mA DC
(input resistance value 250 )
16-bit signed binary (normal resolution mode: –4096 to 4095,
high resolution mode: –12288 to 12287, –16384 to 16383
Normal resolution modeHigh resolution mode
Analog input range
0 to 10 V2.5 mV0 to 160000.625 mV
0 to 5 V1.25 mV0.416 mV
1 to 5 V
Voltage
Current
–10 to 10 V2.5 mV
Users range
setting
0 to 20 mA
4 to 20 mA
Users range
setting
Digital output
value
0 to 4000
–4000 to 4000
0 to 4000
–4000 to 4000
Maximum
resolution
1.0 mV
0.375 m V
5
A1.66 A
A
4
1.37
A
Digital output
value
0 to 12000
–16000 to
16000
–12000 to
12000
0 to 12000
–12000 to
12000
Maximum
resolution
0.333 mV
0.625 mV
0.333 mV
1.33 A
1.33 A
3
Normal resolution modeHigh resolution mode
Accuracy
(Accuracy
in respect
to
maximum
digital
output
value)
Analog input range
0 to 10 V
–10 to 10 V
Voltage
Current
0 to 5 V
1 to 5 V
Users range
setting
0 to 20 mA
4 to 20 mA
Users range
setting
Ambient temperature 0 to 55 °CA mbient temperature 0 to 55 °C
With
temperature
drift correctio n
± 0.3 %
(± 12 digit
Without
temperature
drift correctio n
± 0.4 %
)
(± 16 digit )
Ambient
temperature
25 ± 5 °C
± 0.1 %
(± 48 digit )
With
temperature
drift correctio n
± 0.3 %
(± 48 digit
± 0.3 %
(± 36 digit
Without
temperature
drift correctio n
± 0.4 %
)
(± 64 digit )
± 0.4 %
)
(± 48 digit )
Digit indicates a digital value.
3 - 1 3 - 1
Ambient
temperature
25 ± 5 °C
± 0.1 %
(± 16 digit )
± 0.1 %
(± 12 digit )
3 SPECIFICATIONS
MELSEC-Q
Model name
Item
Conversion speed
Absolute maximum inputVoltage : ± 15 V Current : ± 30 mA
E2PROM write countMax. 100 thousand times
Insulation method
Dielectric withstand voltageBetween the I/O terminal and PLC power supply: 500VAC for 1 minute
Insulation resistanceBetween the I/O terminal and PLC power supply: 500VDC 20M or more
3
Number of occupied points16 points
Connection terminals18-point terminal block
Applicable wire size0.3 to 0.75 mm
Applicable solderless terminalR1.25-3 (A solderless terminal with sleeve cannot be used)
Internal current consumption
(5 V DC)
Weight0.18 kg0.19 kg0.19 kg
(When there is temperature drift, the time calculated by adding 160 s will be used
Q64ADQ68ADVQ68ADI
80 s/channel
regardless of the number of channels used)
Between the I/O terminal and PLC power supply : Photocoupler insulation
Between channels : Non-insulated
2
0.63 A0.64 A0.64 A
REMARK
See the user’s manual for the CPU module being used for general specifications of
the A/D converter modules.
3.1.2 I/O conversion characteristic
The I/O conversion characteristic represents the angle formed by a straight line
connecting the "offset value" and "gain value" when the analog signals (voltage or
current input) from outside the PLC are converted to digital values.
Offset value
The offset value denotes the analog input value (voltage or current) that makes the
digital output value 0.
Gain value
The gain value denotes the analog input value (voltage or current) that makes the
digital output value:
4000 (in normal resolution mode)
12000 (when 0 to 5 V, 1 to 5 V, 4 to 20 mA, 0 to 20 mA or the user range setting is
selected in high re sol u tion mode )
16000 (when -10 to 10 V or 0 to 10 V is selected in high resolution mode).
3 - 2 3 - 2
3 SPECIFICATIONS
(1) Voltage input characteristic
4095
4000
MELSEC-Q
(a) Voltage input characteristic in normal resolution mode
Figure 3.1 shows a graph of t he voltag e input characteri stic in nor mal resolution
mode.
Analog input practical range
3) 4)
2000
0
–96
Digital output value
–2000
–4000
–4096
–15–10
Number
Analog input
range setting
Offset valueGain value
1)1 to 5 V1 V5 V1.0 mV
2)0 to 5 V0 V5 V
2)
–5
Analog input voltage (V)
051015
1
Digital output value
1)
0 to 4000
2
Maximum
resolution
3)–10 to 10 V0 V10 V–4000 to 40002.5 mV
4)0 to 10 V0 V10 V0 to 40002.5 mV
—User range setting
11
–4000 to 40000.375 mV
1.25 mV
Figure 3.1 Voltage input characteristic in normal r esol ution mode
3 - 3 3 - 3
3 SPECIFICATIONS
16383
16000
12287
12000
8000
MELSEC-Q
(b) Voltage input characteristic in high resolution mode
Figure 3.2 shows a graph of t he voltag e input characteristi c in high resolution
mode.
Analog input practical range
3) 4)
2)
1)
0
–288
–384
Digital output value
–8000
–16000
–16384
Number
–15–10
Analog input
range setting
Offset valueGain value
–5
Analog input voltage (V)
1)1 to 5 V1 V5 V0.333 mV
2)0 to 5 V0 V5 V
1
051015
Maximum
Digital output value
2
resolution
0 to 12000
0.416 mV
3)–10 to 10 V0 V10 V–16000 to 160000.625 mV
4)0 to 10 V0 V10 V0 to 160000.625 mV
—User range setting
11
–12000 to 120000.333 mV
Figure 3.2 Voltage input characteristic in hig h r esolution mode
3 - 4 3 - 4
3 SPECIFICATIONS
MELSEC-Q
POINT
(1) Set within the analog input range and digital output range for each input range.
If these ranges are exceeded, the maximum resolution and accuracy may not
fall within the performance specifications. (Avoid using the dotted line area
shown in Figures 3.1 and 3.2.)
(2) Do not input an analog input voltage of more than ± 15 V. The input elements
may be damaged.
(3) Set the offset/gain values for the user setting range
1 within a range in which
the following conditions are satisfied.
{ (Gain value) – (Offset value) } > A
<Value of A>
Normal resolution modeHigh resolution mode
1.5 V4.0 V
(4) When an analog value that exceeds the range fo r the digital output value 2 is
entered, the digital output value will be fixed at the maximum or mini mum value.
Analog input range
setting
1 to 5 V
0 to 5 V
–10 to 10 V–4096–16384
0 to 10 V–96–384
User range setting–4096
Normal resolution modeHigh resolution mode
MinimumMaximumMinimumMaximum
–96–28812287
4095
–1228812287
16383
3 - 5 3 - 5
3 SPECIFICATIONS
(2) Current input characteristic
4095
4000
2000
MELSEC-Q
(a) Current input characteristic in normal resolution mode
Figure 3.3 shows a graph of t he current input ch aracteristic in normal re solution
mode.
Analog input practical range
1)
2)
0
–96
Digital output value
–2000
–4000
–4096
–30–20–100102030
Analog input current (mA)
Number
Analog input
range setting
Offset valueGain value
1)4 to 20 mA4 mA20 mA
2)0 to 20 mA0 mA20 mA
—User range setting
11
Figure 3.3 Current input characteristic in nor mal r esol ution mode
4
Digital output value
0 to 4000
–4000 to 4000
2
Maximum
resolution
A
4
A
5
A
1.37
3 - 6 3 - 6
3 SPECIFICATIONS
12287
12000
6000
MELSEC-Q
(b) Current input characteristic in high resolution mode
Figure 3.4 shows a graph of t he current input characteristic in high re solution
mode.
Analog input practical range
1)
2)
0
–288
Digital output value
–6000
–12000
–12288
–30–20–100102030
Analog input current (mA)
Number
Analog input
range setting
Offset valueGain value
1)4 to 20 mA4 mA20 mA
2)0 to 20 mA0 mA20 mA
—User range setting
11
Figure 3.4 Current input characteristic in hig h r esoluti on mode
4
Digital output value
0 to 12000
–12000 to 12000
2
Maximum
resolution
A
1.66
1.33
A
A
1.33
3 - 7 3 - 7
3 SPECIFICATIONS
MELSEC-Q
POINT
(1) Set within the analog input range and digital output range for each input range.
If these ranges are exceeded, the maximum resolution and accuracy may not
fall within the performance specifications. (Avoid using the dotted line area
shown in Figures 3.3 and 3.4.)
(2) Do not input an analog input current of more than ± 30 mA. A breakdown may
result due to overheating.
(3) Set the offset/gain values for the user setting range
1 within a range in which
the following conditions are satisfied.
{ (Gain value) – (Offset value) } > A
<Value of A>
Normal resolution modeHigh resolution mode
5.5 mA16.0 mA
(4) When an analog value that exceeds the range of the digital output value 2 is
entered, the digital output value will be fixed at the maximum or minimum
value.
Analog input range
setting
4 to 20 mA
0 to 20 mA
User range setting–4096
Normal resolution modeHigh resolution mode
MinimumMaximumMinimumMaximum
–96–28812287
4095
–1228812287
3 - 8 3 - 8
3 SPECIFICATIONS
3.1.3 Accuracy
Accuracy is represented with respect to the maximum digital output value.
Accuracy does not change and remains within the range listed in the performance
specification even if the input characteristic is changed by changing offset/gain
settings, input range and resolution mode.
Figure 3.5 shows the range of flu ctu at io n in accu ra cy when a - 1 0 to 10V ra n ge is
selected and in normal resolution mode. Accuracy is ± 0.1% (± 4 digits) when the
ambient temperature is 25 ± 5°C, ± 0.3% (± 12 digits) when the ambient temperature is
0 to 55 °C with temperature drift compensation, and ± 0.4% (± 16 digits) when the
ambient temperature is 0 to 55 °C without temperature drift compensation.
MELSEC-Q
4000
Fluctuation range
0
Digital output value
–4000
–10 V0 V10 V
Analog input value
Figure 3.5 Accuracy
3 - 9 3 - 9
3 SPECIFICATIONS
MELSEC-Q
3.2 Function List
Table 3.2 shows the function list of the A/D converter modules.
Table 3.2 Function list
ItemFunctionReference section
A/D conversion enable/
disable setting
A/D conversion method
Maximum and minimum
values hold function
Temperature drift
compensation function
Resolution mode
Online module change(1) A module change is made without the system being stopped.Chapter 7
(1) Specifies whether to enable or disable the A/D conversion for each channel.
(2) By disabling the conversion for the channels that are not used, the
sampling time can be shortened.
(1) Sampling processing
The A/D conversion for analog input values is performed successively for
each channel, and the digital output value is output upon each conversion.
(2) Averaging processing
For each channel, A/D conversion values are averaged for the set number of
times or set amount of time, and the average value is output as a digital value.
(1) The maximum and minimum values of the digital out put values is retained
in the module.
(1) Errors arising from changes in the ambient temperature of the module are
automatically compensated for to improve conversion acc uracy .
(2) The temperature drift compensation function can be performed at (A/D
conversion time for all channels) + 160
(1) The resolution mode can be switched according to the application, and digital-
value resolution settings of 1/4000, 1/12000 or 1/16000 can be selected.
(2) The resolution mode setting is applicable to all channel s.
(3) See Section 3.1.1 for the digital output values and maximum resolution in
normal resolution mode and high resolution mode.
s.
Section 3.4.2
Section 3.2.1
Section 3.2.2
——
Section 3.1.1
Section 4.5
3.2.1 A/D conversion methods
There are two A/D conversion methods, sampling processing and averaging processing.
(1) Sampling processing
A/D conversion is performed successively for the analog input value, and the
converted digital output values are stored in the buffer memory.
The sampling processing time depends on the number of channels used (the
number of channels set to A/D conversion enable) and whether the temperature
drift compensation function is available.
(a) Without the temperature drift compensation function
(Processing time) = (Number of channels u sed)
(b) With the temperature drift compensation function
(Processing time) = (Number of channels used)
[Example]
When three channels (channels 1, 2 and 4) are A/D conve r sion e nabl ed w i th th e
temperature drift co mpensati on fun ction, the sampling p rocessi ng time i s 400
(2) Averaging processing
For channels for which averaging processing is specified, A/D conversion is
performed for the set number of times or the set amount of time. The average
value is calculated from the sum of values excluding the maximum and minimum
values, and then stored in the buffer memory.
3
80 + 160 = 400 ( s)
80 ( s/1 channel)
80 ( s/1 channel) + 160 s
s.
3 - 10 3 - 10
3 SPECIFICATIONS
MELSEC-Q
(a) When averaging processing is specified for the set amount of time
1) The number of processing repetitions within the set time differs
according to the number of channels used (number of channels for
which A/D conversion is enabled) and whether or not temperature-drift
compensation is used.
• Without the temperature drift compensation function
(Number of
processing repetitions)
=
(Number of channels used) 80 ( s/1 channel)
• With the temperature drift compensation function
(Number of
processing repetitions)
=
(Number of channels used)
[Example]
When averaging processing is performed with four channels (channels 1, 2,
3, and 4) for the set time of 50 ms with the temperature drift compensation
function on, measurement is performed 104 times and the average value is
output.
50 1000
(4
80) + 160
= 104.17 (times)
(Set time) 1000
(Set time) 1000
80 ( s/1 channel) + 160
……
Round down the number.
2) When 7 or 8 channels are used with the temperature drift compensation
function on, set the average time to 3 ms or more.
If the time is set to 2 ms or less, the average number of times becomes
less than 3 and it causes the digital output value to become 0 since a
sum excluding the maximum and minimum values will be averaged.
(b) When the averaging processing is specified for the set number of times
The time required to store the average value calculated using the average
number of times in the buffer memory differs according to the number of
channels used (the number of channels set to A/D conversion enable) and
whether or not the temperature drift compensation is used.
1) Without the temperature drift compensation function
(Processing time) = (Set number of times)
{(Number of channels used) 80}/1000
(Unit: ms)
2) With the temperature drift compensation function
(Processing time) = (Set number of times)
[{(Number of channels used) 80} + 160]/1000
(Unit: ms)
[Example]
When averaging processing is performed with four channels (1, 2, 3 and 4)
for the set number of 100 times with temperature-drift compensation on, an
average value is ou tp ut eve ry 48 ms.
100
{(4 80) + 160} ÷ 1000 = 48 (ms)
3 - 11 3 - 11
3 SPECIFICATIONS
3.2.2 Maximum and minimum values hold function
(1) The maximum and minimum digital output values for each channel are stored in buffer
memory addresses 30 to 45 (Un\G30 to Un\G45 ).
(2) When the operating condition setting completed flag (X09) turns OFF, the values
are cleared to 0 and new maximum and minimum values are stored when
conversion begins.
(3) Since the area for storing the maximum and minimum values can be rewritten with
the sequence program, the maximum and minimum values within a specific period
of time can be checked.
3.3 I/O Signals for the PLC CPU
3.3.1 List of I/O signals
Table 3.3 show s a list of t he I/ O si gn al s fo r th e A/ D co nv ert e r modul e s.
Note that I/O numbers (X/Y) shown in this chapter and thereafter are the values when
the start I/O number for the A/D converter module is set to 0.
MELSEC-Q
Table 3.3 List of I/O signal
Signal direction CPU A/D converter moduleSignal direction CPU A/D converter module
Dev ic e N o . ( I np ut )Signal nameDevice No . (O ut p ut )Signal name
X0Module READYY0
X1Temperature drift compensation flagY1
X2Y2
X3Y3
X4Y4
X5Y5
X6Y6
X7Y7
X8
X9High r es ol u ti on m od e st at u s f la gY9Operating condition setting request
XAOffset/gain setting mode flagY AUser range write request
XBChannel change completed flagYBChannel change request
XC
XD
XEA/D conversion completed flagYE
XFError flagYFError clear request
Maximum value/minimum value reset
Use prohibited
Use prohibited
completed flag
1
Y8
1
YC
YD
Maximum value/minimum value reset
Use prohibited
Use prohibited
request
Use prohibited
1
1
1
POINT
1 These signals cannot be used by the user since they are for system use only.
If these are turned ON/OFF by the sequence program, the functioning of the
A/D converter module cannot be guaranteed.
3 - 12 3 - 12
3 SPECIFICATIONS
A
3.3.2 Details of I/O signals
I/O signals for the A/D converter modules are explained in detail below.
(1) Input signals
Device No.Signal NameDescription
(1) When the PLC CPU is powered on or reset, this signal turns on once the
preparation for A/D conversion has been completed, and A/D co nversion
processing is then performed.
X0M odule R EADY
X1
X8
X9
Temperature drift
compensation flag
High resolution
mode status flag
Operating
condition setting
completed flag
(2) When the Module READY signal is off, A/D conversion processing is not perfor med.
Module READY (X0) turns off in the following situations:
• During offset/gain setting mode
• When the A/D converter module has a watchdog timer error
(1) When A/D conversion processing is being performed with the temperature drift
compensation function on, the flag indicating temperature drift co mpen sation status
(X1) turns ON.
(1) This turns ON when in high resolution mode.
(1) This is used as an interlock condition for turning the operating condition setting
request (Y9) ON/OFF when the setting for A/D conversion enable/dis able (buffer
memory address 0: Un\G0) is changed.
(2) When the operating condition setting completed flag (X9) is O FF, A/D conv ersion
processing is not performed. Under the following conditions, the operating conditio n
setting completed flag (X9) turns OFF.
• When Module READY (X0) is OFF
• When operating condition setting request (Y9) is ON
Performed by the A/D converter module
Performed by the sequence program
Module READY (X0)
MELSEC-Q
1
Operating condition
setting completed (X9)
Operating condition
change request (Y9)
/D conversion
completed (XE)
1 A watchdog timer error occurs when the program calculations are not completed
within the scheduled time due to malfunctions of A/D converter module hardware.
When a watchdog timer error occurs, the RUN LED for the A/D converter module
turns off.
3 - 13 3 - 13
Loading...
+ 110 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.