4.1.2 VB Example (Reading an analog input value)
The following is an example of reading analog values from an I-87017 inserted in slot 0 of an
8410/8810.
Step 1
: Run the DCON Utility to configure the I/O modules
Step 2
: Run VB and create a new project (.exe project)
Step 3
: Add I7000.bas to the project
Step4:
Arrange all the components on the form
Step5:
Write the program code
RU-87P1/2/4/8 User Manual, Version: 1.2
36
Summary of Contents for RU-87P1
Page 33: ...3 Fig 32 Write the settings to RU 87Pn RU 87P1 2 4 8 User Manual Version 1 2 33...
Page 37: ...VB Step 3 VB Step 1 VB Step 2 Step 6 Run the project RU 87P1 2 4 8 User Manual Version 1 2 37...
Page 51: ...Appendix A Dimension A 1 RU 87P1 RU 87P1 2 4 8 User Manual Version 1 2 51...
Page 52: ...A 2 RU 87P2 RU 87P1 2 4 8 User Manual Version 1 2 52...
Page 53: ...A 3 RU 87P4 RU 87P1 2 4 8 User Manual Version 1 2 53...
Page 54: ...A 4 RU 87P8 RU 87P1 2 4 8 User Manual Version 1 2 54...