AXIOMTEK IRU152-EVK-DC User Manual

Page 1
Introduction
1
IRU152-EVK-DC
Robust Din-rail Fanless Embedded System
Evaluation Kit User’s Manual
Page 2
Introduction
2
Disclaimers
This manual has been carefully checked and believed to contain accurate information. Axiomtek Co., Ltd. assumes no responsibility for any infringements of patents or any third partys rights, and any liability arising from such use.
Axiomtek does not warrant or assume any legal liability or responsibility for the accuracy, completeness or usefulness of any information in this document. Axiomtek does not make any commitment to update the information in this manual.
Axiomtek reserves the right to change or revise this document and/or product at any time without notice.
No part of this document may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of Axiomtek Co., Ltd.
Copyright 2018 Axiomtek Co., Ltd.
All Rights Reserved Oct. 2018, Version A1 Printed in Taiwan
Page 3
Introduction
3
Safety Precautions
Before getting started, please read the following important safety precautions.
1. Be sure to ground yourself to prevent static charge when installing the internal components. Use a grounding wrist strap and place all electronic components in any static-shielded devices. Most electronic components are sensitive to static electrical charge.
2. Disconnect the power cord from the IRU152 before making any installation. Be sure both the system and the external devices are turned OFF. Sudden surge of power could ruin sensitive components. Make sure the IRU152 is properly grounded.
3. Make sure the voltage of the power source is correct before connecting the equipment to the power outlet.
4. Turn OFF the system power before cleaning. Clean the system using a cloth only. Do not spray any liquid cleaner directly onto the screen.
5. Do not leave this equipment in an uncontrolled environment where the storage temperature is below -45 or above 85. It may damage the equipment.
6. Do not open the systems back cover. If opening the cover for maintenance is a must, only a trained technician is allowed to do so. Integrated circuits on computer boards are sensitive to static electricity. To avoid damaging chips from electrostatic discharge, observe the following precautions:
Before handling a board or integrated circuit, touch an unpainted portion of the
system unit chassis for a few seconds. This will help to discharge any static electricity on a human body.
When handling boards and components, wear a grounding wrist strap, available
from most electronic component stores.
Page 4
Introduction
4
Classification
1. Degree of production against electric shock: not classified
2. Equipment not suitable for use in the presence of a flammable anesthetic mixture with air or with oxygen or nitros oxide.
3. Mode of operation: Continuous
4. Type of protection against electric shock: Class I equipment
General Cleaning Tips
You may need to take the following precautions before you begin to clean the computer. When you clean any single part or component for the computer, please read and understand the details below fully.
When you need to clean the device, please rub it with a piece of dry cloth.
1. Be cautious of the tiny removable components when you use a vacuum cleaner to absorb the dirt on the floor.
2. Turn the system off before you start to clean up the component or computer.
3. Never drop the components inside the computer or get circuit board damp or wet.
4. Be cautious of all kinds of cleaning solvents or chemicals when you use them for the sake of cleaning. Some individuals may be allergic to the ingredients.
5. Try not to put any food, drink or cigarette around the computer.
Page 5
Introduction
5
Cleaning Tools
Although many companies have created products to help improve the process of cleaning your computer and peripherals users can also use household items to clean their computers and peripherals. Below is a listing of items you may need or want to use while cleaning your computer or computer peripherals.
Keep in mind that some components in your computer may only be cleaned using a product designed for cleaning the same types of components. Please read the instructions that come with a cleaning product to avoid misusage.
Cloth: A piece of cloth is the best tool to use when rubbing up a component. Although
paper towels or tissues can be used on most hardware as well, we still recommend you to rub it with a piece of cloth.
Water or rubbing alcohol: You may moisten a piece of cloth a bit with some
water or rubbing alcohol and rub it on the computer. Unknown solvents may be harmful to the plastics parts.
Vacuum cleaner: Vacuuming the dust, dirt, hair, cigarette particles, and other
particles out of a computer can be one of the best methods of cleaning a computer. Over time these items can restrict the airflow in a computer and cause circuitry to corrode.
Cotton swabs: Cotton swaps moistened with rubbing alcohol or water are
excellent tools for wiping hard to reach areas in your keyboard, mouse, and other locations.
Foam swabs: Whenever possible it is better to use lint free swabs such as foam
swabs.
Note
We strongly recommend that you should shut down the system before you start to clean any components.
Please follow the steps below:
1. Close all application programs
2. Close operating software
3. Turn off power
4. Remove all devices
5. Pull out the power cable
Page 6
Introduction
6
Scrap Computer Recycling
Please inform the nearest Axiomtek distributor as soon as possible for suitable solutions in case computers require maintenance or repair; or for recycling in case computers are out of order or no longer in use.
Trademarks Acknowledgments
Axiomtek is a trademark of Axiomtek Co., Ltd. IBM, PC/AT, PS/2, VGA are trademarks of International Business Machines Corporation.
Intel® and Pentium® are registered trademarks of Intel Corporation. MS-DOS, Microsoft C and QuickBASIC are trademarks of Microsoft Corporation.
VIA is a trademark of VIA Technologies, Inc. SST is a trademark of Silicon Storage Technology, Inc. UMC is a trademark of United Microelectronics Corporation. Other brand names and trademarks are the properties and registered brands of their respective owners.
Page 7
Introduction
7
Table of Contents
Safety Precautions ................................................................................... 3
Classification ............................................................................................ 4
General Cleaning Tips .............................................................................. 4
Cleaning Tools .......................................................................................... 5
Scrap Computer Recycling ...................................................................... 6
CHAPTER 1 Introduction .................................................... 9
1.1 General Description ................................................................... 9
1.2 I/O Outlets ................................................................................. 11
CHAPTER 2 Getting Started ............................................. 12
2.1 Unpack the Kit .......................................................................... 12
CHAPTER 3 Setting Up The EVK ....................................... 13
CHAPTER 4 EVK Network Configuration ............................ 16
4.1 Connecting the IRU152 ............................................................ 16
4.2 Serial Console .......................................................................... 17
4.3 SSH over Ethernet .................................................................... 20
4.4 Run Demo Application ............................................................. 22
CHAPTER 5 Preparing installation of LabVIEW ..................... 23
5.3 Download and Installation ...................................................... 25
CHAPTER 6 Using the Graphic User Interface of LabVIEW ..... 28
6.1 Analog input function .............................................................. 28
6.2 Digital Input function ............................................................... 28
6.3 Digital Output function ............................................................. 30
CHAPTER 7 Preparing Installation of C/C++ ......................... 34
7.1 Install Visual C++ 2013 Redistributable ................................. 34
7.2 Download and Unzip ................................................................ 35
CHAPTER 8 Using the Console Program of C/C++ ................ 36
8.1 Analog Input Function ............................................................. 36
8.2 Digital Input Function .............................................................. 38
8.3 Digital Output Function ........................................................... 40
CHAPTER 9 Preparing Installation of C# .............................. 42
9.1 Install Visual C++ 2013 Redistributable ................................. 42
9.2 Install .NetFramework 4.5.x ..................................................... 43
9.3 Download and Unzip ................................................................ 44
Page 8
Introduction
8
CHAPTER 10 Using the Console Program of C# ................... 46
10.1 Analog Input Function ............................................................. 46
10.2 Digital Input Function .............................................................. 48
10.3 Digital Output Function ........................................................... 50
Page 9
Introduction
9
CHAPTER 1
Introduction
This chapter contains general information and detailed specifications of the IRU152. Chapter 1 includes the following sections:
General Description System Specifications Dimensions I/O Outlets Packing List
1.1 General Description
The IRU152 din-rail fanless embedded system features a low power RISC-based module (i.MX 6Ultralite) processor and is designed to withstand temperatures ranging from -40°C to +70°C for operation in extreme environments and industrial automation applications.
The IRU152 features 1 RS-232/422/485 serial port with Isolation 2KV protection, 1 LAN, 1 DIO Port (2-In/2-Out),1 AI port (4- Differential inputs), 1 eMMC of 8GB onboard and 1 microSD socket for easy storage expansion and access in a compact, industrial-strength robust case. Its vertical din-rail form factor makes it easy to install the system in a small cabinet. Thanks to the RISC-based architecture, the IRU152 will not generate a lot of heat while being operated. The ready-to-run IRU152 is specially designed for industrial machines, automatic parking lots, traffic cabinets and more.
Features
Fanless design Wide operating temperature of -40°C - +70°C Low power RISC-based module (i.MX 6Ultralite), 528MHz processor 1 10/100Mbps Ethernets with magnetic isolation protection 1 COM Port (RS-232/422/485) with magnetic Isolation 2KV protection. 1 Console Port for user setting and debug (change DB9 connector function via switch) 1 USB 2.0 with power distribution control and over current protection 1 DIO Port (2-In/2-Out) with Dry/Wet contacts and optical isolation protection 2KV 1 AI Port (250 KS/s, 16-bit, 4 channel differential Input) with 2K-samples FIFO buffer 1 Watchdog Timer1 LED Indicators (Status, USB Power, COM, DIO, Wireless) Support 2 Wireless (3G/4G or Wifi) SNMP V1/V2c
Page 10
Introduction
10
Storage:
Supports one 8GB eMMC onboard (for boot disk) Supports one micro SD Card (easy-to-access, for store only)
1 power path with terminal block and 9–48VDC Din-rail mounting
Page 11
Introduction
11
1.2 I/O Outlets
The following figures help you locate the I/O outlets on the front, top and bottom of the IRU152.
Front View
Top View
Bottom View
Page 12
Introduction
12
CHAPTER 2
Getting Started
2.1 Unpack the Kit
The EVK is shipped with the items listed below. Ensure the items are available in the IRU EVK.
IRU152 System Unit x 1 IRU152 Quick Installation Guide x 1 Screws x 8 Din-rail Kit x1 Power terminal block x 1 DIO & AI terminal block x 1
Note
Please download the latest BSP or the latest Web_AP for IRU152 from Axiomtek’ s we bsite as listed below if you have the demand.
http://www.axiomtek.com.tw/Default.aspx?MenuId=Products&FunctionId =ProductView&ItemId=24279&upcat=134
Please contact an Axiomtek distributor if any of the above-mentioned items is damaged or missing.
Page 13
Setting Up the EVK
13
CHAPTER 3
Setting Up The EVK
STEP1: Open the outer box to confirm that the accessories are complete.
STEP2: Please take out the microphone measurement sensor.
STEP3: Please plug in the terminal block connector and USB into the IRU152.
Page 14
Setting Up the EVK
14
STEP4: Plug in the power.
STEP5: Turn the switch to the Console mode and connect the console cable.
STEP6: Setup is complete and the system is ready to use.
Page 15
Setting Up the EVK
15
Page 16
EVK Network Configuration
16
CHAPTER 4
EVK Network Configuration
4.1 Connecting the IRU152
The power
Please check the system power as below:
1. DC input range 9~48V
2. DC Terminal Block
Pin
DC Signal Name
1
Power+
2
Power-
3
DI
4
DI_G
d
The console
Connect your computer to the IRU152 using a serial cable and change the switch to the Console mode (as shown below).
You can connect the IRU152 to a personal computer (PC) using one of the following connection types:
Serial RS-232 console SSH over Ethernet
Page 17
EVK Network Configuration
17
Note
Please download the IRU152 support package from Axiomtek’s website listed below.
1. BSP and User’s Manual
2. OPC UA application
3. LabVIEW package for your host PC
4. Network SDK for Windows
http://www.axiomtek.com/Default.aspx?MenuId=Products&FunctionId=ProductVi ew&ItemId=24304&upcat=134&C=IRU152
4.2 Serial Console
The serial console is a convenient interface for connecting the IRU152 to a PC. First of all, it is very important to make sure that your desktop connects to the IRU152 with a serial cable. Please set the system as follows:
Baudrate: 115200 bps Parity: None Data bits: 8 Stop bits: 1 Flow Control: None
Use PuTTY to set up and link to the IRU152. Follow these step-by-step instructions:
1. Open PuTTY and choose ‘Serial’ as the connection type.
Page 18
EVK Network Configuration
18
2. Configure the serial port correctly (see the image below). Click ‘Open’ and power on the IRU152.
3. The data of the default Bootloader booting system from eMMC appears
Page 19
EVK Network Configuration
19
4. If connection is established successfully, you should see the following image.
Page 20
EVK Network Configuration
20
5. To log in, please enter ‘root’ (without a password).
4.3 SSH over Ethernet
Follow the steps below to connect the IRU152 to a PC over Ethernet under the Windows® and Linux environments respectively.
Before starting SSH you have to check your LAN1 IP address, if you don’t already know
it.
Page 21
EVK Network Configuration
21
For Windows® users:
1. Use PuTTY to set up and link. Open PuTTY and choose ‘SSH’ as the connection type. Then set the IP address to 10.1.50.117 and click ‘Open’.
2. If connection is established successfully, you should see the following image.
Page 22
EVK Network Configuration
22
3. To log in to the IRU152, please enter ‘root’ (with no password).
For Linux users:
1. Open terminal and enter an ‘ssh’ command.
~$ ssh -l root 10.1.50.117
2. The following data appears after the connection is established successfully.
4.4 Run Demo Application
After logging in to the IRU152, enter the demo application directory. ~$ cd /etc/ax_irutool/demoAP_152/
Run the DemoServerSocket application. ~$ ./DemoServerSocket 1
Page 23
Preparing installation LABVIEW
23
CHAPTER 5
Preparing installation of LabVIEW
5.1 Install Visual C++ 2013 Redistributable
Install Visual C++ 2013 Redistributable.
Note
Please download the Microsoft visual C++ 2013 redistributable from the link below.
https://www.microsoft.com/en-US/download/details.aspx?id=40784
5.2 Install LabVIEW run-Time Engine 2016 (32-bit)
If the sample code binary files need to be executed and LabVIEW 2016 is not installed, the LabVIEW Run-Time Engine 2016 (32-bit) must be installed.
Download LabVIEW Run-Time Engine 2016 (32-bit) from the NI website:
http://www.ni.com/download/labview-run-time-engine-2016/6066/en/
Page 24
Preparing installation LABVIEW
24
Execute the installer.
Page 25
Preparing installation LABVIEW
25
5.3 Download and Installation
Download the IRU 152 LABVIEW SDK Setup from Axiomteks website
Note
Please download the IRU152 LABVIEW SDK from Axiomtek’s website listed below.
http://www.axiomtek.com/Default.aspx?MenuId=Products&FunctionId=ProductVi ew&ItemId=24304&upcat=134&C=IRU152
5.3.1 Execute the installer.
Page 26
Preparing installation LABVIEW
26
5.3.2 Installation is complete.
Page 27
Preparing installation LABVIEW
27
Page 28
Using the Graphic User Interface LABVIEW
28
CHAPTER 6
Using the Graphic User Interface of LabVIEW
6.1 Analog input function
Below figure is the IRU152 LabVIEW graphical user interface (GUI). The GUI can be used to process the analog input of the IRU152.
6.1.1 The execution file is located at the following path:
C:\Axiomtek\LabVIEWSDK\IRUSeries\Binary\IRUSeries_AI_Read_Sample\IRUSer ies_AI_Read_Sample.exe
6.1.2 Please input these parameters: IP Address, channel, rangeIndex, sample rate, trigger mode, trigger source, trigger condition, and trigger level.
6.1.3 Press Running.
6.1.4 The data graphics will be shown in waveform. The FFT graphic will be shown in frequency domain. In the case below, sample rate is 1 kHz and the source signal is 10hz.
6.2 Digital Input function
Below figure is the IRU152 LabVIEW graphical user interface. The GUI can be used to process the digital input of IRU152.
Page 29
Using the Graphic User Interface LABVIEW
29
6.2.1 The execution file is located at the following path:
C:\Axiomtek\LabVIEWSDK\IRUSeries\Binary\IRUSeries_DI_Read_Sample\ IRUSeries_DI_Read_Sample.exe
6.2.2 The IRU152 has one port and two lines. The port or line status can be
read from the digital input of the IRU152.
For port settings: Step 1: Set IP Address, Port, Filter, Trigger Condition. Step 2: Press Running.
Step 3: The status of all channels will be shown on the Read Port
Status:
If the status is high, the LED color is green.  If the status is low, the LED color is gray.  The left side is DI channel 0  The Read Port Status will be shown once after pressing Running.
For line settings: Step 1: Set IP Address, Port, Line, Filter, Trigger Condition. Step 2: Press Running.
Step 3: The status of a channel will be shown on the Read Line Status:
If the status is high, the LED color is green.  If the status is low, the LED color is gray.  The left side is DI channel 0.  The Read Line Status will be shown once after pressing Running.
Page 30
Using the Graphic User Interface LABVIEW
30
Note: *The data field is for reserved functions.
6.3 Digital Output function
Below figure is IRU152 LabVIEW graphical user interface. The GUI can be used to process the digital output of the IRU152.
6.3.1 The execution file is located at the following path: C:\Axiomtek\LabVIEWSDK\IRUSeries\Binary\IRUSeries_DO_ReadW rite_Sample\IRUSeries_DO_ReadWrite_Sample.exe
6.3.2 The IRU152 has one port and two lines. The port or line status can be read from the digital output of the IRU152. The port or line status can also be written to the digital output of the IRU152.
For write port settings: Step 1: Set IP Address, select the function write port and specify the port.
Step 2: Click LED status on the Write Status.
The output status High is green and the output status Low is gray.
The channel number is from left to right mapping to 0 to 7.
Step 3: Press running.
For example: Channel 0 is low and channel 1 is high.
Page 31
Using the Graphic User Interface LABVIEW
31
For write line settings:
Step 1: Set IP Address, select the function write line and specify the port and the line.
Step 2: Click LED status for channel number which wants to control.
- The high is green and the low is gray.
- The channel number is from left to right mapping to 0 to 7.
- Other channel status settings will be ignored.
Step 3: Press running.
For example: Setting channel 0 is high.
For read port setting:
Step 1: Set IP Address, select the function read port and specify the port.
Step 2: Press running.
Step 3: The read status will be shown for channels status.
The high is green and the low is gray.  The channel number is from left to right mapping to 0 to 7.
For read line setting:
Step 1: Set IP Address, select function read line, line.
Step 2: Press running.
Step 3: The read status will show the channels status.
Write Status
Write Status
Page 32
Using the Graphic User Interface LABVIEW
32
The high is green and the low is gray.  The channel number is from left to right mapping to 0 to 7.
Page 33
Using the Graphic User Interface LABVIEW
33
This page is intentionally left blank.
Page 34
Preparing Installation C/C++
34
CHAPTER 7
Preparing Installation of C/C++
7.1 Install Visual C++ 2013 Redistributable
Install Visual C++ 2013 Redistributable
Note
Please download the Microsoft visual C++ 2013 redistributable listed below.
https://www.microsoft.com/en-US/download/details.aspx?id=40784
Page 35
Preparing Installation C/C++
35
7.2 Download and Unzip
7.2.1 Download the IRU 152 Network SDK for Windows from Axiomteks website.
Note
Please download the IRU152 Network SDK for Windows from Axiomtek’s website listed below. On the download page, select the IRU Series Network SDK for Windows” to download.
http://www.axiomtek.com/Default.aspx?MenuId=Products&FunctionId=ProductVi ew&ItemId=24304&upcat=134&C=IRU152
7.2.2 Execute the file and select the path to unzip the file.
7.2.3 Unzipping is completed.
Page 36
Using the Console Program C/C++
36
CHAPTER 8
Using the Console Program of C/C++
8.1 Analog Input Function
The figure on the next page is the running flow of the DemoAI.exe program.
8.1.1 Execution Path The 32-bit binary file is located at the following path. IRU_SDK_Network_v1.0.0.3\C_C++\Bin\x86\DemoAI
8.1.2 Running the binary file When the program is executed, follow the menu and select the item. For
example, to read the AI data, follow the steps below:
Step 1. Select the "Module Type" and input the "IP address". Step 2. Select the "Start AI Polling". Step 3. Select the "Channel". Step 4. Select the "Input range". Step 5. Input the "Divisor" to set up the sample rate. Step 6. Select the "Trigger Mode". Step 7. Choose to read the raw data or not. If the data are used for
logging to a file, select "No".
Step 8. If "Record data" is set to "No", the first four data will be shown
on the screen; if the "Record data" is set to "Yes", the data will
be saved to a "AI_Volt.txt" file. Step 9. Press any key to stop the function. Step 10. When the program is exited, the "AI_Volt.txt" file can be
imported to the Excel program and the data can be plotted as bellow.
Page 37
Using the Console Program C/C++
37
Page 38
Using the Console Program C/C++
38
8.2 Digital Input Function
The figure on the next page i s the running flow of the DemoDI.exe program.
8.2.1 Execution Path The 32-bit binary file is located at the following path. IRU_SDK_Network_v1.0.0.3\C_C++\Bin\x86\DemoDI
8.2.2 Running the binary file When the program is executed, follow the menu and select the item. For
example, to read the DI current status, follow the steps below :
Step 1. Select the "Module Type" and input the "IP address". Step 2. Select the "Get current DI Status". Step 3. Select the "Read DI port status". Step 4. The entire port status will be shown as one byte ; 0x03 means
line 0 and line 1 are at "High" status.
Page 39
Using the Console Program C/C++
39
Page 40
Using the Console Program C/C++
40
8.3 Digital Output Function
The figure on the next page is the running flow of the DemoDO.exe program.
8.3.1 Execution Path The 32-bit binary file is located at the following path: IRU_SDK_Network_v1.0.0.3\C_C++\Bin\x86\DemoDO
8.3.2 Running the binary file When the program is executed, follow the menu and select the item. For
example, if the DO current status is wanted to be read, following the steps.
Step 1. Select the "Module Type" and input the "IP address". Step 2. Select the "Read DO Status". Step 3. Select the "Read DO port status". Step 4. The entire port status will be shown as one byte, 0x0 means line
0 and line 1 are at "Low" status.
Page 41
Using the Console Program C/C++
41
Page 42
Preparing Installation C#
42
CHAPTER 9
Preparing Installation of C#
9.1 Install Visual C++ 2013 Redistributable
Install Visual C++ 2013 Redistributable.
Note
Please download the Microsoft visual C++ 2013 redistributable listed below.
https://www.microsoft.com/en-US/download/details.aspx?id=40784
Page 43
Preparing Installation C#
43
9.2 Install .NetFramework 4.5.x
Install .NetFramework 4.5.2.
Note
Please download the Microsoft .NetFramework 4.5.2 listed below.
https://www.microsoft.com/en-US/download/details.aspx?id=42642
Page 44
Preparing Installation C#
44
9.3 Download and Unzip
9.3.1 Download the IRU 152 Network SDK for Windows from Axiomteks
website.
Note
Please download the IRU152 Network SDK for Windows from Axiomtek’s website listed below. On the download page, select IRU Series Network SDK for Windows” to download.
http://www.axiomtek.com/Default.aspx?MenuId=Products&FunctionId=ProductVi ew&ItemId=24304&upcat=134&C=IRU152
9.3.2 Execute the file and select the path to unzip the file.
9.3.3 Unzipping is completed.
Page 45
Preparing Installation C#
45
This page is intentionally left blank.
Page 46
Using the Console Program C#
46
CHAPTER 10
Using the Console Program of C#
10.1 Analog Input Function
The figure on the next page is the running flow of the DemoAI.exe program.
10.1.1 Execution Path. The 32-bit binary file is located at the following path.
IRU_SDK_Network_v1.0.0.3\C#\Bin\x86\DemoAI
10.1.2 Running the binary file.
When the program is executed, follow the menu and select the item. For example, to read the AI data, following the steps below :
Step 1. Select the "Module Type" and input the "IP address". Step 2. Select the "Start AI Polling". Step 3. Select the "Channel". Step 4. Select the "Input range". Step 5. Input the "Divisor" to set up the sample rate. Step 6. Select the "Trigger Mode". Step 7. Choose to read the raw data or not. If the data are used for
logging to a file, select "No".
Step 8. If "Record data" is set to "No", the first four data will be shown
on the screen; if the "Record data" is set to "Yes", the data
will be saved to a "AI_Volt.txt" file. Step 9. Press any key to stop the function. Step 10. When the program is exited, the "AI_Volt.txt" file can be
imported to the Excel program and the data can be plotted as bellow.
Page 47
Using the Console Program C#
47
Page 48
Using the Console Program C#
48
10.2 Digital Input Function
The figure on the next page is the running flow of the DemoDI.exe program.
10.2.1 Execution Path. The 32-bit binary file is located at the following path. IRU_SDK_Network_v1.0.0.3\C#\Bin\x86\DemoDI
10.2.2 Running the binary file. When the program is executed, follow the menu and select the item. For
example, to read the DI current status, following the steps :
Step 1. Select the "Module Type" and input the "IP address". Step 2. Select the "Get current DI Status". Step 3. Select the "Read DI port status". Step 4. The entire port status will be shown as one byte ; 0x03 means
the line 1 and line 2 are at high status.
Page 49
Using the Console Program C#
49
Page 50
Using the Console Program C#
50
10.3 Digital Output Function
The figure on the next page is the running flow of the DemoDO.exe program.
10.3.1 Execution Path. The 32-bit binary file is located at the following path. IRU_SDK_Network_v1.0.0.3\C#\Bin\x86\DemoDO
10.3.2 Running the binary file. When the program is executed, follow the menu and select the item. For
example, to read the DO current status, following the steps :
Step 1. Select the "Module Type" and input the "IP address". Step 2. Select the "Read DO Status". Step 3. Select the "Read DO port status". Step 4. The entire port status will be shown as one byte ; 0x0 means
the line 1 and line 2 are at "Low" status.
Page 51
Using the Console Program C#
51
Loading...