4.3.2 VB Example (Reading an analog input value)

4.3.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 8kE4/8KE8.

Step 1: Wire the 8430/8830/8KE4/8KE8 and configure its network settings (IP, Mask, Gateway)

Step 2: Run the VxComm Utility to create a virtual COM port (e.g. COM3) to map the 8430/8830/8KE4/8KE8

Step 3: Run the DCON Utility to configure the I/O modules

Step 4: Run VB and create a new project (.exe project)

Step 5: Add I7000.bas to the project

Step 6: Arrange all the components on the form

8430/8830/8KE4/8KE8 User’s manual, Jan 2005, Version 1.0, 8MS-002-10 ----- 42

Page 42
Image 42
ICP DAS USA 8430, 8KE8, 8KE4, 8830 user manual VB Example Reading an analog input value