3 SPECIFICATIONS. Mitsubishi Q 68ADI, Q 68ADV, Q 64AD
Below you will find brief information for Analog-Digital Converter Module Q Q64AD, Analog-Digital Converter Module Q Q68ADV, Analog-Digital Converter Module Q Q68ADI. These modules are designed to be used in conjunction with the MELSEC-Q Series CPUs. They offer high-speed conversion, high accuracy and resolution settings that can be adjusted according to your application. You can utilize a utility package (sold separately) to simplify settings, as it allows you to configure the module's parameters conveniently on-screen.
Advertisement
Advertisement
3 SPECIFICATIONS
MELSEC-Q
3 SPECIFICATIONS
3.1 Performance Specifications
3.1.1 Performance specifications list
Table 3.1 shows the performance specifications of the A/D converter modules.
Table 3.1 Performance specifications
Item
Analog input points
Analog
Voltage input
Current
Model name
Digital output
4 points (4 channels) 8 points (8 channels) 8 points (8 channels)
–10 to 10 V DC (Input resistance value 1M ) ———
0 to 20 mA DC
(input resistance value 250 )
———
0 to 20 mA DC
(input resistance value 250 )
16-bit signed binary (normal resolution mode: –4096 to 4095, high resolution mode: –12288 to 12287, –16384 to 16383
Analog input range
Normal resolution mode
Digital output value
Maximum resolution
High resolution mode
Digital output value
Maximum resolution
0 to 16000
I/O characteristics,
Maximum resolution
Voltage
0 to 10 V
0 to 5 V
1 to 5 V
–10 to 10 V
0 to 4000
–4000 to 4000
2.5 mV
1.25 mV
1.0 mV
2.5 mV
0.375 m V
0 to 12000
–16000 to
16000
–12000 to
12000
0.625 mV
0.416 mV
0.333 mV
0.625 mV
0.333 mV
Current
Users range setting
0 to 20 mA
4 to 20 mA
Users range setting
0 to 4000
–4000 to 4000
5 A
4 A
1.37 A
0 to 12000
–12000 to
12000
1.66 A
1.33 A
1.33 A
Accuracy
(Accuracy in respect to maximum digital output value)
Analog input range
Voltage
0 to 10 V
–10 to 10 V
0 to 5 V
Normal resolution mode
Ambient temperature 0 to 55 °C
With temperature drift correction
Without temperature drift correction
Ambient temperature
25 ± 5 °C
High resolution mode
Ambient temperature 0 to 55 °C
With temperature drift correction
Without temperature drift correction
Ambient temperature
25 ± 5 °C
± 0.3 %
(± 48 digit
1
)
± 0.4 %
(± 64 digit
1
)
± 0.1 %
(± 16 digit
1
)
1 to 5 V
Users range setting
± 0.3 %
(± 12 digit
1
)
0 to 20 mA
± 0.4 %
(± 16 digit
1
)
± 0.1 %
(± 48 digit
1
)
± 0.3 %
(± 36 digit
1
)
± 0.4 %
(± 48 digit
1
)
± 0.1 %
(± 12 digit
1
)
Current
4 to 20 mA
Users range setting
3 - 1 3 - 1
3 SPECIFICATIONS
MELSEC-Q
3
Item
Model name
Q64AD Q68ADV Q68ADI
Conversion speed
Absolute maximum input
E
2
PROM write count
Insulation method
Dielectric withstand voltage
Insulation resistance
I/O occupied points
Connection terminals
Applicable wire size
Applicable solderless terminal
Internal current consumption
(5 V DC)
Weight
80 s/channel
(When there is temperature drift, the time calculated by adding 160 s will be used regardless of the number of channels used)
Voltage : ± 15 V Current : ± 30 mA
2
Max. 100 thousand times
Between the I/O terminal and programmable controller power supply :
Photocoupler insulation
Between channels : Non-insulated
Between the I/O terminal and programmable controller power supply: 500VAC for 1 minute
Between the I/O terminal and programmable controller power supply: 500VDC 20M or more
16 points (I/O assignment: Intelligent 16 points)
18-point terminal block
0.3 to 0.75 mm
2
R1.25-3 (A solderless terminal with sleeve cannot be used)
0.63 A
0.18 kg
0.64 A
0.19 kg
0.64 A
0.19 kg
1: Digit indicates a digital value.
2: Current value indicates value of instant input current that does not break module inner electrical resistance.
REMARK
See the user’s manual for the CPU module being used for general specifications of the A/D converter modules.
3.1.2 I/O conversion characteristic
The I/O conversion characteristic represents the angle formed by a straight line connecting the "offset value" and "gain value" when the analog signals (voltage or current input) from outside the programmable controller are converted to digital values.
Offset value
The offset value denotes the analog input value (voltage or current) that makes the digital output value 0.
Gain value
The gain value denotes the analog input value (voltage or current) that makes the digital output value:
4000 (in normal resolution mode)
12000 (when 0 to 5 V, 1 to 5 V, 4 to 20 mA, 0 to 20 mA or the user range setting is selected in high resolution mode)
16000 (when -10 to 10 V or 0 to 10 V is selected in high resolution mode).
3 - 2 3 - 2
3 SPECIFICATIONS
MELSEC-Q
4095
4000
(1) Voltage input characteristic
(a) Voltage input characteristic in normal resolution mode
Figure 3.1 shows a graph of the voltage input characteristic in normal resolution mode.
Analog input practical range
3) 4)
2000
2)
1)
0
–96
1
–2000
–4000
–4096
–15 –10 –5 0
Analog input voltage (V)
5 10 15
Number
1)
2)
3)
4)
—
Analog input range setting
1 to 5 V
0 to 5 V
–10 to 10 V
0 to 10 V
User range setting
Offset value
1 V
0 V
0 V
0 V
1
Gain value
5 V
5 V
10 V
10 V
1
Digital output value
0 to 4000
–4000 to 4000
0 to 4000
–4000 to 4000
2
Figure 3.1 Voltage input characteristic in normal resolution mode
Maximum resolution
1.0 mV
1.25 mV
2.5 mV
2.5 mV
0.375 mV
3 - 3 3 - 3
3 SPECIFICATIONS
MELSEC-Q
(b) Voltage input characteristic in high resolution mode
Figure 3.2 shows a graph of the voltage input characteristic in high resolution mode.
Analog input practical range
16383
16000
12287
12000
8000
2)
3) 4)
1)
0
–288
–384
–8000
1
–16000
–16384
–15 –10 –5 0
Analog input voltage (V)
5 10 15
Number
1)
2)
3)
4)
—
Analog input range setting
1 to 5 V
0 to 5 V
–10 to 10 V
0 to 10 V
User range setting
Offset value
1 V
0 V
0 V
0 V
1
Gain value
5 V
5 V
10 V
10 V
1
Digital output value
0 to 12000
–16000 to 16000
0 to 16000
–12000 to 12000
2
Figure 3.2 Voltage input characteristic in high resolution mode
Maximum resolution
0.333 mV
0.416 mV
0.625 mV
0.625 mV
0.333 mV
3 - 4 3 - 4
3 SPECIFICATIONS
MELSEC-Q
POINT
(1) Set within the analog input range and digital output range for each input range.
If these ranges are exceeded, the maximum resolution and accuracy may not fall within the performance specifications. (Avoid using the dotted line area shown in Figures 3.1 and 3.2.)
(2) Do not input an analog input voltage of more than ± 15 V. The input elements may be damaged.
(3) Set the offset/gain values for the user setting range 1 within a range in which the following conditions are satisfied.
(a) Offset value, gain value setting range: -10V to 10V
(b) { (Gain value) – (Offset value) } > A
<Value of A>
Normal resolution mode High resolution mode
1.5 V 4.0 V
(4) When an analog value that exceeds the range for the digital output value 2 is entered, the digital output value will be fixed at the maximum or minimum value.
Analog input range Normal resolution mode High resolution mode setting
Minimum Maximum Minimum Maximum
1 to 5 V
0 to 5 V
–10 to 10 V
0 to 10 V
User range setting
–4096
–96
–4096
4095
–16384
16383
–384
–12288 12287
3 - 5 3 - 5
3 SPECIFICATIONS
MELSEC-Q
4095
4000
(2) Current input characteristic
(a) Current input characteristic in normal resolution mode
Figure 3.3 shows a graph of the current input characteristic in normal resolution mode.
Analog input practical range
1)
2000
2)
0
–96
4
–2000
–4000
–4096
–30 –20 –10 0
Analog input current (mA)
10 20 30
Number
1)
2)
—
Analog input range setting
4 to 20 mA
0 to 20 mA
User range setting
Offset value
4 mA
0 mA
1
Gain value
20 mA
20 mA
1
Digital output value
0 to 4000
–4000 to 4000
2
Figure 3.3 Current input characteristic in normal resolution mode
Maximum resolution
4 A
5 A
1.37 A
3 - 6 3 - 6
3 SPECIFICATIONS
MELSEC-Q
(b) Current input characteristic in high resolution mode
Figure 3.4 shows a graph of the current input characteristic in high resolution mode.
Analog input practical range
12287
12000
1)
6000
2)
0
–288
–6000
4
–12000
–12288
–30 –20 –10 0
Analog input current (mA)
10 20 30
Number
1)
2)
—
Analog input range setting
4 to 20 mA
0 to 20 mA
User range setting
Offset value
4 mA
0 mA
1
Gain value
20 mA
20 mA
1
Digital output value
0 to 12000
–12000 to 12000
2
Figure 3.4 Current input characteristic in high resolution mode
Maximum resolution
1.33 A
1.66 A
1.33 A
3 - 7 3 - 7
3 SPECIFICATIONS
MELSEC-Q
POINT
(1) Set within the analog input range and digital output range for each input range.
If these ranges are exceeded, the maximum resolution and accuracy may not fall within the performance specifications. (Avoid using the dotted line area shown in Figures 3.3 and 3.4.)
(2) Do not input an analog input current of more than ± 30 mA. A breakdown may result due to overheating.
(3) Set the offset/gain values for the user setting range 1 within a range in which the following conditions are satisfied.
(a) Offset value, gain value setting range: –20 to 20mA
(b) { (Gain value) – (Offset value) } > A
<Value of A>
Normal resolution mode High resolution mode
5.5 mA 16.0 mA
(4) When an analog value that exceeds the range of the digital output value 2 is entered, the digital output value will be fixed at the maximum or minimum value.
Analog input range Normal resolution mode High resolution mode setting
Minimum Maximum Minimum Maximum
4 to 20 mA
0 to 20 mA
User range setting
–96 –288
4095
–4096 –12288 12287
3 - 8 3 - 8
3 SPECIFICATIONS
3.1.3 Accuracy
MELSEC-Q
Accuracy is represented with respect to the maximum digital output value.
Accuracy does not change and remains within the range listed in the performance specification even if the input characteristic is changed by changing offset/gain settings, input range and resolution mode.
Figure 3.5 shows the range of fluctuation in accuracy when a -10 to 10V range is selected and in normal resolution mode. Accuracy is ± 0.1% (± 4 digits) when the ambient temperature is 25 ± 5°C, ± 0.3% (± 12 digits) when the ambient temperature is
0 to 55 °C with temperature drift compensation, and ± 0.4% (± 16 digits) when the ambient temperature is 0 to 55 °C without temperature drift compensation.
4000
Fluctuation range
0
–4000
–10 V 0 V
Analog input value
Figure 3.5 Accuracy
10 V
3 - 9 3 - 9
3 SPECIFICATIONS
MELSEC-Q
3.2 Function List
Table 3.2 shows the function list of the A/D converter modules.
Table 3.2 Function list
A/D conversion enable/ disable setting
A/D conversion method
(1) Specifies whether to enable or disable the A/D conversion for each channel.
(2) By disabling the conversion for the channels that are not used, the sampling time can be shortened.
(1) Sampling processing
The A/D conversion for analog input values is performed successively for each channel, and the digital output value is output upon each conversion.
(2) Averaging processing
For each channel, A/D conversion values are averaged for the set number of times or set amount of time, and the average value is output as a digital value.
Maximum and minimum values hold function
(1) The maximum and minimum values of the digital output values is retained in the module.
Temperature drift compensation function
Resolution mode
(1) Errors arising from changes in the ambient temperature of the module are automatically compensated for to improve conversion accuracy.
(2) The temperature drift compensation function can be performed at (A/D conversion time for all channels) + 160 s.
(1) The resolution mode can be switched according to the application, and digitalvalue resolution settings of 1/4000, 1/12000 or 1/16000 can be selected.
(2) The resolution mode setting is applicable to all channels.
(3) See Section 3.1.1 for the digital output values and maximum resolution in normal resolution mode and high resolution mode.
Online module change (1) A module change is made without the system being stopped.
3.2.1 A/D conversion methods
Section 3.4.2
Section 3.2.1
Section 3.2.2
——
Section 3.1.1
Section 4.5
Chapter 7
There are two A/D conversion methods, sampling processing and averaging processing.
(1) Sampling processing
A/D conversion is performed successively for the analog input value, and the converted digital output values are stored in the buffer memory.
The sampling processing time depends on the number of channels used (the number of channels set to A/D conversion enable) and whether the temperature drift compensation function is available.
(a) Without the temperature drift compensation function
(Processing time) = (Number of channels used) 80 ( s/1 channel)
(b) With the temperature drift compensation function
(Processing time) = (Number of channels used) 80 ( s/1 channel) + 160 s
[Example]
When three channels (channels 1, 2 and 4) are A/D conversion enabled with the temperature drift compensation function, the sampling processing time is 400 s.
3 80 + 160 = 400 ( s)
(2) Averaging processing
For channels for which averaging processing is specified, A/D conversion is performed for the set number of times or the set amount of time. The average value is calculated from the sum of values excluding the maximum and minimum values, and then stored in the buffer memory.
3 - 10 3 - 10
3 SPECIFICATIONS
MELSEC-Q
(a) When averaging processing is specified for the set amount of time
1) The number of processing repetitions within the set time differs according to the number of channels used (number of channels for which A/D conversion is enabled) and whether or not temperature-drift compensation is used.
• Without the temperature drift compensation function
(Number of processing repetitions)
=
(Set time) 1000
(Number of channels used) 80 ( s/1 channel)
• With the temperature drift compensation function
(Number of processing repetitions)
=
(Set time) 1000
(Number of channels used) 80 ( s/1 channel) + 160
[Example]
When averaging processing is performed with four channels (channels 1, 2,
3, and 4) for the set time of 50 ms with the temperature drift compensation function on, measurement is performed 104 times and the average value is output.
50 1000
(4 80) + 160
= 104.17 (times) …… Round down the number.
2) When 7 or 8 channels are used with the temperature drift compensation function on, set the average time to 3 ms or more.
If the time is set to 2 ms or less, the average number of times becomes less than 3 and it causes the digital output value to become 0 since a sum excluding the maximum and minimum values will be averaged.
(b) When the averaging processing is specified for the set number of times
The time required to store the average value calculated using the average number of times in the buffer memory differs according to the number of channels used (the number of channels set to A/D conversion enable) and whether or not the temperature drift compensation is used.
1) Without the temperature drift compensation function
(Processing time) = (Set number of times)
{(Number of channels used) 80}/1000
(Unit: ms)
2) With the temperature drift compensation function
(Processing time) = (Set number of times)
[{(Number of channels used) 80} + 160]/1000
(Unit: ms)
[Example]
When averaging processing is performed with four channels (1, 2, 3 and 4) for the set number of 100 times with temperature-drift compensation on, an average value is output every 48 ms.
100 {(4 80) + 160} ÷ 1000 = 48 (ms)
3 - 11 3 - 11
3 SPECIFICATIONS
MELSEC-Q
3.2.2 Maximum and minimum values hold function
(1) The maximum and minimum digital output values for each channel are stored in buffer memory addresses 30 to 45 (Un\G30 to Un\G45).
(2) When the operating condition setting completed flag (X09) turns OFF, the values are cleared to 0 and new maximum and minimum values are stored when conversion begins.
(3) Since the area for storing the maximum and minimum values can be rewritten with the sequence program, the maximum and minimum values within a specific period of time can be checked.
3.3 I/O Signals for the Programmable Controller CPU
3.3.1 List of I/O signals
Table 3.3 shows a list of the I/O signals for the A/D converter modules.
Note that I/O numbers (X/Y) shown in this chapter and thereafter are the values when the start I/O number for the A/D converter module is set to 0.
Table 3.3 List of I/O signal
Signal direction CPU A/D converter module
Device No. (Input) Signal name
Signal direction CPU A/D converter module
Device No. (Output) Signal name
X1 Temperature drift compensation flag Y1
X2 Y2
X3 Y3
Use prohibited
1
X5 Y5
X6 Y6
X7 Y7
X8
X9
XA
XB
XC
High resolution mode status flag
Operating condition setting completed flag
Offset/gain setting mode flag
Channel change completed flag
Use prohibited
1
Y8
Y9
YA
YB
YC
Operating condition setting request
User range write request
Channel change request
Use prohibited
1
XD
XE
XF
Maximum value/minimum value reset completed flag
A/D conversion completed flag
Error flag
YD
YE
YF
Maximum value/minimum value reset request
Use prohibited
1
Error clear request
POINT
1 These signals cannot be used by the user since they are for system use only.
If these are turned ON/OFF by the sequence program, the functioning of the
A/D converter module cannot be guaranteed.
3 - 12 3 - 12
3 SPECIFICATIONS
MELSEC-Q
3.3.2 Details of I/O signals
Device No.
X1
X8
X9
I/O signals for the A/D converter modules are explained in detail below.
(1) Input signals
Signal Name Description
(1) When the programmable controller CPU is powered on or reset, this signal turns on once the preparation for A/D conversion has been completed, and A/D conversion processing is then performed.
Module READY (X0) turns off in the following situations:
• During offset/gain setting mode
• When the A/D converter module has a watchdog timer error
1
Temperature drift compensation flag
(1) When A/D conversion processing is being performed with the temperature drift compensation function on, the flag indicating temperature drift compensation status
(X1) turns ON.
High resolution mode status flag
(1) This turns ON when in high resolution mode.
(1) This signal is used as an interlock condition for turning ON/OFF the Operating condition setting request (Y9) when the following setting is changed.
• A/D conversion enable/disable setting (buffer memory address 0: Un\G0)
• CH average time/average number of times (buffer memory addresses 1 to 8:
Un\G1 to Un\G8)
• Averaging processing setting (buffer memory address 9: Un\G9)
(2) When the operating condition setting completed flag (X9) is OFF, A/D conversion processing is not performed. Under the following conditions, the operating condition setting completed flag (X9) turns OFF.
• When Module READY (X0) is OFF
• When operating condition setting request (Y9) is ON
Performed by the A/D converter module
Performed by the sequence program
Operating condition setting completed flag
Module READY (X0)
Operating condition setting completed flag
(X9)
Operating condition change request (Y9)
A/D conversion completed (XE)
(3) Digital outputs are cleared immediately after this Operating condition change request (Y9) turns ON. Therefore, turn ON the A/D conversion completed flag before reading digital outputs.
1 A watchdog timer error occurs when the program calculations are not completed within the scheduled time due to malfunctions of A/D converter module hardware.
When a watchdog timer error occurs, the RUN LED for the A/D converter module turns off.
3 - 13 3 - 13
3 SPECIFICATIONS
MELSEC-Q
Device No. Signal Name Description
[In offset/gain setting mode]
(1) This is used as an interlock condition for setting the offset/gain request (YA) to
ON/OFF when registering the value after adjustment of the offset/gain settings have been completed.
(2) See Section 4.6 regarding the offset/gain settings.
Performed by the A/D converter module
Performed by the sequence program
OFF
Module READY (X0)
XA
Offset/gain setting mode flag (XA)
Offset/gain setting mode flag
User range write request (YA)
[In normal mode]
(1) This signal is used as an interlock condition to turn ON/OFF the User range writing request (YA) when the user range is restored.
(2) Refer to Chapter 7 for the user range restoration.
Performed by the A/D converter module
Performed by the sequence program
Module READY (X0)
ON
Offset/gain setting mode flag (XA)
User range writing request (YA)
3 - 14 3 - 14
3 SPECIFICATIONS
MELSEC-Q
Device No.
XB
Signal name
Channel change completed flag
Description
(1) This is used as an interlock condition for setting the channel change request (YB) to
ON/OFF when changing the channel for which the offset/gain settings are to be performed.
(2) See Section 4.6 regarding the offset/gain settings.
Performed by the A/D converter module
Performed by the sequence program
Offset/gain setting mode
Offset/gain specifications
(buffer memory addresses 22 and 23:
Un\G22 and Un\G23)
XD
XE
Channel change completed flag (XB)
Maximum value/minimum value reset completed flag
Channel change request (YB)
(1) This turns ON when the maximum and minimum values stored in buffer memory addresses 30 to 45 (Un\G30 to Un\G45) are reset by setting the maximum value/minimum value reset request (YD) to ON.
Performed by the A/D converter module
Performed by the sequence program
Maximum and minimum values storage area
(buffer memory addresses 30 to 45:
Un\G30 to Un\G45)
Maximum value/minimum value reset request (YD)
A/D conversion completed flag
Maximum value/minimum value reset completed flag (XD)
(1) This turns ON when conversion for all of the channels that are conversion enabled has been completed.
(1) The error flag turns ON when a write error occurs.
(2) To clear the error code, set the error clear request (YF) to ON.
Performed by the A/D converter module
Performed by the sequence program
Error flag (XF)
Error clear request (YF)
The error code is read during this interval.
3 - 15 3 - 15
3 SPECIFICATIONS
MELSEC-Q
(2) Output signals
Device No.
Y9
YA
YB
YD
YF
Signal name
Operating condition setting request
User range write request
Channel change request
Maximum value/ minimum value reset request
Description
(1) Turn ON this signal to enable the following setting contents.
• A/D conversion enable/disable setting (buffer memory address 0: Un\G0)
• CH average time/average number of times (buffer memory addresses 1 to 8:
Un\G1 to Un\G8)
• Averaging processing setting (buffer memory address 9: Un\G9)
(2) See the X9 column for ON/OFF timing.
[In offset/gain setting mode]
(1) This turns ON when the value for the adjusted offset/gain settings are registered in the A/D converter module.
(2) See the XA column for ON/OFF timing.
See Section 4.6 for offset/gain settings.
[In normal mode]
(1) This signal turns ON when the user range is restored.
(2) Refer to the field of XA for the ON/OFF timing.
Refer to Chapter 7 for user range restoration.
(1) This turns ON when changing the channel for which offset/gain settings are to be performed.
(2) See the XB column for ON/OFF timing.
See Section 4.6 for offset/gain settings.
(1) The maximum and minimum values stored in buffer memory addresses 30 to 45
(Un\G30 to Un\G45) are cleared by setting the maximum and minimum value reset request (YD) to ON.
(2) See the XD column for ON/OFF timing.
Error clear request
(1) This turns ON when a write error is cleared.
(2) See the XF column for ON/OFF timing.
POINT
When the User range writing request (YA) is turned ON in the normal mode with
A/D conversion enabled, the A/D converter module restores the user range.
Offset/gain setting mode flag (XA)
User range writing request (YA)
During restoration
Restoration completed
User range restoration processing
A/D conversion completed flag
(Buffer memory address 10: Un\G10)
Digital output value
(Buffer memory addresses 11 to 18:
Un\G11 to 18)
During user range restoration: A/D conversion stop, A/D conversion completed flag
(buffer memory addresses 10: Un\G10) OFF, digital output value held as previously
After user range restoration: A/D conversion resumed (when user range setting is used, A/D conversion is resumed at the restored offset/gain setting value.)
3 - 16 3 - 16
3 SPECIFICATIONS
MELSEC-Q
3.4 Buffer Memory
The detailed explanation of the buffer memory in Section 3.4.4 and later is based on the 8-channel analog input (CH1 to CH8) Q68ADV/Q68ADI.
3.4.1 Buffer memory assignment (Q64AD)
This section describes the assignment of the Q64AD buffer memory.
POINT
Do not write data from system area or sequence program to the buffer memory area where writing is disabled. Doing so may cause malfunction.
Table 3.4 Buffer memory assignment (Q64AD)
Hexadecimal Decimal
R/W
1
Hexadecimal Decimal
Description
R/W
1
0
H
1
H
2
H
3
H
0
1
2
3
A/D conversion enable/disable setting R/W
CH1 Average time/average number of times R/W
CH2 Average time/average number of times R/W
CH3 Average time/average number of times R/W
26
H
38 to to
9D
H
157
9E
H
158
System area
9F
H
159
A0
H
160
Mode switching setting
4
5
H
H
4 CH4 Average time/average number of times R/W
5 to to
8
H
8
9
H
9
C7
H
199 setting R/W 200 Pass data classification setting
2
—
R/W
R/W
—
R/W
—
R/W
R/W
R/W
A
B
C
E
F
12
14
15
16
17
18
H
1D
1E
H
H
H
D
H
H to to
H
13
H
H
H
H
H
H to to
H
H
10
11
12
13
14
15
18
19
20
21
22
23
A/D conversion completed flag
CH1 Digital output value
CH2 Digital output value
CH3 Digital output value
CH4 Digital output value
Setting range (CH1 to CH4)
Offset/gain setting mode Offset specification
Offset/gain setting mode Gain specification
24
29
30
R
R
R
C9
H
201
CA
H
202
CB
H
203
R CC
H
R CD
H
205
CE
H
206
—
H
CH3 Industrial shipment settings gain value
D0
H
208
D1
H
R
—
R/W
R/W
D2
D4
D5
D6
—
D8
R/W
H
H
H
H
H
H
H
H
210 CH1 User range settings offset value
211 CH1 User range settings gain value
212 CH2 User range settings offset value
213 CH2 User range settings gain value
214 CH3 User range settings offset value
215 CH3 User range settings gain value
216 CH4 User range settings offset value
217 CH4 User range settings gain value
2
2
2
2
2
2
2
2
1F
H
31
20
H
32
21
H
33
22
H
34
23
H
35
24
H
36
25
H
37
R/W
R/W
R/W
R/W
R/W
R/W
R/W
2
2
2
2
2
2
2
2
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
1 Indicates whether reading from and writing to a sequence program are enabled. R : Read enabled W : Write enabled
2 Areas used to restore the user range settings offset/gain values when online module change is made.
Refer to chapter 7 for details of online module change.
3 - 17 3 - 17
3 SPECIFICATIONS
MELSEC-Q
3.4.2 Buffer memory assignment (Q68ADV)
This section describes the assignment of the Q68ADV buffer memory.
POINT
Do not write data from system area or sequence program to the buffer memory area where writing is disabled. Doing so may cause malfunction.
Table 3.5 Buffer memory assignment (Q68ADV)
Hexadecimal Decimal
1
Hexadecimal Decimal
Description
R/W
1
0
1
H
H
2
H
3
H
0
1
2
3
4
A/D conversion enable/disable setting R/W
CH1 Average time/average number of times R/W
CH2 Average time/average number of times R/W
CH3 Average time/average number of times R/W
CH4 Average time/average number of times R/W
2E to
H
46 to
9D
H
157
9E
H
158
System area —
R/W
R/W 4
H
5
H
6
H
5
6
CH5 Average time/average number of times R/W
CH6 Average time/average number of times R/W
9F
H
159
A0
H
160 to to
Mode switching setting
System area —
7
8
9
A
B
C
D
E
F
10
11
12
13
14
15
16
17
18
1F
20
21
22
23
24
25
26
27
28
29
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
7
8
10
11
12
13
14
15
16
17
18
20
21
22
23
39
CH7 Average time/average number of times
CH8 Average time/average number of times
9
19 setting R/W
A/D conversion completed flag
CH1 Digital output value
CH2 Digital output value
CH3 Digital output value
CH4 Digital output value
CH5 Digital output value
CH6 Digital output value
CH7 Digital output value
CH8 Digital output value
Setting range (CH1 to CH4)
Setting range (CH5 to CH8)
Offset/gain setting mode Offset specification
Offset/gain setting mode Gain specification
24 to to
1D
1E
2A
H
H
H
H
H
H
H
H
H
H
H
H
H
H
29
30
31
32
33
34
35
36
37
38
40
41
42
CH5 Minimum value
R/W
R/W
R
R
R
R
R
R
R
R
R
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
C9
H
201
CA
CC
CD
CE
CF
D0
D1
D2
D3
D4
R
D6
D7
D8
D9
DA
—
DC
DD
E5
E6
R/W
R/W
R/W
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
202 CH1 Industrial shipment settings offset value
2
R/W
203 CH1 Industrial shipment settings gain value
2
R/W
204 CH2 Industrial shipment settings offset value
2
R/W
205 CH2 Industrial shipment settings gain value
2
R/W
206 CH3 Industrial shipment settings offset value
2
R/W
207 CH3 Industrial shipment settings gain value
2
R/W
208 CH4 Industrial shipment settings offset value
230
231
232
233
CH7 User range settings offset value
CH7 User range settings gain value
CH8 User range settings offset value
CH8 User range settings gain value
2
R/W
209 CH4 Industrial shipment settings gain value
2
R/W
210 CH5 Industrial shipment settings offset value
2
R/W
211 CH5 Industrial shipment settings gain value
2
R/W
212 CH6 Industrial shipment settings offset value
2
R/W
213 CH6 Industrial shipment settings gain value
222
223
224
225
226
227
228
229
CH3 User range settings offset value
CH3 User range settings gain value
CH4 User range settings offset value
CH4 User range settings gain value
CH5 User range settings offset value
CH5 User range settings gain value
CH6 User range settings offset value
CH6 User range settings gain value
2
R/W
214 CH7 Industrial shipment settings offset value
219
220
221
CH1 User range settings gain value
CH2 User range settings offset value
CH2 User range settings gain value
2
R/W
215 CH7 Industrial shipment settings gain value
2
R/W
216 CH8 Industrial shipment settings offset value
2
R/W
217 CH8 Industrial shipment settings gain value
218 CH1 User range settings offset value
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2B
H
43
2C
H
44
2D
H
45
R/W
R/W
R/W
1 Indicates whether reading from and writing to a sequence program are enabled. R : Read enabled W : Write enabled
2 Areas used to restore the user range settings offset/gain values when online module change is made.
Refer to chapter 7 for details of online module change.
3 - 18 3 - 18
3 SPECIFICATIONS
MELSEC-Q
3.4.3 Buffer memory assignment (Q68ADI)
This section describes the assignment of the Q68ADI buffer memory.
POINT
Do not write data from system area or sequence program to the buffer memory area where writing is disabled. Doing so may cause malfunction.
Table 3.6 Buffer memory assignment (Q68ADI)
Hexadecimal Decimal
1
Hexadecimal Decimal
Description
R/W
1
0
1
H
H
2
H
3
H
0
1
2
3
4
A/D conversion enable/disable setting R/W
CH1 Average time/average number of times R/W
CH2 Average time/average number of times R/W
CH3 Average time/average number of times R/W
CH4 Average time/average number of times R/W
2E to
H
46 to
9D
H
157
9E
H
158
System area —
R/W
R/W 4
H
5
H
6
H
5
6
CH5 Average time/average number of times R/W
CH6 Average time/average number of times R/W
9F
H
159
A0
H
160 to to
Mode switching setting
System area —
7
8
9
A
B
C
D
E
F
10
11
12
13
14
15
16
17
18
H
H
H
H
1D
1E
1F
20
21
22
23
24
25
26
27
28
29
2A
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
7
8
CH7 Average time/average number of times
CH8 Average time/average number of times
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
H setting R/W
A/D conversion completed flag
CH1 Digital output value
CH2 Digital output value
CH3 Digital output value
CH4 Digital output value
CH5 Digital output value
CH6 Digital output value
CH7 Digital output value
CH8 Digital output value
Setting range (CH1 to CH4)
Setting range (CH5 to CH8)
Offset/gain setting mode Offset specification
Offset/gain setting mode Gain specification
24 to to
29
30
31
32
33
34
35
36
37
38
39
40
41
42
R/W
R/W
R
R
R
R
R
R
R
R
R
R
R
R
R/W
R/W
C9
H
201
CA
CC
CD
CE
CF
D0
D1
D2
D3
D4
D6
D7
D8
D9
DA
—
DC
DD
R/W
R/W
R/W
R/W
R/W
R/W
R/W
E5
R/W
R/W
R/W
R/W
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
202 CH1 Industrial shipment settings offset value
2
R/W
203 CH1 Industrial shipment settings gain value
2
R/W
204 CH2 Industrial shipment settings offset value
2
R/W
205 CH2 Industrial shipment settings gain value
2
R/W
206 CH3 Industrial shipment settings offset value
2
R/W
207 CH3 Industrial shipment settings gain value
2
R/W
208 CH4 Industrial shipment settings offset value
230
231
232
233
CH7 User range settings offset value
CH7 User range settings gain value
CH8 User range settings offset value
CH8 User range settings gain value
2
R/W
209 CH4 Industrial shipment settings gain value
2
R/W
210 CH5 Industrial shipment settings offset value
2
R/W
211 CH5 Industrial shipment settings gain value
2
R/W
212 CH6 Industrial shipment settings offset value
2
R/W
213 CH6 Industrial shipment settings gain value
222
223
224
225
226
227
228
229
CH3 User range settings offset value
CH3 User range settings gain value
CH4 User range settings offset value
CH4 User range settings gain value
CH5 User range settings offset value
CH5 User range settings gain value
CH6 User range settings offset value
CH6 User range settings gain value
2
R/W
214 CH7 Industrial shipment settings offset value
219
220
221
CH1 User range settings gain value
CH2 User range settings offset value
CH2 User range settings gain value
2
R/W
215 CH7 Industrial shipment settings gain value
2
R/W
216 CH8 Industrial shipment settings offset value
2
R/W
217 CH8 Industrial shipment settings gain value
218 CH1 User range settings offset value
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2
R/W
2B
H
43
2C
H
44
2D
H
45
R/W
R/W
R/W
1 Indicates whether reading from and writing to a sequence program are enabled. R : Read enabled W : Write enabled
2 Areas used to restore the user range settings offset/gain values when online module change is made.
Refer to chapter 7 for details of online module change.
3 - 19 3 - 19
3 SPECIFICATIONS
MELSEC-Q
3.4.4 A/D conversion enable/disable setting (buffer memory address 0: Un\G0)
(1) Sets whether the output of an A/D conversion value is enabled or disabled for each channel.
(2) It is necessary to set the operating condition setting request (Y9) to ON/OFF in order to enable the setting. (See Section 3.2.2.)
(3) By default, A/D conversion is enabled for all channels.
(4) In the case of the Q64AD module, b4 to b7 (CH5 to CH8) become invalid. b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
0 0 0 0 0 0 0 0
CH8 CH7 CH6 CH5 CH4 CH3 CH2 CH1
For the Q64AD, information for b4 to b15 is fixed at 0,and for the Q68ADV (I), information for b8 to b15 is fixed at 0.
0 : A/D conversion enabled
1 : A/D conversion disabled
Example
When the channels used for A/D conversion are 1, 3, 5 and 8, 006A
H
(106) is stored in buffer memory address 0 (Un\G0). b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
0 0 0 0 0 0 0 0 0 1 1 0 1 0 1 0 006A
H
(106)
CH8 CH7 CH6 CH5 CH4 CH3 CH2 CH1
0 0 6 A
3.4.5 CH average time/average number of times (buffer memory addresses 1 to 8: Un\G1 to Un\G8)
(1) Sets the average time or average number of times for each channel for which averaging processing was specified.
(2) It is necessary to set the operating condition setting request (Y9) to ON/OFF in order to enable the setting. (See Section 3.2.2.)
(3) The setting range is as shown below:
Averaging processing by the number of times: 4 to 62500
Averaging processing by time: 2 to 5000 ms
(4) Zero is set as the default.
POINT
(1) The channel where the value outside the above setting range has been written results in an error, the error code is stored into the Error code (buffer memory address 19:Un\G19), the error flag (XF) turns ON, and the A/D conversion processing is performed at the pre-error setting.
(2) Since the default setting is 0, change it according to the processing method.
(3) The value, which has been set to the channel specified for sampling processing, is ignored.
3 - 20 3 - 20
3 SPECIFICATIONS
MELSEC-Q
3.4.6 Averaging processing setting (buffer memory address 9: Un\G9)
(1) When selecting sampling processing or averaging processing, write the setting to buffer memory address 9 (Un\G9).
(2) When averaging processing is selected, select average time or average number of times.
(3) It is necessary to set the operating condition setting request (Y9) to ON/OFF in order to enable the setting. (See Section 3.2.2.)
(4) By default, sampling processing is set for all channels.
(5) In the case of the Q64AD module, b4 to b7 and b12 to b15 (CH5 to CH8) are invalid. b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
CH8 CH7 CH6 CH5 CH4 CH3 CH2 CH1 CH8 CH7 CH6 CH5 CH4 CH3 CH2 CH1
Averaging processing channel specification
1 : Averaging processing
0 : Sampling processing
Time/number of times specification
1 : Average time
0 : Average number of times
Example
To average channels 1 and 5 for the set number of times and channels 2 and 7 for the set amount of time, and to sample-process other channels, store 5342
H
(21314) in buffer-memory address 9 (Un\G9). b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
0 1 0 1 0 0 1 1 0 1 0 0 0 0 1 0 5342
H
(21314)
CH8 CH7 CH6 CH5 CH4 CH3 CH2 CH1 CH8 CH7 CH6 CH5 CH4 CH3 CH2 CH1
5 3 4 2
3 - 21 3 - 21
3 SPECIFICATIONS
MELSEC-Q
3.4.7 A/D conversion completed flag (buffer memory address 10: Un\G10)
(1) When A/D conversion for the channels enabled for conversion is complete, the
A/D conversion completed flag is set to 1. The A/D conversion completed flag
(XE) is set to ON when the conversion for all A/D conversion enabled channels is complete.
(2) When the operating condition setting request (Y9) is set to ON, the flag returns to the default setting of 0 and changes to 1 when A/D conversion is complete.
(3) In the case of the Q64AD module, b4 to b7 (CH5 to CH8) are invalid. b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
0 0 0 0 0 0 0 0 CH8 CH7 CH6 CH5 CH4 CH3 CH2 CH1
For the Q64AD, information for b4 to b15 is fixed at 0, and for the Q68AD, information for b8 to b15 is fixed at 0.
1 : A/D conversion completed
0 : A/D conversion in
progress or not used
Example
When A/D conversion is enabled for channels 1, 2 and 6 and all conversions for these channels are complete, 0023
H
(35) is stored in buffer-memory address 10 (Un\G10). b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 1 0023
H
(35)
CH8 CH7 CH6 CH5 CH4 CH3 CH2 CH1
0 0 2 3
3.4.8 Digital output values (buffer memory addresses 11 to 18: Un\G11 to Un\G18)
(1) The digital output values after A/D conversion are stored in the buffer memory addresses from 11 to 18 (Un\G11 to Un\G18) for each channel.
(2) The digital output values are expressed with 16-bit signed binary values. b15 b14 b13b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Data section
Resolution 1/4000 12 bits
Resolution 1/12000, 1/16000 14 bits
Signed bit
1: Negative
0: Positive
For other than the data section and a signed bit, it becomes
1 for a negative (when b15 is 1) and 0 for a positive (when b15 is 0).
3 - 22 3 - 22
3 SPECIFICATIONS
MELSEC-Q
3.4.9 Write data error codes (buffer memory address 19: Un\G19)
(1) The error codes generated by the A/D converter modules are stored here.
(2) See Section 8.1 for the details of the error codes.
3.4.10 Setting ranges (buffer memory addresses 20, 21: Un\G20, Un\G21)
(1) These areas are used to confirm the setting ranges of the A/D converter module.
(2) The setting values for CH1 to CH4 are stored in buffer memory address 20
(Un\G20) and setting values for CH5 to CH8 are stored in buffer memory address
21 (Un\G21). In the case of the Q64AD module, buffer memory address 21
(Un\G21) is invalid. b15 to b12 b11 to b8 b7 to b4 b3 to b0
Un\G20 CH4 CH3 CH2 CH1
Un\G21
CH8 CH7 CH6 CH5
The setting values are as follows.
Input range
4 to 20 (mA)
0 to 20 (mA)
1 to 5 (V)
0 to 5 (V)
–10 to 10 (V)
0 to 10 (V)
User range setting
Setting value
0
H
1
H
2
H
3
H
4
H
5
H
F
H
(3) Default setting is 0.
When the setting for Q68ADV is 0, the analog input range operates between 0 to
10V.
(When the setting is 5
H
, the analog input range will be the same as above.)
3 - 23 3 - 23
3 SPECIFICATIONS
MELSEC-Q
3.4.11 Offset/gain setting mode (buffer memory addresses 22, 23: Un\G22, Un\G23)
(1) Specifies the channel to be adjusted for the offset/gain settings.
(2) The channel for which the offset is to be adjusted is specified in buffer memory address 22 (Un\G22) and the channel for which the gain is to be adjusted is specified in buffer memory address 23 (Un\G23).
(3) Although it is possible to set multiple channels at the same time, set the offset and gain separately (buffer memory addresses 22 and 23: Set either Un\G22 or
Un\G23 to 0). If both are set at the same time, an offset/gain setting mode error
(error code 500) occurs.
(4) For Q64AD, b4 to b7 (information for CH5 to CH8) are invalid.
(5) See Section 4.6 for the details of the offset/gain settings.
Un\G22 (Offset specification) b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
0 0 0 0 0 0 0 0 CH8 CH7 CH6 CH5 CH4 CH3 CH2 CH1
Un\G23 (Gain specification) 0 0 0 0 0 0 0 0 CH8 CH7 CH6 CH5 CH4 CH3 CH2 CH1
1 : Channel to be set
0 : Invalid
3.4.12 Maximum and minimum values storage area (buffer memory addresses 30 to 45:
Un\G30 to Un\G45)
(1) The maximum and minimum values of the converted digital value for each channel are stored.
(2) The stored values for all channels will be cleared to 0 when the operating condition setting request (Y9) is set to ON and the setting is changed or when the maximum and minimum values reset request (YD) is set to ON.
(3) The maximum and minimum values are stored for each sample processing time
(measurement), even with channels for which averaging processing is specified.
3 - 24 3 - 24
3 SPECIFICATIONS
MELSEC-Q
3.4.13 Mode switching setting (buffer memory addresses 158, 159: Un\G158, Un\G159)
(1) Set the values of the mode to which you want to switch.
(2) After setting the values, turning the operation condition setting request (Y9) from
OFF to ON switches to that mode.
(3) When mode switching is performed, this area is cleared to zero and the operating condition setting completed flag (X9) turns OFF.
After confirming that the operating condition setting completed flag (X9) has turned OFF, turn OFF the operation condition setting request (Y9).
Mode to be switched to
Set values
Buffer memory address 158 Buffer memory address 159
Normal mode 0964
H
4144
H
Offset/gain setting mode 4144
H
0964
H
POINT
If the values written are other than the above, mode switching is not performed and only the operating condition is changed.
3.4.14 Pass data classification setting (buffer memory addresses 200: Un\G200) (Q64AD only)
(1) Areas used to restore the user range settings offset/gain values when online module change is made.
Refer to chapter 7 for details of online module change.
(2) Specify whether the offset/gain values to be saved/restored are voltages or currents when saving/restoring the offset/gain values of the user range setting. b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
0 0 0 0 0 0 0 0 0 0 0 0 CH4 CH3 CH2 CH1
Data in b4 to b15 are fixed to 0.
1: Current specified
0: Voltage specified
POINT
Refer to Section 4.6 for the offset/gain value setting method.
3 - 25 3 - 25
3 SPECIFICATIONS
3.4.15 Industrial shipment settings and user range settings offset/gain values
(buffer memory addresses 202 to 233: Un\G202 to Un\G233)
MELSEC-Q
(1) Areas used to restore the user range settings offset/gain values when online module change is made.
Refer to chapter 7 for details of online module change.
(2) When the offset/gain values of the user range setting are restored, the used data are stored.
The data are stored (saved) when:
• Initial setting write is performed by the utility;
• The operating condition is set (Y9 turns from OFF to ON 1); or
• The offset/gain values are written in the offset/gain setting mode (YA turns from
OFF to ON).
1: The data are not saved when values have been written to the mode switching setting area (buffer memory addresses 158, 159: Un\G158,
Un\G159).
(3) When restoring the offset/gain values of the user range setting, set the data saved here similarly into the corresponding area of the module where the data will be restored.
(4) Buffer memory saving recording procedure for online module change
1) Set the pass data classification setting (buffer memory addresses 200:
Un\G200).
2) Turn the operation condition setting request (Y9) from OFF to ON.
3) Compare the offset/gain values of the industrial shipment settings and user range settings (buffer memory addresses 202 to 233: Un\G202 to Un\G233) with the range reference values. Refer to Section 7.4 for the range reference values.
4) If the values are proper, record the offset/gain values of the pass data classification setting , industrial shipment settings and user range settings.
: The Q68ADV/Q68ADI does not require the setting and recording of the pass data classification setting.
POINT
Refer to Section 4.6 for the offset/gain value setting method.
3 - 26 3 - 26
Advertisement
Key features
- High speed conversion
- High accuracy
- Multiple CPU system compatibility
- Online module change
- Resolution mode
- Input range setting
- Utility package setting
- Dedicated instructions
- Mode switching
- Temperature drift compensation function