ACC-28EP 16bit ADC Board
13
4.2.
E1/E2 : 2-3 Short, S_CH-1 : ON, S_CH-2 : ON
Unipolar Convert
±5[V] Range : ADC- to ADC+
0[V] ~ +10[V]
A.
Differential Ended Input
=
[ ]
[ ]
× (
− )
Input Voltage
Calculation
ADC Value
0[V](Differential)
0/5*65535
0
2.5[V](Differential)
2.5/5*65535
32767
5[V](Differential)
5/5*65535
65535
=
÷
−
×
//Ex) Base Add : $78C00, CH1 Input Voltage
#define 28EP_ADC_CH1
M4000
#define INPUT_VOLTAGE
P100
28EP_ADC_CH1->Y:$78C00,8,16,U
INPUT_VOLTAGE = 28EP_ADC_CH1/$FFFF*5
B.
Single Ended Input
=
[ ]
[ ]
× (
− )
Input Voltage
Calculation
ADC Value
0[V](Single)
0/10*65535
0
5[V](Single)
5/10*65535
32767
10[V](Single)
10/10*65535
65535
=
÷
−
×
//Ex) Base Add : $78C00, CH1 Input Voltage
#define 28EP_ADC_CH1
M4000
#define INPUT_VOLTAGE
P100
28EP_ADC_CH1->Y:$78C00,8,16,U
INPUT_VOLTAGE = 28EP_ADC_CH1/$FFFF*10