Indicates that incorrect handling may cause hazardous conditions,
resulting in death or severe injury.
Indicates that incorrect handling may cause hazardous conditions,
resulting in minor or moderate injury or property damage.
(Read these precautions before using this product.)
Before using this product, please read this manual and the relevant manuals carefully and pay full attention
to safety to handle the product correctly.
The precautions given in this manual are concerned with this product only.
programmable controller system, refer to the user’s manual for the CPU module used.
In this manual, the safety precautions are classified into two levels: "WARNING" and "CAUTION".
Under some circumstances, failure to observe the precautions given under "CAUTION" may lead to serious
consequences.
Observe the precautions of both levels because they are important for personal and system safety.
Make sure that the end users read this manual and then keep the manual in a safe place for future
reference.
For the safety precautions of the
[Design Precautions]
WARNING
Do not write any data to the "system area" and "write-protect area" of the buffer memory in the
intelligent function module.
Also, do not use any "use prohibited" signals as an output signal from the programmable controller CPU
to the intelligent function module.
Doing so may cause malfunction of the programmable controller system.
CAUTION
Do not install the control lines or communication cables together with the main circuit lines or power
cables.
Keep a distance of 100mm or more between them.
Failure to do so may result in malfunction due to noise.
A - 1
[Installation Precautions]
CAUTION
Use the programmable controller in an environment that meets the general specifications in the
user’s manual for the CPU module used.
Failure to do so may result in electric shock, fire, malfunction, or damage to or deterioration of the
product.
To mount the module, while pressing the module mounting lever located in the lower part of the module,
fully insert the module fixing projection(s) into the hole(s) in the base unit and press the module until it
snaps into place.
Incorrect mounting may cause malfunction, failure or drop of the module.
When using the programmable controller in an environment of frequent vibrations, fix the module
with a screw.
Tighten the screw within the specified torque range.
Undertightening can cause drop of the screw, short circuit or malfunction.
Overtightening can damage the screw and/or module, resulting in drop, short circuit, or malfunction.
Shut off the external power supply for the system in all phases before mounting or removing the module.
Failure to do so may result in damage to the product.
A module can be replaced online (while power is on) on any MELSECNET/H remote I/O station or in the
system where a CPU module supporting the online module change function is used.
Note that there are restrictions on the modules that can be replaced online, and each module has its
predetermined replacement procedure.
For details, refer to the relevant chapter in this manual.
Do not directly touch any conductive parts and electronic components of the module.
Doing so can cause malfunction or failure of the module.
A - 2
[Wiring Precautions]
CAUTION
Ground the FG terminal to the protective ground conductor dedicated to the programmable
controller.
Failure to do so may result in electric shock or malfunction.
After wiring, attach the included terminal cover to the module before turning it on for operation.
Failure to do so may result in electric shock.
Use applicable solderless terminals and tighten them within the specified torque range.
If any spade solderless terminal is used, it may be disconnected when the terminal screw comes loose,
resulting in failure.
Tighten the terminal screw within the specified torque range.
Undertightening the terminal screws can cause short circuit or malfunction.
Overtightening can damage the screw and/or module, resulting in short circuit or malfunction.
Prevent foreign matter such as dust or wire chips from entering the module.
Such foreign matter can cause a fire, failure, or malfunction.
A - 3
[Wiring Precautions]
CAUTION
A protective film is attached to the top of the module to prevent foreign matter, such as wire chips, from
entering the module during wiring.
Do not remove the film during wiring.
Remove it for heat dissipation before system operation.
[Startup and Maintenance Precautions]
CAUTION
Do not disassemble or modify the modules.
Doing so may cause failure, malfunction, injury, or a fire.
Shut off the external power supply for the system in all phases before mounting or removing the module.
Failure to do so may cause the module to fail or malfunction.
A module can be replaced online (while power is on) on any MELSECNET/H remote I/O station or in the
system where a CPU module supporting the online module change function is used.
Note that there are restrictions on the modules that can be replaced online, and each module has its
predetermined replacement procedure.
For details, refer to the relevant chapter in this manual.
After the first use of the product, do not mount/remove the module to/from the base unit, and the terminal
block to/from the module more than 50 times (IEC 61131-2 compliant) respectively.
Exceeding the limit of 50 times may cause malfunction.
Do not touch any terminal while power is on.
Doing so may cause malfunction.
Shut off the external power supply for the system in all phases before cleaning the module or retightening
the terminal screws or module fixing screws.
Failure to do so may cause the module to fail or malfunction.
Undertightening the screws can cause drop, short circuit, or malfunction.
Overtightening can damage the screw and/or module, resulting in drop, short circuit, or malfunction.
Before handling the module, touch a grounded metal object to discharge the static electricity from the
human body.
Failure to do so may cause the module to fail or malfunction.
[Disposal Precautions]
CAUTION
When disposing of this product, treat it as industrial waste.
A - 4
CONDITIONS OF USE FOR THE PRODUCT
(1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions;
i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major
or serious accident; and
ii) where the backup and fail-safe function are systematically or automatically provided outside of
the PRODUCT for the case of any problem, fault or failure occurring in the PRODUCT.
(2) The PRODUCT has been designed and manufactured for the purpose of being used in general
industries.
MITSUBISHI SHALL HAVE NO RESPONSIBILITY OR LIABILITY (INCLUDING, BUT NOT
LIMITED TO ANY AND ALL RESPONSIBILITY OR LIABILITY BASED ON CONTRACT,
WARRANTY, TORT, PRODUCT LIABILITY) FOR ANY INJURY OR DEATH TO PERSONS OR
LOSS OR DAMAGE TO PROPERTY CAUSED BY the PRODUCT THAT ARE OPERATED OR
USED IN APPLICATION NOT INTENDED OR EXCLUDED BY INSTRUCTIONS, PRECAUTIONS,
OR WARNING CONTAINED IN MITSUBISHI'S USER, INSTRUCTION AND/OR SAFETY
MANUALS, TECHNICAL BULLETINS AND GUIDELINES FOR the PRODUCT.
("Prohibited Application")
Prohibited Applications include, but not limited to, the use of the PRODUCT in;
• Nuclear Power Plants and any other power plants operated by Power companies, and/or any
other cases in which the public could be affected if any problem or fault occurs in the PRODUCT.
• Railway companies or Public service purposes, and/or any other cases in which establishment of
a special quality assurance system is required by the Purchaser or End User.
• Aircraft or Aerospace, Medical applications, Train equipment, transport equipment such as
Elevator and Escalator, Incineration and Fuel devices, Vehicles, Manned transportation,
Equipment for Recreation and Amusement, and Safety devices, handling of Nuclear or
Hazardous Materials or Chemicals, Mining and Drilling, and/or other applications where there is a
significant risk of injury to the public or property.
Notwithstanding the above, restrictions Mitsubishi may in its sole discretion, authorize use of the
PRODUCT in one or more of the Prohibited Applications, provided that the usage of the PRODUCT
is limited only for the specific applications agreed to by Mitsubishi and provided further that no
special quality assurance or fail-safe, redundant or other safety features which exceed the general
specifications of the PRODUCTs are required. For details, please contact the Mitsubishi
representative in your region.
A - 5
REVISIONS
Addition
Correction
Correction
Correction
Addition
Correction
*The manual number is given on the bottom left of the back cover.
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.
2009 MITSUBISHI ELECTRIC CORPORATION
A - 6
INTRODUCTION
Thank you for purchasing the Mitsubishi MELSEC-Q series programmable controllers.
Before using the product, please read this manual carefully to develop full familiarity with the functions and
performance of the Q series programmable controllers to ensure correct use.
ABOUT MANUALS ......................................................................................................................................... A - 12
COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES...........................................................A - 12
GENERIC TERMS AND ABBREVIATIONS.................................................................................................... A - 13
PACKING LIST ...............................................................................................................................................A - 14
The following manuals are also related to this product.
Order each manual as needed, referring to the following list.
Manual name
GX Developer Version 8 Operating Manual
Describes the methods for creating, printing, monitoring, and debugging programs with GX
Developer.
(Sold separately.)
GX Developer Version 8 Operating Manual (Function Block)
Describes the methods for creating and printing function blocks with GX Developer.
(Sold separately.)
GX Works2 Version1 Operating Manual (Common)
System configuration, parameter settings, and online operations (common to Simple project and
Structured project) of GX Works2
(Sold separately)
The manuals are included on the CD-ROM for the software package in PDF
format.
The printed manuals are sold separately. When obtaining a manual individually,
order it by quoting the manual number (model code) in the table above.
Manual number
(model code)
SH-080373E
(13JU41)
SH-080376E
(13JU44)
SH-080779ENG
(13JU63)
COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES
(1) For programmable controller system
To ensure that Mitsubishi programmable controllers maintain EMC and Low Voltage
Directives when incorporated into other machinery or equipment, certain measures
may be necessary. Please refer to one of the following manuals.
• QCPU User’s Manual (Hardware Design, Maintenance and Inspection)
• Safety Guidelines
(This manual is included with the CPU module or base unit.)
The CE mark on the side of the programmable controller indicates compliance with
EMC and Low Voltage Directives.
(2) For the product
For the compliance of this product with the EMC and Low Voltage Directives, refer to
Section 7.4.1 Wiring precautions.
A - 12
GENERIC TERMS AND ABBREVIATIONS
Unless otherwise specified, this manual uses the following generic terms and
abbreviations.
Generic term/
abbreviation
Q64AD2DAAbbreviation for the Q64AD2DA analog input/output module
GX Developer
GX Works2
GX Configurator-AD
GX Configurator-DA
QCPU (Q mode)
Basic model QCPUGeneric term for the Q00JCPU, Q00CPU, and Q01CPU
High Performance
model QCPU
Process CPUGeneric term for the Q02PHCPU, Q06PHCPU, Q12PHCPU, and Q25PHCPU
Redundant CPUGeneric term for the Q12PRHCPU and Q25PRHCPU
Universal model QCPU
Personal computer
Factory default setting
FBAbbreviation for function block
Product name of the software package for the MELSEC programmable controllers
Abbreviation for analog-digital converter module setting and monitor tool, GX ConfiguratorAD (SW2D5C-QADU-E)
Abbreviation for digital-analog converter module setting and monitor tool, GX-ConfiguratorDA (SW2D5C-QDAU-E)
Generic term for the Basic model QCPU, High Performance model QCPU, Process CPU,
Redundant CPU, and Universal model QCPU
Generic term for the Q02CPU, Q02HCPU, Q06HCPU, Q12HCPU, and Q25HCPU
Generic term for the Q00UJCPU, Q00UCPU, Q01UCPU, Q02UCPU, Q03UDCPU,
Q03UDVCPU, Q03UDECPU, Q04UDHCPU, Q04UDVCPU, Q04UDEHCPU, Q06UDHCPU,
Q06UDVCPU, Q06UDEHCPU, Q10UDHCPU, Q10UDEHCPU, Q13UDHCPU,
Q13UDVCPU, Q13UDEHCPU, Q20UDHCPU, Q20UDEHCPU, Q26UDHCPU,
Q26UDVCPU, Q26UDEHCPU, Q50UDEHCPU, and Q100UDEHCPU
IBM-PC/AT -compatible personal computer
Generic term for analog input ranges of 0 to 10V, 0 to 5V, 1 to 5V, -10 to 10V, 0 to 20mA, and
4 to 20mA, and for analog output ranges of 0 to 5V, 1 to 5V, -10 to 10V, 0 to 20mA, and 4 to
20mA
Generic term for the following:
Description
Windows Vista
Windows XP
Microsoft Windows Vista Home Basic Operating System,
Microsoft Windows Vista Home Premium Operating System,
Microsoft Windows Vista Business Operating System,
Microsoft Windows Vista Ultimate Operating System,
Microsoft Windows Vista Enterprise Operating System
Generic term for the following:
Microsoft Windows XP Professional Operating System,
Microsoft Windows XP Home Edition Operating System
A - 13
Generic term/
abbreviation
Windows 7
Generic term for the following:
Microsoft Windows 7 Starter Operating System,
Microsoft Windows 7 Home Premium Operating System,
Microsoft Windows 7 Professional Operating System,
Microsoft Windows 7 Ultimate Operating System,
Microsoft Windows 7 Enterprise Operating System
Note that the description "Windows 7 (32-bit version)" indicates the 32-bit version only and
"Windows 7 (64-bit version)" indicates the 64-bit version only.
Description
PACKING LIST
The following is included in the package.
ModelProduct nameQuantity
Q64AD2DA
SW2D5C-QADU-EGX Configurator-AD Version 2 (Single license product) (CD-ROM)1
SW2D5C-QADU-EAGX Configurator-AD Version 2 (Volume license product) (CD-ROM)1
SW2D5C-QDAU-EGX Configurator-DA Version 2 (Single license product) (CD-ROM)1
SW2D5C-QDAU-EAGX Configurator-DA Version 2 (Volume license product) (CD-ROM)1
Q64AD2DA analog input/output module1
External power supply connector1
A - 14
1
OVERVIEW
CHAPTER1OVERVIEW
This user's manual provides the specifications, handling instructions, programming
procedures, and other information of the Q64AD2DA analog input/output module
(hereinafter the "Q64AD2DA"), which is designed to use with the MELSEC-Q series CPU
module.
1.1Features
(1) Analog input and output using a module
The Q64AD2DA can perform both A/D conversion using four channels and D/A
conversion using two channels.
(2) Ranges can be set for each channel
Various voltage or current range can be set for each channel.
Also, the ranges can be switched by using GX Developer.
* 1 Set in Switch setting for I/O and intelligent function module dialog box.
1
OVERVIEW
2
SYSTEM
CONFIGURATION
3
*1
SPECIFICATIONS
4
(3) Switching resolution mode
A resolution can be selected from a normal resolution mode (1/4000) and high
resolution mode (1/12000 or 1/16000).
* 2 Set in Switch setting for I/O and intelligent function module dialog box.
*2
(4) Scaling function
Digital output values can be converted to scaling values (ratio (%)) and the converted
values can be stored into buffer memory.
In D/A conversion, an input range of digital input values can be changed to a setting
range and the analog output can be performed.
(5) Shifting function
In A/D conversion, a given value is added to an A/D converted digital output value.
In D/A conversion, a given value is added to a digital input value and an analog value
is output.
Changing a shifting quantity reflects the output value in real time. Therefore, the
output value can be adjusted with the shifting function when the CPU is powered on.
(6) Input range extended mode function
The analog input range, 4 to 20mA and 1 to 5V can be increased to the input range of
0 to 22mA and 0 to 5.5V, respectively.
A/D conversion can be performed even if the input range falls below 4mA or 1V, when
sensors do not measure concrete values.
Combining the input range extended mode function and input signal error detection
function detects a disconnection.
* 3 Set in Switch setting for I/O and intelligent function module dialog box.
*3
FUNCTION
5
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
1.1 Features
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
1 - 1
1
OVERVIEW
(7) Logging facility
The A/D converted digital output values can be stored into buffer memory.
Logging data can be stored up to 10000th data point storage area for a channel.
The logging facility logs data every sampling periods in the shortest period.
In addition, the logging facility logs large volumes of data at high speeds, resulting in
improving efficiency of debugging.
(8) Online module change
Modules can be changed without the system being stopped.
(9) Easy setting using GX Configurator-AD or GX Configurator-DA
The number of sequence programs can be reduced since GX Configurator-AD or GX
Configurator-DA
Also, GX Configurator-AD or GX Configurator-DA simplifies checking of the module
settings and operation status.
In addition, FB
parameters set in advance to use them in a sequence program.
*1
(sold separately) allows the Q64AD2DA settings on the dialog box.
*2
can be automatically created from intelligent function module
* 1 Either GX Configurator-AD or GX Configurator-DA checks the intelligent function module
parameter setting and the setting status or operation status of the Q64AD2DA.
In addition, the setting and status can be checked by installing both GX Configurator-AD and GX
Configurator-DA.
* 2 FB is the function for making a circuit block used in a sequence program repeatedly a part (FB) to
use it in the sequence program.
This function can improve the efficiency of program development and minimize program bugs to
improve program qualities.
For the details of FB, refer to GX Developer Version 8 Operating Manual (Function
Block).
1 - 2
1.1 Features
2
Remark
SYSTEM CONFIGURATION
CHAPTER2SYSTEM CONFIGURATION
This chapter explains the system configuration of the Q64AD2DA.
2.1Applicable Systems
This section describes the applicable systems.
(1) Applicable modules and base units, and number of modules
(a) When mounted with CPU module
For the applicable modules, the number of modules, and base units applicable to
the Q64AD2DA, refer to the user’s manual for the CPU module used.
Note the following when the Q64AD2DA is mounted with a CPU module.
• Depending on the combination with other modules or the number of mounted
modules, power supply capacity may be insufficient. Pay attention to the
power supply capacity before mounting modules, and if the power supply
capacity is insufficient, change the combination of modules.
• Mount a module within the number of I/O points for the CPU module. If the
number of slots is within the available range, the module can be mounted on
any slot.
1
2
SYSTEM
3
4
OVERVIEW
CONFIGURATION
SPECIFICATIONS
When the module is used with a C Controller module, refer to the user’s manual
for the C Controller module.
(b) When mounted with MELSECNET/H remote I/O station
For the MELSECNET/H remote I/O station, the number of modules, and base
units applicable to the Q64AD2DA, refer to the Q Corresponding MELSECNET/H
Network System Reference Manual (Remote I/O network).
(2) Support of multiple CPU system
When using the Q64AD2DA in a multiple CPU system, refer to the following manual
first.
• QCPU User's Manual (Multiple CPU System)
(3) Support of online module change
The function version of the Q64AD2DA has been "C" from the first release, supporting
online module change.
For details, refer to CHAPTER 10.
FUNCTION
5
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
2.1 Applicable Systems
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
2 - 1
2
SYSTEM CONFIGURATION
(4) Supported software packages
Operating the Q64AD2DA requires GX developer or GX Works2 with a software
version that is compatible with the CPU system used.
The software packages, GX Configurator-AD and GX Configurator-DA
required. The intelligent function module parameter setting, setting status, and
operating status can be checked easily by using the packages.
The software versions compatible with GX Developer, GX Configurator-AD, GX
Configurator-DA, and GX Works2 are listed in the Table 2.1.
Table 2.1 Compatible software package and software version
System
Q00J/Q00/
Q01CPU
Q02/Q02H/Q06H/
Q12H/Q25HCPU
Q02PH/
Q06PHCPU
Q12PH/
Q25PHCPU
Q12PRH/
Q25PRHCPU
Q00UJ/Q00U/
Q01UCPU
Q02U/Q03UD/
Q04UDH/
Q06UDHCPU
Q10UDH/
Q20UDHCPU
Q13UDH/
Q26UDHCPU
Q03UDE/
Q04UDEH/
Q06UDEH/
Q13UDEH/
Q26UDEHCPU
Q10UDEH/
Q20UDEHCPU
CPU modules
other than the
above
When mounted to MELSECNET/H remote
I/O station
Single CPU systemVersion 7 or later
Multiple CPU systemVersion 8 or later
Single CPU systemVersion 4 or later
Multiple CPU systemVersion 6 or later
Single CPU system
Multiple CPU system
Single CPU system
Multiple CPU system
Redundant CPU
system
Single CPU system
Multiple CPU system
Single CPU system
Multiple CPU system
Single CPU system
Multiple CPU system
Single CPU system
Multiple CPU system
Single CPU system
Multiple CPU system
Single CPU system
Multiple CPU system
Single CPU system
Multiple CPU system
* 1 The setting of intelligent function module parameters for A/D conversion and D/A conversion, the
* 2 For the FB conversion function, use GX Developer 8 or later.
*1
, are not
Software version
*2
GX Developer
Version 8.68W or later
Version 7.10L or later
Version 8.45X or later
Version 8.76E or later
Version 8.48A or later
Version 8.76E or later
Version 8.62Q or later
Version 8.68W or later
Version 8.76E or later
Cannot be usedCannot be usedCannot be used
Version 6 or laterVersion 2.10L or later Version 2.10L or later
setting status, and operating status can be checked by installing either GX Configurator-AD or GX
Configurator-DA.
The setting and setting states can be checked with the installed GX Configurator-AD and GX
Configurator-DA.
GX Configurator-AD GX Configurator-DAGX Works2
Version 2.10L or later Version 2.10L or later
Refer to the GX
Works2 Version 1
Operating Manual
(Common).
2 - 2
2.1 Applicable Systems
2
POINT
SYSTEM CONFIGURATION
(1) Depending on the version of GX Configurator-AD or GX Configurator-DA,
supported systems and CPU modules, and available functions of the
Q64AD2DA vary.
(2) When using GX Works2, refer to the following:
• GX Works2 Version 1 Operating Manual (Common)
• GX Works2 Version 1 Operating Manual (Intelligent Function Module)
1
2
SYSTEM
3
4
OVERVIEW
CONFIGURATION
SPECIFICATIONS
FUNCTION
5
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
2.1 Applicable Systems
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
2 - 3
2
Main base unit
Extension base unit
12
1
Connecting directly to a programmable controller CPU
2
Connecting to a programmable controller CPU via an intelligent function module
(Ethernet module, MELSECNET/H module, or CC-Link module) on the main base unit
(GX Configurator-AD or GX Configurator-DA
cannot be used.)
SYSTEM CONFIGURATION
2.2Using the Q64AD2DA with Redundant CPU
(1) GX Configurator-AD and GX Configurator-DA
GX Configurator-AD and GX Configurator-DA cannot be used when accessing the
Redundant CPU via an intelligent function module on an extension base unit from GX
Developer.
Connect a personal computer to the Redundant CPU with a communication path
indicated below.
Figure 2.1 Communication path for GX Configurator-AD and GX Configurator-DA
2 - 4
2.2 Using the Q64AD2DA with Redundant CPU
2
Function version
Relevant regulation
standards
Serial No.
Function version
SYSTEM CONFIGURATION
2.3Checking Function Version, Serial Number, and Software
Version
1
This section describes how to check the function version of the Q64AD2DA and the
software version of GX Configurator-AD or GX Configurator-DA.
(1) Checking the function version and serial number of the Q64AD2DA
The serial number and function version of the Q64AD2DA are described in the rating
plate, on the front part of the module, or displayed in the System monitor dialog box of
GX Developer.
(a) Checking on the rating plate on the side of the Q64AD2DA
Figure 2.2 Rating plate on the side of module
(b) Checking on the front of the module
The serial number and function version on the rating plate is shown on the front
(at the bottom) of the module.
2
SYSTEM
3
4
5
OVERVIEW
CONFIGURATION
SPECIFICATIONS
FUNCTION
Figure 2.3 Description on the front part of module
2.3 Checking Function Version, Serial Number, and Software Version
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
2 - 5
2
POINT
Product Information List
Serial No.
Function version
Product No.
SYSTEM CONFIGURATION
(c) Checking on the System monitor dialog box (Product Information List)
To display the system monitor, select [Diagnostics] [System monitor] and click
the button of GX Developer.
Figure 2.4 Checking the serial number and function version
The serial number displayed on the Product information list dialog box of GX
Developer may differ from that on the rating plate and on the front of the module.
• The serial number on the rating plate and front part of the module
indicates the management information of the product.
• The serial number displayed on the Product information list dialog box of
GX Developer indicates the function information of the product.
The function information of the product is updated when a new function is added.
2 - 6
2.3 Checking Function Version, Serial Number, and Software Version
2
SYSTEM CONFIGURATION
(2) Checking the software version of GX Configurator-AD and GX
Configurator-DA
To check the software version of GX Configurator-AD and GX Configurator-DA,
select [Help] [Product information] of GX Developer.
Software version
1
2
SYSTEM
3
4
OVERVIEW
CONFIGURATION
SPECIFICATIONS
("Product information" dialog box of GX Developer Version 8)
Figure 2.5 Product information dialog box
FUNCTION
5
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
2.3 Checking Function Version, Serial Number, and Software Version
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
2 - 7
3
SPECIFICATIONS
CHAPTER3SPECIFICATIONS
3.1Performance Specifications
The following table shows the performance specifications of the Q64AD2DA.
Table 3.1 Performance specifications of the Q64AD2DA (1/2)
ItemSpecifications
Number of analog input
points
Analog
input
Digital output
I/O characteristics and
maximum resolution*
A/D
conversion area
Voltage-10 to 10VDC (Input resistance: 1M )
Current0 to 20mADC (Input resistance: 250 )
Normal resolution mode:-96 to 4095, -4096 to 4095, -1096 to 4595
High resolution mode:-384 to 16383, -288 to 12287, -16384 to 16383, -3288 to 13787
Analog
input range
Input
0 to 10V
0 to 5V1.25mV
1 to 5V1.0mV0.333mV
1
-10 to 10V-4000 to 40002.5mV-16000 to 160000.625mV
Voltage
1 to 5V
(Extended mode)
0 to 20mA
4 to 20mA4 A1.33 A
4 to 20mA
Current
(Extended mode)
Digital output
-1000 to 45001.0mV-3000 to 135000.333mV
-1000 to 45004 A-3000 to 135001.33 A
4 channels
Normal resolution modeHigh resolution mode
value
0 to 4000
0 to 4000
Maximum
resolution
2.5mV0 to 160000.625mV
5A
Digital output
value
0 to 12000
0 to 12000
Maximum
resolution
0.416mV
1.66 A
Analog
input range
Ambient
temperature
0 to 10V
Accuracy (Accuracy
relative to maximum
digital output value)
Conversion speed500 s/channel
Absolute maximum input
-10 to 10V
0 to 5V
1 to 5V
Voltage
1 to 5V
(Extended mode)
0 to 20mA
4 to 20mA
4 to 20mA
Current
(Extended mode)
Normal resolution modeHigh resolution mode
0 to 55
0.4%
( 16digit)
Voltage: 15V Current: 30mA
25 50 to 5525 5
0.1%
( 4digit)
0.4%
( 64digit)
0.4%
( 48digit)
*2
0.1%
( 16digit)
0.1%
( 12digit)
3 - 1
3.1 Performance Specifications
3
SPECIFICATIONS
Table 3.1 Performance specifications of the Q64AD2DA (2/2)
ItemSpecifications
Number of analog output
points
Digital input
Analog
output
I/O characteristics
and maximum resolution
D/A
conversion area
Accuracy (Accuracy
relative to maximum
analog output value)
Conversion speed500 s/channel
Absolute maximum
output
Output short-circuit
protection
Insulation specifications
Number of I/O occupied points16 points (I/O assignment: Intelligent 16 points)
External connection system
Applicable cable size
Applicable solderless terminals
External power supply
Internal current consumption (5VDC)0.17A
Weight0.23kg
Voltage-10 to 10VDC (External load resistance: 1M )
Current0 to 20mADC (External load resistance: 600 )
Analog
output range
Output
0 to 5V
1 to 5V1.0mV0.333mV
-10 to 10V-4000 to 40002.5mV-16000 to 160000.625mV
Voltage
0 to 20mA
4 to 20mA4 A1.33 A
Current
Analog
output range
0 to 5V
1 to 5V
-10 to 10V
Vol tag e
0 to 20mA
4 to 20mA
Current
Specific isolated
area
Between input
terminal and
programmable
controller power
supply
Between input/output
channels
Between external
power supply and
analog input/output
External power supply 24VDC, FG terminal connection: External power supply connector
External power supply 24VDC, FG terminal connection: Refer to Table 3.2.
A/D conversion area, D/A conversion area: R1.25-3 (Solderless terminals with sleeves are
External power supply 24VDC, FG terminal connection: Not available
* 1 For the details of the I/O conversion characteristic, refer to Section 3.2.1.
* 2 Indicates the value of the instant input current that does not break module inner electrical
resistance. The maximum input current value is 24mA when the current is impressed steadily.
Normal resolution mode: -96 to 4095, -4096 to 4095
High resolution mode: -288 to 12287, -16384 to 16383
A/D conversion area, D/A conversion area: 0.3 to 0.75mm
Ripple, spike 500mV
Inrush current: 2.5A 150 s or less
Current consumption: 0.19A
2 channels
Maximum
resolution
1.25mV
5A
Ambient temperature
0 to 5525 5
0.3% ( 30mV)0.1% ( 10mV)
0.3% (60A)0.1% (20A)
Available
Dielectric withstand voltage
500VACrms, 1min
unavailable.)
24VDC 15%
P-P or less
Digital input
value
0 to 12000
0 to 12000
Maximum
resolution
0.416mV
1.66 A
Insulation
resistance
500VDC 20M
or more
2
*3
1
OVERVIEW
2
SYSTEM
CONFIGURATION
3
SPECIFICATIONS
4
FUNCTION
5
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
3.1 Performance Specifications
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
3 - 2
3
Remark
External power supply
connector (accessory)
SPECIFICATIONS
* 3 The following shows the specifications of the cable applicable to an external power supply
connector.
Figure 3.1 When inserting two cables into one terminal
Table 3.2 Cable applicable to external power supply connector
ItemSpecifications
Applicable cable size
Size when inserting two
cables into one terminal
Screw tightening torque0.5 to 0.6N m
0.2 to 3.3mm
Single wire: 0.2 to 0.8mm2 2
Stranded wire: 0.2 to 0.8mm
2
(AWG 24 to 12)
2
2
For general specifications of the Q64AD2DA, refer to the user's manual for the
CPU module used.
3 - 3
3.1 Performance Specifications
3
SPECIFICATIONS
3.2I/O Conversion Characteristic
3.2.1I/O conversion characteristic of A/D conversion
The I/O conversion characteristic of A/D conversion 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 programmable controller are converted to digital
values.
1
OVERVIEW
2
[Offset value]
The offset value refers to the analog input value (voltage or current) that makes the
digital output value be 0.
[Gain value]
The gain value refers to the analog input value (voltage or current) that makes the
digital output value be:
• 4000 (in normal resolution mode)
• 16000 or 12000 (in high resolution mode)
SYSTEM
3
4
5
I/O SIGNALS FOR
6
CONFIGURATION
SPECIFICATIONS
FUNCTION
THE CPU MODULE
3.2 I/O Conversion Characteristic
3.2.1 I/O conversion characteristic of A/D conversion
3 - 4
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
3
0
0
0
5
12287
4000
12000
4095
-288
-96
Practical analog input range
Digital output value
Normal resolution
mode
High resolution
mode
2) 0 to 5V
Analog input voltage (V)
0
0
-10
0
10
16383
4000
16000
-16000
4095
-4096
-4000
-16384
High resolution mode
Practical analog input range
Digital output value
Normal resolution mode
3) -10 to 10V
Analog input voltage (V)
0
0
0
10
16383
4000
16000
4095
-384
-96
High resolution mode
Practical analog input range
Digital output value
Normal resolution mode
4) 0 to 10V
Analog input voltage (V)
0
0105.5
13787
4500
13500
4595
-1096
-3288
-1000
-3000
Practical analog input range
Digital output value
Normal resolution
mode
High resolution mode
5) 1 to 5V (Extended mode)
Analog input voltage (V)
1) 1 to 5V
12287
12000
4095
4000
-288
Digital output value
SPECIFICATIONS
(1) Voltage input characteristic
Figure 3.2 shows voltage input characteristics.
Practical analog input range
0
-96
0105
Analog input voltage (V)
High resolution
mode
Normal resolution
mode
3 - 5
Figure 3.2 Voltage input characteristic
3.2 I/O Conversion Characteristic
3.2.1 I/O conversion characteristic of A/D conversion
3
POINT
SPECIFICATIONS
(1) Set each input range within the practical analog input range and digital output
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 Figure 3.2.)
(2) Do not input an analog input voltage of 15 V or more. The input element
may be damaged.
(3) If an analog value that exceeds the range for the digital output value is
entered, the digital output value will be fixed at the maximum or minimum
value.
Table 3.3 Digital output values in the case of an analog value, exceeding the range
for the digital output value, being entered
Analog input range
setting
1 to 5V
0 to 5V
-10 to 10V-4096-16384
0 to 10V-96-384
1 to 5V
(Extended mode)
Digital output value
(normal resolution mode)
MinimumMaximumMinimumMaximum
-96
4095
-10964595-328813787
Digital output value
(high resolution mode)
-28812287
16383
1
2
SYSTEM
3
4
OVERVIEW
CONFIGURATION
SPECIFICATIONS
FUNCTION
5
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
3.2 I/O Conversion Characteristic
3.2.1 I/O conversion characteristic of A/D conversion
3 - 6
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
3
0
04
0
20
12287
4000
12000
4095
-288
-96
Practical analog input range
Digital output value
Normal resolution
mode
High resolution
mode
1) 4 to 20mA
Analog input current (mA)
0
0
0
20
12287
4000
12000
4095
-288
-96
Practical analog input range
Digital output value
Normal resolution
mode
High resolution
mode
2) 0 to 20mA
Analog input current (mA)
0
04
0
22
13787
4500
13500
4595
-1096
-1000
-3288
-3000
Practical analog input range
Digital output value
3) 4 to 20mA (Extended mode)
Analog input current (mA)
High resolution
mode
Normal resolution
mode
SPECIFICATIONS
(2) Current input characteristic
Figure 3.3 shows current input characteristics.
3 - 7
Figure 3.3 Current input characteristic
3.2 I/O Conversion Characteristic
3.2.1 I/O conversion characteristic of A/D conversion
3
POINT
SPECIFICATIONS
(1) Set each input range within the practical analog input range and digital output
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 Figure 3.3.)
(2) Do not input an analog input current of 30 mA or more. The input elements
may be damaged.
(3) If an analog value that exceeds the range of the digital output value is
entered, the digital output value will be fixed at the maximum or minimum
value.
Table 3.4 Digital output values in the case of an analog value, exceeding the range
for the digital output value, being entered
Analog input range
setting
4 to 20mA
0 to 20mA
4 to 20mA
(Extended mode)
Digital output value
(normal resolution mode)
MinimumMaximumMinimumMaximum
-964095-28812287
-10964595-328813787
Digital output value
(high resolution mode)
1
2
SYSTEM
3
4
OVERVIEW
CONFIGURATION
SPECIFICATIONS
FUNCTION
5
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
3.2 I/O Conversion Characteristic
3.2.1 I/O conversion characteristic of A/D conversion
3 - 8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
3
SPECIFICATIONS
3.2.2I/O conversion characteristic of D/A conversion
The I/O conversion characteristic of D/A conversion represents the angle formed by a
straight line connecting the "offset value" and "gain value" when converting the digital input
value written from the CPU module to an analog output value (voltage or current output).
[Offset value]
The offset value refers to the analog output value (voltage or current) when the digital
input value set from the CPU module is 0.
[Gain value]
The gain value is the analog output value (voltage or current) when the digital input
value set from the CPU module is:
• 4000 (in normal resolution mode)
• 12000 (when 1 to 5V, 0 to 5V, 4 to 20mA, or 0 to 20mA selected in high resolution
mode)
• 16000 (when -10 to 10V is selected in high resolution mode)
3 - 9
3.2 I/O Conversion Characteristic
3.2.2 I/O conversion characteristic of D/A conversion
3
POINT
0 4000 4095 1200012287
0
1
5
0
-288 -96
Analog output voltage (V)
Practical analog output range
1) 1 to 5V
Digital input value
High resolution
mode
Normal resolution
mode
0 4000 409516000 16383-4096 -4000-16384 -16000
0
10
-10
0
Analog output voltage (V)
Practical analog output range
3) -10 to 10V
Digital input value
High resolution
mode
Normal resolution
mode
SPECIFICATIONS
(1) Voltage output characteristic
Figure 3.4 shows voltage output characteristics.
2) 0 to 5V
5
Normal resolution
mode
1
OVERVIEW
2
0
Analog output voltage (V)
0
0 4000 4095 12000 12287
-288 -96
Digital input value
High resolution
mode
SYSTEM
Practical analog output range
CONFIGURATION
3
SPECIFICATIONS
4
FUNCTION
5
I/O SIGNALS FOR
THE CPU MODULE
6
Figure 3.4 Voltage output characteristic
Set each output range within the practical digital input range and analog output
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
Figure 3.4.)
3.2 I/O Conversion Characteristic
3.2.2 I/O conversion characteristic of D/A conversion
3 - 10
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
3
POINT
0 4000 4095-288 -9612000 12287
0
4
20
0
Analog output current (mA)
Practical analog output range
1) 4 to 20mA
Digital input value
High resolution
mode
Normal resolution
mode
SPECIFICATIONS
(2) Current output characteristic
Figure 3.5 shows current output characteristics.
2) 0 to 20mA
20
Normal resolution
mode
0
Analog output current (mA)
Figure 3.5 Current output characteristic
0
0 4000 4095 12000 12287
-288 -96
Digital input value
High resolution
mode
Practical analog output range
Set each output range within the practical digital input range and analog output
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
Figure 3.5.)
3 - 11
3.2 I/O Conversion Characteristic
3.2.2 I/O conversion characteristic of D/A conversion
4
FUNCTION
CHAPTER4FUNCTION
The device numbers (X or Y) and buffer memory addresses described in this chapter are
used for CH1. (The device numbers and buffer memory addresses specified in D/A
conversion are used for CH5.)
For the device numbers and buffer memory addresses used for other channels, refer to
Section 5.1 and Section 6.1.
4.1Function List
Table 4.1 lists the functions of the Q64AD2DA.
ItemFunction
(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. The value is stored in buffer memory.
(2) Averaging processing
The digital output value is averaged on a channel basis and the
averaged value is stored in buffer memory.
The averaging processing has three methods as follows:
(a) Time average
(b) Count average
(c) Moving average
(1) This function retains the maximum and minimum values of the digital
output values and scaling values in the module.
(2) The retained values can be reset in any timing.
This function converts digital output values to scaling values and stores the
converted values into buffer memory.
Time to configure a program for scaling can be decreased.
The digital output value can be adjusted easily with the shifting function when
the CPU is powered on.
The shifting function adds a setting quantity to a digital output value and
stores the value into buffer memory.
This function detects voltage or current input values exceeding the setting
ranges.
A channel set to averaging processing can be checked every sampling
processing.
This function increases input ranges.
Combining the input range extended mode function and input signal error
detection function detects a disconnection.
This function performs logging of the digital values that A/D conversion is
performed.
Logging data can be stored up to 10000th data point and time-series data that
A/D conversion is performed can be referred and stored easily.
A/D
conversion
function
A/D conversion method
Maximum and minimum values
hold function
Scaling function (A/D
conversion)
Shifting function (A/D
conversion)
Input signal error detection
function
Input range extended mode
function
Logging facility
Table 4.1 Function list
Reference
section
Section
4.2.1
Section
4.2.2
Section
4.2.3
Section
4.2.4
Section
4.2.5
Section
4.2.6
Section
4.2.7
1
OVERVIEW
2
SYSTEM
CONFIGURATION
3
SPECIFICATIONS
4
FUNCTION
5
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
4.1 Function List
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
4 - 1
4
D/A
conversion
function
Common
function
FUNCTION
Table 4.1 Function list
ItemFunction
(1)
This function sets whether D/A conversion values are output or offset
D/A output enable/disable
function
Analog output HOLD/CLEAR
function
Analog output test during a CPU
module STOP
Scaling function (D/A
conversion)
Shifting function (D/A
conversion)
Analog conversion enable/
disable setting
Resolution mode
Online module changeModules can be changed without the system being stopped.
values are output for each channel.
(2) The conversion speed does not change regardless of whether CH5
Output enable/disable flag (Y5) is enabled (ON) or disabled (OFF).
This function retains an output analog value for the case where the CPU
module is placed in STOP or in a stop error status.
When CH5 Output enable/disable flag (Y5) is set to on forcibly while the CPU
module is placed in STOP status, the analog value that D/A conversion is
performed is output.
This function changes an input range of digital input values to a given range
between -32000 and 32000.
Time to configure a program for scaling can be decreased.
The digital input value can be adjusted easily with the shifting function when
the CPU is powered on.
The shifting function adds a setting quantity to a digital input value and stores
the value into buffer memory.
(1)
This function sets whether A/D or D/A conversion for each channel is
enabled or disabled.
(2)
Setting the channels not to be used to be disabled decreases sampling
periods.
(3) The analog conversion enable/disable setting is set to be disabled for all
channels conversion in default configuration.
(1)
A resolution can be selected from a normal resolution mode (1/4000)
and high resolution mode (1/12000 or 1/16000).
(2) Setting a resolution mode is performed for all the channels at once.
(3) For details of a digital output value, digital input value, and a maximum
resolution in normal resolution mode or high resolution mode, refer to
Section 3.1.
Reference
section
Section
4.3.1
Section
4.3.2
Section
4.3.3
Section
4.3.4
Section
4.3.5
Section
4.4.1
Section
3.1
Section
7.5
CHAPTER
10
4 - 2
4.1 Function List
4
= 7.5 (times)The figures after the decimal fractions are omit.
Seven times conversion processing are performed
and the average value is output.
(7 4 0.5 = 14(ms) The average value is output every 14(ms).)
15
(4 0.5)
FUNCTION
4.2Function Details of A/D Conversion
4.2.1A/D conversion methods
(1) Sampling period of the Q64AD2DA
A/D conversion is performed from CH1 to CH4 and D/A conversion is performed from
CH5 to CH6 in series in 500 s per channel for the Q64AD2DA.
Sampling period is the period of renewing digital output values.
The period of renewing digital output values varies depending on the total number of
channels enable A/D conversion and D/A conversion.
(2) Sampling processing
A/D conversion is made successively for analog input values, and the converted
digital output values are stored in buffer memory.
(3) Averaging processing
Averaging processing requires at least two times of conversion processing excluding
the maximum and the minimum values.
After the first averaging processing is completed, A/D conversion completed flag (XE)
is set to on.
1
2
SYSTEM
3
4
OVERVIEW
CONFIGURATION
SPECIFICATIONS
(a) Time average
A/D conversion is made for the preset period of time, and the sum of values
excluding maximum and minimum values is averaged, resulting in storing into the
buffer memory.
The processing times within the set time varies depending on the number of
channels used (total number of channels enable A/D conversion and D/A
conversion).
The processing times within the set time is shown below.
Processing times
(Times)
[Example] Processing times under the following setting
• Number of channels used 4CH
A/D conversion: CH1, CH2, and CH3
D/A conversion: CH5
• Setting time 15ms
=
(Numbers of channels to be used 0.5)
Setting time
5
I/O SIGNALS FOR
6
7
FUNCTION
THE CPU MODULE
BUFFER MEMORY
4.2 Function Details of A/D Conversion
4.2.1 A/D conversion methods
4 - 3
PREPARATORY
PROCEDURES AND
SETTING
8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
4
POINT
POINT
FUNCTION
Set the setting time that meets the following condition for time averaging
processing. If the setting time does not meet the following condition, an error
(error code: 202) occurs and the digital output value changes to 0.
• Setting time Minimum processing times 4 (times) 0.5(ms) Number
of channels to be used (total number of A/D conversion and D/A
conversion)
[Example] Number of channels to be used: Six channels
• Setting time (4 6 0.5)
Set the setting time to 12ms or higher.
(b) Count average
A/D conversion is made the preset number of times, and the sum of values
excluding the maximum and minimum values is averaged, resulting in storing into
the buffer memory.
The time required for the count-based average value to be stored into the buffer
memory varies depending on the number of channels used (number of channels
enable A/D conversion and D/A conversion).
Processing time Set count (Number of channels to be used 0.5) (ms)
[Example] Processing time under the following setting
• Number of channels used 4CH
A/D conversion: CH1, CH2, and CH3
D/A conversion: CH5
• Set count 20 times
20 4 0.5 40(ms)
The averaged values are output every 40(ms).
Count average processing requires at least two times of conversion processing
excluding the maximum and the minimum values. Set the setting time to four
times or more.
4 - 4
4.2 Function Details of A/D Conversion
4.2.1 A/D conversion methods
4
A
FUNCTION
(c) Moving average
The digital output values imported per sampling period are averaged to find a
value, which is then stored into the buffer memory.
Since average processing is made with data shifted per sampling, the most recent
digital output value is obtainable.
1
OVERVIEW
2
/D conversion value
16000
1)
8000
0
CH1 Digital output
value (Un\G100)
A/D conversion
completed flag (XE)
1st storage (a)
1) + 2) + 3) + 4)
Figure 4.1 Moving average processing in the case of four setting times
3)4)
2)
0
Data transition in buffer memory
4
5)
(a) (b) (c)
ON
Sampling period
6)
2nd storage (b)3rd storage (c)
2) + 3) + 4) + 5)
8)9)
7)
4
12)
10) 11)
1st storage (a)
2nd storage (b)
3rd storage (c)
Time [ms]
3) + 4) + 5) + 6)
4
SYSTEM
3
4
5
CONFIGURATION
SPECIFICATIONS
FUNCTION
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
4.2 Function Details of A/D Conversion
4.2.1 A/D conversion methods
4 - 5
4
POINT
FUNCTION
4.2.2Maximum and minimum values hold function
The maximum and minimum digital output value and scaling value are held in the buffer
memory for each channel.
(1) Setting methods
(a) The maximum and minimum values are stored into the following buffer memory
when conversions start.
• CH1 Maximum digital output value (Un\G104)
• CH1 Minimum digital output value (Un\G106)
• CH1 Maximum scaling value (Un\G108)
• CH1 Minimum scaling value (Un\G110)
(b) The maximum and minimum values are stored into the buffer memory after the
following states.
• Maximum and minimum values reset request (YD) is set to on.
• Operating condition setting request (Y9) is set to off.
4.2.3Scaling function (A/D conversion)
This function converts digital output values to scaling values (ratio (%)) and stores the
converted values into buffer memory.
(1) Overview
(a) Whether using the scaling function (A/D conversion) for each channel or not can
be specified with CH1 A/D conversion scaling enable/disable setting (Un\G10).
(b) The scaling function performs scaling conversion of the digital output values set
with CH1 Digital output value (Un\G100) within the range set by the buffer
memory.
• CH1 A/D conversion scaling lower limit value (Un\G11)
• CH1 A/D conversion scaling upper limit value (Un\G12)
(c) The fractional portion of the output value converted with scaling function is
rounded off and stored into CH1 Scaling value (Un\G102).
(d) The setting range allowed for the A/D conversion scaling upper and lower limit
values is -32000 to 32000.
4 - 6
The setting range allowed for the A/D conversion scaling upper and lower limit
values is -32000 to 32000. Note that the resolution will not change even if an A/D
conversion scaling upper/lower limit value is set to change more than the
resolution.
4.2 Function Details of A/D Conversion
4.2.2 Maximum and minimum values hold function
4
FUNCTION
(2) Setting methods
1) Set the buffer memory as follows:
• Setting CH1 A/D conversion scaling enable/disable setting (Un\G10) to be
enabled (0).
*1
• Setting a value corresponding to the upper limit
scaling upper limit value set with CH1 A/D conversion scaling upper limit
value (Un\G12).
• Setting a value corresponding to the lower limit
scaling lower limit value set with CH1 A/D conversion scaling lower limit
value (Un\G11).
* 1 Input range from -10 to 10V, normal resolution: 4000
* 2 Input range from -10 to 10V, normal resolution: -4000
2) Set Operating condition setting request (Y9) to on.
of digital output as the
*2
of digital output as the
1
2
SYSTEM
3
4
OVERVIEW
CONFIGURATION
SPECIFICATIONS
FUNCTION
5
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
4.2 Function Details of A/D Conversion
4.2.3 Scaling function (A/D conversion)
4 - 7
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
4
Scaling value =
D
X (SH - SL)
DMax
+ SL
FUNCTION
(3) How to calculate a scaling value
1)Input range: 0 to 10V, 0 to 5V, 1 to 5V, 0 to 20mA, and 4 to 20mA
2)Input range: -10 to 10V
X (SH - SL)
Scaling value =
D
x: CH1 Digital output value (Un/G100)
D
Max: The maximum digital output value in the input range being used
D
Min: The minimum digital output value in the input range being used
S
H: CH1 A/D conversion scaling upper limit value (Un\G12)
S
L: CH1 A/D conversion scaling lower limit value (Un\G11)
[Setting example]
Using the scaling function (A/D conversion) in input range from -10 to 10V and high
resolution mode (from -16000 to 16000)
(a) Setting value
• CH1 A/D conversion scaling upper limit value (Un\G12) S
• CH1 A/D conversion scaling lower limit value (Un\G11) S
(b) Input value
Digital output value Dx: 7500
D
DMax - DMin
+
H + SL
S
2
H: 14000
L: 2000
4 - 8
4.2 Function Details of A/D Conversion
4.2.3 Scaling function (A/D conversion)
Scaling value =
7500 (14000 - 2000)
16000 - ( -16000)
= 10812.5
= 10813
Fractional portion is rounded off.
(14000 + 2000)
+
2
4
FUNCTION
4.2.4Shifting function (A/D conversion)
The shifting function adds a setting quantity to a digital output value (shifting a digital
output value) and stores the value into buffer memory.
(1) Overview
(a) The shifted output values are stored into CH1 Scaling value (Un\G102).
(b) The shifting amount to conversion value can be set within the range from -32768
to 32767.
(c) Changing the shifting amount to conversion value reflects the scaling value in real
time. Therefore, the digital output value can be adjusted with the shifting function
when the CPU is powered on.
(d) If a scaling function (for A/D conversion) is used simultaneously, the value that is
made scaling processing will be shifted.
1
2
SYSTEM
3
OVERVIEW
CONFIGURATION
(2) Setting methods
(a) Set the quantity to be shifted by using CH1 Shifting amount to conversion value
(Un\G13).
(b) Shifting quantities are added to the digital output value set with CH1 Digital output
value (Un\G100) every sampling period, and then the added value is stored into
CH1 Scaling value (Un\G102).
(c) The default of shifting amount to conversion value is 0.
(d) If a value is written to a shifting amount to conversion value, regardless of whether
Operating condition setting request (Y9) is set to on or off, the shifting amount to
conversion value will be added every sampling period.
4
5
I/O SIGNALS FOR
6
7
SPECIFICATIONS
FUNCTION
THE CPU MODULE
BUFFER MEMORY
4.2 Function Details of A/D Conversion
4.2.4 Shifting function (A/D conversion)
4 - 9
PREPARATORY
PROCEDURES AND
SETTING
8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
4
POINT
1) Digital output value
(Before adjustment)
12000
11990
0
-10
5
Input voltage (V)
0-10
511990
2) Scaling value
(After adjustment)
Input voltage
(V)
CH1 Digital output value
(Un\G100)
00
512000
Input voltage
(V)
CH1 Scaling value
(Un\G102)
1) CH1 Digital output value
(Un\G100)
CH1 Shifting amount to
conversion value
(Un\G13)
2) CH1 Scaling value
(Un\G102)
+
+10
FUNCTION
(3) Setting example
For the channel in setting the input range to 0 to 5V and the high resolution mode (to
0 to 12000), I/O characteristic is adjusted as shown below.
Figure 4.2 I/O characteristic and scaling value after shifting processing
For the case of above example, set CH1 Shifting amount to conversion value
(Un\G13) to 10.
If the scaling value exceeds the range from -32768 to 32767 after a shifting
processing, the value of lower (-32768) and upper (32767) limits will be fixed.
1) CH1 Digital output value
(Un\G100)
+
CH1 Shifting amount to
conversion value
(Un\G13)
2) CH1 Scaling value
(Un\G102)
+20000
36000
32767
16000
4000
-16000
2) Scaling value
0
1) Digital output value
Input voltage (V)
1050-5-10
4 - 10
Figure 4.3 Scaling value for the case of exceeding the range from -32768 to 32767, resulted
4.2 Function Details of A/D Conversion
4.2.4 Shifting function (A/D conversion)
from shifting processing
4
Input signal error
detection upper
limit value
Input signal error
detection lower
limit value
Analog
input value
Time
ON
ON
ON
ON
OFF
OFF
OFF
OFF
Error detection
CH1 Analog input
value
CH1 Input signal error
detection flag (Un\G114)
Input signal error detection signal (X7)
CH1 A/D conversion
completed flag (Un\G113)
Error clear request (YF)
Normal input value
FUNCTION
4.2.5Input signal error detection function
Input signal error detection function is the function that detects voltage or current input
exceeding a setting range.
(1) Overview
(a) If the input voltage or current rises to or above the input signal error detection
upper limit value or falls to or below the lower limit value, an error occurs under
the following operations.
• CH1 Input signal error detection flag (Un\G114) is set to on (1).
• Input signal error detection signal (X7) is set to on.
• ALM LED blinks.
(b) When CH1 Input signal error detection flag (Un\G114) is set to on (1), a digital
output value immediately before the error detection is held for the channel.
In addition, CH1 A/D conversion completed flag (Un\G113) is set to off (0).
1
2
SYSTEM
3
OVERVIEW
CONFIGURATION
(c) To set CH1 Input signal error detection flag (Un\G114) and Input signal error
detection signal (X7) to off, set Error clear request (YF) to on after the analog input
value returns to within the setting range.
ALM LED turns off immediately after CH1 Input signal error detection flag
(Un\G114) is set to off (0).
(d) When the analog input value returns to within the setting range, A/D conversion is
resumed independently of whether CH1 Input signal error detection flag
(Un\G114) and Input signal error detection signal (X7) are reset or not, CH1 A/D
conversion completed flag (Un\G113) of the corresponding channel is set to on
again after the first updating. (ALM LED remains blinking.)
4
5
I/O SIGNALS FOR
6
7
SPECIFICATIONS
FUNCTION
THE CPU MODULE
BUFFER MEMORY
Figure 4.4 Input signal error detection
4.2 Function Details of A/D Conversion
4.2.5 Input signal error detection function
4 - 11
PREPARATORY
PROCEDURES AND
SETTING
8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
4
POINT
Input signal error detection
upper limit value
Input range
20mA
0mA
Error
detection
Error
detection
Input signal error detection
lower limit value
Input signal error detection
upper limit value
Input range
20mA
0mA
Error
detection
Not detected
FUNCTION
CH1 Input signal error
detection setting (Un\G20)
Upper and lower detection (1)
(e) The input signal error detection is executed at every sampling processing.
(f) The condition of the input signal error detection can be set with CH1 Input signal
error detection setting (Un\G20).
The conditions of the input signal error detection are described in the table below.
Table 4.2 Condition of input signal error detection and operation
Condition of input signal error detection
If the analog input value reaches to or exceeds
the input signal error detection upper limit
setting value or falls to or below the input
signal error detection lower limit setting value,
an error is detected.
Not detected
If the analog input value falls to or below the
input signal error detection lower limit setting
Lower detection (2)
Upper detection (3)
Disconnection detection (4)Disconnection detection is executed.Refer to Section 4.2.6 (3).
value, an error is detected.
Even if the analog input value reaches to or
exceeds the input signal error detection upper
limit setting value, an error is not detected.
If the analog input value exceeds the input
signal error detection upper limit setting value,
an error is detected.
Even if the analog input value falls to or below
the input signal error detection lower limit
setting value, an error is not detected.
Input signal error detection
lower limit value
20mA
Input range
0mA
Error
detection
4 - 12
Setting CH1 Input signal error detection setting (Un\G20) for the channel setting
the following input ranges detects disconnection. (Refer to Section 4.2.6 (3).)
• 4 to 20mA (Extended mode)
• 1 to 5V (Extended mode)
If CH1 Input signal error detection setting (Un\G20) is set to detect disconnection
(4) for the channel setting input ranges other than above ranges, an error (error
code: 212) occurs.
4.2 Function Details of A/D Conversion
4.2.5 Input signal error detection function
4
=
Input signal error detection
setting value
Gain value of each range-
Input signal error detection
upper limit value
Gain value of each range-Offset value of each range
1000
FUNCTION
(2) Setting methods
1) Set the value for CH1 Input signal error detection setting value (Un\G21) of
corresponding channels in 0.1% increments.
2) Set the value for CH1 A/D conversion enable/disable setting (Un\G0) of
corresponding channels to A/D conversion enable (0).
3) Select the condition of input signal error detection to be used from 1 to 3 in the
Table 4.2 for CH1 Input signal error detection setting (Un\G20) of
corresponding channels.
1
OVERVIEW
2
4) Validate the setting of Operating condition setting request (Y9) from off to on.
(3) Specifying the upper and lower limit value for the input signal error
detection
The setting for upper and lower limit value of input signal error detection is based on
CH1 Input signal error detection setting value (Input signal error detection upper limit
value and Input signal error detection lower limit value). (The value is set in
increments of 1(0.1%))
When the upper and lower detection is set, CH1 Input signal error detection setting
value (Un\G21) is reflected to both upper and lower limit value of input signal error
detection.
(a) Input signal error detection upper limit value
A value that the addition of "a value multiplied an input range width (gain value offset value) by CH1 Input signal error detection setting value" to a gain value.
The setting is available only when the value is a gain value or more.
(b) Input signal error detection lower limit value
A value that the subtraction of "a value multiplied an input range width (gain value
- offset value) by CH1 Input signal error detection setting value" from a lower limit
value of input range.
The setting is available only when the value is a lower limit value of input range or
less.
SYSTEM
3
4
5
I/O SIGNALS FOR
6
CONFIGURATION
SPECIFICATIONS
FUNCTION
THE CPU MODULE
Input signal error detection
setting value
Lower limit value of each
range
=
Gain value of each range -Offset value of each range
4.2 Function Details of A/D Conversion
4.2.5 Input signal error detection function
Input signal error detection
upper limit value
1000
4 - 13
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
4
FUNCTION
The following table shows lower limit values, offset values, and gain values
calculated in setting input ranges.
Table 4.3 Lower limit values, offset values, and gain values calculated by setting input ranges
InputAnalog input rangeLower limit valueOffset valueGain value
0 to 10V0V0V10V
0 to 5V0V0V5V
Voltage
1 to 5V (Extended mode)1V1V5V
Current
4 to 20mA (Extended mode)4mA4mA20mA
(4) Setting examples of the Input signal error detection
[Setting example]
To detect an input signal error when the analog input value is 2.4mA or less, which is
for the analog input range of the channel is set to 4 to 20mA.
1 to 5V1V1V5V
-10 to 10V-10V0V10V
0 to 20mA0mA0mA20mA
4 to 20mA4mA4mA20mA
(a) Set CH1 Input signal error detection setting value (Un\G21).
The setting values will be turned out when the following values are assigned to the
calculating formula of the input signal error detection lower value described in (3)
of this section.
• Input signal error detection lower limit value: 2.4mA
• Lower limit value of input range (offset value): 4.0mA
• Gain value: 20.0mA
Input signal error
detection setting value
Therefore, use "100 (10.0%)" for the setting of CH1 Input signal error detection
setting value (Un\G21).
4.0- 2.4
=
20.0 - 4.0
= 100(10.0%)
1000
4 - 14
4.2 Function Details of A/D Conversion
4.2.5 Input signal error detection function
4
Input signal error detection
upper limit value
21.6mA
Offset value
20mA
Gain value
4mA
Input signal error detection
lower limit value
1.6mA
(10.0 of 1.6mA)
1.6mA
(10.0 of 1.6mA)
16mA
(Gain value - Offset value)
2.4mA
(An error is detected while Upper
and lower detection (1) is set.)
Error
FUNCTION
(b) Set CH1 Input signal error detection setting (Un\G20) in the lower detection (2).
In this case, the value for CH1 Input signal error detection operates as below.
1
2
SYSTEM
3
4
OVERVIEW
CONFIGURATION
SPECIFICATIONS
Figure 4.5 Setting example1 of Input signal error detection function
When CH1 Input signal error detection setting (Un\G20) is set in the upper and lower
detection (1), an error will be detected in 21.6mA not only 2.4mA by the setting of "100
(10.0%)"
FUNCTION
5
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
4.2 Function Details of A/D Conversion
4.2.5 Input signal error detection function
4 - 15
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
4
POINT
4595 (13787)
4500 (13500)
4000 (12000)
0
-1000 (-3000)
0
Expanded range
4102022
Analog input current (mA)
The value in parenthesis refers to the digital output value in high resolution mode.
-1096 (-3288)
Expanded range
Digital output value
4595 (13787)
4500 (13500)
4000 (12000)
0
-1000 (-3000)
0
Expanded range
15 5.5
Analog input voltage (V)
The value in parenthesis refers to the digital output value in high resolution mode.
-1096 (-3288)
Expanded range
Digital output value
FUNCTION
4.2.6Input range extended mode function
Input rangeInput range
4 to 20mA4 to 20mA
1 to 5V1 to 5V
The input range extended mode function is the function increasing the input range of 4 to
20mA and 1 to 5V.
Table 4.4 Input range and digital output value for extended mode
Normal modeExtended mode
CH1 Digital output value
(Un\G100)
-96 to 4095
(-288 to 12287)
* 1 The values in parenthesis refer to the range of digital outputs for setting high resolution
mode.
*1
Input range
4 to 20mA
(Extended
mode)
1 to 5V
(Extended
mode)
Increased
range
0.0 to 22.0mA
0.0 to 5.5V
CH1 Digital output value
(Un\G100)
-1096 to 4595
(-3288 to 13787)
*1
(1) Overview
(a) The input range extended mode function can monitor the values that fall below
4mA or 1V, so that sensors do not measure concrete values.
(b) The slopes of the lines representing I/O characteristic are same between the
extended mode and the normal mode. However, the input range expands and the
upper and lower limit values of CH1 Digital output value (Un\G100) extend in the
extended mode.
Figure 4.6 I/O characteristic of input range from 4 to 20mA
(Extended mode)
Figure 4.7 I/O characteristic of input range from 1 to 5V
(Extended mode)
(2) Setting methods
Configure the input range (for CH1 to CH4) in "Switch 1" cell of the Switch setting for
I/O and intelligent function module dialog box. (Refer to Section 7.5.2.)
4 - 16
4.2 Function Details of A/D Conversion
4.2.6 Input range extended mode function
If the input range extended mode function, scaling function (for A/D conversion),
and shifting function (for A/D conversion) are used simultaneously, the scaling
value can exceed the range from -32768 to 32767.
In such a case, the values set within the upper limit (32767) and lower limit (-
32767) values will be stored into the buffer memory as scaling values.
4
POINT
FUNCTION
(3) Disconnection detection
Combining the input range extended mode function and input signal error detection
function detects a disconnection.
If the input analog current value changes to 2mA or less, or the input analog voltage
value changes 0.5V or less, an external wiring is disconnected, and CH1 Input signal
error detection flag (Un\G114) is set to on (1).
(a) Setting methods
1) Disconnection detection can be performed only when the input range is set to
either:
• 4 to 20mA (Extended mode)
• 1 to 5V (Extended mode)
2) To use the disconnection detection function, set CH1 Input signal error
detection setting (Un\G20) to detect disconnections (4), and set Operating
condition setting request (Y9) to on.
1
2
SYSTEM
3
OVERVIEW
CONFIGURATION
(b) Operation for disconnection detection
1) If the conditions described in Table 4.5 are satisfied, the following operations
perform.
• Input signal error detection signal (X7) is set to on.
• CH1 Input signal error detection flag (Un\G114) is set to on (1).
• ALM LED blinks.
To disable the above operations, cancel the conditions of disconnection
detection shown in Table 4.5 and set Error clear request (YF) to on.
Table 4.5 Condition of disconnection detection
Input rangeCondition of disconnection detection
4 to 20mA (Extended mode)
1 to 5V (Extended mode)
2) A digital output value immediately before the disconnection detections is held
for CH1 Digital output value (Un\G100), and CH1 A/D conversion completed
flag (Un\G113) is set to off (0).
3) When the disconnection is restored, A/D conversion resumes independently
and CH1 A/D conversion completed flag (Un\G113) is set to on (1) after the
first updating.
The disconnection detection is executed at every sampling processing regardless
of the status of CH1 Averaging process method setting (Un\G1).
[Example] When the number of conversion enabled channels is three, the
disconnection detection is executed every 1.5ms.
500 s 3CH 1500 s 1.5ms
If data are stored up to 10000th data point area,
data will be overwritten from the 1st data area.
1st data
2nd data
3rd data
4th data
5th data
6th data
9999th data
10000th data
Digital output value
(Un\G100)
Scaling value
(Un\G102)
FUNCTION
4.2.7Logging function
(1) Logging function
This function collects the data of the digital output value or scaling value performed
A/D conversion at a preset timing in series.
This function is useful to check the data change of the digital output value or scaling
value performed A/D conversion periodically because the function sets an interval
(logging period), performs logging, and stores the logs into the buffer memory.
In addition, this function is useful to check the data change of the analog input value
during the stopped logging, if a trigger condition is set by using a hold trigger.
(2) Logging operation
When logging starts in sequence programs, logging data are stored into the logging
data storage areas in order from the initial area.
Logging data can be stored up to 10000th data point area for a channel.
The stored data are retained until when the CPU module is powered off or Operating
condition setting request (Y9) is set to on.
4 - 18
Figure 4.8 Logging operation
4.2 Function Details of A/D Conversion
4.2.7 Logging function
4
Start
End
Set the following items.
Logging enable/disable setting
Logging data setting
Logging cycle setting value
Logging cycle unit setting
Logging points after trigger
Which Hold trigger will be used?
Set the following items.
Level trigger condition setting
Trigger data
Trigger setting value
Level data
Set the item as described below.
Set 0 for Level trigger condition setting.
Do not set the following items.
Trigger data
Trigger setting value
Logging hold
request signal
Level trigger
Initial setting performed by users
Logging facility
Initial setting
Logging facility start
Logging facility hold
Logging hold flag check
Logging data read and save
Logging restart
(Refer to )
(Refer to )
(Refer to )
End
(3) in this section
(3)(b) in this section
(4) in this section
FUNCTION
(3) Logging start
To use a logging facility, the following items are required for the initial setting.
Figure 4.9 Flowchart of initial setting
1
2
SYSTEM
3
4
OVERVIEW
CONFIGURATION
SPECIFICATIONS
(a) Common setting items
To use a logging facility, set the items shown in Table 4.6.
ItemDescription
Logging enable/disable
setting
Logging data setting
Logging cycleSet the cycle to store data during logging.Section 6.11
Logging points after trigger
Table 4.6 Initial setting for logging facility
Set the item to be enabled (0).Section 6.10
Set whether to perform logging digital output values or scaling
values.
Set the amount of logging data after hold triggers are detected
and before logging is held.
Figure 4.10 Flowchart of operating procedure
4.2 Function Details of A/D Conversion
4.2.7 Logging function
Reference
section
Section 6.12
Section 6.13
4 - 19
FUNCTION
5
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
4
OFF
ON
Hold trigger occurred
CH1 Logging hold request (Y1)
Data stored before the last
10000 data are discarded.
Logging points after trigger
(Un\G34)
CH1 Logging data storage area
(Un\G5000 to Un\G14999)
Logging hold
Logging data points (Un\G122) 10000
FUNCTION
Level trigger condition setting Set the item to be "Disable" (0).Section 6.14
(b) Hold trigger
Hold trigger is the trigger that occurs for the case of preset trigger conditions to be
met when a logging facility is used.
When the Q64AD2DA detects a hold trigger, the logging facility stops (hold)
collecting logging data after logging the number of preset points.
The necessary setting items vary depending on hold triggers to be used.
Select one of two types of hold trigger.
1) For holding logging in given timing
A hold trigger is detected by using Logging hold request (Y1).
Setting CH1 Logging hold request (Y1) to on holds the logging.
Table 4.7 For detecting hold triggers by using Logging hold request
ItemDescription
Reference
section
Figure 4.11 For detecting hold triggers by using Logging hold request
2) For holding logging when given buffer memory meet the setting conditions
A hold trigger is detected by using a level trigger.
Setting CH1 Logging hold request (Y1) to on causes the logging data to be
trigger condition waiting status set in Table 4.8, and the satisfied trigger
condition holds the logging.
Table 4.8 For detecting hold triggers by using level triggers
ItemDescription
Level trigger condition setting Set a condition for using level triggers.Section 6.14
Trigger data
Trigger setting valueSet a value that makes level triggers work.Section 6.16
Level data
Set an address of the buffer memory monitoring data to make
level triggers work.
This data is the data that monitor data to make level triggers
work. Set this level data to monitor devices specified for CPU
modules or the like excluding the buffer memory of the
Q64AD2DA and make triggers work.
Reference
section
Section 6.15
Section 6.38
4 - 20
4.2 Function Details of A/D Conversion
4.2.7 Logging function
4
Satisfied
OFF
ON
CH1 Logging hold request (Y1)
Trigger condition enable/disable
Trigger condition satisfied/not satisfied*1
CH1 Logging data storage area
(Un\G5000 to Un\G14999)
Disable
Not satisfied
Enable (waiting for trigger condition)
Data stored before latest
10000 are discarded.
Hold trigger occurredLogging hold
Logging points after trigger
(Un\G34)
Logging data points (Un\G122) 10000
FUNCTION
* 1 A hold trigger occurs when the condition set in Table 4.8 is satisfied.
1
2
SYSTEM
3
OVERVIEW
CONFIGURATION
Figure 4.12 For detecting hold triggers by using level triggers
4
5
I/O SIGNALS FOR
6
7
SPECIFICATIONS
FUNCTION
THE CPU MODULE
BUFFER MEMORY
4.2 Function Details of A/D Conversion
4.2.7 Logging function
4 - 21
PREPARATORY
PROCEDURES AND
SETTING
8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
4
POINT
FUNCTION
(1) If logging does not start, check the following:
• Is CH1 Logging enable/disable setting (Un\G30) set to be disabled (1)?
If CH1 Logging enable/disable setting (Un\G30) has been set to be
disabled (1), set CH1 Logging enable/disable setting (Un\G30) to be
enabled (0),
• Is the initial setting correct?
If the initial setting has an error, Error flag (XF) is set to on and ERR. LED
lights up.
Reconfigure the initial setting, referring to the error code. (refer to Section
11.1.)
(2) If Operating condition setting request (Y9) is set to on during logging, the
logging will stop whether hold triggers are executed or not and all the stored
logging data will be cleared before Operating condition setting request (Y9) is
set to on.
4 - 22
4.2 Function Details of A/D Conversion
4.2.7 Logging function
4
FUNCTION
The data that a trigger is executed.
(8999 = 5000 + 3999 )
Initial buffer memory address
in the logging data storage area
Latest data (13449 = 5000 + 8449 )
(4) Reference of logging data
If CH1 Logging hold flag (X1) is set to on, refer to the buffer memory shown in Figure
4.13 and Figure 4.14.
The logging datad point determines how to refer to the logging data storage area.
[Example] The held logging data point is 10000.
CH1 Logging data storage area
(Un\G5000 to Un\G14999)
Un\G5000
CH1 Trigger pointer
(Un\G123)
CH1 Latest pointer
(Un\G121)
Un\G8999
Un\G13449
Un\G13450
The number of data points is set
from when a trigger is executed until
when a logging hold is executed.
CH1 Logging points after trigger
(Un\G34)
Valid data
(the number of valid
data points can be
checked with
CH1 Logging data
points (Un\G122).)
1
2
SYSTEM
3
4
OVERVIEW
CONFIGURATION
SPECIFICATIONS
Oldest data (13450 = 5000 + 8450 )
Initial buffer memory address
in the logging data storage area
[Example] The held logging data point is less than 10000.
Initial buffer memory address
in the logging data storage area
Oldest data (5000 = 5000 + 0 )
The data that a trigger is executed.
(8049 = 5000 + 3049 )
Initial buffer memory address
in the logging data storage area
Latest data (12499 = 5000 + 7499 )
CH1 Oldest pointer
(Un\G120)
CH1 Oldest pointer
(Un\G120)
CH1 Trigger pointer
(Un\G123)
CH1 Latest pointer
(Un\G121)
Un\G14999
Figure 4.13 The held logging data point is 10000.
CH1 Logging data storage area
(Un\G5000 to Un\G14999)
Un\G5000
Un\G8049
The number of data points is set
from when a trigger is executed until
when a logging hold is executed.
CH1 Logging points after trigger
Un\G12499
Un\G12500
these data are not determined.)
Un\G14999
(Un\G34)
Invalid data
(The values stored in
Valid data
(the number of valid data
points can be checked with
CH1 Logging data points
(Un\G122).)
FUNCTION
5
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
Figure 4.14 The held logging data point is less than 10000.
4.2 Function Details of A/D Conversion
4.2.7 Logging function
4 - 23
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
4
POINT
POINT
FUNCTION
(5) Referring to logging data without logging hold
Oldest pointer
Latest pointer
Logging data points
(1) If CH1 Logging hold request (Y1) is set to off before CH1 Logging hold flag is
set to on, logging will restart without hold after logging of data that set for
logging points after trigger will start.
(2) From when CH1 Logging hold request (Y1) is set to on until when a hold
trigger occurs in the Q64AD2DA, the delay is up to the time calculated as
shown below.
• Trigger occurrence delay (Number of channels that conversion is
enabled 500 s) +(Scan time for CPU modules)
Logging data can be checked without logging hold.
(a) Buffer memory to be used
Table 4.9 Buffer memory required for referring to logging data
ItemDescription
The address of the buffer memory that store the oldest data
can be checked in the logging data storage area.
The address of the buffer memory that store the latest data can
be checked in the logging data storage area.
The number of data stored in the logging data storage area can
be checked.
Reference
Section 6.24
Section 6.25
Section 6.26
Section
(b) Precautions
To refer to logging data during data logging, pay attention to the following.
1) Logging cycle setting
Before logging data are updated, set a cycle allows data to be referred and
collected, completely and securely.
2) Reference timing
After the number of logging data to be referred is collected, the oldest pointer
or the change of the logging data points must be monitored and logging data
must be obtained according to the change of the storage values.
If the relationship between the logging cycle and the scan time of the CPU
modules causes data not to be updated and referred simultaneously, adjust the
logging cycle.
A short logging cycle may cause logging data to be updated in referring or
collecting data.
To refer to data regardless of the logging cycle, perform logging hold.
4 - 24
4.2 Function Details of A/D Conversion
4.2.7 Logging function
4
FUNCTION
4.3Function Details of D/A Conversion
4.3.1D/A output enable/disable function
Set whether D/A conversion values are output or offset values are output for each
channel.
(1) Setting methods
CH5 Output enable/disable flag (Y5) can be used.
Table 4.10 D/A output enable/disable function
CH5 Output enable/disable flag
(Y5)
Output enabled (ON)Outputs D/A conversion values.
Output disabled (OFF)Outputs offset values.
(2) D/A output enable/disable function and the conversion speed
The conversion speed is calculated by the formula (500 s Number of channels of
conversion enabled) regardless of whether CH5 Output enable/disable flag (Y5) is
enabled (ON) or disabled (OFF).
Analog output
1
2
SYSTEM
3
4
OVERVIEW
CONFIGURATION
SPECIFICATIONS
4.3.2Analog output HOLD/CLEAR function
For the case where the CPU module is placed in STOP or in a stop error status, whether to
hold (HOLD) or clear (CLEAR) the analog output value can be set.
(1) Setting methods
Set the HOLD/CLEAR in "Switch 3" cell of Switch setting for I/O and intelligent
function module dialog box. (Refer to Section 7.5.2.)
(2) Analog output status combination
Depending on combinations of the HOLD/CLEAR setting, CH5 D/A conversion
enable/disable setting (Un\G800), and CH5 Output enable/disable flag (Y5), the
analog output status varies as shown in Table 4.11.
Table 4.11 Analog output status combination list
Setting combination
CH5 D/A conversion enable/disable
Execution
status
Analog output status when a CPU module is RUN
Analog output status when a CPU module is STOP HoldOffsetOffset0V/0mA
Analog output status when a CPU module stop error occursHoldOffsetOffset0V/0mA
Analog output status when a watchdog timer error
occurs in the Q64AD2DA
CH5 Output enable/disable flag (Y5)EnableDisable
Analog output HOLD/CLEAR setting
setting (Un\G800)
function setting
*1
* 1 This occurs when program operations are not completed within the scheduled time due to a
hardware problem of the Q64AD2DA. When a watchdog timer error occurs, Module ready (X0) is
set to off and the Q64AD2DA RUN LED is turned off.
HOLDCLEAR
Outputs analog values converted
from digital input values.
0V/0mA0V/0mA0V/0mA0V/0mA
4.3 Function Details of D/A Conversion
4.3.1 D/A output enable/disable function
EnableDisable
Enable or
disable
HOLD or
CLEAR
Offset0V/0mA
HOLD or
CLEAR
4 - 25
FUNCTION
5
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
4
POINT
FUNCTION
The following conditions should be satisfied when the analog output HOLD/
CLEAR function is used on a MELSECNET/H remote I/O station.
• The master module of function version D or later and the remote I/O
module of function version D or later are required.
• Validate the station unit block guarantee of the send side cyclic data.
• The setting for holding the Q64AD2DA output in the case of a link error
must be made in the "Error time output mode in the I/O assignment
setting". (Refer to Section 7.5.1 (2).). At this time, the HOLD/CLEAR
setting in "Switch 3" of Switch setting for I/O and intelligent function
module dialog box is not reflected. This setting is validated on a permodule basis, and is not made on a per-channel basis. Therefore, to
make the output status at a stop error or STOP of the CPU module
matched with the output status at a link error, set the same HOLD/CLEAR
function setting to all channels. (Refer to Table 4.12.)
Table 4.12 Analog output HOLD/CLEAR function of MELSECNET/H remote I/O station
Hold/Clear of analog output valueError time output mode
Hold analog output HoldHOLD
Clear analog output
(Output offset value)
ClearCLEAR
HOLD/CLEAR function setting
(Same setting to all channels)
For the station unit block guarantee of the cyclic data, refer to the following
manual.
D/A conversion output is executed even when the programmable controller CPU stops.
Analog output values
resulted from D/A conversion
Analog output values
resulted from D/A conversion
Analog output values
resulted from D/A conversion
Programmable
controller
CPU status
CH5 Output
enable/disable
flag (Y5)
Analog output
value status
FUNCTION
4.3.3Analog output test during a CPU module STOP
While the CPU module is in stop status, an analog output test as shown can be performed.
(Refer to Table 4.13.)
(1) Operating method
To conduct an analog output test, perform the following on Device test of GX
Developer, on the relevant test screens of Configurator-AD, or Configurator-DA.
(Refer to Section 8.6.1.)
The operating procedure is as follows:
1) Set CH5 D/A conversion enable/disable (Un\G800) where the test is to be
conducted to Enable (0).
2) Turn Operating condition setting request (Y9) from off to on.
3) Check that Operating condition setting completed flag (X9) turns off, and then
turn Operating condition setting request (Y9) from on to off.
1
2
SYSTEM
3
OVERVIEW
CONFIGURATION
4) Set CH5 Output enable/disable flag (Y5) to be tested to be enabled (to on).
5) Set digital input values equivalent to analog values that are to be output to
CH5 Digital input value (Un\G802).
Table 4.13 List of analog output test
Setting
combination
Analog output testAllowedNot allowed
CH5 D/A conversion enable/disable
setting (Un\G800)
CH5 Output enable/disable flag (Y5)EnableDisableEnableDisable
* 1 Perform the analog output test after changing CH5 D/A conversion enable/disable setting
(Un\G800) to be enabled (1).
EnableDisable
(2) Operating timing
While the CPU module is in stop status, the relationship between CH5 Output enable/
disable flag (Y5) and the analog output value are shown below.
Not allowed
SPECIFICATIONS
4
*1
FUNCTION
5
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
Figure 4.15 Analog output value during the stop status of the CPU module
Table 4.14 Details of the analog output value during the stop status of the CPU module
NumberDescription
1)CH5 Output enable/disable flag (Y5) is set to off.
2)
When CH5 Output enable/disable flag (Y5) is set to on forcibly, the offset value of the analog
output value changes to the analog output value that D/A conversion is performed.
4.3 Function Details of D/A Conversion
4.3.3 Analog output test during a CPU module STOP
4 - 27
PREPARATORY
PROCEDURES AND
SETTING
8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
4
FUNCTION
4.3.4Scaling function (D/A conversion)
This function changes an input range of digital input values to a given range between 32000 and 32000.
(1) Overview
(a) Whether using the scaling function (D/A conversion) for each channel or not can
be specified with CH5 D/A conversion scaling enable/disable setting (Un\G810).
(b) The scaling function performs scaling conversion of the digital output values set
with CH5 Digital input value (Un\G802) within the range set by the buffer memory.
• CH5 D/A conversion scaling lower limit value (Un\G811)
• CH5 D/A conversion scaling upper limit value (Un\G812)
(c) The fractional portion of the digital input value converted with scaling function is
rounded off.
CH5 Real conversion digital value (Un\G902) indicates a digital input value that
scaling and shifting are performed. (Refer to Section 4.3.5.)
(2) Setting methods
1) Set the buffer memory as follows:
• Setting CH5 D/A conversion scaling enable/disable setting (Un\G810) to
be enabled (0).
*1
• Setting a digital input value corresponding to the upper limit
output as the scaling upper limit value set with CH5 D/A conversion
scaling upper limit value (Un\G812).
• Setting a digital input value corresponding to the lower limit
output as the scaling lower limit value set with CH5 D/A conversion
scaling lower limit value (Un\G811).
* 1 Input range from -10 to 10V, normal resolution: 4000
* 2 Input range from -10 to 10V, normal resolution: -4000
2) Set Operating condition setting request (Y9) to on.
of analog
*2
of analog
(3) How to calculate a scaling value
For the D/A conversion, the value to be calculated with the following formula will be
used.
(If the value cannot be divided, the fractional portion of the digital value will be
rounded off.)
Digital values used for D/A conversion =
DMax - DMin
SH - SL
(DX - SL) + DMin
4 - 28
x: CH5 Digital input value (Un\G802)
D
Max: The maximum digital input value in the output range being used
D
Min: The minimum digital input value in the output range being used
D
H: CH5 D/A conversion scaling upper limit value (Un\G812)
S
L: CH5 D/A conversion scaling lower limit value (Un\G811)
S
4.3 Function Details of D/A Conversion
4.3.4 Scaling function (D/A conversion)
4
Digital values used for D/A conversion
= -2666.66
=
= -2667
Fractional portion is rounded off.
16000 - (-16000)
14000 - 2000
(7000 - 2000) + ( -16000)
Analog output
value
5.12V
5V
0
-0.12V
-2880
A'
88010006000 6119 6120
A
12000 12286 12287
*
2
D/A conversion scaling
lower limit value
D/A conversion scaling
upper limit value
Digital input values
resulted from executing
scaling from 1000 to 6000
Real conversion
digital value
Setting example
Output range: 0 to 5V
Resolution mode: High resolution mode (0 to 12000)
CH5 D/A conversion scaling lower limit value (Un\G811): 1000
CH5 D/A conversion scaling upper limit value (Un\G812): 6000
FUNCTION
[Setting example]
Using the scaling function (D/A conversion) in input range from -10 to 10V and high
resolution mode (from -16000 to 16000)
(4) Settable range
(a) Setting value
• CH5 D/A conversion scaling upper limit value (Un\G812) S
• CH5 D/A conversion scaling lower limit value (Un\G811) S
H: 14000
L: 2000
(b) Input value
Digital input value Dx: 7000
If the scaling function (D/A conversion) is used, the digital input values of the upper
*1
and lower limit*1 of the settable range are as follows:
limit
• Settable upper limit value D/A conversion scaling upper limit value + A
• Settable lower limit value D/A conversion scaling lower limit value - A'
A and A' depends on a resolution mode, output range, D/A conversion scaling upper
limit value, and D/A conversion scaling lower limit value. (Refer to Figure 4.16.)
1
2
SYSTEM
3
4
5
OVERVIEW
CONFIGURATION
SPECIFICATIONS
FUNCTION
[Setting example]
Figure 4.16 Settable range of digital input values
* 1 This value is a value that does not cause Digital value out of range error (error code: 003).
* 2 This setting example shows 6119 as a settable upper limit value and the real conversion digital
value is 12286. Therefore, the analog output value corresponding to the real conversion digital
value 12287 will not be output.
4.3 Function Details of D/A Conversion
4.3.4 Scaling function (D/A conversion)
4 - 29
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
4
Setting example
Output range: 0 to 5V
Resolution mode: High resolution mode (0 to 12000)
CH5 D/A conversion scaling lower limit value (Un\G811): 1000
CH5 D/A conversion scaling upper limit value (Un\G812): 6000
CH5 Output enable/disable flag (Y5) is turned on when CH5 Digital input value (Un\G802) is in initial value (0) status.
Digital values used for D/A conversion
12000 - 0
6000 - 1000
(0 - 1000) + 0
= -2400
=
Since this digital input value is out of the scaling range (1000 to 6000) set,
an error (error code: 003) occurs.
FUNCTION
As indicated in the formula of (4) in this section or Figure 4.16, the value exceeding
the D/A conversion scaling upper limit or the value that falls below the D/A conversion
lower limit can be set for a digital input value. However, the analog output value
corresponding to the real conversion digital value, exceeding the range cannot be
ensured.
Moreover, when setting the values of settable upper and lower limits, the real
conversion digital value could not reach the maximum or minimum value.
(5) Precautions
(a) Use of scaling function (D/A conversion) and resolution
Even if the digital input value range is enlarged with the scaling function (D/A
conversion), the resolution will not be more than the one applied when the scaling
function is not used.
As the digital input value range is narrowed, the resolution is lowered.
(b) When a digital input value range not including zero (0), such as 1000 to 6000, is
specified
When a digital input value range not including zero (0), such as 1000 to 6000, is
specified, set CH5 Output enable/disable flag (Y5) to on after setting values within
the input range in CH5 Digital input value (Un\G802).
If CH5 Output enable/disable flag (Y5) is set to on with the default value (0) set in
CH5 Digital input value (Un\G802), an error (error code: 003) will occur.
[Setting example]
The following setting causes an error (error code: 003).
Figure 4.17 Example of setting range
(c) The settable range of the values, that scaling conversion is performed for digital
values set in CH5 Digital input value (Un\G802), can be checked.
4 - 30
4.3 Function Details of D/A Conversion
4.3.4 Scaling function (D/A conversion)
4
FUNCTION
4.3.5Shifting function (D/A conversion)
The shifting function adds a setting quantity to a digital input value (shifting a analog output
value).
(1) Overview
• The shifting amount to input value can be set within the range from -32768 to
32767.
• If a scaling function (for D/A conversion) is used simultaneously, scaling will be
performed after shifting.
• If the shifted values exceed the range from -32768 to 32767, the values will be
fixed to the upper limit (32767) and lower limit (-32768), respectively.
• CH5 Real conversion digital value (Un\G902) indicates a digital input value that
scaling and shifting are performed. (Refer to Section 4.3.4.)
• If the shifted values exceed the settable digital ranges corresponding to the set
output ranges, the D/A conversion will be performed according to Table 4.15.
• Changing the shifting amount to input value reflects the analog output value in
real time. Therefore, the analog output value can be adjusted with the shifting
function when the CPU is powered on.
Table 4.15 Settable range corresponding to the output ranges and processing of digital values exceeding settable range
Normal resolution modeHigh resolution mode
Output range
setting
0H: 4 to 20mA
1H: 0 to 20mA
2H: 1 to 5V
3H: 0 to 5V
4H: -10 to 10V
Settable range
(Real range)
-96 to 4095
(Real range: 0 to 4000)
-4096 to 4095
(Real range: -4000 to 4000)
(2) Setting methods
Processing for the case of
written digital values
exceeding settable range
4096 or more: 4095
-97 or less: -96
4096 or more: 4095
-4097 or less: -4096
Settable range
(Real range)
-288 to 12287
(Real range: 0 to 12000)
-16384 to 16383
(Real range:
-16000 to 16000)
Processing for the case of
written digital values
exceeding settable range
12288 or more: 12287
-289 or less: -288
16384 or more: 16383
-16385 or less: -16384
1
2
SYSTEM
3
4
5
I/O SIGNALS FOR
6
OVERVIEW
CONFIGURATION
SPECIFICATIONS
FUNCTION
THE CPU MODULE
(a) Set the quantity to be shifted by using CH5 Shifting amount to input value
(Un\G813).
(b) Shifting quantities are added to the digital input value set with CH5 Digital input
value (Un\G802) every conversion period.
(c) The default of the shifting amount to input value is 0.
(d) If a value is written to a shifting amount to input value, regardless of whether
Operating condition setting request (Y9) is set to on or off, the shifting amount to
input value will be added to digital input value.
4.3 Function Details of D/A Conversion
4.3.5 Shifting function (D/A conversion)
4 - 31
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
4
A
FUNCTION
(3) Setting example
For the channel in setting the output range to 0 to 20mA and the high resolution mode
(to 0 to 4000), I/O characteristic is adjusted as shown below.
nalog output value
20.1mA
Input value
shift amount
20.0mA
Input value
shift amount
Figure 4.18 I/O characteristic after shifting processing
CH5 Digital input value
(Un\G802)
00.100.0
400020.1400020.0
Before
adjustment
0.1mA
After
adjustment
-2003980 4000
Table 4.16 Digital input value after shifting processing
Output current
(mA)
Digital input value
CH5 Digital input value
(Un\G802)
Output current (mA)
For the case of above example, set CH5 Shifting amount to input value (Un\G813) to
-20.
Before and after the shifting processing, the digital input value, real conversion digital
value, and analog output value are as follows:
Table 4.17 Shifting processing
CH5 Digital input value
(Un\G802)
-20-200.0
000.1
3980398020.0
4000400020.1
CH5 Real conversion
digital value
(Un\G902)
Output current
(mA)
CH5 Shifting amount to input
value (Un\G813)
0
CH5 Digital input value
(Un\G802)
0-200.0
2000.1
4000398020.0
4 - 32
4.3 Function Details of D/A Conversion
4020400020.1
CH5 Real conversion
digital value
(Un\G902)
Output current
(mA)
CH5 Shifting amount to input
value (Un\G813)
-20
4.3.5 Shifting function (D/A conversion)
4
500 s500 s500 s
<Group 1>
D/A conversion
(CH6)
A/D conversion
(CH1)
A/D conversion
(CH2)
D/A conversion
(CH5)
A/D conversion
(CH3)
A/D conversion
(CH4)
D/A conversion
(CH6)
A/D conversion
(CH1)
3ms
All conversion periods
<Group 2>
500 s500 s500 s500 s500 s
500 s500 s
<Group 1>
D/A conversion
(CH5)
A/D conversion
(CH3)
A/D conversion
(CH1)
D/A conversion
(CH5)
A/D conversion
(CH3)
A/D conversion
(CH1)
D/A conversion
(CH5)
1.5ms
All conversion periods
<Group 2>
<Group 1>
1.5ms
All conversion periods
<Group 2>
500 s500 s500 s500 s500 s
A/D conversion
(CH3)
A/D conversion
(CH1)
D/A conversion
(CH5)
500 s500 s500 s
FUNCTION
4.4Details of Common Function
4.4.1Analog conversion enable/disable setting
(1) Analog conversion enable/disable setting and conversion speed
Set whether A/D or D/A conversion for the A/D conversion channels (CH1 to CH4)
and D/A conversion channels (CH5, CH6) is enabled or disabled for each channel.
The Q64AD2DA conversion speed is calculated with the formula, 500 sNumber
of conversion enabled channels.
The Q64AD2DA converts according to the two types of the conversion sequence,
group 1 and group 2.
Table 4.18 Conversion sequence of A/D conversion channels and D/A conversion channels
GroupA/D conversion channel
Group 1CH1CH2CH5
Group 2CH3CH4CH6
(2) Conversion sequence
The sequence of the analog conversion depends on the channels that enable
conversion as shown below.
D/A conversion
channel
1
2
SYSTEM
3
4
OVERVIEW
CONFIGURATION
SPECIFICATIONS
(a) Sequence of the analog conversion for the case of the all channels that enable
conversion
Figure 4.19 Sequence of the analog conversion for all channels that enable conversion
(b) Sequence of the analog conversion for the case of CH1, CH3, and CH5 enable
conversion
Figure 4.20 Sequence of the analog conversion for the case of CH1, CH3, and CH5 enable conversion
FUNCTION
5
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
4.4.1 Analog conversion enable/disable setting
4.4 Details of Common Function
4 - 33
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
5
POINT
I/O SIGNALS FOR THE CPU MODULE
CHAPTER5I/O SIGNALS FOR THE CPU MODULE
5.1List of I/O Signals
Table 5.1 lists the I/O signals of the Q64AD2DA.
Note that I/O numbers (X/Y) shown in this chapter and thereafter are the values when the
start I/O number for the Q64AD2DA is set to 0.
Table 5.1 List of I/O signal
Signal direction CPU module Q64AD2DA
Device number (input)Signal nameDevice number (output)Signal name
X0Module readyY0
X1CH1 Logging hold flagY1CH1 Logging hold request
X2CH2 Logging hold flagY2CH2 Logging hold request
X3CH3 Logging hold flagY3CH3 Logging hold request
X4CH4 Logging hold flagY4CH4 Logging hold request
X5
X6External power off flagY6CH6 Output enable/disable flag
X7Input signal error detection signalY7
X8High resolution mode status flagY8
X9Operating condition setting completion flagY9Operating condition setting request
XA
XBYB
XCYC
XD
XEA/D conversion completed flagYE
XFError flagYFError clear request
Maximum and minimum values reset
completion flag
Use prohibited
Use prohibited
*1
*1
Signal direction CPU module Q64AD2DA
Use prohibited
Y5CH5 Output enable/disable flag
Use prohibited
YA
Use prohibited
YD
Maximum and minimum values reset
request
Use prohibited
*1
*1
*1
*1
5 - 1
*1 These signals cannot be used by the user since they are for system use only.
If these are set to on or off by the sequence program, the performance of the
Q64AD2DA cannot be guaranteed.
5.1 List of I/O Signals
5
I/O SIGNALS FOR THE CPU MODULE
5.2Details of I/O Signals
I/O signals for the Q64AD2DA are explained in detail below.
Device numbers (X/Y) and buffer memory address shown in this chapter are for CH1 (the
device number and buffer memory address used only for the D/A conversion are CH5.).
For the device numbers and buffer memory used for other channels, refer to Section 5.1
and Section 6.1.
5.2.1Input signals
(1) Module ready (X0)
(a) When the CPU module is powered on or reset, this signal is set to on once the
preparation for A/D conversion or D/A conversion has been completed.
(b) When a hardware error (error code:1) occurs, Module ready (X0) is set to off and
RUN LED is turned off.
In such a case, A/D conversion and D/A conversion are not performed.
For the input signals of CH2 or later, refer to Section 5.1.
(a) If the logging is held, CH1 Logging hold flag (X1) will be set to on.
The following shows the timing for the logging to be held.
1) A hold trigger detection with Logging hold request signal
Executed with the Q64AD2DA
CH1 Logging hold request (Y1)
Hold trigger
Logging status
CH1 Logging hold flag (X1)
* 1 Logging points after trigger
Figure 5.1 A hold trigger detection with Logging hold request signal
2) A hold trigger detection with Level trigger
OFF
OFF
In execution
OFF
ON
ON
*1
At a stop
ON
* 1 Logging points after trigger
Figure 5.2 A hold trigger detection with Level trigger
(b) If the logging restarts by setting CH1 Logging hold request (Y1) to off, CH1
Logging hold flag (X1) will be set to off.
5 - 3
5.2 Details of I/O Signals
5.2.1 Input signals
5
I/O SIGNALS FOR THE CPU MODULE
(3) External power off flag (X6)
(a) If an external power supply is not turned on, External power off flag (X6) will be set
to on.
(b) If External power off flag (X6) is set to on, the following processing will be
performed.
1) Even if a conversion setting is enabled for each channel and Operating
condition setting request (Y9) is set to on or off, A/D conversion or D/A
conversion will not be performed.
1
OVERVIEW
2
2) The analog output values will be 0mA or 0V regardless of the other settings.
3) Digital input value out of range error (error code: 003) will not be detected.
4) The value 0 (not used or first A/D conversion completed) will be stored into
CH1 A/D conversion completed flag (Un\G113) (CH1 to CH4).
5) In such a case, the digital output values and scaling values converted
immediately before External power off flag (X6) is set to on will be retained.
(c) The external power supply will cause the following processing.
1) A/D conversion and D/A conversion will restart.
2) After the restart, the value 1 (first A/D conversion completed) will be stored into
CH1 A/D conversion completed flag (Un\G113) for the channels (CH1 to CH4)
again.
(d) To set External power off flag (X6) to off, the following procedure must be
conducted.
1) Set Error clear request (YF) to on.
2) After checking that External power off flag (X6) is set to off, set Error clear
request (YF) to off.
(e) The external power supply must be satisfied with the request of the performance
specifications (Refer to Table 3.1.).
If not, External power off flag (X6) may be set to on.
SYSTEM
3
4
5
I/O SIGNALS FOR
6
CONFIGURATION
SPECIFICATIONS
FUNCTION
THE CPU MODULE
(f) When the external power supply is turned on after the CPU module is powered
on, the timing diagram is as follows:
Executed with the Q64AD2DA
Executed with sequence program
Programmable controller
CPU power supply
Module ready (X0)
External power supply
A/D conversion
and D/A conversion
are not executed.
External power off flag (X6)
Error clear request (YF)
Figure 5.3 Timing diagram for the case of turned on external power supply after the CPU module is powered on
OFF
OFF
OFF
OFF
OFF
ON
ON
ON
ON
A/D conversion
and D/A conversion
are executed.
OFF
ON
OFF
OFF
A/D conversion
and D/A conversion
are not executed.
ON
5.2 Details of I/O Signals
5.2.1 Input signals
5 - 4
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
5
Digital value
write command
4000 is stored into
CH1 Digital input
value (Un\G802).
CH1 Input signal error
detection flag (Un\G114)
Executed with the Q64AD2DA
Executed with sequence program
0
ON
ON
OFF
OFF
Input signal error detection
0
Input signal error
detection signal (X7)
Error clear request (YF)
OFF
OFF
I/O SIGNALS FOR THE CPU MODULE
(g) Set Module ready (X0) to on and External power off flag (X6) to off for digital or
analog outputs as shown below.
Figure 5.4 Program example for the case of digital or analog outputs
(4) Input signal error detection signal (X7)
(a) This signal is set to on when the analog input value falls outside the range of the
input signal error detection setting value for CH1 Input signal error detection
setting value (Un\G21) on any of the channels enabled for A/D conversion after
the input signal error detection for CH1 Input signal error detection setting
(Un\G20) is made valid (any of 1 to 4).
(b) Setting Input signal error detection signal (X7) to on causes the following
processing.
1) The value 0 (not used or in first A/D conversion) will be stored into CH1 A/D
conversion completed flag (Un\G113).
2) Digital output values of the corresponding channel will be held at the
immediately preceding value of error detection.
3) ALM LED will blink.
(c) To restart A/D conversion, bring the analog input value within the setting range
and set Error clear request (YF) to on.
Consequently, Input signal error detection signal (X7) will be set to off, ALM LED
will be turned off, and A/D conversion will be resumed.
Unless Error clear request (YF) is set to on, A/D conversion will be resumed when
the analog input value returns to within the setting range. However, Input signal
error detection signal (X7) set to on and the blinking ALM LED will not be
canceled.
(d) After the first updating, the value 1 (first A/D conversion completed) will be stored
into CH1 A/D conversion completed flag (Un\G113) again.
The averaging processing will start from the first time after resumption of A/D
conversion.
5 - 5
Figure 5.5 Timing diagram of CH1 Input signal error detection signal (X7)
5.2 Details of I/O Signals
5.2.1 Input signals
5
Operating condition setting
completion flag (X9)
Module ready (X0)
Operating condition setting
request (Y9)
Conversion disabled
ON
ONON
ON
ON
OFF
OFF
Conversion enabled
CH1 A/D conversion
enable/disable setting
(Un\G0)
A/D conversion completed
flag (XE)
Executed with the Q64AD2DA
Executed with sequence program
OFF
OFF
OFF
OFF
I/O SIGNALS FOR THE CPU MODULE
(5) High resolution mode status flag (X8)
This flag is set to on when the high resolution mode is set in "Switch 4" of Switch
setting for I/O and intelligent function module dialog box. (Refer to Section 7.5.2.)
(6) Operating condition setting completion flag (X9)
(a) This signal is used as an interlock condition to set Operating condition setting
request (Y9) to on or off when any of the following settings has been changed.
• CH5 D/A conversion scaling lower limit value (Un\G811)
• CH5 D/A conversion scaling upper limit value (Un\G812)
• CH1 Input signal error detection setting (Un\G20)
• CH1 Input signal error detection setting value (Un\G21)
• CH1 Logging enable/disable setting (Un\G30)
• CH1 Logging cycle setting value (Un\G31)
• CH1 Logging cycle unit setting (Un\G32)
• CH1 Logging data setting (Un\G33)
• CH1 Logging points after trigger (Un\G34)
• CH1 Level trigger condition setting (Un\G35)
• CH1 Trigger data (Un\G36)
• CH1 Trigger setting value (Un\G37)
1
2
SYSTEM
3
4
5
OVERVIEW
CONFIGURATION
SPECIFICATIONS
FUNCTION
Figure 5.6 Timing diagram of Operating condition setting completion flag (X9)
(b) If Operating condition setting completed flag (X9) is set to off, A/D conversion
processing will not performed.
(c) Under the following conditions, Operating condition setting completed flag (X9)
will be set to off.
• When Operating condition setting request (Y9) is set to on
5.2 Details of I/O Signals
5.2.1 Input signals
5 - 6
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
5
Executed with the Q64AD2DA
OFF
OFF
ON
ON
Executed with sequence program
Maximum and minimum values storage area
CH1 Maximum digital output value (Un\G104)
CH1 Minimum digital output value (Un\G106)
CH1 Maximum scaling value (Un\G108)
CH1 Minimum scaling value (Un\G110)
Maximum and minimum values
before turning on YD
Maximum and minimum values
after turning on YD
The digital output values (or the scaling values) are
stored when YD is turned on.
Maximum and minimum values
reset request (YD)
Maximum and minimum values
reset completion flag (XD)
I/O SIGNALS FOR THE CPU MODULE
(7) Maximum and minimum values reset completion flag (XD)
This flag will be set to on when the maximum value and minimum value stored into the
following buffer memory reset by setting Maximum and minimum values reset request
(YD) to on.
• CH1 Maximum digital output value (Un\G104)
• CH1 Minimum digital output value (Un\G106)
• CH1 Maximum scaling value (Un\G108)
• CH1 Minimum scaling value (Un\G110)
Figure 5.7 Timing diagram of Maximum and minimum values reset completion flag (XD)
(8) A/D conversion completed flag (XE)
(a) This flag will be set to on when first conversions for each channel*1 that A/D
conversion is enabled has been completed.
* 1 Not relevant to the channels that D/A conversion is enabled
(b) If the external power supply for the Q64AD2DA turns off, A/D conversion
completed flag (XE) will flow as shown in the section of External power off flag
(X6). (Refer to Section 5.2.1 (3).)
(c) When reading the digital output values, use A/D conversion completed flag (XE)
or CH1 A/D conversion completed flag (Un\G113) as an interlock.
5 - 7
5.2 Details of I/O Signals
5.2.1 Input signals
5
Error
CH1 Latest error code (Un\G190)
Error flag (XF)
Error clear request (YF)
At the moment Error clear request (YF) turned on, Error flag (XF) is turned off and an error code is cleared.
Executed with the Q64AD2DA
Executed with sequence program
ON
ON
OFF
OFF
OFF
OFF
I/O SIGNALS FOR THE CPU MODULE
1
(9) Error flag (XF)
(a) If a write error occurs, Error flag (XF) will be set to on.
(b) To clear the error code, set Error clear request (YF) to on.
Figure 5.8 Timing diagram of Error flag (XF)
2
SYSTEM
3
4
5
OVERVIEW
CONFIGURATION
SPECIFICATIONS
FUNCTION
5.2 Details of I/O Signals
5.2.1 Input signals
5 - 8
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
5
I/O SIGNALS FOR THE CPU MODULE
5.2.2Output signals
(1) CH1 Logging hold request (Y1)
For information on the output signals for CH2 or later channels, refer to Section 5.1.
(a) If the level trigger condition setting using CH1 Level trigger condition setting
(Un\G35) is "Disable" (0), a logging hold will be performed at the time of setting
CH1 Logging hold request (Y1) to on.
(b) If the level trigger condition setting using CH1 Level trigger condition setting
(Un\G35) is valid (1 to 3), set CH1 Logging hold request (Y1) to on.
When CH1 Logging hold request (Y1) is set to on, the logging status moves to
trigger condition waiting status.
If the setting condition of the level trigger is satisfied, a logging hold will be
performed.
(c) If CH1 Logging hold request (Y1) is set to off during a logging hold, the hold will be
canceled and the logging data will be resumed.
(d) For the logging facility, refer to Section 4.2.7.
(e) For information on timings of when CH1 Logging hold request (Y1) is set to on or
off, refer to the section describing CH1 Logging hold flag (X1). (Refer to Section
5.2.1 (2).)
(2) CH5 Output enable/disable flag (Y5)
For information on the output signals for CH6, refer to Section 5.1.
(a) Specify whether to output the D/A converted value or output the offset value for
each channel.
• ON: D/A converted value
• OFF: Offset value
(b) The D/A conversion speed does not change regardless of whether CH5 Output
enable/disable flag (Y5) is set to on or off. (Refer to Section 4.3.1 and Section
4.4.1.)
5 - 9
5.2 Details of I/O Signals
5.2.2 Output signals
5
I/O SIGNALS FOR THE CPU MODULE
(3) Operating condition setting request (Y9)
(a) Set this signal to on when making any of the following buffer memory valid.
• CH5 D/A conversion scaling lower limit value (Un\G811)
• CH5 D/A conversion scaling upper limit value (Un\G812)
• CH1 Input signal error detection setting (Un\G20)
• CH1 Input signal error detection setting value (Un\G21)
• CH1 Logging enable/disable setting (Un\G30)
• CH1 Logging cycle setting value (Un\G31)
• CH1 Logging cycle unit setting (Un\G32)
• CH1 Logging data setting (Un\G33)
• CH1 Logging points after trigger (Un\G34)
• CH1 Level trigger condition setting (Un\G35)
• CH1 Trigger data (Un\G36)
• CH1 Trigger setting value (Un\G37)
(b) For information on the timing of when Operating condition setting request (Y9) is
set to on or off, refer to the section describing Operating condition setting
completion flag (X9). (Refer to Section 5.2.1 (6).)
1
2
SYSTEM
3
4
5
OVERVIEW
CONFIGURATION
SPECIFICATIONS
FUNCTION
(4) Maximum and minimum values reset request (YD)
(a) Set this signal to on when making any of the following buffer memory be cleared.
• CH1 Maximum digital output value (Un\G104)
• CH1 Minimum digital output value (Un\G106)
• CH1 Maximum scaling value (Un\G108)
• CH1 Minimum scaling value (Un\G110)
(b) For information on the timing of when Maximum and minimum values reset
request (YD) is set to on or off, refer to the section describing Maximum and
minimum values reset completion flag (XD). (Refer to Section 5.2.1 (7).)
(5) Error clear request (YF)
(a) To clear a write error and input signal error, set Error clear request (YF) to on.
(b) For information on the timing of when Error clear request (YF) is set to on or off,
refer to the following:
• Input signal error detection signal (X7) (Refer to Section 5.2.1 (4).)
• Error flag (XF) (Refer to Section 5.2.1 (9).)
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
5.2 Details of I/O Signals
5.2.2 Output signals
5 - 10
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
6
POINT
BUFFER MEMORY
CHAPTER6BUFFER MEMORY
6.1Buffer Memory Assignment
This section explains the buffer memory assignments of the Q64AD2DA.
Device numbers (X/Y) and buffer memory address shown in the Section 6.2 and later
sections are for CH1 (the device number and buffer memory address used only for the D/
A conversion are CH5.).
For the device numbers and buffer memory address used for other channels, refer to
Section 5.1 and Section 6.1.
In the buffer memory, do not write data to the "system area" or area where data
writing data from sequence programs is disabled.
Doing so may cause malfunction.
Item
A/D
conversion
area
(1) A/D conversion area (Un\G0 to Un\G799)
Table 6.1 A/D conversion area (Un\G0 to Un\G799)
Address (decimal)Data
CH1CH2CH3CH4
0200400600
1201401601Averaging process method setting0
2202402602Averaging process (time / number of times) setting4
21221421621Input signal error detection setting value0
22222422622
29229429629
30230430630
31231431631Logging cycle setting value3000
32232432632Logging cycle unit setting0
33233433633Logging data setting1
34234434634Logging points after trigger5000
35235435635Level trigger condition setting0
36236436636Trigger data
37237437637Trigger setting value0
type
*1
A/D conversion enable/disable setting1
Pr
-System area--totototo
A/D conversion scaling enable/disable setting1
Pr
-System area--totototo
Input signal error detection setting0
Pr
-System area--totototo
Logging enable/disable setting1
Pr
DescriptionDefault
CH1: 102
CH2: 302
CH3: 502
CH4: 702
Read/write
*3
R/W
*3
R/W
*3
R/W
*3
R/W
*3
R/W
*3
R/W
*3
R/W
*3
R/W
*3
R/W
*3
R/W
*3
R/W
*3
R/W
*3
R/W
*3
R/W
*3
R/W
*3
R/W
*3
R/W
*2
6 - 1
6.1 Buffer Memory Assignment
6
Write
request
Operating
condition
setting request
Operating condition
setting completion flag
Buffer memory write condition
BUFFER MEMORY
Item
A/D
conversion
area
Table 6.1 A/D conversion area (Un\G0 to Un\G799)
Address (decimal)Data
CH1CH2CH3CH4
38238438638
99299499699
100300500700MdDigital output value0R
101301501701-System area--
102302502702MdScaling value0R
103303503703-System area--
104304504704MdMaximum digital output value0R
105305505705-System area--
106306506706MdMinimum digital output value0R
107307507707-System area--
108308508708MdMaximum scaling value0R
109309509709-System area--
110310510710MdMinimum scaling value0R
111311511711-System area--
112312512712
113313513713A/D conversion completed flag0R
114314514714Input signal error detection flag0R
115315515715
119319519719
120320520720
121321521721Latest pointer0R
122322522722Logging data points0R
123323523723Trigger pointer0R
124324524724
189389589789
190390590790
191391591791
192392592792MonthDay0R
193393593793HourMinute0R
194394594794SecondDay of the week0R
195395595795
199399599799
* 1 Pr indicates the setting data and Md indicates the monitoring data.
* 2 Indicates whether reading from and writing to a sequence program are enabled.
R: Read enabled
W: Write enabled
* 3 When writing data to the buffer memory, always use the interlock condition (buffer memory write
condition) of the following I/O signals.
type
Md
Md
Md
*1
-System area--totototo
Setting range0R
-System area--totototo
Oldest pointer0R
-System area--totototo
Latest error code0R
Error time
-System area--totototo
DescriptionDefault
First two digits
of the year
Last two digits of
the year
Read/write
0R
1
*2
OVERVIEW
2
SYSTEM
CONFIGURATION
3
SPECIFICATIONS
4
FUNCTION
5
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
Figure 6.1 Setting example of interlock condition
6.1 Buffer Memory Assignment
PREPARATORY
PROCEDURES AND
SETTING
8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
6 - 2
6
Write
request
Operating
condition
setting request
Operating condition
setting completion flag
Buffer memory write condition
BUFFER MEMORY
(2) D/A conversion area (Un\G800 to Un\G1199)
Item
D/A
conversion
area
Address (decimal)Data
CH5CH6
8001000PrD/A conversion enable/disable setting1
8011001-System area--
8021002PrDigital input value0
8031003
8091009
8101010
8111011D/A conversion scaling lower limit value0
8121012D/A conversion scaling upper limit value0
8131013Shifting amount to input value0
8141014
8991099
900110 0MdSet value check code0R
901110 1-System area--
902110 2MdReal conversion digital value0R
903110 3
9111111
9121112
9131113HOLD/CLEAR function setting0R
9141114
989118 9
990119 0
991119 1
9921192MonthDay0R
9931193HourMinute0R
9941194SecondDay of the week0R
995119 5
999119 9
* 1 Pr indicates the setting data and Md indicates the monitoring data.
* 2 Indicates whether reading from and writing to a sequence program are enabled.
R: Read enabled
W: Write enabled
* 3 When writing data to the buffer memory, always use the interlock condition (buffer memory write
condition) of the following I/O signals.
Table 6.2 D/A conversion area (Un\G800 to Un\G1199)
type
Md
Md
*1
-System area--toto
D/A conversion scaling enable/disable setting1
Pr
-System area--toto
-System area--toto
Setting range0R
-System area--toto
Latest error code0R
Error time
-System area--toto
DescriptionDefault
First two digits
of the year
Last two digits of
the year
R/W
R/W
R/W
R/W
R/W
R/W
*2
*3
*3
*3
*3
*3
*3
Read/write
0R
6 - 3
6.1 Buffer Memory Assignment
Figure 6.2 Setting example of interlock condition
6
BUFFER MEMORY
(3) Common area (Un\G1200 to Un\G1799)
ItemAddress (decimal)
1200
1599
1600
1601Level data 10
1602Level data 20
1603Level data 30
1604Level data 40
1605Level data 50
1606Level data 60
1607Level data 70
1608Level data 80
1609Level data 90
1610
1699
1700
1701CH2 Digital output value0R
1702CH3 Digital output value0R
1703CH4 Digital output value0R
1704
1709
1710
Common
area
1711CH2 Scaling value0R
1712CH3 Scaling value0R
1713CH4 Scaling value0R
1714
1719
1720
1721CH1 Minimum digital output value0R
1722CH2 Maximum digital output value0R
1723CH2 Minimum digital output value0R
1724CH3 Maximum digital output value0R
1725CH3 Minimum digital output value0R
1726CH4 Maximum digital output value0R
1727CH4 Minimum digital output value0R
1728
1739
1740
1741CH1 Minimum scaling value0R
1742CH2 Maximum scaling value0R
1743CH2 Minimum scaling value0R
1744CH3 Maximum scaling value0R
1745CH3 Minimum scaling value0R
1746CH4 Maximum scaling value0R
1747CH4 Minimum scaling value0R
1748
1763
Table 6.3 Common area (Un\G1200 to Un\G1799)
Data
type
Md
Md
Md
Md
*1
-System area--to
Level data 00
Pr
-System area--to
CH1 Digital output value0R
-System area--to
CH1 Scaling value0R
-System area--to
CH1 Maximum digital output value0R
-System area--to
CH1 Maximum scaling value0R
-System area--to
DescriptionDefault
Read/write
*3
R/W
*3
R/W
*3
R/W
*3
R/W
*3
R/W
*3
R/W
*3
R/W
*3
R/W
*3
R/W
*3
R/W
1
*2
OVERVIEW
2
SYSTEM
CONFIGURATION
3
SPECIFICATIONS
4
FUNCTION
5
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
6.1 Buffer Memory Assignment
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
6 - 4
6
Write
request
Operating
condition
setting request
Operating condition
setting completion flag
Buffer memory write condition
BUFFER MEMORY
ItemAddress (decimal)
1764
1765CH6 Set value check code0R
1766
1773
1774
1775CH6 Real conversion digital value0R
1776
Common
area
1789
1790
1791
1792MonthDay
1793HourMinute
1794SecondDay of the week
1795
1799
* 1 Pr indicates the setting data and Md indicates the monitoring data.
* 2 Indicates whether reading from and writing to a sequence program are enabled.
R: Read enabled
W: Write enabled
* 3 When writing data to the buffer memory, always use the interlock condition (buffer memory write
condition) of the following I/O signals.
Table 6.3 Common area (Un\G1200 to Un\G1799)
Data
type
Md
Md
Md
*1
CH5 Set value check code0R
-System area--to
CH5 Real conversion digital value0R
-System area--to
Latest error code
Error time
-System area--to
DescriptionDefault
First two digits
of the year
Last two digits of
the year
Read/write
0R
*2
Figure 6.3 Setting example of interlock condition
6 - 5
6.1 Buffer Memory Assignment
6
BUFFER MEMORY
ItemAddress (decimal)
Error history
(4) Error history (Un\G1800 to Un\G1964)
Table 6.4 Error history (Un\G1800 to Un\G1964)
Data
type
1800MdLatest address of error history0R
1801
1809
1810
1811
1812MonthDay
1813HourMinute
1814SecondDay of the week
1815
1819
1820
1821
1822MonthDay
1823HourMinute
1824SecondDay of the week
1825
1829
1830
1831
1832MonthDay
1833HourMinute
1834SecondDay of the week
1835
1839
1840
1841
1842MonthDay
1843HourMinute
1844SecondDay of the week
1845
1849
1850
1851
1852MonthDay
1853HourMinute
1854SecondDay of the week
1855
1859
History numberDescriptionDefault
*1
-System area--to
Error code
MdHistory 1
-System area--to
MdHistory 2
-System area--to
MdHistory 3
-System area--to
MdHistory 4
-System area--to
MdHistory 5
-System area--to
First two digits
of the year
Error time
Error code
First two digits
of the year
Error time
Error code
First two digits
of the year
Error time
Error code
First two digits
of the year
Error time
Error code
First two digits
of the year
Error time
Last two digits of
the year
Last two digits of
the year
Last two digits of
the year
Last two digits of
the year
Last two digits of
the year
Read/write
0R
0R
0R
0R
0R
1
*2
OVERVIEW
2
SYSTEM
CONFIGURATION
3
SPECIFICATIONS
4
FUNCTION
5
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
6.1 Buffer Memory Assignment
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
6 - 6
6
BUFFER MEMORY
ItemAddress (decimal)
Error history
Table 6.4 Error history (Un\G1800 to Un\G1964)
Data
type
1860
1861
1862MonthDay
1863HourMinute
1864SecondDay of the week
1865
1869
1870
1871
1872MonthDay
1873HourMinute
1874SecondDay of the week
1875
1879
1880
1881
1882MonthDay
1883HourMinute
1884SecondDay of the week
1885
1889
1890
1891
1892MonthDay
1893HourMinute
1894SecondDay of the week
1895
1899
1900
1901
1902MonthDay
1903HourMinute
1904SecondDay of the week
1905
1909
1910
1911
1912MonthDay
1913HourMinute
1914SecondDay of the week
History numberDescriptionDefault
*1
Error code
MdHistory 6
-System area--to
MdHistory 7
-System area--to
MdHistory 8
-System area--to
MdHistory 9
-System area--to
MdHistory 10
-System area--to
MdHistory 11
First two digits
of the year
Error time
Error code
First two digits
of the year
Error time
Error code
First two digits
of the year
Error time
Error code
First two digits
of the year
Error time
Error code
First two digits
of the year
Error time
Error code
First two digits
of the year
Error time
Last two digits of
the year
Last two digits of
the year
Last two digits of
the year
Last two digits of
the year
Last two digits of
the year
Last two digits of
the year
Read/write
0R
0R
0R
0R
0R
0R
*2
6 - 7
6.1 Buffer Memory Assignment
6
BUFFER MEMORY
ItemAddress (decimal)
1915
1919
1920
1921
1922MonthDay
1923HourMinute
1924SecondDay of the week
1925
1929
1930
1931
1932MonthDay
1933HourMinute
1934SecondDay of the week
1935
1939
1940
Error history
1941
1942MonthDay
1943HourMinute
1944SecondDay of the week
1945
1949
1950
1951
1952MonthDay
1953HourMinute
1954SecondDay of the week
1955
1959
1960
1961
1962MonthDay
1963HourMinute
1964SecondDay of the week
Table 6.4 Error history (Un\G1800 to Un\G1964)
Data
type
* 1 Pr indicates the setting data and Md indicates the monitoring data.
* 2 Indicates whether reading from and writing to a sequence program are enabled.
R: Read enabled
W: Write enabled
History numberDescriptionDefault
*1
-System area--to
Error code
MdHistory 12
-System area--to
MdHistory 13
-System area--to
MdHistory 14
-System area--to
MdHistory 15
-System area--to
MdHistory 16
First two digits
of the year
Error time
Error code
First two digits
of the year
Error time
Error code
First two digits
of the year
Error time
Error code
First two digits
of the year
Error time
Error code
First two digits
of the year
Error time
Last two digits of
the year
Last two digits of
the year
Last two digits of
the year
Last two digits of
the year
Last two digits of
the year
Read/write
0R
0R
0R
0R
0R
*2
1
2
SYSTEM
3
4
5
I/O SIGNALS FOR
6
7
OVERVIEW
CONFIGURATION
SPECIFICATIONS
FUNCTION
THE CPU MODULE
BUFFER MEMORY
6.1 Buffer Memory Assignment
PREPARATORY
PROCEDURES AND
SETTING
8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
6 - 8
6
BUFFER MEMORY
(5) Logging area (Un\G5000 to Un\G49999)
ItemAddress (decimal)
5000
to
14999
15000
to
24999
Logging
area
25000
to
34999
35000
to
44999
45000
49999
* 1 Pr indicates the setting data and Md indicates the monitoring data.
* 2 Indicates whether reading from and writing to a sequence program are enabled.
6.4CH1 Averaging Process (Time/Number of Times) Setting
(Un\G2)
If the averaging processing (1 to 3) is set, set an amount of time or number of times by
using CH1 Averaging process method setting (Un\G1). (Refer to Section 4.2.1.)
For information on the buffer memory for CH2 or later, refer to Section 6.1 (1).
(1) Setting method
(a) Set the range as listed below by using the buffer memory.
Table 6.8 Settable range
Processing methodSetting range
Time average
Count average4 to 20000 (times)
Moving average2 to 60 (times)
* 1 To determine the time average, set the value meeting the following condition.
•Setting time 4 (times) 0.5(ms) Number of channels to be used (Total number of A/D
conversions or D/A conversion)
If the value that does not meet the above condition is set, an error (error code: 201) will occur
and zero (0) will be stored into the digital output values.
2 to 10000(ms)
*1
(b) Set Operating condition setting request (Y9) to on to activate the setting. (Refer to
Section 5.2.2 (3).)
(2) Default
The value 4 is set for all channels (CH1 to CH4) in default configuration. If necessary,
set the different value.
Whether to enable or disable a scaling conversion of digital output values is set. (Refer to
Section 4.2.3.)
For information on the buffer memory for CH2 or later, refer to Section 6.1 (1).
(1) Setting method
(a) Set whether to enable or disable the A/D conversion scaling by using the buffer
(b) Set Operating condition setting request (Y9) to on to activate the setting. (Refer to
Section 5.2.2 (3).)
(2) Default
The A/D conversion scaling is disabled (1) for all the channels (CH1 to CH4) in default
configuration.
6.4 CH1 Averaging Process (Time/Number of Times) Setting (Un\G2)
6
POINT
BUFFER MEMORY
6.6CH1 A/D Conversion Scaling Lower Limit Value (Un\G11) and
CH1 A/D Conversion Scaling Upper Limit Value (Un\G12)
1
A scaling range of converted digital output values is set. (Refer to Section 4.2.3.)
For information on the buffer memory for CH2 or later, refer to Section 6.1 (1).
(1) Setting method
(a) Set an A/D scaling conversion range by using the buffer memory.
• Settable range: -32000 to 32000
(b) Set Operating condition setting request (Y9) to on to activate the setting. (Refer to
Section 5.2.2 (3).)
(2) Default
The value 0 is set for all channels (CH1 to CH4) in default configuration.
When using a scaling function (A/D conversion), change the setting value.
(1) Setting a value outside the setting range described in (1)(a) in this section or a
value that does not meet the inequality "Upper limit > Lower limit" will cause
an error. (Refer to Section 11.1.)
(2) When using a scaling function (A/D conversion), check that the A/D
conversion scaling using CH1 A/D conversion scaling enable/disable setting
(Un\G10) is made valid (0).
If the A/D conversion scaling is set to be invalid (1), scaling upper and lower
limit values will be ignored.
(3) If the analog input ranges are set as listed below, the digital output values
corresponding to the scaling upper and lower limit values respectively will be
the values listed in Table 6.10.
Table 6.10 Digital output values corresponding to the scaling upper or lower value
Digital output value
Analog input rangeSetting mode
4 to 20mA (Extended mode)
1 to 5V (Extended mode)
Normal resolution mode
High resolution mode12000
Corresponding
to the scaling
lower limit value
0
Corresponding
to the scaling
upper limit value
4000
2
SYSTEM
3
4
5
I/O SIGNALS FOR
6
7
OVERVIEW
CONFIGURATION
SPECIFICATIONS
FUNCTION
THE CPU MODULE
BUFFER MEMORY
6.6 CH1 A/D Conversion Scaling Lower Limit Value (Un\G11) and CH1 A/D Conversion Scaling Upper Limit
Value (Un\G12)
6 - 12
PREPARATORY
PROCEDURES AND
SETTING
8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
6
BUFFER MEMORY
6.7CH1 Shifting Amount to Conversion Value (Un\G13)
A quantity to be shifted using the shifting function (A/D conversion) is set. (Refer to Section
4.2.4.)
For information on the buffer memory for CH2 or later, refer to Section 6.1 (1).
(1) Setting method
(a) Set a quantity to be shifted by using the buffer memory.
• Settable range: -32768 to 32767
(b) If a quantity to be shifted is set, the value set as a digital output value using CH1
Digital output value (Un\G100) will be added regardless of whether to set
Operating condition setting request (Y9) to on or off.
(2) Default
The value 0 is set for all channels (CH1 to CH4) in default configuration.
6.8CH1 Input Signal Error Detection Setting (Un\G20)
Whether to output the warning of the input signal error detection or stop is set. (Refer to
Section 4.2.5.)
For information on the buffer memory for CH2 or later, refer to Section 6.1 (1).
(1) Setting method
(a) Set a method detecting warning by using the buffer memory.
Table 6.11 Setting range of CH1 Input signal error detection setting (Un\G20)
Setting
value
0DisableDisables the setting.
1Upper and lower detectionDetects both upper and lower limits.
2Lower detectionDetects a only lower limit.
3Upper detectionDetects a only upper limit.
4Disconnection detection
DescriptionDescription details
*1
Used as a disconnection detection function
Section 4.2.6 (3).)
* 1 The setting of detecting disconnections (4) is activated only when the analog input range of the
target channel is set as follows:
• 4 to 20mA (Extended mode)
• 1 to 5V (Extended mode)
Setting to detect disconnections (4) for the channels have other settings causes an error (error
code: 212).
(Refer to
6 - 13
(b) Set Operating condition setting request (Y9) to on to activate the setting. (Refer to
Section 5.2.2 (3).)
(2) Default
The input signal error detection setting is set to be disabled (0) in default
configuration.
6.7 CH1 Shifting Amount to Conversion Value (Un\G13)
6
POINT
BUFFER MEMORY
6.9CH1 Input Signal Error Detection Setting Value (Un\G21)
The value detecting an error of input analog values is set. (Refer to Section 4.2.5.)
For information on the buffer memory for CH2 or later, refer to Section 6.1 (1).
(1) Setting method
(a) Set a value within the setting range by using the buffer memory.
• Settable range: 0 to 250 (0 to 25.0%)
• Set the value in 0.1% increments.
[Setting example] For setting the input signal error detection setting value to 15%
The value 150 is stored into CH1 Input signal error detection setting value (Un\G21).
(b) Set Operating condition setting request (Y9) to on to activate the setting. (Refer to
Section 5.2.2 (3).)
1
2
SYSTEM
3
OVERVIEW
CONFIGURATION
(2) Default
The input signal error detection setting value is set to 0 for all the channels (CH1 to
CH4) in default configuration.
If the input signal error detection setting value using CH1 Input signal error
detection setting (Un\G20) is set to detect disconnections (4), the value set in the
data area of Input signal error detection setting value (Un\G21) will be ignored.
6.10CH1 Logging Enable/Disable Setting (Un\G30)
Whether to enable or disable data logging is set. (Refer to Section 4.2.7 (3).)
For information on the buffer memory for CH2 or later, refer to Section 6.1 (1).
(1) Setting method
(a) Set whether to enable or disable data logging by using the buffer memory.
Table 6.12 Setting range of CH1 Logging enable/disable setting (Un\G30)
Setting valueDescription
0Enabled
1Disabled
4
5
I/O SIGNALS FOR
6
7
SPECIFICATIONS
FUNCTION
THE CPU MODULE
BUFFER MEMORY
(b) Set Operating condition setting request (Y9) to on to activate the setting. (Refer to
Section 5.2.2 (3).)
(2) Default
The setting of whether to enable or disable data logging is set to be disabled (1) for all
channels (CH1 to CH4) in default configuration.
6.9 CH1 Input Signal Error Detection Setting Value (Un\G21)
6 - 14
PREPARATORY
PROCEDURES AND
SETTING
8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
6
POINT
BUFFER MEMORY
6.11CH1 Logging Cycle Setting Value (Un\G31) and CH1 Logging
Cycle Unit Setting (Un\G32)
A storing cycle of data for logging is set. (Refer to Section 4.2.7 (3).)
For information on the buffer memory for CH2 or later, refer to Section 6.1 (1).
(1) Setting method
(a) Set a storing cycle of data by using the buffer memory.
Table 6.13 Setting range of logging cycle
CH1 Logging cycle unit setting (Un\G32)CH1 Logging cycle setting
Setting valueDescription
0
1ms1 to 32767
2s1 to 3600
s
(b) Set Operating condition setting request (Y9) to on to activate the setting. (Refer to
Section 5.2.2 (3).)
value (Un\G31)
500 to 32767
(2) Default
The values of the logging cycle setting and logging cycle unit setting are set for all
channels (CH1 to CH4) as follows:
• CH1 Logging cycle setting value (Un\G31): 3000
• CH1 Logging cycle unit setting (Un\G32): 0
(1) Set the data logging cycle to meet the following conditions.
• Equal to the integral multiple of the updating cycle
• Longer than the updating cycle
(2) Unless the logging cycle is equal to the integral multiple of the updating cycle
shown in Table 6.14, the logging cycle will be set to the maximum cycle equal
to the integral multiple of the updating cycle within the setting range.
Unless the setting logging cycle meets the updating cycle shown in Table
6.14, an error will occur and the data logging will not be performed. (Refer to
Section 11.1.)
Table 6.14 Updating cycle of data to be logged
CH1 Averaging process
method setting (Un\G1)
Sampling processing (0)
Time averaging (1)
Count averaging (2)
Move averaging (3)
* 1 Updating cycle of data to be logged with the moving average can be calculated with the same
formula for the sampling processing so that data are updated at every sampling periods. (Refer to
Section 4.2.1.)
* 2 Number of channels enabling A/D conversion and D/A conversion
* 3 Refer to the section describing CH1 Averaging process (time/number of times) setting (Un\G2).
(Refer to Section 6.4.)
*1
Averaging process (time/number of times) setting
Updating cycle of data to be logged
Number of channels enabling conversion
Averaging process (time/number of times) setting
enabling conversion
Number of channels enabling conversion
*2
*2
500 s
*3
Number of channels
500 s
*2
500 s
*3
ms
6 - 15
6.11 CH1 Logging Cycle Setting Value (Un\G31) and CH1 Logging Cycle Unit Setting (Un\G32)
6
BUFFER MEMORY
6.12CH1 Logging Data Setting (Un\G33)
Data to be logged is set during the logging facility use. (Refer to Section 4.2.7 (3).)
For information on the buffer memory for CH2 or later, refer to Section 6.1 (1).
(1) Setting method
(a) Set data to be logged by using the buffer memory.
Table 6.15 Setting range of CH1 Logging data setting (Un\G33)
Setting
value
0 Digital output valueLogs CH1 Digital output value (Un\G100).
1 Scaling valueLogs CH1 Scaling value (Un\G102).
DescriptionDescription details
(b) Set Operating condition setting request (Y9) to on to activate the setting. (Refer to
Section 5.2.2 (3).)
1
2
SYSTEM
3
OVERVIEW
CONFIGURATION
(2) Default
Scaling values (1) are set for all channels (CH1 to CH4) in default configuration.
6.13CH1 Logging Points After Trigger (Un\G34)
The amount of data to be logged after the occurrence of a hold trigger is set during the
logging facility use. (Refer to Section 4.2.7 (3).)
For information on the buffer memory for CH2 or later, refer to Section 6.1 (1).
(1) Setting method
(a) Set an amount of data to be logged by using the buffer memory.
• Settable range: 0 to 9999
(b) Set Operating condition setting request (Y9) to on to activate the setting. (Refer to
Section 5.2.2 (3).)
(2) Default
The value 5000 is set for all channels (CH1 to CH4) in default configuration.
4
5
I/O SIGNALS FOR
6
7
SPECIFICATIONS
FUNCTION
THE CPU MODULE
BUFFER MEMORY
6.12 CH1 Logging Data Setting (Un\G33)
PREPARATORY
PROCEDURES AND
SETTING
8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
6 - 16
6
Trigger data
Trigger occurrence
Time
Trigger
setting value
Trigger data
Trigger occurrence
Time
Trigger
setting value
Trigger data
Trigger occurrence (1)
Time
Trigger
setting value
Trigger data
Trigger occurrence (2)
Time
Trigger
setting value
BUFFER MEMORY
6.14CH1 Level Trigger Condition Setting (Un\G35)
Conditions for using level triggers is set during the logging facility use. (Refer to Section
4.2.7 (3).)
For information on the buffer memory for CH2 or later, refer to Section 6.1 (1).
(1) Setting method
(a) Set a condition for using a level trigger by using the buffer memory.
Table 6.16 Setting range of CH1 Level trigger condition setting (Un\G35)
Setting
value
DescriptionTiming of occurrence of level trigger
0DisableA hold trigger occurs only when CH1 Logging hold request (Y1) is set to on.
CH1 Trigger data (Un\G36) > CH1 Trigger setting value (Un\G37)
When the amount of trigger
1Above
data exceeds the trigger
setting value, a level trigger
occurs.
2Below
3
Pass
through
When the amount of trigger
data falls below the trigger
setting value, a level trigger
occurs.
When the amount of trigger
data reaches to the trigger
setting value, a level trigger
occurs.
CH1 Trigger data (Un\G36) < CH1 Trigger setting value (Un\G37)
If either of the following (1) or (2) is satisfied, a level trigger will occurs.
(1) If the condition "Current value of CH1 Trigger data (Un\G36) > CH1 Trigger
setting value (Un\G37)" is satisfied under the condition "Previous value of CH1
Trigger data (Un\G36) CH1 Trigger setting value (Un\G37)"
(2) If the condition "Current value of CH1 Trigger data (Un\G36) < CH1 Trigger
setting value (Un\G37)" under the condition "Previous value of CH1 Trigger
data (Un\G36) CH1 Trigger setting value (Un\G37)"
6 - 17
(b) Set Operating condition setting request (Y9) to on to activate the setting. (Refer to
Section 5.2.2 (3).)
6.14 CH1 Level Trigger Condition Setting (Un\G35)
6
POINT
BUFFER MEMORY
(2) Default
The level trigger condition setting is set to be made invalid (0) for all the channels
(CH1 to CH4) in default configuration.
(1) When using the level trigger, set the level trigger condition using CH1 Level
trigger condition setting (Un\G35) to meet the following variations.
• Above (1)
• Below (2)
• Pass through (3)
(2) If CH1 Level trigger condition setting (Un\G35) is set to 0 (be disabled), the
following processing will be performed.
• The CH1 Trigger data (Un\G36) and CH1 Trigger setting value (Un\G37)
• Setting CH1 Logging hold request (Y1) to on will hold the data logging.
settings will not be reflected.
1
2
SYSTEM
3
4
OVERVIEW
CONFIGURATION
SPECIFICATIONS
FUNCTION
5
I/O SIGNALS FOR
THE CPU MODULE
6
BUFFER MEMORY
7
PREPARATORY
PROCEDURES AND
SETTING
8
6.14 CH1 Level Trigger Condition Setting (Un\G35)
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
6 - 18
6
POINT
Pr
BUFFER MEMORY
6.15CH1 Trigger Data (Un\G36)
An address of buffer memory monitoring a level trigger for the occurrence is set during the
logging facility use. (Refer to Section 4.2.7 (3).)
For information on the buffer memory for CH2 or later, refer to Section 6.1 (1).
(1) Setting method
(a) Set an address of buffer memory storing data to be monitored by using the buffer
memory.
• Settable range: 0 to 1999
(b) Set Operating condition setting request (Y9) to on to activate the setting. (Refer to
Section 5.2.2 (3).)
(2) Default
Table 6.17 Default of CH1 Trigger data (Un\G36)
ChannelDescription
CH1102
CH2302
CH3502
CH4702
Corresponding buffer
memory
Scaling value
Set adequate monitoring data such as digital output values, scaling values, and
level data for trigger data. The other data settings do not guarantee the normal
operation of the Q64AD2DA.
[Example]
Setting area ()
System area
6.16CH1 Trigger Setting Value (Un\G37)
A value that makes level triggers work is set during the logging facility use. (Refer to
Section 4.2.7 (3).)
For information on the buffer memory for CH2 or later, refer to Section 6.1 (1).
(1) Setting method
(a) Set a value that makes level triggers work by using the buffer memory.
• Settable range: -32768 to 32767
(b) Set Operating condition setting request (Y9) to on to activate the setting. (Refer to
Section 5.2.2 (3).)
6 - 19
(2) Default
The value 0 is set for all the channels (CH1 to CH4) in default configuration.
6.15 CH1 Trigger Data (Un\G36)
6
POINT
b15
CH1 Digital output value
(Un\G100)
b14b13b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Data part
Sign bit
1: Negative value
0: Positive value
BUFFER MEMORY
6.17CH1 Digital Output Value (Un\G100, Un\G1700)
The A/D converted digital output value is set to store.
For information on the buffer memory for CH2 or later, refer to Section 6.1 (1) and Section
6.1 (3).
(1) Stored data
(a) Storage form
Digital values are stored into the buffer memory in 16-bit signed binary form.
1
2
SYSTEM
3
OVERVIEW
CONFIGURATION
Figure 6.4 Storage data of CH1 Digital output value (Un\G100)
(b) Updating cycle (Refer to Section 4.2.1.)
• Averaging processing executed Averaging processing cycle set
• Averaging processing unexecuted Sampling processing time (number
of channels to be used 500 s)
When reading the digital output values, use A/D conversion completed flag (XE)
or CH1 A/D conversion completed flag (Un\G113) as an interlock.
4
5
I/O SIGNALS FOR
6
7
SPECIFICATIONS
FUNCTION
THE CPU MODULE
BUFFER MEMORY
6.17 CH1 Digital Output Value (Un\G100, Un\G1700)
PREPARATORY
PROCEDURES AND
SETTING
8
UTILITY PACKAGE
(GX Configurator-AD/GX
Configurator-DA)
6 - 20
6
POINT
b15
CH1 Scaling value
(Un\G102)
b14b13b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Data part
Sign bit
1: Negative value
0: Positive value
BUFFER MEMORY
6.18CH1 Scaling Value (Un\G102, Un\G1710)
Scaled (for A/D conversion) and shifted (for A/D conversion) values (scaling value) using
CH1 Digital output value (Un\G100) are stored.
For information on the buffer memory for CH2 or later, refer to Section 6.1 (1) and Section
6.1 (3).
(1) Stored data
(a) Storage form
Digital values are stored into the buffer memory in 16-bit signed binary form.
Figure 6.5 Storage data of CH1 Scaling value (Un\G102)
(b) Updating cycle (Refer to Section 4.2.1.)
The updating cycle is the time for sampling processing (number of channels to be
used 500 s).
If the scaled and shifted values exceed the range from -32768 to 32767, the upper
limit value will be 32767 and the lower limit value will be -32768.
6 - 21
6.18 CH1 Scaling Value (Un\G102, Un\G1710)
Loading...
+ 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.