1 Analog Input Module DVP04AD-E2
1.6.3 Explanation on Special Registers D9900~D9999
When ES2 MPU is connected with modules, registers D9900~D9999 will be reserved for storing values from
modules. You can apply MOV instruction to operate values in D9900~D9999.
When ES2 MPU is connected with DVP04AD-E2, the configuration of special registers is as below:
Module#0 Module #1 Module #2 Module #3 Module #4 Module #5 Module #6 Module #7 Description
D1320 D1321 D1322 D1323 D1324 D1325 D1326 D1327 Model code
D9900 D9910 D9920 D9930 D9940 D9950 D9960 D9970 CH1 average
input value
D9901 D9911 D9921 D9931 D9941 D9951 D9961 D9971 CH2 average
input value
D9902 D9912 D9922 D9932 D9942 D9952 D9962 D9972 CH3 average
input value
D9903 D9913 D9923 D9933 D9943 D9953 D9963 D9973 CH4 average
input value
1. D9900~D9999 are average input values of CH1 ~ CH4 and the average times is K1~K100. When the average
times is set to K1, the values displayed in D9900~D9999 are current values. You can use: 1. ES_AIO
Configuration Function of WPLSoft (refer to 1.8 Applications in this manual) or 2. FROM/TO instructions
(CR#8~CR#11) to set the average times as K1.
2. Example:
Ladder diagram: Explanation:
Save CH1 average input value of Module#0
to D0
Save CH2 average input value of Module#1
to D2
M1000
D9922
D4
D9900
MOV
D9911
MOV
MOV
D0
D2
Save CH3 average input value of Module#2
to D4
1.7 A/D Conversion Curve
You can adjust the conversion curves according to the actual needs by changing the Offset value (CR#28 ~ CR#31)
and Gain value (CR#34 ~ CR#37).
Gain (in DVP04AD-E2): The corresponding voltage/current input value when the digital output value = 16,000.
Offset (in DVP04AD-E2): The corresponding voltage/current input value when the digital output value = 0.
For voltage input Mode0/Mode2:
0.3125mV = 20V/64,000 = 10V/32,000
Equation:
OffsetGain
Offset
V
VX
Y
32000
)(10
)(
16000
Y=Digital output, X=Voltage input
For voltage input Mode1/Mode3: 0.15625mV
= 10V/64,000 = 5V/32,000
Equation:
OffsetGain
Offset
V
VX
Y
32000
)( 5
)(
16000
Y=Digital output, X=Voltage input
For current input Mode4/Mode5: 0.625μA = 40mA/64,000 = 20mA/32,000
Equation:
OffsetGain
Offset
mA
mAX
Y
32000
)(20
)(
16000
Y=Digital output, X= Current input
DVP-ES2 Module Manual
1-9