Moxa UPort 1250I [49/50] Setting the serial parameters
![Moxa UPort 1450I [49/50] Setting the serial parameters](/views2/1198322/page49/bg31.png)
UPort 1200/1400/1600 Series Driver Installation
2-37
Setting the Serial Parameters
After installing the Moxa Linux Driver, you will be able to configure parameters.
1. Serial Interface:
The UPort 1250/1250I/1450/1450I/1650-8/1650-16 supports four interfaces: RS-232, RS-485 2W,
RS-485 4W, RS-422. If you want to switch to a different interface, execute the setserial command to set the
port’s interface. The supported parameters are listed below.
Parameter Value Interface
0x0 RS-232
0x1 RS-485 2W
0x2
RS-422
0x3 RS-485 4W
Example:
(i)
The following command sets
the interface of “/dev/ttyMXUSB0” to RS-422:
# setserial /dev/ttyMXUSB0 port 0x2
(ii)
Use the following command to l
ook up the serial settings of the current port:
# setserial
-g /dev/ttyMXUSB0
2. Serial Baudrate:
spd_hi
Use 57.6
KB when the application requests 38.4 KB.
spd_vhi
Use 115.2
KB when the application requests 38.4 KB.
spd_shi
Use 230 KB when the application requests 38.4 KB.
spd_warp
Use
460 KB when the application requests 38.4 KB.
spd_normal
Use 38.4
KB when the application requests 38.4 KB.
Example:
# setserial /dev/ttyMXUSB0 spd_vhi
Troubleshooting
1. Compile error
Building a Moxa driver requires kernel header files. If you get a compile error, run
rpm -qa | grep kernel to check if the kernel-source package is installed properly. If not, get the
kernel-source irpm package and run rpm -ivh <pacakge> to install it. You also need to make sure the
build tool is ready by including make/gcc/lib. See Linux related documents for more information.
2. No such file or directory
This problem occurs when a device node is not generated automatically when loading the driver. It usually
happens with previous kernel versions, such as versions 2.6.0 to 2.6.5. Therefore, just execute the make
node script “upmknod” to generate the device node.
Содержание
- Edition 6 november 2016 1
- Www moxa com product 1
- Copyright notice 2
- Disclaimer 2
- Technical support contact information 2
- Trademarks 2
- Uport 1200 1400 1600 series user s manual 2
- Www moxa com support 2
- Table of contents 3
- Introduction 4
- Addctm automatic data direction control for rs 485 5
- Ardc automatic recovery data communication 5
- Automatic data direction control for rs 485 5
- Ordering information 5
- Overview 5
- Package checklist 5
- Uport 1200 1400 1600 series introduction 5
- Optional accessories can be purchased separately 6
- Product features 6
- Uport 1200 1400 1600 series introduction 6
- Driver support 7
- Performance 7
- Physical characteristics 7
- Product specifications 7
- Serial communication parameters 7
- Serial interface 7
- Serial line protection 7
- Serial signals 7
- Uport 1200 1400 1600 series introduction 7
- Environmental limits 8
- Power requirements 8
- Uport 1200 1400 1600 series introduction 8
- Warranty 8
- Panel layout 9
- Uport 1200 1400 1600 series introduction 9
- Uport 1250 9
- Uport 1250i 9
- Uport 1410 1450 1450i 9
- Uport 1610 8 1650 8 9
- Dimensions 10
- Uport 1200 1400 1600 series introduction 10
- Uport 1250 10
- Uport 1250i 10
- Uport 1610 16 1650 16 10
- Uport 1200 1400 1600 series introduction 11
- Uport 1410 1450 1450i 11
- Uport 1610 8 1650 8 11
- Uport 1200 1400 1600 series introduction 12
- Uport 1610 16 1650 16 12
- Driver installation 13
- Installing the windows driver 14
- Uport 1200 1400 1600 series driver installation 14
- Uport s usb usage limitation 14
- Uport 1200 1400 1600 series driver installation 15
- Buzzer uport 1400 and 1600 only 16
- Connecting the hardware 16
- Hardware description 16
- Uport 1200 1400 1600 series driver installation 16
- Using an external power source 16
- Adjustable pull high low resistors for the rs 485 port 17
- Connecting to a serial device 17
- Led indicators 17
- Uport 1200 1400 1600 series driver installation 17
- Uport 1250 1250i 17
- Uport 1400 1600 17
- Uport 1200 1400 1600 series driver installation 18
- Case 1 the uport driver is certified 19
- Case 2 the uport driver is not certified 19
- Installing the driver for the converter 19
- Uport 1200 1400 1600 series driver installation 19
- Uport 1200 1400 1600 series driver installation 20
- Installing the driver for the ports 21
- Uport 1200 1400 1600 series driver installation 21
- Uport 1200 1400 1600 series driver installation 22
- Uport 1200 1400 1600 series driver installation 23
- Configuring the ports 24
- Uport 1200 1400 1600 series driver installation 24
- Port settings 25
- Uport 1200 1400 1600 series driver installation 25
- Uport 1200 1400 1600 series driver installation 26
- Advanced settings 27
- Uport 1200 1400 1600 series driver installation 27
- Uport 1200 1400 1600 series driver installation 28
- Enable fixed base com mode 29
- Fixed base com 29
- Uport 1200 1400 1600 series driver installation 29
- Uport 1200 1400 1600 series driver installation 30
- Uport 1200 1400 1600 series driver installation 31
- Uninstalling the uport 32
- Uport 1200 1400 1600 series driver installation 32
- Uninstalling the driver 33
- Uport 1200 1400 1600 series driver installation 33
- Installing the windows ce driver 34
- Uport 1200 1400 1600 series driver installation 34
- Installation procedure 35
- Installation with an installation package for win ce 6 35
- Uport 1200 1400 1600 series driver installation 35
- Uport 1200 1400 1600 series driver installation 36
- Uport 1200 1400 1600 series driver installation 37
- Uport 1200 1400 1600 series driver installation 38
- Uport 1200 1400 1600 series driver installation 39
- Uport 1200 1400 1600 series driver installation 40
- Uport 1200 1400 1600 series driver installation 41
- Installation with an installation package for win ce 5 42
- Uport 1200 1400 1600 series driver installation 42
- Uport 1200 1400 1600 series driver installation 43
- For win ce 5 driver 44
- For win ce 6 driver 44
- Removing the moxa win ce 5 ce6 driver 44
- Uport 1200 1400 1600 series driver installation 44
- Installation with a cab file 45
- Uport 1200 1400 1600 series driver installation 45
- Removing the moxa win ce 5 ce6 driver 46
- Uport 1200 1400 1600 series driver installation 46
- Cd mkdir moxa cd moxa cp dev fd0 driv_linux_uport_v1 x_build_xxx tgz tar xvfz driv_linux_uport_v1 x_build_xxx tgz 47
- Driv_linux_uport_v1 x_build_xxx tgz tar xvfz driv_linux_uport_v1 x_build_xxx tgz 47
- Driver files 47
- Installing the linux driver 47
- Linux kernel 2 x and 3 x 47
- Port uport models 47
- Uport 1200 1400 1600 series driver installation 47
- Building the moxa driver 48
- Installing the moxa driver 48
- Loading the moxa driver 48
- Ls dev ttymxusb 48
- Make install 48
- Make remove 48
- Modprobe mxuport 48
- Module driver configuration 48
- Rmmod mxuport rmmod mxusbserial 48
- Uninstalling the moxa driver 48
- Unloading the moxa driver 48
- Uport 1200 1400 1600 series driver installation 48
- Setserial dev ttymxusb0 port 0x2 49
- Setserial dev ttymxusb0 spd_vhi 49
- Setserial g dev ttymxusb0 49
- Setting the serial parameters 49
- Troubleshooting 49
- Uport 1200 1400 1600 series driver installation 49
- Db9 male rs 232 422 485 port 50
- Db9 male rs 232 port 50
- Mini db9f to tb for rs 422 485 wiring 50
- Serial port pin assignments 50
Похожие устройства
- Moxa UPort 1250I Руководство по аппаратной части
- Moxa UPort 1250I Технические характеристики
- Moxa UPort 1410 Инструкция по эксплуатации
- Moxa UPort 1410 Руководство пользователя Англ.
- Moxa UPort 1410 Руководство по аппаратной части
- Moxa UPort 1410 Технические характеристики
- Moxa UPort 1450 Инструкция по эксплуатации
- Moxa UPort 1450 Руководство пользователя Англ.
- Moxa UPort 1450 Руководство по аппаратной части
- Moxa UPort 1450 Технические характеристики
- Moxa UPort 1450I Инструкция по эксплуатации
- Moxa UPort 1450I Руководство пользователя Англ.
- Moxa UPort 1450I Руководство по аппаратной части
- Moxa UPort 1450I Технические характеристики
- Moxa UPort 1610-8 Инструкция по эксплуатации
- Moxa UPort 1610-8 Руководство пользователя Англ.
- Moxa UPort 1610-8 Руководство по аппаратной части
- Moxa UPort 1610-8 Технические характеристики
- Moxa UPort 1650-8 Инструкция по эксплуатации
- Moxa UPort 1650-8 Руководство пользователя Англ.