Page 1
USB-87P1/2/4/8 User Manual Version 1.4 Apr. 2023 Written by Martin Hsu Edited by Sunny Chiu www.icpdas.com ICP DAS, Co., LTD USB-87P1/2/4/8 User Manual, Version: 1.4...
5.4.2. OPC Server Example (Reading an analog input value) ..............54 Appendix A : Compare USB-87Pn with I-87Kn .................... 56 Appendix B: Error Code – Causes and Solution ...................57 Appendix C: Frame Ground ........................62 USB-87P1/2/4/8 User Manual, Version: 1.4...
Various software development kits (SDK) and demos are provided, such as DLL, ActiveX, LabVIEW driver, InduSoft driver, Linux driver and OPC Server. The I-87K series I/O modules plugged in the USB-87Pn can be easily integrated into variant software system. USB-87P1/2/4/8 User Manual, version: 1.4...
Page 5
And then check the LED indicators to know whether the replacement is performed correctly. The design of Auto Config dip switch and slot LED indicators are helpful for ease maintenance with no need of a PC or a laptop. USB-87P1/2/4/8 User Manual, version: 1.4...
Page 6
They are programmable for analog and digital channels to prevent unexpected outputs when a module or a host fails. Wide range power input (10~30 VDC) Wide range operating temperature (-25 °C ~ +75 °C) USB-87P1/2/4/8 User Manual, version: 1.4...
Page 7
DCON Utility Pro for configurating I/O modules and monitoring real-time data OPC Servers: OPC is an industrial standard interface based on OLE technology. With the OPC Server, I/O modules can be easily integrated to any software that has OPC client capability. USB-87P1/2/4/8 User Manual, version: 1.4...
Page 8
With its user-friendly interface, users can quickly and easily build a data logging software without any programming skill. Support Variant Software Development Toolkits DLL library, ActiveX, LabVIEW toolkit, InduSoft driver, DasyLab driver and Linux driver are included. USB-87P1/2/4/8 User Manual, version: 1.4...
Reverse Polarity Protection Consumption 1.0 W 2.0 W 2.4 W Power Board 5.0 W 8.0 W 30.0 W Driving Environmental Operating -25°C to +75°C Temperature Storage -30°C to +80°C Temperature Humidity 10 ~ 90% RH, non-condensing USB-87P1/2/4/8 User Manual, version: 1.4...
Connector USB Port Slot 0 Slot 1 USB-87P4 Auto Configuration System LED Indicators Enable/Disable Switch Power Connector USB Port Slots LED Slot 0 Slot 1 Slot 2 Slot 3 High Profile I-87K I/O Slots USB-87P1/2/4/8 User Manual, version: 1.4...
Page 11
If the Auto Configuration is enabled, the USB-87Pn will automatically configure a new module according to the pre-configuration. The factory default position of the Auto Config. dip switch is ON to enable the Auto Configuration function. USB-87P1/USB-87P2 USB-87P4/USB-87P8 USB-87P1/2/4/8 User Manual, version: 1.4...
Page 12
Data Length Stop bit Checksum 115,200 None Disable USB-87P series CPU Board Description Flashing Flashing Description (100ms) (2sec) S.RDY System Ready Ready Configuring Failure Auto Config Auto Configuration Enable Disable Slot Slot Status Normal Configuring Failure USB-87P1/2/4/8 User Manual, version: 1.4...
2.3. Dimensions USB-87P1/USB-87P2/USB-87P4/USB-87P8 Left Side View USB-87P2 USB-87P1 Front View Front View USB-87P1/2/4/8 User Manual, version: 1.4...
Page 14
USB-87P4 Front View USB-87P8 Front View USB-87P1/2/4/8 User Manual, version: 1.4...
1. Align circuit card with slot and press firmly to seat module into connector Align Here Align Here Tips & Warnings It is recommended to turn off the power to the USB-87Pn when wring the I/O modules which are installed in the slots. USB-87P1/2/4/8 User Manual, version: 1.4...
Page 17
2. Pull top and bottom locking tabs toward module face. Click indicates lock is engaged. 3. Wiring using the terminal block. USB-87P1/2/4/8 User Manual, version: 1.4...
USB-87Pn USB Cable (1.8M) Software CD Screw Driver The USB 2.0 type A male to type B male cable is included with USB-87P2/ USB-87P4/ USB-87P4 only. USB-87P1/2/4/8 User Manual, version: 1.4...
1. Wire the USB-87Pn unit to power and PC. Power Supply +10 ~ +30 VDC To USB port PC (COM X) USB-87P4 USB Connector Cable (CA-USB18) 2. Make sure that the Auto Config switch is in ON position (auto configuration enabled). Auto Config USB-87P1/2/4/8 User Manual, version: 1.4...
Page 20
After a module is plugged in, the slot indicator flashes once per 2 seconds. When software configuration is completed, the LED becomes off. If module communication is not correct, the LED is always on. USB-87P1/2/4/8 User Manual, version: 1.4...
Ports (COM & LPT) section. Select the COM port on the “Configuration Search Options” dialog box, make sure that 115200 bps is checked on Baud Rate tab and click the Start Search button. USB-87P1/2/4/8 User Manual, version: 1.4...
Page 22
Addr 02 (slot 0) in the Scanned I/O column, and click the Set As Scanned button. 6. After the module name shows in the Configured I/O column, click the Configure button for it (Addr 02, slot 0). USB-87P1/2/4/8 User Manual, version: 1.4...
Page 23
7. Configure the module and click the Exit button. 8. Click the Write to 87Pn button and click the Yes button in the pop-up box. 9. Click the Start Search icon to search module again. USB-87P1/2/4/8 User Manual, version: 1.4...
Page 24
10. Click the I/O module name to view real-time data on the module. USB-87P1/2/4/8 User Manual, version: 1.4...
COM Port and baud rate for communicating with the USB-87Pn. You can check your PC’s “Device Manager” to make sure which COM number is assigned for the driver. Then click the “Start Search” button. USB-87P1/2/4/8 User Manual, version: 1.4...
Page 26
0 and 1 are not configured or not correct. The following 2 O characters mean that modules in slot 2 and 3 are correct or there are no modules in the two slots. X X O O USB-87P1/2/4/8 User Manual, version: 1.4...
Indicating the configuration status for module in each slot Off: the module in slot is configured or no module is in slot Flashing: the module is not configured On: the module is not the same as pre-configured USB-87P1/2/4/8 User Manual, version: 1.4...
Page 28
2. Click the Set As Scanned button, the module name in Scanned I/O field will be shown in the Configured I/O field, and then click the Configure button to set the I/O module. 3. Set properly parameters for each module and then click the Exit button. USB-87P1/2/4/8 User Manual, version: 1.4...
Page 29
(2), and the Slot Configuration Status for new modules are [00]OK (3). 5. Click the Start Search icon again, you can see each plugged I/O module name listed under the USB-87Pn. USB-87P1/2/4/8 User Manual, version: 1.4...
Page 30
6. Click the module name to open its configuration window. Real-time data on the module can be viewed in the window. USB-87P1/2/4/8 User Manual, version: 1.4...
Page 31
In the configure window, you can see the scanned module name in ”Scanned I/O“ column. Click the Set As Scanned button to assign module name and click "Configure" to setup the I/O module according to the user’s demand. Finally click Write to 87PN for the settings to take effect. USB-87P1/2/4/8 User Manual, version: 1.4...
Page 32
USB-87Pn will write the previous settings to the module automatically. Auto-Configuration Remove the damaged module Plug in a new one of the same model. USB-87P1/2/4/8 User Manual, version: 1.4...
The status of USB-87Pn shows Auto Config. Disable [O, O, O, O]. It means that auto configuration is disabled now and you can open a configuration window to set up an I-87k module by clicking the module name. USB-87P1/2/4/8 User Manual, version: 1.4...
Page 34
When auto configuration is disabled, you won't be able to fix a damaged I/O module by replacing with a new one only, because their settings (e.g. type code) are different. You have to re-configure the module for maintaining the normal operation. USB-87P1/2/4/8 User Manual, version: 1.4...
Firmware=A201h Section 3: Configuration description MODULE_CONFIG= Net Address=> 2 for each module by slot. Baudrate=> 115200 Format=> 2's Complement Format CHANNEL_ENABLE_STATUS= &hFF ********************************************* [Slot0] Section 4: The Configuration Commands for ID=87019R TOTAL=1C each slot. C00=2502000A0221F USB-87P1/2/4/8 User Manual, version: 1.4...
I/O modules and settings. 1. Complete all the settings for each I/O module. 2. Click the Save configurations button, input the description or notes for this configuration file and click OK. Enter the description USB-87P1/2/4/8 User Manual, version: 1.4...
Page 37
3. Finally, enter the file name and click Save. auto_config Input the file name and click “Save” to save the file. The default path is defined in “DCON Utility Pro_PC\ auto_config”. USB-87P1/2/4/8 User Manual, version: 1.4...
USB-87Pn with exactly the same I/O modules and settings. 1. Click the Load Configurations button. 2. Select your configuration file and click the Open button. auto_config Select the file name and click “Open” to open the file. USB-87P1/2/4/8 User Manual, version: 1.4...
Page 39
3. Check the description for the configuration file and click the OK button. 4. Click the Configure button to check whether the settings for each module are correct. 5. Click the Write to 87PN button to write the configuration to the USB-87Pn. USB-87P1/2/4/8 User Manual, version: 1.4...
1. Click the Load configuration and write to button. 2. Select your configuration file and click the Open button. Select the file name and click “Open” to open the file. USB-87P1/2/4/8 User Manual, version: 1.4...
Page 41
3. Wait for OK messages for each slot to appear in the bottom pane. USB-87P1/2/4/8 User Manual, version: 1.4...
Utility Pro. It is convenient for remote support or system backup. 1. Click the Offline Configuration for 87PN icon on the toolbar of DCON Utility Pro. 2. Confirm the parameters and click OK on the popup box. USB-87P1/2/4/8 User Manual, version: 1.4...
Page 43
4. Click the relevant Configure button to edit the parameters for the module. 5. After finishing the configuration for all I/O modules, click “Save configurations” to save the settings as a *.ini file. USB-87P1/2/4/8 User Manual, version: 1.4...
Page 44
The default path is defined in “DCON Utility Pro_PC_xxxx\ auto_config”. Now you can copy the file to another PC which is connecting with a USB-87Pn and refer to section 4.4.3 to write the configuration file into the USB-87Pn. USB-87P1/2/4/8 User Manual, version: 1.4...
The ICP DAS provides a series of free software development kits enables the customer to be fast and simply completes the system setup. Related software tools are in the CD, please refer to following diagram: CD: \ Napdos Driver DCON_Utility Pro PACSDK DCON_InduSoft DCON_DasyLab DCON_Linux NapOPCSvr USB-87P1/2/4/8 User Manual, version: 1.4...
All documents for PACSDK are located at CD or website (latest version): CD: \ Napdos\Driver\PACSDK PACSDK can be used on C,C++,C#, Delphi, Borland C, etc. development environment. The latest manuals and examples can be downloaded from the following website: https://www.icpdas.com/en/product/guide+Software+Development__Tools+PAC__SDK USB-87P1/2/4/8 User Manual, version: 1.4...
The PACSDK.dll in PACSDK directory is for 32-bit LabVIEW. If you are using 64-bit LabVIEW, please first copy the PACSDK.dll in the x64_dll folder to the PACSDK directory to replace the original one, and then open the demo. USB-87P1/2/4/8 User Manual, version: 1.4...
Page 48
2. Enter the COM port created by USB-87Pn driver, baud rate 115200 (fixed), N,8,1 in the COM Port configuration text box. 3. Enter the module address and total AI channel count 4. Run the demo to view the data. 5. Click the Exit button to end the demo. USB-87P1/2/4/8 User Manual, version: 1.4...
Step 3: Read the manuals describing how to start The DCON.pdf user’s manual describes how to use the InduSoft bundled driver Step 4: Run the demo programs (ICPDriverTest.zip) to test I/O modules and learn the functions USB-87P1/2/4/8 User Manual, version: 1.4...
The following is an example of reading analog values from an I-87018 inserted in slot 0 of an 8410/8810. Step 1: Run the DCON Utility to configure the I/O modules Step 2: Run InduSoft and create a new project Step 3: Include the DCON driver Step 4: Setup DCON driver USB-87P1/2/4/8 User Manual, version: 1.4...
Page 51
Step 5 : Insert tags to connect to I/O modules The address format is [Address : Module ID : Slot : Channel] Step6 : Arrange all the components on the form USB-87P1/2/4/8 User Manual, version: 1.4...
Page 52
Step7: Double click the text box to assign a tag to it. Step8 : Run the project USB-87P1/2/4/8 User Manual, version: 1.4...
If there is an older version of Nap OPC Server installed on the PC, It must be uninstalled before installing the new version. Step 3: Read the manuals describing how to start NapOPCSvr.pdf is the user’s manual describing how to use the OPC Server USB-87P1/2/4/8 User Manual, version: 1.4...
Step 1: Run the DCON Utility to configure the I/O modules Step 2: Run the OPC Server to search for I/O modules on COM1 Step 3: Save the configuration and close the OPC Server Step 4: Run SCADA software to connect to the OPC Server USB-87P1/2/4/8 User Manual, version: 1.4...
Page 55
The OPC Server user’s manual lists the procedures for the following SCADA software: ■ ■ ■ LabVIEW National WIZCON ■ ■ ■ iFix InduSoft Citect Please refer to “Chapter 4 Connecting to the OPC Server” for more details. USB-87P1/2/4/8 User Manual, version: 1.4...
Click the USB-87P4 name to open the configuration window to know the module status. The status code in Slot Configuration Status column use different background color to represent different error message. Refer to the following table, you can find more information about error code and LED lamp status. USB-87P1/2/4/8 User Manual, version: 1.4...
Page 58
2. Click the "Write To 87Pn" button to write the settings to The format of configured commands is (Error) format 87Pn CPU again. wrong for DCON Protocol. Bright Read The memory data is failed: 1. Run DCON Utility. USB-87P1/2/4/8 User Manual, version: 1.4...
Page 59
"Write To 87Pn" button to write the (Error) 2. Command checksum error. same as DCON configuration to 87Pn CPU again. 3. Communication error during the process Utility of writing commands to 87Pn. USB-87P1/2/4/8 User Manual, version: 1.4...
Page 60
This error might be caused by command not command 1. Click "Set As Scanned" button and configure module (Error) complete on I/O module invalid again 2. Click "Write To 87Pn" button to write settings to 87Pn. USB-87P1/2/4/8 User Manual, version: 1.4...
Page 61
(Green) Auto Config. Enable No Error Always ON Always OFF Warning Always ON Always ON Flash Failed Flash Always ON Auto Config. Disable No Error Always ON Always OFF Always OFF Failed Flash Always ON USB-87P1/2/4/8 User Manual, version: 1.4...
DIN rail, the metallic board is in contact with the DIN rail. Therefore, when the DIN rail is connected with the earth ground, the USB-87PN is also connected with the earth ground at the same time. Frame Ground Connect to the Earth Ground DIN-Rail Clips USB-87P1/2/4/8 User Manual, version: 1.4...
Need help?
Do you have a question about the USB-87P1 and is the answer not in the manual?
Questions and answers