Difference between revisions of "UIO-4034TEST"
From ESS-WIKI
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
{| border="0" cellpadding="5" cellspacing="0" style="width:100%;" | {| border="0" cellpadding="5" cellspacing="0" style="width:100%;" | ||
|- | |- | ||
− | | style="width: 20%;text-align: center;vertical-align: top;" | [[File: | + | | style="width: 20%;text-align: center;vertical-align: top;" | [[File:UIO-4034 290.jpg|RTENOTITLE]] |
| style="width:80%; vertical-align: top;padding-left: 5px;" | | | style="width:80%; vertical-align: top;padding-left: 5px;" | | ||
{| border="0" cellpadding="5" cellspacing="0" style="width:100%;" | {| border="0" cellpadding="5" cellspacing="0" style="width:100%;" | ||
|- | |- | ||
− | | style="width:22%;min-width: | + | | style="width:22%;min-width:250px;vertical-align: top;line-height:20px;color: #333333;" | |
<span style="color: #4e62a1;font-weight: bold;">'''General Specificationn'''</span> | <span style="color: #4e62a1;font-weight: bold;">'''General Specificationn'''</span> | ||
Line 36: | Line 36: | ||
|- | |- | ||
| style="vertical-align: top;line-height:20px;;padding-left:5px;background-color: #f7f7f7;" | UIO-4034 | | style="vertical-align: top;line-height:20px;;padding-left:5px;background-color: #f7f7f7;" | UIO-4034 | ||
− | | style="vertical-align: top;line-height:20px;;padding-left:5px;background-color: #f7f7f7;" | UIO-4034, 1 CAN, | + | | style="vertical-align: top;line-height:20px;;padding-left:5px;background-color: #f7f7f7;" | UIO-4034, 1 CAN, 2 RS-232 |
− | 2 RS-232 | ||
− | |||
|} | |} | ||
<p style="text-align: right;padding-right:0px;padding-bottom:10px;padding-top:10px;">[http://ess-wiki.advantech.com.tw/view/AIM-Linux/UIO40-Express <span style="color:#994895;border:solid 1px #994895; padding:10px 20px;text-decoration: none;">Find Other Products</span>]</p> | <p style="text-align: right;padding-right:0px;padding-bottom:10px;padding-top:10px;">[http://ess-wiki.advantech.com.tw/view/AIM-Linux/UIO40-Express <span style="color:#994895;border:solid 1px #994895; padding:10px 20px;text-decoration: none;">Find Other Products</span>]</p> |
Latest revision as of 08:42, 27 June 2023
[edit]
Note: RS-232: /dev/ttymxc2
RS-485: pin1 data- & pin2 data+ (ttyUSB0)
RS-232
$ stty -F /dev/ttymxc2 -echo -onlcr 115200 crtscts $ cat /dev/ttymxc2 & $ echo "Serial Port Test" > /dev/ttymxc2
CAN Bus
$ ip link set can0 up type can bitrate 125000 $ ifconfig can0 up $ ip link set can1 up type can bitrate 125000 $ ifconfig can1 up $ candump can0 & $ cansend can1 1F334455#1122334455667788
RS-232(COM3):
RS-232 x2 (ttymxc1 & ttymxc3) # stty -F /dev/ttymxc1 -echo -onlcr 115200 # cat /dev/ttymxc1 & # echo "Serial Port Test" > /dev/ttymxc1
RS-232(COM4)
# stty -F /dev/ttymxc3 -echo -onlcr 115200 # cat /dev/ttymxc3 & # echo "Serial Port Test" > /dev/ttymxc3
CAN
# ip link set can0 up type can bitrate 125000 # ifconfig can0 up # ip link set can1 up type can bitrate 125000 # ifconfig can1 up # candump can0 & # cansend can1 1F334455#1122334455667788