ICP DAS USA ALX-9000 Series User Manual Download Page 38

ALX-9000 (Linux based PAC) User Manual                                      version 1.0.0                                Page: 38   

Copyright ©  2024 ICP DAS Co., Ltd. All Rights Reserved.                                    E-mail: [email protected] 

 

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. 

 

Summary of Contents for ALX-9000 Series

Page 1: ...ALX 9000 Series User Manual V1 0 0 Feb 2024 ALX 9191 ALX 9391 ALX 9791...

Page 2: ...CP 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...

Page 3: ...guration 35 2 6 1 Set Static IP 36 2 6 2 Configuring network bonding 37 2 7 Recovering factory OS from CFast Card to Flash 40 2 8 Update CFast card recover file version 41 3 Instructions for ALX 9000...

Page 4: ...LX 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 Compile Execute Demo helloworld 71 4 1 3 Execute Demo at Boot Time 72 5 Application f...

Page 5: ...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 It is equipped with an Intel Core E3950 CPU...

Page 6: ...on Powerful CPU Module 1 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 Memory Size SDRAM 8 GB DDR4 for ALX...

Page 7: ...and separate Ethernet communication one for a global Internet one for private Ethernet Dual Watchdog Timer A system could be hanged up when the OS or the AP fails There are two watchdogs CPU watchdog...

Page 8: ...acing 20mm on both sides of the RJ45 connector you can lock the RJ45 cable connector with them to reduce the risk of the Ethernet cable falling off due to vibration occurring Meanwhile you can also ch...

Page 9: ...ies With the fan less design for embedded applications the operating temperature range is 25 C to 60 C for the ALX 9x91 series Improved storage disk performance On the ALX 9000 series CFast cards are...

Page 10: ...Simplified Chinese Traditional Chinese CPU Module CPU E3950 1 6 2 0 GHz 64 bit 4C4T SDRAM 8 GB DDR4 SDRAM MRAM 128 KB Flash SSD mSATA slot with one 64 GB SSD EEPROM 16 KB Memory Expansion CFast socket...

Page 11: ...ne out I O Expansion I 9K I 97K series Slot 1 Slot 3 Slot 7 I O Expansion e 9K series e Bus Slot 1 e Bus Slot 3 Mechanical Dimensions W x H x D unit mm 239 x 164 x 133 300 x 164 x 133 422 x 164 x 133...

Page 12: ...CP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 3 Overview The ALX 9000 Series modules are equipped with several interfaces and peripherals that can be integrated with external systems H...

Page 13: ...DAS Co Ltd All Rights Reserved E mail service icpdas com ALX 9791 The details of these items are as follows Redundant Power PWR1 and PWR2 The ALX 9000 has a terminal with 8 wire there are 4 wire for r...

Page 14: ...ogrammable LED Indicators L1 and L2 Programmable LED indicators System LED indicator RUN Orange Programmable LED indicators PWR LED Indicator PWR Green Power is on LAN1 LED indicator Link Act Green Th...

Page 15: ...X 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 USB 2 0 Ports P1 P2 USB 3...

Page 16: ...s or serial I O modules I 97K series Console RS 232 The Console port is a 9 pins RS 232 485 connector that can be configured as either RS 232 or RS 485 that only can select one at a time and its confi...

Page 17: ...pends on the pin connections as follows RS 232 RXD TXD RTS CTS and GND RS 485 Data and Data There is no software configuration or hardware jumper needed The details of the ttyS1 port specifications ar...

Page 18: ...E mail service icpdas com 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 1 5 1 5 6 7 8 2...

Page 19: ...e 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...

Page 20: ...ALX 9000 Linux based PAC User Manual version 1 0 0 Page 20 Copyright 2024 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com ALX 9391 ALX 9791...

Page 21: ...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 t...

Page 22: ...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...

Page 23: ...tial 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 prox...

Page 24: ...ights Reserved E mail service icpdas com 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...

Page 25: ...d 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 inst...

Page 26: ...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 If you want to use...

