background image

UC-8112-LX-STK Manual 

Wireless Module Settings 

 

5-4 

Bridging the Cellular to Serial Interface

 

This section describes how to enable the UC-8112 to communicate with peripheral devices. 

UDP Server to Serial Device 

Type the following command in the Command Shell so that the signal between the DUP server and serial device 
can be transmitted: 

socat UDP-SENDTO:REMOTE IP:REMOTE PORT 
file:/dev/ttyM0,nonblock,raw,echo=0,waitlock=/var/run/ttyM0,b115200 

UDP Client to Serial Device

 

Type the following command in the Command Shell so that the signal between the DUP client and serial device 
can be transmitted. 

socat UDP-SENDTO:REMOTE IP:REMOTE PORT 
file:/dev/ttyM0,nonblock,raw,echo=0,waitlock=/var/run/ttyM0,b115200 

TCP Server to Serial Device

 

Type the following command in the Command Shell so that the signal between the TCP server and serial device 
can be transmitted. 

socat -v TCP-LISTEN: LISTEN PORT,reuseaddr,fork 
file:/dev/ttyM0,nonblock,raw,echo=0,waitlock=/var/run/ttyM0,b115200 

TCP Client to Serial Device

 

Type the following command in the Command Shell so that the signal between the TCP client and serial device 
can be transmitted: 

socat TCP:REMOTE IP:REMOTE PORT 
file:/dev/ttyM0,nonblock,raw,echo=0,waitlock=/var/run/ttyM0,b115200 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Summary of Contents for UC-8112-LX-STK

Page 1: ...UC 8112 LX STK User s Manual First Edition April 2015 www moxa com product 2015 Moxa Inc All rights reserved Reproduction without permission is prohibited...

Page 2: ...erves the right to make improvements and or changes to this manual or to the products and or the programs described in this manual at any time Information provided in this manual is intended to be acc...

Page 3: ...dule 3 5 Installing the Wi Fi Module 3 7 4 Remote Configuration and Management 4 1 Connecting to the UC 8112 via Webmin 4 2 Configuring Webmin 4 2 Change Language and Theme 4 3 Webmin Action Logs 4 3...

Page 4: ...the Wi Fi Module 5 2 Bridging the Cellular to Serial Interface 5 4 UDP Server to Serial Device 5 4 UDP Client to Serial Device 5 4 TCP Server to Serial Device 5 4 TCP Client to Serial Device 5 4 Confi...

Page 5: ...UC 8100 computer optional cellular and Wi Fi modules and various software packages this compact Starter Kit helps users establish their system architecture in no time The following topics are covered...

Page 6: ...11b g n UC 8112 Starter Kit Package Checklist Before installing the UC 8112 verify that the package contains the following options UC 8112 LX Computer Kit UC 8112 LX computer x 1 Console cable x 1 GPS...

Page 7: ...e Even Odd Space Mark Flow Control XON XOFF ADDC automatic data direction control for RS 485 Baudrate Max 921600 bps Serial Signals RS 232 TxD RxD RTS CTS GND RS 422 TxD TxD RxD RxD GND RS 485 4w TxD...

Page 8: ...225 mA 24 VDC Standards and Certifications Safety UL 60950 1 EN 60950 1 CCC GB9254 GB17625 1 EMC EN55022 Class B EN 55024 4 2 EN 55024 4 3 EN 55024 4 4 FCC Part 15 Subpart B Class A Green Product RoHS...

Page 9: ...y of devices The UC 8112 comes with a reliable and stable hardware platform that lets you devote the bulk of your time to application development In this chapter we provide basic information about the...

Page 10: ...UC 8112 LX STK Manual Hardware Introduction 2 2 Appearance Front View Top Bottom Views Top Bottom...

Page 11: ...en Power is on and the computer is working normally Off Power is off LAN1 2 On RJ45 connector Green Steady On 100 Mbps Ethernet link Blinking Data transmitting Yellow Steady On 10 Mbps Ethernet link B...

Page 12: ...mode is enabled the green Diagnosis LED will keep blinking Any successful pairing will disable the automatic pairing mode immediately Off Blinking Off Automatic Pairing QR Code Scanning the QR Code o...

Page 13: ...ou need to change the battery contact the Moxa RMA service team WARNING There is a risk of explosion if the battery is replaced by an incorrect type Placement Options There are two sliders on the back...

Page 14: ...unting brackets on the side panel of the computer and fasten with screws Install the computer on a wall or cabinet by fastening two screws for each bracket NOTE Before tightening the screws into the w...

