All products manufactured by ICP DAS are under warranty regarding defective materials for a period
of one year, beginning from the date of delivery to the original purchaser.
Warning
ICP DAS assumes no liability for any damage resulting from the use of this product. ICP DAS reserves
the right to change this manual at any time without notice. The information furnished by ICP DAS is
believed to be accurate and reliable. However, no responsibility is assumed by ICP DAS for its use,
nor for any infringements of patents or other rights of third parties resulting from its use.
Names are used for identification purposes only and may be registered trademarks of their
respective companies.
Contact Us
If you have any problems, please feel free to contact us.
You can count on us for a quick response.
Email: service@icpdas.com
I-8024UW/I-8028UW/I-9024U/I-9028U Module Linux API User Manual, v2.0.1
P. 2
Table of Contents
Table of Contents ........................................................................................................................................... 3
5. API References ..................................................................................................................................... 25
Appendix A. Error Code ............................................................................................................................... 65
Appendix B. Revision History ....................................................................................................................... 66
I-8024UW/I-8028UW/I-9024U/I-9028U Module Linux API User Manual, v2.0.1
P. 4
The I-9024U/I-9028U is a 4-channel/8-channel Isolated analog output module that can be used on a
9000 series PAC, and allows a programmable output range on all analog output channels (0 to 5 V, ±5 V,
0 to 10 V, ±10 V, +4 to +20 mA or 0 to +20 mA). Each Analog Output channel can be configured for an
individual range, providing an RF immunity level matching that defined by the IEC 61000-4-3 standard.
The I-9024U/I-9028U module features channel to-channel isolation as well as 4 kV ESD protection and
1000 VDC intra-module isolation.
And the I-8024UW/ I-8028UW is also a 4-channel/8-channel Isolated analog output module that can be
used on a 8000 series PAC.
Features
I-8024UW/I-8028UW/I-9024U/I-9028U Module Linux API User Manual, v2.0.1
P. 5
Applicable Platform table
Platform
OS
Module
XPAC
XP-8000(WES)
I-8024UW/ I-8028UW
XP-8000-Atom (WES)
I-8024UW/ I-8028UW
XP-8000-WES7 (WES7)
I-8024UW/ I-8028UW
XP-8000-CE6 (WinCE 6.0)
I-8024UW/ I-8028UW
XP-8000-Atom-CE6 (WinCE 6.0)
I-8024UW/ I-8028UW
XP-9000-WES7(WES7)
I-9024U/ I-9028U
WinPAC
WP-8000 (CE 5.0/7.0)
I-8024UW/ I-8028UW
WP-9000-CE7 (CE 7.0)
I-9024U/ I-9028U
LinPAC
LinPAC-8000(Linux kernel 3.2/4.4)
I-8024UW/ I-8028UW
LinPAC-9000(Linux kernel 3.2/4.4)
I-9024U/ I-9028U
IPAC
iPAC-8000 (MiniOS7)
I-8024UW/ I-8028UW
I-8000 (MiniOS7)
I-8024UW/ I-8028UW
The following table shows which platform the module applies to.
I-8024UW/I-8028UW/I-9024U/I-9028U Module Linux API User Manual, v2.0.1
P. 6
functions of the I-8024UW/I-8028UW/I-9024U/I-9028U. The source code contained in these programs
can also be reused in your own custom programs if needed.
We need to check the following steps before running the program.
1. First, user need to download LinPAC SDK, which is includes GNU toolchain, Libraries, header,
examples files, etc.
2. Check the power cable, Ethernet cable, VGA monitor, the communication cable between controller
and PC has been connected well, and then check the I-8024UW/I-8028UW/I-9024U/I-9028U has
been plugged in the controller.
3. Next, check the communication between controller and PC is fine, and download the demo
program files to the controller.
4. The following is a list of the locations where both the demo programs and associated libraries can
be found on either the ICP DAS web site or the enclosed CD, and I-8024U/I-8028U/I-9024U/I-9028U
use the same library and demo.
User can find the related files in the product CD or below website:
I-8024UW/I-8028UW/I-9024U/I-9028U Module Linux API User Manual, v2.0.1
P. 15
3. Power-on Mode
Mode
Output
Power-on Value Mode
Ser Power On as Power on Value and reset, then the module will output as
configured power on value.
Retentive Mode
Ser Power On as Retentive and reset, then the module will output as late
output.
If the module is reset for any reason, the Analog Output will be activated in Power-on Mode so as to
avoid any unknown errors that might cause the Analog Output from the module to inflict damage on
other devices. This ensures that the output from the I-8024UW/I-8028UW/I-9024U/I-9028U module can
be anticipated and guarantees that the output will not damage other devices when the system fail or be
reset for any reason.
Two types of Power-on Mode are provided on the I-8024UW/I-8028UW/I-9024U/I-9028U module.
1. Power-on Value Mode
2. Retentive Mode
Power On mode does not support hot plug functionality. When hot plug on PAC Power On mode will not
be affected, it only apply on the others cases caused by PAC power reset.
Configuring Power-on Mode
Power-on Mode included Power-on Value Mode and Retentive Mode. Below is a description of the
conditions in each mode will apply when an abnormality be encountered and causes the Power-on
Mode to be activated.
If either the PAC or the module encounters an event that causes the hardware reset or the software
reset, the Output will be set to those configured for the specific mode.
I-8024UW/I-8028UW/I-9024U/I-9028U Module Linux API User Manual, v2.0.1
P. 16
The following is an overview of the Analog Output value that will be set for the I-9028U module in each
Mode
Hardware Reset
Software Reset
Power-on Value Mode
AO = Configured Power-on value
AO = Configured Power-on value
Retentive Mode
AO = Previous AO value
AO = Previous AO value
Configure the
Power-on Mode
Power-on Value
Mode
Retentive Mode
Hardware
Reset
Software
Reset
Hardware
Reset
Software
Reset
AO=Power
on Value
AO=Last
output
AO=Power
on Value
AO=Last
output
of the Power-on Mode conditions:
Note: Previous AO value means that after the module reset, the AO value will be retained. For example,
if the Power-on Mode is set as Retentive Mode and a hardware reset happened, then the AO value will
be the same as the value that existed prior to the hardware reset.
The following is a flowchart that illustrates the outcome of each Power-on Mode:
I-8024UW/I-8028UW/I-9024U/I-9028U Module Linux API User Manual, v2.0.1
P. 17
3.1. Power-on Value Mode
PAC
AO = Power on Value
I-9028U
Reset
Power-on Value Mode is used to set the output value to the preconfigured Value after an unknown
condition has caused the module reset.
I-8024UW/I-8028UW/I-9024U/I-9028U Module Linux API User Manual, v2.0.1
P. 18
3.2. Retentive Mode
AO = Last Output
I-9028U
Reset
Retentive Mode, also known as Virtual Battery Backup Mode, is used to ensure that the previous AO
value is retained if an unknown condition has caused the I-9028U module to be reset.
I-8024UW/I-8028UW/I-9024U/I-9028U Module Linux API User Manual, v2.0.1
P. 19
4. Watchdog
Program
Refresh WDT
Safe Value
I-9028U
OS WDT reset
System
Safe
Value
I-9028U
Hang
The Watchdog Timer (WDT) on the I-9028U module is a software function that monitors the operating
status of the module. Its purpose is to prevent problems due to network or communication errors, or
host malfunctions, such as situations where the device is affected by noise, or the program is not stable,
etc. When the “refresh WDT” function fails and a Watchdog timeout happened, all output values on the
module will be set to the Safe Value state in order to prevent the controlled target from performing any
erroneous operations.
A common application is provided as an example below. If the system encounters an even that causes it
to become unresponsive for any reason, the I-9028U WDT and the WDT provided by the operating
system for the 9000-series PAC can be used in combination, thereby preventing the system from hang
becoming unresponsive, which may cause the Analog Output to be uncontrolled and result in damage to
the device. The WDT on the 9000-series PAC will reset the PAC to solve the unresponsiveness problem,
and then the Safe Value will be set for the I-9028U module to prevent the AO from becoming
uncontrolled.
I-8024UW/I-8028UW/I-9024U/I-9028U Module Linux API User Manual, v2.0.1
P. 20
Loading...
+ 46 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.