
7 Chapter 1
1.5.2 Programming with Device Drivers Function Library
Advantech Device Drivers offer a rich function library that can be utilized
in various application programs. This function library consists of numer-
ous APIs that support many development tools, such as Visual C++,
Visual Basic, Delphi and C++ Builder.
1.5.3 Troubleshooting Device Drivers Error
Driver functions will return a status code when they are called to perform
a certain task for the application. When a function returns a code that is
not zero, it means the function has failed to perform its designated func-
tion. To troubleshoot the Device Drivers error, you can pass the error
code to DRV_GetErrorMessage function to return the error message.
Alternatively, you can refer to the Device Drivers Error Codes Appendix
in the Device Drivers Manual for a detailed listing of Error Codes, Error
IDs and the Error Messages.
1.6 Accessories
Cable
PCL-10150-1.2 IDC-50 pin socket connector with flat cable, 1.2M
Wiring Board
PCLD-782B 24-channel Opto-isolated Digital Input Boards
The PCLD-782B digital input daughterboards feature high-voltage (1500
V DC ) optical isolation on all inputs. The PCLD-782B provides either 16
or 24 channels, depending on the connector you use. The PCLD-782B’s
20-pin connector lets you access 16 channels, similar to the PCLD-782.
The PCLD-782B also provides a 50-pin Opto-22 connector with access to
24 channels. Both cards have on-board screw terminals for easy input
wiring. Opticallyisolated signal conditioning provides isolation between
separate channels, as well as between each input channel and the PC. This
isolation prevents floating potential and ground loop problems while pro-
tecting the input lines from potentially damaging fault conditions. A red
LED on each input channel indicates its status. If the input signal is high,
the LED is on. You can configure each channel to work in either isolated
or non-isolated mode. A variable resistor adjusts the threshold level for
all 24 isolated input channels simultaneously.
Comentarios a estos manuales