EasyManuals Logo

Moxa Technologies NPort 5230 User Manual

Moxa Technologies NPort 5230
194 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #159 background imageLoading...
Page #159 background image
NPort 5000 Series User Manual
159
Install a Moxa layer into the Yocto Project
1. Install the Moxa layer and Real TTY recipes into the Yocto Project.
$ cd /home/user/poky
$ source oe-init-build-env
2. Use a text editor to add the following content to the configuration file:
'./conf/bblayers.conf':
3. Add this line "/home/user/poky/meta-moxa' to BBLAYERS
BBLAYERS ?= " \
/home/user/poky/meta \
/home/user/poky/meta-poky \
/home/user/poky/meta-yocto-bsp \
/home/user/poky/meta-raspberrypi \
/home/user/poky/meta-moxa \
"
4. Use a text editor to add the following content to the configuration file:
'./conf/local.conf':
IMAGE_INSTALL_append += " realtty-tools realtty-kernel"
Deploy the Yocto image in Raspberry Pi
Build the image with the Real TTY driver:
$ cd /home/user/poky
$ source oe-init-build-env
$ bitbake core-image-base
An SD-card format image (.rpi-sdimg) is generated under
/home/user/poky/build/tmp/deploy/images/raspberrypi3. It is suggested to use the Raspberry Pi official tool
‘rpi-imager’ to burn the image into the SD-card and then boot it into the Linux kernel in Raspberry Pi.
Start the Real TTY driver in Raspberry Pi
After logging into the system, start the Real TTY driver
root@raspberrypi3:~# modprobe npreal2
[ 39.906812] npreal2: loading out-of-tree module taints kernel.
[ 39.913379] MOXA Async/NPort server family Real TTY driver ttymajor 33 calloutmajor 38 verbose 1
(Ver5.1)
For example, we illustrate how to add a 4-port NPort with the IP address: 192.168.127.254
root@raspberrypi3:~# cd /usr/lib/npreal2/driver
root@raspberrypi3:/usr/lib/npreal2/driver# ./mxaddsvr 192.168.127.254 4
Adding Server...
ttyr00, cur00
ttyr01, cur01
ttyr02, cur02
ttyr03, cur03
Added Real Com IP : 192.168.127.254
Now the device node /dev/ttyr00 ~ /dev/ttyr03 is created for tty port use.

Table of Contents

Other manuals for Moxa Technologies NPort 5230

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Moxa Technologies NPort 5230 and is the answer not in the manual?

Moxa Technologies NPort 5230 Specifications

General IconGeneral
Isolation1.5 kV
CertificationCE, FCC, EN
Serial interface typeRS-232, RS-422, RS-485
Serial ports quantity2
Ethernet LAN data rates10, 100 Mbit/s
Surge protection voltage0.5 kV
Ethernet LAN (RJ-45) ports1
Supported network protocolsICMP, IP, TCP, UDP, DHCP, BOOTP, Telnet, DNS, HTTP, SMTP, IGMP v1/2
Compatible operating systemsWindows 95/98/ME/NT/2000/XP/2003/Vista Windows XP/2003/Vista (32/64-bit) SCO Unix SCO OpenServer UnixWare 7 UnixWare 2.1, Unix SVR 4.2 Unix QNX 4.25, QNX 6 Solaris 10 FreeBSD AIX 5.x HP-UX 11i
Storage temperature (T-T)-20 - 85 °C
Operating temperature (T-T)0 - 55 °C
Operating relative humidity (H-H)5 - 95 %
Input voltage12 - 48 V
SafetyUL, TÜV, DNV
Weight and Dimensions IconWeight and Dimensions
Weight340 g
Dimensions (WxDxH)67 x 100.4 x 22 mm

Related product manuals