Page 15: ...esting purposes The following topics are covered in this chapter Wiring Requirements Connecting the Power Grounding the Unit Connecting to the Console Port Connecting to the Network Connecting to a Se...

Page 16: ...system ATTENTION Safety First Be sure to disconnect the power cord before doing installations and or wiring Electrical Current Caution Calculate the maximum possible current in each power wire and co...

Page 17: ...e with nearby radio and television reception It is essential that only the supplied power cord be used You are cautioned that changes or modifications not expressly approved by the party responsible f...

Page 18: ...configured by software for RS 232 RS 422 or 2 wire RS 485 The precise pin assignments are shown in the following table Terminal Block RS 232 422 485 Pinouts Pin RS 232 RS 422 RS 485 1 TXD TXD 2 RXD TX...

Page 19: ...llow these steps 1 Remove the screws on the side panel and take off the cover 2 Insert the micro SD card into the socket Make sure you insert the card in the correct direction 3 Replace the cover to c...

Page 20: ...enna connectors on the cellular module Connect the cable to either connector 4 Plug the other end of the cable into the connector on the front panel of the UC 8112 Remove the black plastic cover first...

Page 21: ...lular module into the socket and then tighten the screws to fasten the socket 3 Use the two silver screws to fasten the stabilization bracket to the Wi Fi module Make sure you connect the bracket in t...

Page 22: ...n 3 8 4 Install the other end of the cable onto the connector on the front panel of the UC 8112 Remove the black plastic cover first 5 Install the connector place the locking washer first and then tig...

Page 23: ...apter Connecting to the UC 8112 via Webmin Configuring Webmin Change Language and Theme Webmin Action Logs Webmin Configuration Webmin Users Configuring System Bootup and Shutdown Disk and Network Fil...

Page 24: ...ng information for Username and Password Username root Password root The main menu options will be displayed on the left and the main information of the UC 8100 will be shown in the middle Check all o...

Page 25: ...Action Logs When the file log function has been enabled you may find the action log here If you wish to search the logs in all modules select In any module if you wish to search the logs in the speci...

Page 26: ...computer IP Access Control This option helps you configure the IP address control for the UC 8100 computer You may allow or deny the specific IP addresses You may also decide whether or not to resolv...

Page 27: ...Other functions are also provided Users may configure all settings on this page When finished Click Save For other configurations click Return to Webmin configuration Proxy Servers and Downloads This...

Page 28: ...ackground color text color and link color etc When finished click Save For other configurations click Return to Webmin configuration Webmin Modules This option allows users to install modules on the U...

Page 29: ...y you may update or upgrade the operating system and environment from this option When finished click Save For other configurations click Return to Webmin configuration Language This option allows use...

Page 30: ...bmin Select the options from the following figure When finished click Save For other configurations click Return to Webmin configuration Upgrade Webmin This option allows users to upgrade the Webmin v...

Page 31: ...ure all settings in this figure When finished click Save For other configurations click Return to Webmin configuration Two Factor Authentication This option allows users to enable the addition device...

Page 32: ...these modules to different categories When finished click Change Categories For other configurations click Return to Webmin configuration Edit Categories This option allows users to edit the name of t...

Page 33: ...field When finished click Save For other configurations click Return to Webmin configuration Webmin Themes This option allows users to select the Webmin themes from the drop down list When finished cl...

Page 34: ...ck Save For other configurations click Return to Webmin configuration File Locking This option allows users to lock specific files to prevent concurrent modification which could lead to file corruptio...

Page 35: ...ground Status Collection This option allows users to decide if they want to collect the status in the system background When finished click Save For other configurations click Return to Webmin configu...

Page 36: ...tions click Return to Webmin configuration Web Server Options This option allows users to configure the web server settings When finished click Save For other configurations click Return to Webmin con...

Page 37: ...and the text for email content When finished click Save If you want to send the email immediately click Send Email For other configurations click Return to Webmin configuration SSL Encryption This op...

Page 38: ...e the certificate authority All detailed descriptions are displayed on this page When finished click Save For other configurations click Return to Webmin configuration Webmin Users This option allows...

Page 39: ...ng Unix User Authentication This option allows users to manage user authentication Users may decide or deny access for specific Unix users When finished click Save For other configurations click Retur...

Page 40: ...factor authentication you may check the status of the two factor authentication on this page Setup RBAC This option allows users to set up RBAC Password Restrictions This option allows users to config...

