Programming Examples - Veichi Electric VC-4AD User Manual

Analog input module
Table of Contents

Advertisement

If you change the value of D0 and D1 of the channel, you can change the channel characteristics, D0 and D1 can be set
anywhere between -10000 and +10000, if the set value is out of this range, VC-4AD will not receive and keep the original valid
setting, Figure 3-3 shows the example of characteristics change, please refer to it.

4 Programming examples

4.1 Programming example for VC series + VC-4AD module
Example: VC-4AD module address is 1, use its 1st channel input voltage signal (-10V to +10V), 2nd channel input current signal
(-20mA to +20mA), close the 3rd channel, set the average number of points to 8, and use data registers D0 and D2 to receive the
average conversion result.
1)Create a new project and configure the hardware for the project, as shown below
2)Double click on the "VC-4AD" module on the rail to enter the 4AD configuration parameters.
Figure 3-2 Channel characteristic change for VC-4AD
D
10000
0
-10000
- 10000
A.Mode 0 , D0=0,D1=10000
Input 10V, corresponding to digital 10000
Input 0V, corresponding to digital quantity 0
Input -10V, corresponding to digital quantity -10000
Figure 3-3 Example of a feature change
Figure 4-1 Hardware configuration
5
A(mv)
10000
Select the VC-4AD and drag it onto
the rail

Advertisement

Table of Contents
loading

Table of Contents