Page 27: ...pyright 2024 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 Wrap the E panel gasket around the D clamping ring Step 4 Wrap the C cable gland base around the D clamping ring Step 5...

Page 28: ...ight 2024 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 Push the E sealing nut forward and Hand tighten it to seal the assembly Step 7 Insert the RJ 45 cable into the RJ 45 conne...

Page 29: ...version 1 0 0 Page 29 Copyright 2024 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 9 Insert the Ethernet cable and screw the RJ 45 waterproof into the receptacle The Ethernet cable...

Page 30: ...e terminal of the power supply to the terminal PWR1 2 and the negative terminal of the power supply to the P GND Tips Warnings 1 The input range of power supply is 10 to 30 VDC 2 The ALX 9000 have two...

Page 31: ...il service icpdas com Remove the wiring from the terminal block 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 w...

Page 32: ...modules you first need to know the I O expansion capacities in order to choose the best expansion module for achieving maximal efficiency For more information about the I O expansion modules that are...

Page 33: ...of the cord end terminal on the wire can be direct wired to the terminal of ALX 9000 Tips Warnings If you do not expand the I O module full please keep the top case of the unused slot to protect the b...

Page 34: ...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...

Page 35: ...Copyright 2024 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 6 LAN1 LAN2 Network Configuration If the user successfully logs into ALX 9000 through the Console port the user can use t...

Page 36: ...ss 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...

Page 37: ...y In a bond the kernel handles all operations exclusively You can create bonds on different types of devices such as Ethernet devices or VLANs To configure network bonding on ALX 9000 with static and...

Page 38: ...ights Reserved E mail service icpdas com 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 e...

Page 39: ...rsion 1 0 0 Page 39 Copyright 2024 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step3 After user save the file and use netplan apply command to restart internet interface Users can use...

Page 40: ...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...

Page 41: ...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...

Page 42: ...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 p...

Page 43: ...version 1 0 0 Page 43 Copyright 2024 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 1 Basic Linux Command In ALX 9000 you can use basic Linux commands to configure the Linux operating...

Page 44: ...idden files root icpdas ls a boot etc lib mnt root tmp cdrom home lost found opt run srv usr bin devinitrd imgmedia proc sbin sys var root icpdas root icpdas ls l total 100 drwxr xr x 2 root root 4096...

Page 45: ...Rights Reserved E mail service icpdas com 3 1 2 Linux Command cd cd directory Change directory like cd in DOS Parameter 1 move to the upper directory 2 move back to the root directory 3 divided sign...

Page 46: ...46 Copyright 2024 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 1 3 Linux Command mkdir mkdir create the subdirectory like md in DOS mkdir parameter subdirectory root icpdas tmp mkdir...

Page 47: ...eltree in DOS rm parameter file or directory Parameter 1 i it will show the warning message when deleting 2 r delete directory despite that it isn t empty 3 f it will not show a warning message when d...

Page 48: ...Copyright 2024 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 1 5 Linux Command cp cp copy file like copy in DOS cp parameter source destination root icpdas tmp cp root test log tmp te...

Page 49: ...ghts Reserved E mail service icpdas com 3 1 6 Linux Command mv mv move or rename file or directory like move or ren in DOS mv parameter source file or directory destination file or directory root icpd...

Page 50: ...ux based PAC User Manual version 1 0 0 Page 50 Copyright 2024 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 1 7 Linux Command pwd pwd show the current path root icpdas tmp pwd tmp roo...

Page 51: ...ns 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...

Page 52: ...4 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 1 9 Linux Command uname uname show the version of Linux kernel root icpdas tmp uname a Linux icpdas 5 4 161 rt67 12 SMP PREEMPT_RT Wed...

Page 53: ...e 53 Copyright 2024 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 1 10 Linux Command ps ps show the procedures that execute now root icpdas tmp ps a PID TTY STAT TIME COMMAND 2751 tty...

Page 54: ...ser Manual version 1 0 0 Page 54 Copyright 2024 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 1 11 Linux Command date date show date and time root icpdas tmp date Fri 2 Feb 2024 04 39...