Page 41: ...ase This option allows users to configure the user and group database settings When finished click Save For other configurations click Return to Webmin configuration Configuring System When you click...

Page 42: ...ows users to enable specific actions when the system boots up or shuts down Click a button to perform the associated function Disk and Network Filesystems This option allows users to mount the system...

Page 43: ...otup This option allows users to create or delete the initial process file when the computer is booting up If you want to delete something select the ID and click Delete Selected Processes at the bott...

Page 44: ...guration and Management 4 22 Running Processes This option allows users to view the current running processes Click Search to search for a the specific process You can also terminate or kill a process...

Page 45: ...led cron jobs or create a new scheduled cron job To create a new cron job click the Create a new scheduled cron job button and enter the information in the fields as required When finished click Creat...

Page 46: ...n finished click Save Software Package Updates This option allows users to update the software package on the UC 8100 computer Select the package and then click Update Selected Packages You may also c...

Page 47: ...ages This option allows users to search for installed packages or install a new package You may also upgrade all packages on this page System Documentation This option allows users to search the syste...

Page 48: ...and edit the current system log or create a new system log Click the system log you want to edit and then provide the relevant information Click Save You may also delete this log by clicking Delete C...

Page 49: ...the appropriate option to continue the configuration you would like to take care of Apache Webserver This option allows users to view or delete the current Apache Webservers You may also create a vir...

Page 50: ...users to configure the DHCP server settings Various functions are also provided including Edit Client Options Edit TSIG keys Manually Edit Configuration List Active Leases To edit the subnet settings...

Page 51: ...nfiguration When finished click Save Configuring Others Click Others Two options will be displayed Click the appropriate option to take further action Command Shell This option allows users to manuall...

Page 52: ...ke further action Bandwidth Monitoring This option allows users to configure the network interface and the bandwidth condition Select the network interface and then click Setup Now for additional conf...

Page 53: ...te view or apply the current network interfaces Select the functions you wish to use Routing and Gateways This option allows users to configure the routing and gateways configurations When finished cl...

Page 54: ...Hardware Click Hardware Two options will be displayed Click the appropriate option to take further action Partitions and Local Disks This option allows users to edit the disk partitions You may edit...

Page 55: ...ion allows users to configure system time and hardware time When finished click Apply or Save Viewing More Options Four more options can be found in the left lower corner of the Webmin window Click an...

Page 56: ...t the file and then click Export as CSV System Information This item allows users to view the current system information Refresh Modules This item allows users to refresh the current modules on the UC...

Page 57: ...ter The following topics are covered in this chapter Enabling Cellular Module Configuring the Cellular Module Configuring the Wi Fi Module Bridging the Cellular to Serial Interface UDP Server to Seria...

Page 58: ...ular module type the following command cell_mgmt power_on To keep the UC 8112 computer constantly connecting to the network type the following command keep_alive To enable the routing function of the...

Page 59: ...KEY Configuring WPA WPA2 SSID Password PSK To configure the SSID and password for WPA WPA2 edit the following content WPA WPA2 PSK network ssid WES_AP proto WPA WPA2 RSN key_mgmt WPA PSK pairwise TKIP...

Page 60: ...Shell so that the signal between the DUP client and serial device can be transmitted socat UDP SENDTO REMOTE IP REMOTE PORT file dev ttyM0 nonblock raw echo 0 waitlock var run ttyM0 b115200 TCP Serve...

Page 61: ...psk txt path certificate etc racoon certs remote anonymous exchange_mode main aggressive proposal encryption_algorithm aes_256 hash_algorithm sha256 authentication_method pre_shared_key dh_group modp1...

Page 62: ...the IPSec function when the system starts up 1 2 Locate the Bootup and Shutdown option in Webmin 3 Click Create a new bootup and shutdown action 4 Enter the following commands in the Bootup commands f...

Page 63: ...6 6 Data Acquisition This chapter describes how to use the UC 8112 computer to acquire data from an ioLogik E1242 RTU controller The following topics are covered in this chapter Acquiring Data...

Page 64: ...1242 RTU controller To acquire data from the controller use the following commands in the Command Shell field To read the value from Digital Input 0 Em2240 d 192 168 31 66 i 0 To read the value from A...

Page 65: ...o provide reasonable protection against harmful interference when the equipment is operated in a commercial environment This equipment generates uses and can radiate radio frequency energy and if not...

Reviews: