Chapter 5 Relay Ladder Logic Programming
117
-
14B
AQ (Analog Output)
The AQ instructions must be used with extension analog out module, 2AO.The default output signal of AQ
is 0~10V, the AQ value and the corresponding 12 bits data value are in the range of 0~1000 and 0~4095. It also
can be assigned to output 0~20mA, in current mode; the AQ value and the corresponding 12 bits data value are
within the range of 0~500 and 0~2047. The 12bits data saved in DRD4~DRD7. The output mode of AQ is set
by the current value of DRD0~DRD3
Output register
Mode register
Channel 1: AQ01
DRD4
DRD0
Channel 2: AQ02
DRD5
DRD1
Channel 3: AQ03
DRD6
DRD2
Channel 4: AQ04
DRD7
DRD3
Mode DRD0~DRD3
data
definition
1
0: voltage mode and reset value when stop;
2
1: Current mode and reset value when stop;
3
2: voltage mode and keep value when stop;
4
3: Current mode and keep value when stop;
※
Analog output works in mode 1 if the value of the mode register, DRD0~DRD3, is larger than 3.
The appearance of AQ value on the HMI screen
The HMI on SG2 displays the code of selected coil when SG2 at STOP mode, and showing the current
value at RUN mode, see the below figure to get more information.
STOP display RUN display
When AQ mode is in current mode, the relationship among the DR,
AQ output and display value is shown as below:
DRD5=2047, AQ02=500, display: 20.00mA
※
When the preset value in “Analog Output Set” screen is a constant, this value will be stored in DR register,
(DRD4~DRD7) and the AQ value equals to (DRx/4.095). For example, CH1 is configured as mode 1, set a
constant value, 4000, then the value of AQ01 will be 977, and HMI displays 9.77V.
※
Once the preset value refers to other variable, its value is also stored in DR register, (DRD4~DRD7), but it will
be equal to AQx * 4.095. (DRx=AQx*4.095).
※
More information about expansion analog input to see:
Chapter 8 Expansion Module-Analog Module
.
Example 1: AQ01 preset value is a constant; the preset value of DRD4 refers to V01.
PDF compression, OCR, web optimization using a watermarked evaluation copy of CVISION PDFCompressor