Summary of Contents for ICP DAS USA ALX-9000 Series
Page 1
ALX-9000 Series User Manual V1.0.0 Feb. 2024 ALX-9191/ALX-9391/ALX-9791...
Page 2
Warranty 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.
Contents Contents ............................... 3 1. Introduction ............................ 5 1.1. Features ..........................6 1.2. Specifications ........................10 1.3. Overview ..........................12 1.4. Dimensions ......................... 19 2. Getting Started ..........................21 2.1. Mounting the ALX-9000 ...................... 22 2.2. Installing the RJ-45 waterproof connector assembly ............26 2.3.
Page 4
3.1.17. Linux Command “passwd” ..................60 3.1.18. Linux Command “reboot” ..................61 3.2. i-Talk Utility ......................... 62 3.3. ALX-9000 SDK ........................66 4. Your First ALX-9000 Program ......................68 4.1. Your First ALX-9000 Program with C Language ..............69 4.1.1. Find Demo “helloworld.c” in SDK ................70 4.1.2.
1. Introduction This chapter provides an overview of the ALX-9000 and its components, introducing basic concepts to users familiar with the ALX-9000. The ALX-9000 are Linux-based PACs that combine computing, I/O, and operator interface into a single unit, and provide the perfect solution for data acquisition and control in an individual PAC.
1.1. Features The ALX-9000 offers the most comprehensive configuration and remote system upgrade solutions to meet specific application requirements. The following list shows the hardware and software features designed to simplify installation, configuration and application. Powerful CPU Module E3950 (1.6~2.0 GHz, 4C4T) for ALX-9x91 Built-in VGA and HDMI Port A built-in VGA and HDMI port can be directly connected to a regular display.
Page 7
Besides the local I/O slots, ALX-9000 also provides several RS-232/RS-485/USB ports and two Ethernet ports to connect with serial/USB I/O and Ethernet I/O devices. Dual Ethernet Ports ALX-9000 provides two Gigabit Ethernet ports. The two Ethernet ports can be used to implement redundant Ethernet communication and separate Ethernet communication (one for a global Internet, one for private Ethernet).
Page 8
Rugged RJ-45 connector LAN1 The ALX-9000 is equipped with a rugged and dustproof RJ-45 connector on the LAN1 port that can protect against both liquid and dust contaminants in harsh industrial environments, as well as protection against vibration and shock. LAN2 Screw-lockable RJ-45 connector on the LAN2 port and there are screw holes (spacing 20mm) on both sides of the RJ45 connector, you can lock the RJ45 cable connector with...
Page 9
-25°C to +60°C for the ALX-9x91 series. Improved storage disk performance On the ALX-9000 series, CFast cards are used as a replacement for the CompactFlash (CF) cards used in the LX-9000 series. This is because they support the SATA III interface, achieving faster write/read speeds.
1.2. Specifications The table below summarizes the specifications of ALX-9x91 series. Models ALX-9191 ALX-9391 ALX-9791 System Software Ubuntu 20.04 with kernel 5.4.161-rt67 Embedded SFTP server, Web server, SSH Service SDK Provided Standard LinPAC SDK for Linux by GNU C language Multilanguage English, Russian, Korean, Japanese, Simplified Chinese, Traditional Chinese Support...
Page 11
ttySA0 Internal communication with the I-97K series modules in slots RS-232/485 (RxD, TxD and GND for RS-232; Data+, Data- for RS-485); 3000 V Console isolated ttyS0 RS-485 (Data+, Data-); 3000 V isolated RS-232/485 (RxD, TxD, CTS, RTS and GND for RS-232; Data+, Data- for ttyS1 RS-485);...
Page 14
LED Indicators LED Indicator Label State (Color) Meaning Programmable LED Indicators L1 and L2 Programmable LED indicators System LED indicator Orange Programmable LED indicators PWR LED Indicator Green Power is on Green The Link is active Link/Act LAN1 LED indicator Blinking Network activity Yellow...
Page 15
Communication Ports ● CFast Socket with a CFast Card Inside The ALX-9000- comes with a CFast card inside the CFast socket. The CFast card can be used to restore the ALX-9000 system and expand the memory up. ● LAN Ports, LAN1 and LAN2 The ALX-9000 has two Ethernet ports that can be used to connect the router to the Internet or to other devices.
Page 16
● HDMI Port The ALX-9000 has a HDMI port that can be used with a variety of supported HDMI resolutions, and the output resolution covers, 4096 x 2160. ● ttySA0, Expansion I/O Slot The ALX-9000 has 1/3/7 I/O slots that can be used to integrate high performance parallel I/O modules (I-9K Series) or serial I/O modules (I-97K series).
Page 18
Tips & Warnings The table below shows the data bit and their corresponding stop bit for Console, ttyS0, ttyS1 and ttyS34. Word Length Number of Stop Bits 5, 6, 7, 8 6, 7, 8 Frame Ground Point The frame ground point is a small piece of metal that can be used to terminate the shield. ALX-9000 (Linux based PAC) User Manual version 1.0.0 Page: 18...
1.4. Dimensions The diagrams below provide the dimensions of the ALX-9000 to use in defining your enclosure specifications. Remember to leave room for potential expansion if you are using other components in your system. The height dimension is the same for all ALX-9000. The width depending on your choose of I/O expansion slots.
2. Getting Started This chapter provides a guided tour of the ALX-9000 installation and configuration that describes the steps needed to download, install, configure, and run the basic procedures for user working with the ALX-9000 for the first time. Before starting any task, please check the package contents. If any of the following package contents are missing or damaged, contact your dealer, distributor.
2.1. Mounting the ALX-9000 The ALX-9000 can be mounted either directly to a wall/panel, or onto a stainless 35mm DIN rail. Wall/Panel mounting Step 1: Install the four mounting screws into the 4 keyhole mounting holes Step 2: Fasten the screws securely Tips &...
Page 23
Step 3: Connect the ground lead to the frame ground point Tips & Warnings A good common ground reference (earth ground) is essential for proper operation of the ALX-9000. One side of all control circuits, power circuits and the ground lead must be properly connected to earth ground by either installing a ground rod in close proximity to the enclosure or by connecting to the incoming power system ground.
Page 24
Step 2: Clip the device onto a stainless DIN rail Tips & Warnings For DIN rail mounting, it is strongly recommended that only a stainless steel DIN rail be used to support the weight of LX-9000 system, providing stability and preventing ALX-9000 from leaning ALX-9000 (Linux based PAC) User Manual version 1.0.0...
Page 25
Step 3: Connect the ground lead to the frame ground point Tips & Warnings A good common ground reference (earth ground) is essential for proper operation of the ALX-9000. One side of all control circuits, power circuits and the ground lead must be properly connected to earth ground by either installing a ground rod in close proximity to the enclosure or by connecting to the incoming power system ground.
2.2. Installing the RJ-45 waterproof connector assembly The ALX-9000 is equipped with an RJ-45 waterproof connector to protect the connection in vibrate environment. The RJ-45 waterproof connector is optional for use with LAN1 port. If you do not need the RJ-45 waterproof connector, you can remove the cap and just plug in a regular Ethernet cable.
2.3. Deploying a Basic ALX-9000 System The AX-9000 provides a variety of communication interface to suit a range of application. Here is a simple application for using the ALX-9000. Step 1: Connect the positive terminal (+) of the power supply to the terminal PWR1/2 and the negative terminal (-) of the power supply to the P.GND Tips &...
Page 31
Step 4: Connect to PC or the laptop to the LAN port via an Ethernet switch Tips & Warnings The metal part of the cord end terminal on the wire can be direct wired to the terminal. Remove the wiring from the terminal block Use the screwdriver to push the black clip in ii.
2.4. Inserting the I/O Modules ALX-9000 has 1/3/7 I/O expansion slots to support I-9K and I-97K series I/O modules. ALX-9000 also has 1/3 e-Bus I/O slots to support e-9K series I/O expansion modules. Before choosing the right I/O modules, you first need to know the I/O expansion capacities in order to choose the best expansion module for achieving maximal efficiency.
Page 33
Step 2: Wiring connection The metal part of the cord end terminal on the wire can be direct wired to the terminal of ALX-9000. 1. Use screwdriver to push 2. Remove the wiring from the black clip in. the terminal block Keep on pushing Remove the wire Tips &...
2.5. Console Port Connection ALX-9000 supports remote connection through the "Console" port without the need for the internet. Users can connect to ALX-9000 by following the steps below: Step 1: Users can connect to ALX-9000 by selecting software (such as Putty or others) through the "Console"...
2.6.1. Set Static IP The LAN1/LAN2 of factory setting use DHCP. If user wants to set the static IP address, user can refer to below steps: Step 1: Using the Linux command “vim” to modify the file “/etc/netplan/ 01-network-manager-all.yaml”. Step2: Set up a static IP, similar to the configuration for eth1 Step3: MAC address should not be changed casually as it is needed for fixing the network interface name.
2.6.2. Configuring network bonding A network bond is a method to combine or aggregate physical and virtual network interfaces to provide a logical interface with higher throughput or redundancy. In a bond, the kernel handles all operations exclusively. You can create bonds on different types of devices, such as Ethernet devices or VLANs.
Page 38
Step4: If the user doesn't know the IP, they can log in through the console port to retrieve it. Static IP: Step 1: Using the Linux command “vim” to modify the file “/etc/netplan/ 01-network-manager-all.yaml”. Step2: Set up a static IP as shown in the diagram below. ALX-9000 (Linux based PAC) User Manual version 1.0.0 Page: 38...
2.7. Recovering factory OS from CFast Card to Flash If users want to restore the factory operating system on ALX-9000, they can follow the steps below to restore the Linux operating system from the Flash: Step 1: Boot up ALX-9000 with CFast card OS. Ensure that the system boots from CFast OS (/dev/sda). Use the `ls` command to confirm that the "OS-install"...
2.8. Update CFast card recover file version User can follow below steps to update recover file to recent version. 1. Boot up with CFast card and download recover file by below link. https://www.icpdas.com/tw/download/show.php?num=9028&model=ALX-9191 Please download “ALX-9000 OS image” option. 2. Delete old recover folder (“OS-install”) and unzip downloaded file (OS-install-ALX_9000-1.0.0). 3.
3. Instructions for ALX-9000 This chapter provides a brief introduction of the ALX-9000 service tools and its benefits. There are several tools and utilities built-in and designed for use with ALX-9000. Some of these are pre-installed on ALX-9000 and can work directly on ALX-9000, and some of these are supporting tools and can help you to manage the ALX-9000 remotely on a PC.
3.1.1. Linux Command “ls” ls: list the file information -> (like dir in DOS) Parameter: (1) -l:list detailed information of file root@icpdas:/# ls -l total 100 drwxr-xr-x root root 4096 Mar 21 03:56 bin drwxr-xr-x root root 4096 Apr 8 08:41 boot drwxrwxr-x root root 4096 Jan 5 09:02 cdrom...
3.1.2. Linux Command “cd” cd directory: Change directory -> (like cd in DOS) Parameter: (1) ..:move to the upper directory root@icpdas:/tmp# cd .. root@icpdas:/# (2) ~:move back to the root directory root@icpdas:/# cd ~ root@icpdas:~# (3) /:divided sign root@icpdas:~# cd /tmp root@icpdas:/tmp# ALX-9000 (Linux based PAC) User Manual version 1.0.0...
3.1.4. Linux Command “rm” rm: delete file or directory -> (like del or deltree in DOS) rm -parameter file (or directory) Parameter: (1) i: it will show the warning message when deleting root@icpdas:/tmp# rm -i test.log rm: remove regular file 'test.log'? y root@icpdas:/tmp# (2) r: delete directory despite that it isn’t empty root@icpdas:/tmp#...
3.1.8. Linux Command “chmod” chmod: change authority of file chmod ??? file -> ??? means owner: group: all users For example: 7 5 4 -> 111(read, write, execute) 101(read, write, execute) 100(read, write, execute) The first number 7: owner can read and write and execute files The second number 5: group can only read and execute files The third number 4: all users can only read files root@icpdas:/tmp#...
3.1.12. Linux Command “netstat” netstat: show the state of network Parameter [-a]: list all states root@icpdas:/tmp# netstat -a Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State 0 localhost:domain 0.0.0.0:* LISTEN 0 0.0.0.0:ssh 0.0.0.0:* LISTEN 0 localhost:ipp 0.0.0.0:* LISTEN...
3.1.15. Linux Command “ping” ping: check to see if the host in the network is alive ping IPAddress (Example: ping 192.168.0.1) root@icpdas:/tmp# ping www.google.com PING www.google.com (142.251.43.4) 56(84) bytes of data. 64 bytes from tsa03s08-in-f4.1e100.net (142.251.43.4): icmp_seq=1 ttl=57 time=7.70 ms 64 bytes from tsa03s08-in-f4.1e100.net (142.251.43.4): icmp_seq=2 ttl=57 time=7.76 ms 64 bytes from tsa03s08-in-f4.1e100.net (142.251.43.4): icmp_seq=3 ttl=57 time=8.13 ms 64 bytes from tsa03s08-in-f4.1e100.net (142.251.43.4): icmp_seq=4 ttl=57 time=7.85 ms...
3.2. i-Talk Utility The i-Talk utility can make the convenient for users to access the modules and hardware in the ALX-9000. Instruction Function Description getlist List all module name in the ALX-9000 setdo Set digital output value to I9k module setao Set analog output value to I9k module getdi...
Page 63
1、2 and 3 of the LinPAC separately. Instruction Demo Command: getlist getlist getlist Description: List all module names in the ALX-9000 Series. Command: setdo [slot] [data] setdo setdo 3 3 Description: Set i-9054P channel 1 and 2 on. Command: setao [slot] [channel] [data] ...
Page 64
setexdo 2 1 55 (2) setexdo [slot] [comport] [data] [baudrate] [address] setexdo 0 3 55 9600 2 Description: (1)Set the dec digital output value to the module at slot 2 at COM1. (2)Set the dec digital output value to the module at slot 0 at COM3.
Page 65
Command: read_sn read_sn read_sn Description: Show the serial number. Command: rotary_id rotary_id rotary_id Description: Read rotary switch ID of ALX-9000 Command: Description: Print a menu to set all led indicator Command: led_single [led] [status] led_single led_single 0 1 Description: Set “Run”...
3.3. ALX-9000 SDK ALX-9000 SDK consists of the following major items. LinPAC SDK library files LinPAC SDK include files Demo files From https://www.icpdas.com/en/download/file.php?num=19223, you can download the latest version of ALX-9000 SDK. And then follows the below steps in order to get the development toolkit which has been provided by ICP DAS for the easy application of the ALX-9000 embedded controller platform.
Page 67
(2) To type “tar zxf linpac_x86_sdk.tgz” to decompress tar file and type “make” to compile demo code. root@icpdas:~# tar zxf linpac_x86_sdk.tgz root@icpdas:~# ls linpac_x86_sdk linpac_x86_sdk root@icpdas:~# cd linpac_x86_sdk/ root@icpdas:~/linpac_x86_sdk# make Once user decompresses the SDK file, user can find the files for the library and demo in the following paths.
4. Your First ALX-9000 Program This chapter provides a guided tour that describes the steps needed to set-up a development environment, download, install, configure for user programming with the ALX-9000. The default ALX-9000 support below development tools: Default Development Tools Linux OS is a mature embedded operating system which supports rapid development.
In this section, we will introduce how to compile the helloworld.c to helloworld and executes this file on the ALX-9000 Series. In this example, no ICP DAS modules are used. To create a demo program with C that includes the following main steps: 1.
4.1.1. Find Demo “helloworld.c” in SDK The x86 LinPAC SDK had added the demo “helloworld.c”. User can follow below steps to find the demo in SDK. 1. Download SDK Please get SDK with link “https://www.icpdas.com/en/download/file.php?num=19223” 2. Find the demo in SDK Using command “cd”...
4.1.2. Compile/Execute Demo “helloworld” User can refer to below steps to compile and execute demo “helloworld”. 1. Add script to SDK Makefile User can refer to the SDK Makefile (LinPAC_X86_SDK/examples/lx-8k_9k/common/Makefile) that we had added the script for demo “helloworld.c”. 2. Type “make helloworld” command to compile demo “helloworld.c” 3.
4.1.3. Execute Demo at Boot Time User can refer to below steps to auto-execute demo “helloworld” at boot time in ALX-9000. 1. Create script file in “/etc/init.d” User can use “vim” command to create the script file in “/etc/init.d” and add below script language to the file.
5.1. Advanced Package Tool “apt-get” command is a management system for software packages on the Linux OS of LX-9000. To install a package run the following commands: apt-get update apt-get install <package> To search available package run the following commands: apt-cache search <package name>...
5.2. SFTP (secure file transfer program) The ALX-9000 series had supported SFTP(or SCP), user can transfer the file from Windows(or Linux). For examples, using Windows Program “WinSCP” to access the device over network, please follow below steps: 1. Choosing the “SFTP” or “SCP” protocol and type IP address, default ID (root) and password (icpdas) to login 2.
XFCE is a lightweight desktop environment for UNIX-like operating systems. It aims to be fast and low on system resources, while still being visually appealing and user friendly. The ALX-9000 series support the XFCE package, after user type “root” and password “icpdas” to login, the local terminal would execute the XFCE Desktop.
6.1. N-Port Modules Support N-port communication modules provide two or four serial ports and can be inserted into the slot of an ALX-9000 embedded controller. In this way, additional serial ports can be used on the ALX-9000 embedded controller. The ALX-9000 embedded controller is a multi-tasking unit, meaning that all the serial ports can be controlled simultaneously.
7. ALX-9000 Internet Service internet service provided by ICP DAS will be satisfied and it includes Technical Support, Driver Update, OS_Image, LinPAC_SDK User’s Manual Download etc. Users can refer to the following web site to get more information: 1. ICP DAS Web Site : http://www.icpdas.com/ 2.
Appendix A. I-9K Modules and I-97K Modules This chapter provides a brief overview of the different between I-9K series modules and I-97K series modules. There are two types of I/O modules provided for supporting ALX-9000. One is high communication speed I-9K series modules with parallel interface; the other is I-97K series modules with serial interface.
Page 82
B. e-9K Modules e-9K series modules are provided for combining a variety of I/O functions within the AXP-9000 and ALX-9000 programmable automation controllers (PAC). e-9k series is based on a high-speed bus interface (e-Bus) with speeds up to 2GB/s (e-Bus x4) and 500MB/s(e-Bus x1), and also supports DMA (Direct memory access) data transfer without the need for a central Processing unit intervention.