Page 55: ...f 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 tcp 0 0 localhost domain 0 0...

Page 56: ...0 frame 0 TX packets 702 bytes 104533 104 5 KB TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device memory 0x91180000 911fffff eth1 flags 4099 UP BROADCAST MULTICAST mtu 1500 ether 00 0d e0...

Page 57: ...ww icpdas com 50 87 226 148 443 connected HTTP request sent awaiting response 302 Moved Temporarily Location https www icpdas com web product download pac linux lx 9000 software sdk linpac_x86_sd k tg...

Page 58: ...p_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 64 byt...

Page 59: ...rom 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 64 bytes from tsa03s08 in f4 1e100 net 142 2...

Page 60: ...All Rights Reserved E mail service icpdas com 3 1 17 Linux Command passwd passwd change the password passwd means the users that you want to change password root icpdas tmp passwd root Enter new UNIX...

Page 61: ...9000 Linux based PAC User Manual version 1 0 0 Page 61 Copyright 2024 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 1 18 Linux Command reboot reboot reboot the LinPAC root icpdas reb...

Page 62: ...i Get analog input value from I9k module setexdo Set digital output value to I97k module setexao Set analog output value to I97k module getexdi Get digital input value from I97k module getexai Get ana...

Page 63: ...he slots 1 2 and 3 of the LinPAC separately Instruction Demo getlist Command getlist getlist Description List all module names in the ALX 9000 Series setdo Command setdo slot data setdo 3 3 Descriptio...

Page 64: ...ue channel baudrate address setexao 0 3 6 7 5 9600 2 Description 1 Set channel 5 analog value 6 7 to the module at slot 2 2 Set channel 5 analog value 6 7 to the module at COM3 getexdi Command 1 getex...

Page 65: ...d Command rotary_id rotary_id Description Read rotary switch ID of ALX 9000 led Command led led Description Print a menu to set all led indicator led_single Command led_single led status led_single 0...

Page 66: ...d 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 contr...

Page 67: ...e demo code Once user decompresses the SDK file user can find the files for the library and demo in the following paths The libPAC_x86 a path is LinPAC_X86_SDK lib The include files path is LinPAC_X86...

Page 68: ...fault Development Tools Linux OS is a mature embedded operating system which supports rapid development Standard development tools are list as follows which are highly integrated with comprehensive su...

Page 69: ...l 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 fo...

Page 70: ...nd 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 move to demo s directory 3 Use vim command to mod...

Page 71: ...mples 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 Execute binary file helloworld root icpdas tmp LinPAC_X8...

Page 72: ...nd to create the script file in etc init d and add below script language to the file Please refer to your own path for executing the helloworld demo 2 Create service file in lib systemd system bin bas...

Page 73: ...E mail service icpdas com 3 Create soft link to link lib systemd system helloworld service 4 After these setting the ALX 9000 will execute binary helloworld at boot time root icpdas ln s lib systemd s...

Page 74: ...n 1 0 0 Page 74 Copyright 2024 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 Application for ALX 9000 In this chapter ICP DAS provides extra module supported and instructions to enhan...

Page 75: ...mail service icpdas com 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 updat...

Page 76: ...cure 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 pl...

Page 77: ...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 t...

Page 78: ...ersion 1 0 0 Page 78 Copyright 2024 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 6 Additional Support In this chapter ICP DAS provides extra module supported and instructions to enhanc...

Page 79: ...mbedded 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...

Page 80: ...e provided by ICP DAS will be satisfied and it includes Technical Support Driver Update OS_Image LinPAC_SDK and User s Manual Download etc Users can refer to the following web site to get more informa...

Page 81: ...pporting ALX 9000 One is high communication speed I 9K series modules with parallel interface the other is I 97K series modules with serial interface The differences between the two series are listed...

Page 82: ...ta transmission without the need for the central processing unit to intervene in processing Under the burden of the processor at the same level DMA is a fast data transfer method which can provide a l...

Page 83: ...opyright 2024 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com C Revision History This chapter provides revision history information to this document The table below shows the revision his...

Reviews: