ICP DAS USA LinPAC-2841 Series User Manual

ICP DAS USA LinPAC-2841 Series User Manual

Implement industry control with linux technique

Advertisement

Quick Links

LinPAC-2841 Series User Manual
Implement industry control with Linux Technique
Service and usage information for LP-2841 Series LinPAC
Warranty
All products manufactured by ICP DAS are under warranty regarding defective materials for a period of
one year, starting from the date of delivery to the original purchaser.
Warning
ICP DAS assumes no liability for damages 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.
Copyright
Copyright © 2023 by ICP DAS. All rights are reserved.
Trademark
The names used for identification only may be registered trademarks of their respective companies.
Contact US
If you have any question, please feel free to contact us.
We will give you quick response within 2 workdays.
Email:
service@icpdas.com
LinPAC-2841 Series User Manual
Version 1.0
page: 1

Advertisement

Table of Contents
loading

Summary of Contents for ICP DAS USA LinPAC-2841 Series

  • Page 1 LinPAC-2841 Series User Manual Implement industry control with Linux Technique Service and usage information for LP-2841 Series LinPAC Warranty All products manufactured by ICP DAS are under warranty regarding defective materials for a period of one year, starting from the date of delivery to the original purchaser.
  • Page 2: Table Of Contents

    --------------------------------------------------------------------------------------------- 24 4.1 D LP-2841 SDK OWNLOAD THE ----------------------------------------------------------------------------------- 24 4.2 C OMPILE AND XECUTE THE DEMO ------------------------------------------------------------------------------- 25 APPENDIX A. XV-BOARD MODULES ----------------------------------------------------------------------------- 26 APPENDIX B. SERVICE INFORMATION SOFTWARE INTRODUCTION ----------------- 27 LinPAC-2841 Series User Manual Version 1.0 page: 2...
  • Page 3: Introduction

    The LP-2841M are equipped a Quad-core ARM CPU(1.6 GHz) and running a Linux OS(kernel 5.4.x) operating system. The optional I/O expansion board, XV-board, provides high-protection I/O. Using the built-in Flash and microSD, the LP-2841M can save application program, image file and data. LinPAC-2841 Series User Manual Version 1.0 page: 3...
  • Page 4: Features

    Linux kernel 5.4.70  Hard Real-Time Capability  64-bit Hardware Serial Number for Software Protection  I/O Expansion Bus  2 Ethernet Port(10/100/1000M)  3 Serial Ports (RS-232/485)  Operating Temperature: -25 ~ +75°C LinPAC-2841 Series User Manual Version 1.0 page: 4...
  • Page 5: Pecifications

    COM Port Formats Speed 115.2 Kbps Max. Data Bit 5, 6, 7, 8 Parity None, Even, Odd, Space, Mark Stop Bit 1, 1.5, 2 Pull High/Low Resistor 1kΩ default, 150kΩ (for RS-485) LinPAC-2841 Series User Manual Version 1.0 page: 5...
  • Page 6 Dimensions (W x L x H) 42 mm x 164 mm x 169 mm Installation DIN-Rail Mounting Environment Operating Temperature -25 ~ +75 °C Storage Temperature -40 ~ +80 °C Humidity 10 ~ 90% RH, non-condensing LinPAC-2841 Series User Manual Version 1.0 page: 6...
  • Page 7: Hardware Introduction

    The LP-2841 contains two Ethernet port for use with network devices. 2. LED Indicators 3. USB Port The LP-2841 contains two USB 2.0 port that allow support for the USB devices such as mouse, keyboard or two external USB hard drive. LinPAC-2841 Series User Manual Version 1.0 page: 7...
  • Page 8 RS-232 (RxD, TxD and GND); Non- ttyO4 /dev/ttyO4 or COM4 9600 isolated ttyO5 /dev/ttyO5 or COM5 RS-485 (Data+, Data-); 2500 VDC isolated 9600 ttyO2 /dev/ttyO2 or COM2 RS-485 (Data+, Data-); 2500 VDC isolated 9600 LinPAC-2841 Series User Manual Version 1.0 page: 8...
  • Page 9 Number of slots I-7K XV-board and 485 ports LP-2x4x √ √ For more information about the I/O expansion modules that are compatible with the LP-2841, please refer to the following website links: https://www.icpdas.com/en/product/guide+Remote__I_O__Module__and__Unit+PAC__%EF%BC%86amp;__Local __I_O__Modules+XV-board LinPAC-2841 Series User Manual Version 1.0 page: 9...
  • Page 10: Ounting The Lp-2

    Mounting the LP-2x4x DIN-Rail mounting The LP-2x41 has simple rail clips for mounting reliably on a standard 35 mm DIN-Rail. LinPAC-2841 Series User Manual Version 1.0 page: 10...
  • Page 11: Nstalling The Xv-Board

    LP-2x4x, please refer to: http://www.icpdas.com/root/product/solutions/hmi_touch_monitor/touchpad/xv- board_selection.html Step 1: Remove stripped screws and then remove the cover. Step 2: Hold the XV-board vertically and align the socket, and then carefully press the XV-board onto the socket. LinPAC-2841 Series User Manual Version 1.0 page: 11...
  • Page 12 Step 3: Close the cover and then fasten the screws. Step 4: Insert the I/O terminal and then stick the I/O sticker. LinPAC-2841 Series User Manual Version 1.0 page: 12...
  • Page 13: System Settings

    ./root/lp2841-imx8mm-sdk/examples/common/wdt To enable LP-2841's WDT and time out is 8 secs. Press Enter to refresh hardware watch dog (ESC to Disable) Refresh watchdog timer Refresh watchdog timer Refresh watchdog timer root@icpdas:~# LinPAC-2841 Series User Manual Version 1.0 page: 13...
  • Page 14: Emo At Boot Time

    Type=oneshot ExecStart=/usr/sbin/helloworld [Install] WantedBy=multi-user.target 3. Use “systemctl” command to add the script “helloworld.service” automatically. root@icpdas:~# systemctl enable helloworld.service 4. After setting the file, the LP-2841 will execute binary “helloworld” at boot time LinPAC-2841 Series User Manual Version 1.0 page: 14...
  • Page 15: Remotec

    2. Using the serial terminal software (ex Putty or others) and set the baud rate “115200” to connect to the device. 3. Type default ID- “root” and password- “icpdas” to login. Fig 3-1 Console Connection LinPAC-2841 Series User Manual Version 1.0 page: 15...
  • Page 16: Etwork Onnection

    Fig. 3-2 DCHP/Static IP Setting 4. After saving the new network setting, user can use the command “/etc/init.d/networking” to enable the setting. 5. User can use the new network setting to connect to the device. LinPAC-2841 Series User Manual Version 1.0 page: 16...
  • Page 17: Basic Linux

    LP-2841 Fig. 3-3 Basic Command LinPAC-2841 Series User Manual Version 1.0 page: 17...
  • Page 18: Tility

    Get digital output value from XV-Board getxvao Get analog output value from XV-Board setmodbus Set the modbus device getmodbus Get the status of modbus device Get the rotary switch ID Set LED(L1~L3) Fig. 3-4 i-Talk Utility LinPAC-2841 Series User Manual Version 1.0 page: 18...
  • Page 19: Upport

    The command status serves to check the status of the service. Show the service information about one or more units, followed by the most recent log data from the journal. If no units are specified, it shows system status. root@icpdas:~# systemctl status helloworld.service LinPAC-2841 Series User Manual Version 1.0 page: 19...
  • Page 20 This removes all links to the unit files backing the specified units from the unit configuration directory and hence undoes any changes made by enabling or link. root@icpdas:~# systemctl disable helloworld.service LinPAC-2841 Series User Manual Version 1.0 page: 20...
  • Page 21: Sftp

    Windows Program “WinSCP” to access the device over network (please refer to Fig. 3-5 and Fig. 3-6). For free download “WinSCP” software, user can visit https://winscp.net/eng/download.php Fig. 3-5 WinSCP Login Fig. 3-6 WinSCP LinPAC-2841 Series User Manual Version 1.0 page: 21...
  • Page 22: Xfce Gui D

    Now the LP-2841 Linux provides the XFCE package, after user type “root” and password “icpdas” to login, the local terminal would execute the XFCE Desktop. Fig. 3-7 XFCE Desktop LinPAC-2841 Series User Manual Version 1.0 page: 22...
  • Page 23: Ackage Manager

    Internet.  To install a package run the following commands: root@icpdas:~# apt-get update root@icpdas:~# apt-get install <package>  To search available package run the following commands: root@icpdas:~# apt-cache search <package name> LinPAC-2841 Series User Manual Version 1.0 page: 23...
  • Page 24: Your First Program

    2. Download SDK on LP-2841M, and extract the .tgz file into to the root ( /root/icpdas/ ) directory. Download Path: https://www.icpdas.com/en/download/index.php?model=LP-2841M The toolkit consists of the following items: Libraries, header, examples files, etc. LP-2841M has built-in compiler tools, user just download SDK to the LP-2841M, then type 'make' command. LinPAC-2841 Series User Manual Version 1.0 page: 24...
  • Page 25: Compile And

    2) Linux 64-bit operating system lacks 32-bit support libraries. If your Linux PC is 64-bit OS, you must install 32-bit libraries on your system before you run the 32-bit version of the LinPAC SDK (Linux version). LinPAC-2841 Series User Manual Version 1.0 page: 25...
  • Page 26: Appendix A. Xv-Board Modules

    ● DI channel is dry contact, sink type. ● DO channel is open collector, sink type.  DIO Expansion  Relay Output Expansion  Multi-Function Expansion For more detailed information about these support modules, please refer to http://www.icpdas.com/root/product/solutions/hmi_touch_monitor/touchpad/xv-board_selection.html LinPAC-2841 Series User Manual Version 1.0 page: 26...
  • Page 27: Appendix B. Service Information Software Introduction

    Appendix B. Service Information Software Introduction  LinPAC-2841 Series Product Page: https://www.icpdas.com/en/download/show.php?num=8730&model=LP-2841M  LinPAC-2841 Series Document Download: https://www.icpdas.com/en/download/show.php?num=8730&model=LP-2841M  LinPAC-2841 Series Software Download: https://www.icpdas.com/en/download/index.php?model=LP-2841M  NS-205 and Power Supply’s Product Page (optional): https://www.icpdas.com/en/product/NS-205 https://www.icpdas.com/en/product/guide+Accessories+Power__Supplies+Power__Supply LinPAC-2841 Series User Manual Version 1.0...

This manual is also suitable for:

Linpac lp-2841m

Table of Contents