Home

V2400 Series Expansion Modules User`s Manual

image

Contents

1. 2 2 M PERE 2 2 NEP NND NEN NO UR 2 2 v a a ei ei Ida uA Ad 2 2 eh oe ete a cls elles 2 2 ae ae eae aaa aca 2 3 MM MM MM ucc 2 3 ERM 2 4 DIMENSIONS aiik 2 5 Hardware Connection Description aa aaea 3 1 Histallihg the EPM EXDaISIo MOQUE Sernik eate Eu tate Cod 3 2 Connecting Data Transmission Cables eus aout RR moms en 3 3 Connecting to the EPM 3032 Serial Port Module 2 2 2 0 0 0020 0 220 1414 8 1 4 3 3 Connecting to the EPM 3337 Wireless GPS 2 2 2 0 0 0 0 0 4 0 0 2 2 222 3 3 Connecting to the EPM 3438 DI DO Module 3 3 Connecting to the EPM 3112 CANbus Port Module csse nehm nnns 3 4 Connec
2. Er meme eter uie uri ope ace atta 4 23 Exarnple un ueste ecu uu Mu e E d tI III fl i 4 23 EPINMS3552 Driver cs e esu en o ea sa e t ri ek o i ese e cul aU GAS SOS UOS ceto dts 4 23 EPM 3552 Chipset COMMGULAUION sexa ames iba te va Satu i Pra Sd rac Pra Era var Pre dono bou ob cud 4 24 Configuration for Displaying only the 3552 2 2 0200 0 0 22020200 2 22022 2 4 26 Dynamically Changing the Display 4 26 EPMSDKOZ Driver eos ex e ce EM aw ct ewe M dadd kasd dead 4 26 Astala O m tx EUR 4 26 Configurig Power Control raura x rk TII ra XE ra NR YE ni nea d si ned VE MEN PU VORNE UE 4 27 SN E cda d MEME CM UMP DI M rM 4 28 EPM 3032 Driver lstallatigl 54 een qaa aaa cen teca 4 28 Cohfigurimg Seral PO MOGE GOK 4 31 Changing UART Mode Through Programming 2 2 1 1 1 0 0 4 046 6 anna nnn 4 35 EPIVIEST39 Driver 50 quac eee e ou ei
3. _ _ 4 36 uie in abuso uu Eo Ls 4 38 Moxa TuncHons for 4 38 Moxa 1 0 control definitions for 2 024 44044 444 7 74 4 4 39 EPM 3337 4 39 Wireless Module Driver stala 39 a AARE v 4 46 Configuring the GPRS HSDPA Connection without GPS 20 71 7 2 4 2 2 7 4 2 4 52 Enabling GPS Tuntctiofhalllyu eaa cda d dn a due 4 56 Configuring a Wireless NEN 4 58 Getting Wireless Module Information 4 62 ERE C ETSI E SLT LEID 4 63 EPIMSSTIZSProgkarnmilig s oir bene mre ddp to bus 4 65 CANBUSSLIDESEV M ea M 4 65 EPM 3532 DAVEr ___ 4 67 Ze OV MMIC ALO Ul eee scsi aa coe 4 69 Setting the
4. 2 Check if current power status is enabled or disabled Disabling Socket Power Take the following steps to disable the USB power on socket Execute mx dk02 control mfc exe Select the socket and change the status 1 2 3 Clicks apply to take effect 4 Check if the device is disabled Device Manager File Action View Help 2 E 802 11n Wireless LON Card Realtek PCIe SBE Family Controller Realtek PCIe Family Controller 2 Ports amp LPT i e Processors 4 Sound video and game controllers System devices Universal Serial Bus controllers Generic USB Hub gt Generic USB Hub gt Intel R Family USB Universal Host Controller 2728 gt Intel R Family USB Universal Host Controller 27 9 gt Intel R Family USB Universal Host Controller 27 gt Intel R Family USB Universal Host Controller 27 gt Intel R Family USB2 Enhanced Host Controller 27 gt USB Root Hub gt USB Root Hub gt USB Root Hub gt USB Root Hub gt LISB Root Hub LISB Display Adapters 4 82 V2400 Series Expansion Modules Software Installation and Programming Guide Enabling Socket Power Take the following steps to enable the USB power on socket 1 Execute mx dk02 control mfc exe 2 Select the socket and change the status 3 Clicks apply to take effe
5. Configuration Settings Connection Manager File and Folder Tasks 1 KD m Rename this File Move this file B Copv this File Publish this file to the Web E mail this X Delete this file hc25 32bit cat 773 hc25mdm inf Security Catalog Setup Information 12 KB hc25net inf 724 hc25ser inf Other Places Setup Information Setup Information KB 4 3KB Siemens Lj My Documents oo aoe 101 KB HH 99 KB Shared Documents 4 39 V2400 Series Expansion Modules Software Installation and Programming Guide 2 Click Next Device Driver Installation Wizard Welcome to the Device Driver Installation Wizard This wizard helps you install the software drivers that some computers devices need in order to work To continue click Next Cancel 3 Wait for the driver to install Device Driver Installation Wizard The divers are now installing Please wait while the drivers install This may take same time to complete 4 Click Finish to complete the driver installation Device Driver Installation Wizard Completing the Device Driver Installation Wizard The drivers were successtully installed on this computer Driver Status Siemens 4G Siemens Device Updated s Siemens AG Siemens Device Updated Siemens AG HC25LISB Device Updated 4 40
6. EE E 4 3 EPM 3439 Driver timentem tarta udo dida 4 4 59490 4 5 MP OMM 4 5 EPM S337 Diver ThstallatlOlD 4 14 4 15 Normal mode GPRS HSDPA functionality 4 4 72022 4 2 2 2 0 0 0 002 2 2 4 16 Multiplexer mode GPS and GPRS HSDPA dual 20 0 2 2 22 4 16 MOORING TOP DODO T 4 18 Setting Up a Wireless CONMECUON sisati ian aS doi De Ec a De et d 4 19 Getting LnforbmablOnh eu Ec eno da 4 20 tont od er dius ee eee ne 4 21 EPMSSTIZPIogratmmig ruri es a qu at emat 22772777 4 21 CANBUS ate 4 21 Moxa TUMCEIONS ue e to tu a dn t Ro ee a cu nic n rie er tet 4 21 Moxa delnitlons
7. You can issue 756 55 0 to the command port to stop GPS information Moxa cat dev pts 1 6 Moxa echo e AT SGPSS 0 r gt dev pts 1 Moxa killall cat ATTENTION View the following reference for more information about gpsd man gpsd man cgps e http gpsd berlios de As described in this section in multiplex mode the modem port is dev pts O instead of dev ttyACMO Check that the modem port is dev pts O at etc ppp peers chtgprs See etc ppp option for detail dev pts 0 modem port used 115200 speed Now you can connect GPRS HSDPA through pppd Moxa pppd call chtgprs Troubleshooting for pppd To troubleshoot pppd connection problems open etc ppp peers chtgprs and then take the following steps e Enable the debug option and logfile var ppp log option e Add the V option in usr sbin chat Debug option You call tail f var ppp log amp debug logfile var ppp log connect usr sbin chat v V f etc chatscripts chtgprs connect 4 18 V2400 Series Expansion Modules Software Installation and Programming Guide See var ppp log for a more detailed message Setting up a Wireless Connection In this section we introduce how to connect to an access point with WEP WPA WPA2 RSN encryption The connection program is wpa supplicant The basic command is wpa supplicant i interface c configuration file B the B option forces it to
8. item next mngr gt 1list mngr gt list item item gt cb cb item gt arg arg item gt HWIndex HWIndex Jared 08 10 2010 HWIndex to support multiple boards item gt port port item mode mode item gt interval interval item next time interval Jared 08 10 2010 HWIndex to support multiple boards item gt last signal mxdgio_get_input_signal mngr gt fd HWIndex port return 0 void digit io timer dispatch quit DGIOMNGR mngr if mnor mngr corspacclh e 05 define MAX TIME OXFFFFFFFF start and dispatch the timer operations Inputs lt mngr gt the manager Returns none PA void digit io timer dispatch DGIOMNGR mngr 1 DGIOITEM item unsigned int ms sleep n defined _WIN32 WCE amp amp defined WIN32 struct timeval to Fendi ft mngr gt dispatch 1 while mngr gt list amp amp mngr gt dispatch 4 10 V2400 Series Expansion Modules Software Installation and Programming Guide for item mngr gt list item NULL item item next if mngr now time lt item next time not yet Continue n mngr now time item gt next_time over due executable item next time mngr gt now_timetitem gt interval n move to the next icme dgio input change exec mngr item ms sleep MAX TIME get Che amount of time to sleep for item mngr gt list item NULL item item next
9. 4 Then modprobe moxa_can or reboot your device to finish this installation EPM 3112 Programming Guide CANBUS Library A simple library mxcanbus is offered see the following sub sections for details Moxa functions for CANbus unsigned int mxcan get bus timing unsigned int fd Get the bus timing of an opened port fd the opened port None 0 on failure otherwise the bus speed in KHz 4 21 V2400 Series Expansion Modules Software Installation and Programming Guide int mxcan get registers unsigned int fd unsigned char buffer int num Get the register values of an opened port nput fd the opened port num number of register values For module with sja1000 chipset the value must be 32 Output buffer point to a buffer for these values on success otherwise failure on success otherwise failure int mxcan inqueue unsigned int fd unsigned int mxcan open int port int mxcan outqueue unsigned int fd int mxcan purge buffer unsigned int fd unsigned int purge Purge the buffers of an opened port nput fd the opened port purge 1 receive data buffer 2 transmit data buffer otherwise both Output O on success otherwise failure int mxcan set bus timing unsigned int fd unsigned int speed Set the bus timing of an opened port nput fd the opened port speed bus timing in KHz The available values are 5 10 20 40 50 80 100 125 200 250 400 500 666 800
10. Browse During the installation the screen may flash or go black EPM 3552 Configuration When the EPM 3552 module has been installed an icon appears on the taskbar to give you access to the DisplayLink manager menu l Click the DisplayLink icon on the taskbar Li The menu will appear as shown below DisplavLink Manager Screen Resolution Screen Rotation d Extend To Extend Set as Main Monitor Notebook Monitor Mirrar OFF Fit Eo Advanced Configuration 2 Select an option from the menu The following table lists which options are available Screen Resolution Displays a list of available resolutions Some resolutions Rotated Right Rotates the extended or mirrored display by 90 degree Upside Down Rotates the extended or mirrored display by 180 degrees your desktop onto the secondary display Set as Main Sets the secondary display as the main display Monitor 4 69 V2400 Series Expansion Modules Software Installation and Programming Guide Notebook Monitor Switches off the display of an attached notebook and Off makes the DisplayLink display primary Copies what is on the main display and reproduces it on the secondary display 7 Switches off the secondary display Fit to TV Opens a GUI to change the size of the Windows desktop so it fits on a V screen Setting the Display to Extend Mode with the Windows
11. 7 Mount root file system as read only Moxa umount 8 Reboot your device to complete installation ATTENTION ppp 2 4 4 may get the incorrect DNS after connection here are two workaround solutions 1 Assign the DNS manually Comment the option usepeerdns in dev pppt chtgprs Then assign a DNS etc resolv conf manually usepeerdns use the DNS servers from the remote network 2 Remove ppp 2 4 4 and install ppp 2 4 5 deb Moxa apt get remove ppp Moxa home dpkg i ppp 2 4 5 deb The EPM 3337 s Two Operating Modes The EPM 3337 module has two modes 1 Normal Mode Supports only GPRS HSDPA functionality without GPS The allocation of ports is e Modem port dev ttyACMO Command port dev ttyUSBO 2 Multiplexer Mode Supports both GPRS HSDPA and GPS functionality A multiplexer program must be run to put the module into multiplexer mode The allocation of ports is e Modem port dev pts O Command port dev pts 1 e GPS port dev pts 2 Note If you do not need the GPS functionality use normal mode for better performance 4 15 V2400 Series Expansion Modules Software Installation and Programming Guide Normal mode GPRS HSDPA functionality only This section illustrates how to establish a connection with pppd configuration The example files used are listed below etc ppp peers chtgprs a pppd additional option file etc chatscripts chtgprs connect cha
12. Moxa echo e AT SGPSS 4 r gt dev pts 1 Moxa killall cat 5 Check for NMEA data from the GPS port dev pts 2 6 7 Moxa cat dev pts 2 OGPGSV l21 04 24 28 1225 317 21 2 09 054 317 19 52 2135 93 47 2 T0 74 5GPGGA 061824 0 2458 835139 N 12133 055835 E 1 05 19 7 103 5 M 1 4 SGPRMC 061824 0 A 2458 835139 N 12133 055835 E 290710 AF 68 SGPGSALAS 3 24 217 06 31 1 1 6 4k s ppph Qr0RLlU9 L l19249 29 SGPVTG T M 0 0 N 0 0 K 4E Install gpsd daemon Moxa apt get install gpsd Start gpsd to read NMEA data from the GPS port dev pts 2 Moxa gpsd dev pts 2 8 Onthe remote computer use ssh to connect to Moxa s embedded computer and issue the cgps command You will see the following information Moxa cgps If cgps gets non null data from gpsd it will display the following message 4 17 V2400 Series Expansion Modules Software Installation and Programming Guide Time 2H1H H7 298THBb 45 38 HZ Latitude 24 988836 Longitude 121 552724 E Altitude 147 5 mn Speed Heading Climb status 30 FIX 13 secs GPS Type Generic NMEA Horizontal Err 131 m Uertical Err MID Course Err nea speed Err 973 kph 4 4688 gt 316 48 2 GPS0 0 RMC 128H385387 H8HH H HB5 24 988836 121 552725 107 50 138 2H 83 280 H BHHHH 8 8 608 2 268 68 2
13. V2400 Series Expansion Modules Software Installation and Programming Guide 5 Navigate to the HC25 HC25 usb ndis program files directory and double click HC25 Connection Manager msi E 25 usb ndis driver Edit wiew Favorites Tools Help 7 JJ Search 22 Folders Address CiMtemplDriversiHC251HC25 usb ndis driver File and Folder Tasks program Files autorun Setup Launcher Macrovision Corporation 9 new Folder Publish this Folder to the Web ks Share this Folder HC25 Connection Manager B Windows Installer Package Other Places m 4365 KB gj Hces G Documents iE Shared Documents 4 My Computer a My Network Places 6 Click Install HC 5 Connection Manager InstallShield Wizard Welcome to the InstallShield Wizard for 25 Connection anager The Installshield R wizard will install 25 Connection Manager an your computer To continue click Install WARMING This program is protected by copyright law and international treaties Ox0409 Configuration Settings Autorun Setup Information 1 KB Setup Configuration Settings 3 kB Installing HL 25 Connection Manager The program Features you selected are being installed Please wait while Ehe Installshield Wizard installs 25 Connection Manager This may take several minutes Status 4
14. Network Places Details Address 7 C temp Drivers HC25 HC25 Winnnux2k History txt winmuxzk inF Text Document Setup Information 3 KB winmuxzk svs System File 33 wmuxprap dil bos Wireless Modules Multiplex Pra dules Multiples Ins Description Wireless Modules Multiplex Installation Utility Company Siemens File version 3 1 0 2 Date Created 2 18 2007 9 15 AM Size 164 KB 4 42 V2400 Series Expansion Modules Software Installation and Programming Guide 10 Click Start Scan winMux Driver Setup Scan for modules List Port Module Type Infarmation 11 Click Install Driver once the scan is complete dl winMux Driver Setup Scan for modules Scan COM 9 Stop Scan List Module Type COM 3 SIEMENS HC25 REVISION 02 050 Information Virtual Port 1 data Virtual Virtual Port 3 4 43 V2400 Series Expansion Modules Software Installation and Programming Guide 12 Click Install Driver and then Continue Anyway once the scan is complete d winMux Driver Setup Scan for modules Finished Hardware Installation The software vou installing for this hardware Serial Multiplexer has not passed Windows testing to verify compatibility with Windows me why this testing is important Continuing your installation of this softwar
15. Properties Right click the display and select Properties gt Settings Checkmark the Extend my windows desktop onto this computer option Adjust the screen resolution by dragging the Screen resolution slide bar Select the Color quality from the drop down list In the gray zone select the monitor icons to match the physical arrangement of the monitors Sr MP se Sco oq Click OK to save your settings Display Properties Themes Desktop Sereen Saver Appearance Settings Drag the monitor icons to match the physical arrangement of your monitors 2 Multiple Monitors on Intel Corporation 345 3M Embedded Graphics Im Screen resolution Color quality Less Moe Highest 32 bit 68 by 1024 pels Use this device as the primary monitor Extend my Windows desktop onto this monitor identity Troubleshoot For more detailed settings including the refresh rate click Advanced Settings gt Adapter tab gt List All Modes All valid combinations of resolution color quality and refresh rate are listed For CRT monitors we Suggest using a high refresh rate to avoid the discomfort caused by monitor flicker Flat panel monitors do not flicker so a lower refresh rate is adequate 4 70 V2400 Series Expansion Modules Software Installation and Programming Guide Plug and Play Monitor and Intel Corporation 45GME 9 45GSE Emb
16. 3 8 4 Software Installation and Programming Guide In this chapter we discuss software installation and programming guide for the EPM 3032 EPM 3337 and EPM 3438 expansion modules The following topics are covered in this chapter O Linux System W EPM 3032 Driver Installation EPM 3032 Programming Guide EPM 3438 Driver Installation EPM 3438 Programming Guide EPM 3337 Driver Installation EPM 3112 Driver Installation EPM 3112 Programming Guide EPM 3552 Driver Installation EPM 3552 Chipset Configuration EPM DKO02 Driver Installation indows System EPM 3032 Driver Installation Configuring Serial Port Mode Changing UART Mode Through Programming EPM 3438 Driver Installation EPM 3438 Programming Guide EPM 3337 Driver Installation Wireless Module Driver Installation Configuring the GPRS HSDPA Connection without GPS Enabling GPS Functionality Configuring a Wireless Connection Getting Wireless Module Information EPM 3112 Driver Installation EPM 3112 Programming Guide EPM 3552 Driver Installation EPM 3552 Configuration Setting the Display to Extend Mode with the Windows Properties EPM 3552 Patch File Installation EPM DKO02 Driver Installation Controlling EPM DKO2 Power On Off V2400 Series Expansion Modules Software Installation and Programming Guide Linux System EPM 3032 Driver I
17. 84 1 485 Profile Edit Manager Window Help RA Eze ex Ble ES COM20 115200 Hone 8 1 AHSI lat epin IRTS READY Before you verify the SIM card status check whether or not the PIN code has been submitted 4 54 V2400 Series Expansion Modules Software Installation and Programming Guide Cinterion Connection Connection Profiles SIM Status Pin Enabled Verified verify Retries Left 3 Unblock Retries 10 2 Status Pin Enabled Mot Verified Verify Retries Left 3 Unblock Retries Left 10 Sim Actions Action M Pin ID Pin Value 0000 Submit 5 Select the device from the drop down list and then enter the APN Name Siemens Connection Manager Connection Profiles SIM Select Device Siemens HC25 Wireless Ethernet Adapter Override Profile ID Primary DNS Secondary DNS Primary WBNS Secondary MENS W IP Address Authentication Preference Username Password Connect Svstray on minimized UMTS Auta Connect T 6 Click Connect to connect to the Internet and establish the wireless connection NOTE Do not close the program while the connection is being established or the device driver may not work properly 4 55 V2400 Series Expansion Modules Software Installation and Programming Guide 1 wireless Networ
18. activate those features you must install the ACU Cancel Atheros Client Installation Program Choose Configuration Tool Which tool will you use to configure your client adapter O Third Party Supplicant 11 Click Yes Atheros Client Installation Program The option vau have selected requires the system to be rebooted at the end of the operation Do you wish to continue 4 50 V2400 Series Expansion Modules Software Installation and Programming Guide 12 Click OK Atheros Installation Program D The installation program installs the driver automatically when the client adapter is inserted Insert the adapter new if it is nat vet inserted cancel the Found Mew Hardware Wizard appears and proceed with the installation Click to continue 13 Wait for the driver to be installed Atheros Client Installation Program setup Status Atheros Client Installation Program is configuring your new software installation Installing the driver files Cancel 14 Select Yes want to restart my computer now and then click Finish Atheros Client Installation Program InstallShield Wizard Complete The Installation Program has successfully performed the selected operations but the system needs to be rebooted before all of the changes will take effect Click 5 to reboot the system No will restart my computer later Remove any disks from their drives and
19. arg printf output get cb HWIndex 5 port 5 sig HWIndex port Sig return 0 define INTERVAL 10000 int defined WIN32 WINAPI WinMain HINSTANCE hInstance HINSTANCE hPrevInstance LPTSTR lpCmdLine int nCmdShow else main int argc char argv tendif DGIOMNGR mngr int HWIndex hve POEL int interval if defined WIN32 WCE int argo char cmdlaone 256 argvl32 WideCharToMultiByte CP 0 LPCTSTR lpCmdLine 255 cmdline 256 NULL NULL argc split Lrne atgvtl 32 emdline 1 tendif lf gt 1 Interval else interval INTERVAL mior digit 10 timer TWiki if mngr NULL proxtti tdlogit toctomer ie aii return HWIndex 0 HWIndex 0 for embedded DIO for port 0 porc lt 1 port 4 Lf digit TO timer add callback mngr HWIndex port DGTIO GET INPUT STATE CHANGE interval input chg cb amp port lt 0 4 printf add d input change callback error n port return 2 rf callback mngr Hwindex port DGTIO INPUT interval get co sport O0 1 anput callback error post return ue 4 12 V2400 Series Expansion Modules Software Installation and Programming Guide if digit io timer add callback mngr HWIndex port DGTIO SET OUTPUT interval output set cb amp port lt 0 printf add d set ou
20. etc X11 Xession d 45xrandr For the EPM 3552 module only the current driver can display the maximum resolution of a connected monitor Therefore even the Modes Option in xorg conf cannot adjust its resolution For the built in VGA DVI port driven by an Intel chipset use xrandr or grandr located in System gt Administration gt Multiple Screens to change the layout and resolution ion gt fe Add Remove Applications Wm 1 1 gt screens LJ Preferences Configure multiple screens qoem Bis Help gi Meteen Printin 4 Log Out root A Services Ez cL Note After testing grandr will be reset to default layout clone mode when a setting is changed When you adjust the resolution choose the preferred layout before applying settings ATTENTI ON l Due to limitations of the driver connect the monitor to the EPM 3552 module before booting up the computer 2 The built in VGA DVI port only supports clone and extended mode dual head mode is not supported 3 Click the following link for more information on XRandR and man xrandr http www x org wiki Projects XRandR 4 Click the following link for more information on Xorg configuration https wiki ubuntu com X Config Resolution EPM DKO 2 Driver nstallation 5 EPM DK02 module supports 2 mini PCle slots for connecting mini PCI
21. launch Applications gt System Tools gt Configuration Editor and then cancel the xrandr active options at the path apps gnome settings daemon plugins xrandr 4 23 V2400 Series Expansion Modules Software Installation and Programming Guide File Edit Bookmarks Help LJ T gt 3 gnome system tools P gnome terminal 2 gnome volume control 1 priority 1 v B gnome settings daemo 3 editor 3 keybindings v amp plugins 2 ally keyboard 9 background clipboard 2 fant keybindings Long description Set to True to enable the plugin to rr 9 keyboard settings 1 Key Documentation Key name fapps gnome settings daemon pluc Key owner gnome settings daemon Short description Enable xrandr plugin media keys Il gt settings daemon plugins xrandr active 7 Mount the root file system as read only umount EPM 3552 Chipset Configuration As the V2422 and V2426 computers have already offered the VGA and DVI display outputs this section illustrates how to configure EPM 3552 to display an independent desktop so that users can use both displays simultaneously 1 Connect a monitor to the EPM 3552 module before booting the computer 2 Back up the original configuration file located at etc X11 xorg conf 3 Rename the new configuration file from xorg conf epm3552 dual to xorg conf Note For built in Int
22. read the counter value and clear the counter include lt S include lt stdlib h gt include lt sys time h gt include Sent hie include lt unistd h gt include lt signal h gt include Wuxdgrto h For counter redding or clear define COUNTER NODEL Ldew epm 3438 counter 7 The first 3438 define COUNTER NODE2 dev epm_3438 counter2 The second EPM 3438 4 13 V2400 Series Expansion Modules Software Installation and Programming Guide TIL main int arge char rnt retval int fd fd2 len unsigned int counter_value fd open COUNTER_NODE1 O RDONLY while Ll qd nSeleck a number of menu other key LO exit n 1 Get counter value 2 Clear the counter Others Quit Choose scanf d amp retval it Get counter without reset counter value mxdgio epm3438 get counter fd printf EPM 3438 board 41 counter d n counter value else if retval Get counter with reset retval mxdgio epm3438 clear counter fd if retval lt 0 printf EPM 35438 board 1 counter reset else break close fd return 0 EPM 3337 Driver Installation Moxa s EPM 3337 module supports both 3G GPS and wireless functionality This section introduces how to configure these functions in the Linux platform 1 Make root file system writable Moxa mount o remount rw
23. 1000 Output None Return on success otherwise returns a negative value 4 22 V2400 Series Expansion Modules Software Installation and Programming Guide int mxcan set parameters unsigned int fd CANPRM param Set the parameter of an opened port nput fd the opened port param pointer to a structure of CANPRM Output None Return on success otherwise return a negative value Moxa definitions for CANbus define mxcan close fd close int fd Z define mxcan read fd buffer size hndl read int fd buffer size define mxcan write fd buffer size hndl write int fd buffer size Example Code You can download the library example code from MOXA website http www moxa com support support home aspx ATTENTI ON View the following reference for more information http en wikipedia org wiki Controller area network EPM 3552 Driver I nstallation The Moxa EPM 3552 module provides the capability of using the display on Moxa s V2422 and V2426 computers l Make the root file system writable Moxa mount o remount rw 2 Install the package epm3552 deb Moxa home dpkg i e0om3552 deb 3 Install gconf editor Moxa apt get install gconf editor 4 Install grandr Moxa apt get install grandr 5 Start the GNOME desktop environment Moxa etc init d gdm start 6 Disable the xrandr plug in of gnome settings daemon due to its poor xrandr support In gnome
24. 2 Install the file epm3337 deb dpkg i epm3337 deb 3 Setup 3G module to Mdm mode EPM 3337 s 3G module supports multiple modes issue Isusb to get information e 0681 0040 MdmNet mode the default factory setting 0681 0047 Mdm mode for Linux Now convert EPM 3337 module with the hc25 setup mdm sh script at home Moxa homefs sh moxa hc25 setup mdm sh Confirm that the conversion is completed Moxa home lsusb Bus 001 Device ID 0681 0047 Siemens Information and Communication Note You only need to do this conversion once 4 14 V2400 Series Expansion Modules Software Installation and Programming Guide 4 Configure the driver to load at startup The default run level is 2 setup in etc inittab Issue the following command Moxa etc rc2 d mv N98moxa hc25 load driver Note You need to reboot to load the driver or issue etc init d moxa hc25 load driver 5 Install software from internet for wireless functionality Moxa home apt get install wpasupplicant wireless tools 6 Create the correct links for wpa supplicant Moxa etc network if up d4 ln sf etc wpa supplicant ifupdown sh wpasupplicant Moxa etc network if down d ln sf etc wpa supplicant ifupdown sh wpasupplicant Moxa etc network if pre up d4 ln sf etc wpa supplicant ifupdown sh wpasupplicant Moxa etc network if post down d ln sf etc wpa supplicant ifupdown sh wpasupplicant
25. 3552 A 1 EPM 3552 Display Module Performance on Linux 5 2 0 nnn nns A 2 EPM 3552 Display Module Performance on Windows 5 2 7 2 2 2 2 7 2 7 7 4 4 A 3 1 Introduction Moxa s EPM series modules which include modules with serial ports a wireless GPS card a digital input output channel CANbus card a mini PCI PCI e card a VGA DVI I display card and 2 slot mini PCle card work with Moxa s V2422 and V2426 embedded computers giving end users the ability to set up and expand a variety of industrial applications The following topics are covered in this chapter o 0 o Overview Package Checklist Product Features EPM Module Specifications EPM 3032 Specifications EPM 3112 Specifications EPM 3337 Specifications EPM 3438 Specifications EPM 3552 Specifications 1 Specifications 2 Specifications Y V2400 Series Expansion Modules I ntroduction Overview Moxa s EPM series modules which include modules with serial ports a wireless GPS card a digital input output channel a CANbus card a mini PCI PCI e card a VGA DVI I display card and a 2 slot mini PCle card work with Moxa s V2422 and V2426 embedded computers giving end users
26. Data Bits 5 6 7 8 Stop Bits 1 1 5 2 Parity None Even Odd Space Mark Flow Control RTS CTS XON XOFF ADDC automatic data direction control RS 485 Baudrate 50 bps to 921 6 Kbps non standard baudrates supported see user s manual for details Serial Signals RS 232 TxD RxD DTR DSR RTS CTS DCD GND 1 2 V2400 Series Expansion Modules I ntroduction RS 422 TxD TxD RxD RxD GND RS 485 4w TxD TxD RxD RxD GND RS 485 2w Data Data GND Physical Characteristics Weight 137 g Dimensions 104 x 121 x 34 mm 4 09 x 4 76 x 1 34 in Environmental Limits Operating Temperature 40 to 70 C 40 to 158 F EPM 3112 Specifications CANbus Communication Interface 2 optically isolated CAN2 0A 2 0B compliant ports CAN Controller Phillips 5 ALOOOT Signals CAN H CAN L Isolation 2 KV digital isolation Speed 1 Mbps Connector Type 089 male Physical Characteristics Weight 127 g Dimensions 104 x 121 x 34 mm 4 09 x 4 76 x 1 34 in Environmental Limits Operating Temperature 25 to 55 C 13 to 131 F EPM 3337 Specifications Cellular Interface Frequency Bands e UMTS HSDPA Triple band 850 1900 1900 MHz e GSM GPRS EDGE Quad band 850 900 1800 2100 MHz e GSM Dass Small MS Output Power e Class 4 2 W for GSM850 900 e Class 3 0 25 W for UMTS HSDPA e Class E2 0 5 W for EDGE850 900 e Class E2 0 4 W for EDGE1800 1900 e Class 1 1 W for GSM1800 1900 HSDPA
27. EPM 3032 EPM 3112 EPM 3337 EPM 3438 EPM 3552 EPM DKO1 gt EPM DKO2 WV O Dimensions V2400 Series Expansion Modules Hardware Introduction Appearance EPM 3032 Serial Port x 2 RS 232 422 485 DB9 5 232 422 485 12 Serial Port LED Indicators TX x 2 RX x 2 EPM 3112 CAN Port x 2 DB9 Antenna Connector x 4 EPM 3438 DI Channel x 8 DO Channel x 8 V2400 Series Expansion Modules Hardware ntroduction EPM 3552 VGA Port x 1 DVI I Port x 1 EPM DKOI1 PCI Express mini card socket Mini PCI socket Connector x 4 Reserved Hardware ntroduction Mini PCle socket 1 Mini PCle socket 2 EU Os p crocum 9 9 LENS E 4999 9999 6 699 4 99 LANES S 4 8 99 9 6 o9 6 6 9 9 599 4 4 EEEE E E E EEEE IL 999 5999 Connectors x 4 Reserved Front View Rear View Side View V2400 Series Expansion Modules SIM Card Holder 1 EPM DKO2 V2400 Series Expansion Modules Hardware Introduction Dimensions 49 mm 1 93 in 3 e 24 0 94 2E 121 mm 4 76 in 2 5 3 Hardware Connection Description this chapter we show how t
28. I nterface 3GPP Release 5 e 3 6 Mbps UL 384 Kbps e UE CAT 1 6 11 12 supported e Compressed mode CM supported according to 3GPP TS25 212 GPS Interface Tracking Tracks up to 13 satellites L1 1575 42 MHz Accuracy Position 2 5 m CEP 5 0 m SEP Protocols NMEA 0183 V2 3 E911 AGPS Control plane GPS dedicated AT commands Date WGS 84 Tracking sensitivity 158 dBm with active antenna Start up Time e Hot start 3s e Cold start 30s e Warm start 30s GPS active antenna supply 3 3 V 1 3 V2400 Series Expansion Modules I ntroduction WLAN Interface Supported Modes e IEEE 802 11a b g n for client bridge mode e IEEE 802 11b g n for AP mode Linux OS only Standards e IEEE 802 11a b g n for Wireless LAN e IEEE 802 111 for Wireless Security Operating Channels central frequency e US 2 412 to 2 462 GHz 11 channels 5 18 to 5 24 GHz 4 channels e EU 2 412 to 2 472 GHz 13 channels 5 18 to 5 24 GHz 4 channels e USA 1 to 11 2400 to 2483 5 MHz e Europe 1 to 13 2400 to 2483 5 MHz e Japan 1 to 14 2400 to 2497 MHz 802 110 e USA 1 to 11 2400 to 2483 5 MHz e Europe 1 to 13 2400 to 2483 5 MHz e Japan 1 to 13 2400 to 2497 MHz 802 11 e USA 36 to 165 5180 to 5825 MHZ e Europe 36 140 5180 to 5700 MHz e Japan 7 to 11 5035 to 5055MHz 183 to 189 4915 to 4945 MHz Security 64 bit and 128 bit WEP encryption WPA WPA2 Personal and Enterprise IEEE 802 1X RADIUS TKIP
29. Je Switch to Category View Administrative Tools See Also EN Display 0 o gt Game Controllers Keyboard Windows Update Help and Support mg Network Setup Wizard 2 Printers and Faxes Scanners and Cameras Speech User Accounts Wireless Link Add Hardware Data Sources ODBC Folder Options Intel R GMA Driver For Mobile v THe em 4 2 Mouse Phone and Modem Options Realtek HD Sound Effect Manager Scheduled Tasks PE Windows CardSpace a Wireless Network Setup Wizard sae 1 TES Add or Remove Programs Date and Time Fonts Internet Options RAA Network Connections Power Options Regional and Language Options gt 2 Sounds and Audio Devices Taskbar and Start Menu Windows Firewall 4 52 V2400 Series Expansion Modules Software Installation and Programming Guide 2 Click Hardware Device Manager System Properties Hardware General Computer Advanced Remote Device Manager The Device Manager lists all the hardware devices installed Ei on your computer Use the Device Manager ta change the properties of any device mv Drivers Dryer Signing lets you make sure that installed drivers compatible with Windows Windows Update lets you set up how Windows connects ta Windows Update for drivers Hardwa
30. connected Have you already connected this hardware to your computer C9 No have not added the hardware vet 4 77 V2400 Series Expansion Modules Software Installation and Programming Guide 4 Select Add a new hardware device and click Next Add Hardware Wizard The following hardware is already installed on your computer From the list below select an installed hardware device then click Next ta check properties or troubleshoot problem you might be having add hardware not shown in the list click Add new hardware device Installed hardware gt Generic USB Hub 5 USB Mass Storage Device USB Mass Storage Device USB Mass Storage Device S Generic volume Adda new hardware device Add Hardware Wizard The wizard can help you install other hardware The wizard can search for other hardware and automatically install it for Or if you know exactly which hardware model you want to install you can select it fram list What do you want the wizard ta do C2 Search for and install the hardware automatically Recommended 4 78 V2400 Series Expansion Modules Software Installation and Programming Guide 6 Select Show All Devices and click Next Add Hardware Wizard From the list below select the type of hardware you are installing IF vau da not see the hardware category you want click Show All Devices Common hardware types Show All Devices BS Device Dr
31. e modules The two slots support different feature as described below Slot 1 Supports both mini PCI Express and USB 2 0 Slot 2 Supports USB 2 0 USB Installation 1 Make the root file system writable Moxa mount o remount rw 4 26 V2400 Series Expansion Modules Software Installation and Programming Guide 2 Install the epmdk02 deb package at EPM DKO2 package Moxa home dpkg i epomdk02 deb 3 Mount the root file system as read only Moxa umount 4 Load the Moxa EPM DKO2 driver You can manually load with following command Moxa modprobe moxa_dk02 Or add the following lines in etc rc local to loads driver at startup automatically modprobe moxa_dk02 Configuring Power Control Tool After the installation is completed use the command mx dk02 control to power on or power off the USB connectivity of the Mini PCIE slot Here is its syntax mx dk02 control slot 1 0 Fox example if you want to power off the USB connectivity of slot 1 issue the following command Moxa mx dk02 control 1 0 Note that the slot number depends on its position in the Moxa v242x embedded computer Module 1 Module 2 Power button Peripheral interfaces ATTENTI ON The major aim of the mx dk02 control command is to reset a USB GPRS HSPDA module it is not advisable to use the power on off feature with a USB DOM module This is because when a USB DOM module is powe
32. imo mz ni fomes mos 1220x720 2007 eooo mi pae ma wo iw ms 2997 mm er ee ns e fomes 2957 sooo s 5s pes mm fomes sexa 2007 us ms us hk jw oms xoxo 200 va ss
33. run in the background l Example 1 Connect to AP SSID test wep with WEP key 1234567890 hex a Write a configure file test wep conf as below network ssid test_wep key_mgmt NONE wep_key0 1234567890 wep_keyl abcde wep_key2 1234567890123 wep_tx_keyidx 0 priority 5 b Connect with the following commands wpa_supplicant i wlanO c test wep conf B c Use iwconfig to check the connection state wlanO IEEE 802 11abgn ESSID test wep Mode Managed Frequency 2 462 GHz Access Point OO l1F 1F 8C 0F 64 Bit Rate 36 Mb s Tx Power 27 dBm Retry min limit 7 RTS thr off Fragment thr off Encryption key 1234 5678 90 Security mode open Power Management off Link Quality 37 70 Signal level 73 dBm Rx invalid nwid 0 Rx invalid crypt 0 Rx invalid frag 0 Tx excessive retries 0 Invalid misc 0 Missed beacon 0 2 Example 2 Connect to AP SSID test_wpa with WPA key 1234567890 ascii a Write a configuration file test wpa wpa2 conf as shown below network ssid test_wpa key_mgmt WPA PSK proto WPA RSN pairwise TKIP CCMP group TKIP CCMP psk 1234567890 b Connect with the following command wpa_supplicant i wlanO c test wpa2 conf B Use iwconfig to check the connection state 4 19 V2400 Series Expansion Modules Software Installation and Programming Guide wlanO IEEE 802 11abgn ESSID test wpa Mode Managed Frequency 2 462 GHz Access Point OO 1F 1F 8C 0F 64 Bit Rate 36 Mb s T
34. then click Finish to complete setup Finish 4 51 V2400 Series Expansion Modules Software Installation and Programming Guide 15 After the installation is complete you should see Siemens HC25 HSDPA USB Modem Siemens HC25 Wireless Ethernet Adapter and Siemens HC25 USB COM Port in the Device Manager window E Device Manager File Action View Help Modems 2m Siemens HC25 HSDPA USB Modem 4 B Monitors 2 El Multi port serial adapters El BS Network adapters E8 Atheros Wireless Network Adapter Realtek Family Controller a Realtek Famil Controller 2 Siemens 25 wireless Ethernet Adapter E IDE ATA ATAPI controllers 3 Ports amp LPT 0 9 MOXA Port 1 COMI oo MOXA Port 1 COMES y MOXA Part 2 2 y MOXA Part 2 COME oo MOXA Port 3 COM oo Port 4 10 EA Siemens HC25 USB Cam Pork Processors A Sound video and game controllers E System devices Configuring the GPRS HSDPA Connection without GPS In this section we illustrate how to establish a connection using the Siemens HC25 Connection Manager utility Take the following steps to configure the 3G GPS and wireless driver l Go to Control Panel gt System E Control Panel File Edit View Favorites Tools Help Bact 2 DO search Folders f Address Control Panel gt ETT TS Reds at Accessibility Options
35. to operate timer functions on digital IO port include lt stdio h gt include lt stdlib h gt if defined WIN32 WCE amp amp defined WIN32 include lt time h gt include digit io timer h Callback function 7 Stacie dgio input change exec DGIOMNGR mngr DGIOITEM item LOC SiG HANDLE fd mngr gt fd item gt HWIndex Switch item gt mode case DGTIO GET INPUT sig 0 gt Item POr item cb item HWIndex item gt port sig item arg break DGTIO_ GET_ OUTPUT Sig mxdgio_get_output_signal fd item gt port item gt cb item gt HWIndex item gt port sig item arg break case DGTIO GET INPUT STATE CHANGE Sig mxdgio get input signal fd item port if item last signal sig item cb item HWIndex item gt port sig item arg break case DGLIIO SET OUTPUT Sig item gt cb item gt HWIndex item port item gt last_signal item gt arg if sig mxdgio set output signal high fd item port 4 8 V2400 Series Expansion Modules Software Installation and Programming Guide else mxdgio_set_output_signal_low fd item port break default return item last signal sig release the timer operation Static void dgio input change release DGIOMNGR mngr Int 212 DGIOITEM item item mngr list while item next item gt next fre
36. 000 51 7 47 4 41 7 27 6 _ 4 264 4 1680 x 1050 12000 51 5 47 3 29 7 2 H 264 4 29 97 29 97 4 264 1440 900 10000 44 7 42 1 45 6 30 2 4 264 1280 720 8000 33 31 6 42 4 28 9 4 264 1024 600 7000 24 5 23 4 42 4 29 1 4 264 800 480 6000 18 2 17 6 3 21 prm X 2 9 11 9 5 9 5 29 97 29 97 29 97 29 97 4000 1 4 264 640 400 14 6 4 0 3 0 8 7 4 29 97 4 264 320 200 4 gt N V2400 Series Expansion Modules Video Performance Table for the EPM 3552 Module MS MPG 1920x1080 29 97 MS MPG 1680 x 1050 29 97 MS MPG 1440x900 29 97 MS MPG 1280x720 29 97 MS MPG 1024 600 29 97 MS MPG 800x480 29 97 MS MPG 640x400 29 97 MS MPG 320x200 29 97 DivX 5 1920 x 1080 29 97 15000 49 1 42 6 35 8 20 4 DivX 5 1680 x 1050 29 97 12000 37 9 34 4 36 8 21 4 Lum DivX 5 1440x900 29 97 28 6 26 3 36 9 21 7 CNN a N UJ UJ UJ Un N N B o Un A N N p gt sooo pos m mcs soam 29 07 ao00 s wo EPM 3552 Display Module Performance on Windows Systems Player Media Player Class
37. 286 23 46 247 31 16 126 33 24 35 116 34 7E j GPGz8V 3 3 10 16 33 045 42 06 55 028 41 71 l GPGGA 053001 0 2458 847455 N 12133 158752 E 1 05 5 9 84 5 M 3 GPRMC 053001 0 7458 847455 N 12133 158752 E 180810 A 63 3 03 31 24 16 06 10 1 5 9 8 2 2 l GPVTG T M 0 0 N 0 D E 4E rr lGPGSV 3 1 10 07 13 319 11 07 133 03 71 001 37 13 70 233 7F CPCSV 3 2 10 13 332 286 23 46 247 17 31 16 126 33 24 35 116 34 78 lEGPGSV 3 3 10 16 33 045 47 06 55 028 41 71 CPCCA 053002 0 2458 847319 H 12133 158802 E 1 05 6 0 85 E M 3F lGPRMC 053002 0 4 2458 247319 N 12133 158802 E 180810 A 65 CPCSA 3 03 31 24 15 05 10 2 6 0 8 Z 27 EGPVTG T M 0 D N 0 D E 4E State DPEN Configuring a Wireless Connection The EPM 3337 module includes a wireless module In this section we explain how to connect to an access point with WEP WPA WPA2 RSN encryption Take the follow the steps to configure a wireless connection 4 58 V2400 Series Expansion Modules Software Installation and Programming Guide l Double click on the Atheros client utility shortcut on the desktop Click on the Profile Management tab and then click the SCAN button Atheros Client Utility Current Profile Default Atheros AR9 22X Wireless Network Adapter 2 AN Action Options Help Current Status Profile Management Diagnostics Details Network Type Infrastructu
38. 41 V2400 Series Expansion Modules Software Installation and Programming Guide 8 After the installation is completed you should see Siemens HC25 HSDPA USB Modem Siemens HC25 Wireless Ethernet Adapter and Siemens HC25 USB COM Port in the Device Manager window A Device Manager File Action Help amp E IDE controllers 1 0 Modems Monitors Multi port serial adapters Network adapters ily Ports amp LPT iy MOXA Port 1 COMI oo Sf MOXA Port 1 COME af MOXA Port 2 2 5 MOXA Port 2 COME 5 MOXA Port COMS iy MOXA Port 4 10 E Processors ple pl y System devices d Re Siemens HC25 HSDPA USB Modem Atheros Wireless Network Adapter Realtek PCIe Family Controller Realtek PCIe GBE Family Controller 2 B8 Siemens 25 Wireless Ethernet Adapter m Siemens 25 USB Com Pork CON Sound video and game controllers 9 Change to the Winmux2K directory and double click wmux2k exe File Edit View Favorites Tools 27 Search Folders Help File and Folder Tasks mij Rename this file Move this File Copy this File Publish this file to the web 1 E mail this File Delete this File Other Places a Hc25 EJ Documents Ej Shared Documents 4 My Computer
39. Display to Extend Mode with the Windows 2 2 2 2 2 0 070202022 22 4 70 Setting the Display to Extend Mode with the DisplayLink 5 4 71 Setting the Display to Mirror Mode with DisplayLink Properties 4 72 Setting the Display as the Primary Display with Windows 4 72 Disabling tne LALO DiS et 4 73 Setting the Display as the Primary Display with DisplayLink Properties 4 73 EPIMSS552 Patch File hors pas tres E 4 73 KH ownb Phechnical ESSUGS ovi an es 4 73 atm ie Nn 4 74 MR HOD M E erc Edessa NUN NE 4 76 Controlling EPM DKO02 Power On OTT uice v nue Miu uuu eu uu uu 4 81 Getting current DOWBE SEES aas om cet eta detenta 4 81 Disablihd SOCKER POW Cl ie ce 4 82 Enabling Socket Power 1 2 1 6 6 66 66 aan nnn nnn 4 83 Video Performance Table for the EPM
40. Drivers 4R9220 Install_ CD File and Folder Tasks Rename Ehis File Move this File Ehis File Publish this file to the Web E mail this File Delete this file Other Places 9220 My Documents pj Shared Documents 4 Computer 2 My Network Places Details b Setup dll 12 0 0 49974 FLExnet InstallShield R 5 dakal hdr HOF File 270 default ath ATH File 1 KB layout bin BIN File 1 setup ini Configuration Settings KB 4 46 datal cab 14 033 KB dataz cab 14 647 ISSetup dll 12 0 0 58851 InstallShield F Setup Engine setup inx IM File 256 V2400 Series Expansion Modules Software Installation and Programming Guide 3 Click Next Atheros Client Installation Program Installshield Wizard Choose Setup Language select the language for the installation from the choices below Chinese Simplified Chinese Traditional Czech Danish Dutch Finnish French Standard German Greek Hungarian Italian Japanese Korean E iv l MHnrwenian 4 Click Next Atheros Client Installation Program Atheros Client Installation Program This program installs the driver and client utilities for your Atheros Wireless LAN Client Adapter lt Back 4 47 V2400 Series Expansion Modules Software Installation an
41. GHz 130 Mbps 90 203 7t tebe etatz Spf Network Type Infrastructure Control Channel Scanning Extension Channel Data Encryption Mo Link 2 Click the Advanced button You will see the status of the current wireless connection Advanced Status Network Mame 55101 Server Based Authentication Data Encryption Authentication Message Integrity Check 005 Authentication Management Frame Protection Associated 4P Name Associated IP Address Associated Address Power Save Mode Current Power Level Available Power Levels 5 GHz Available Power Levels 2 4 GHz Normal 85 dBm 85 dBm 00 17 40 Short amp Long Kbps Kbps Current Signal Strength Curent Noise Level Up Time o02 17b Preamble Curent Rate Curent Transmit Rate Control Channel Scanning Extension Channel Scanning Control Frequency Extension Frequency Channel Set United States Channel width 50 40 25 20 13 10 3 8 7 5 4 3 2 1 miw 100 50 32 20 10 3 8 7 5 5 4 3 2 1 mw 4 62 V2400 Series Expansion Modules Software Installation and Programming Guide EPM 3112 Driver Installation Take the following steps to install the CANBUS driver 1 Double click EPM 3112 V1 0 msi to install the module driver and then click Next jer 3112 Welcome to the EPM 3112 Setup Wizard The installe
42. M 3438 Expansion Module Driver on your computer WARNING This computer program protected by copyright law and international treaties Unauthorized duplication distribution of this program any portion of it may result in severe civil criminal penalties and will be prosecuted to the maximum extent possible under the law Cancel 4 36 V2400 Series Expansion Modules Software Installation and Programming Guide 2 Click Next to install using the default settings 3438 Select Installation Folder The installer will install 3438 to the following folder Ta install in this folder click Hest install ta different folder enter it below ar click Browse Folder C Program Files MOXA EPM 3438 Install 24 39 for yourself For anyone who uses this computer 2 Evervone C Just me 3 Click Next to begin the installation 3438 Confirm Installation The installer is ready to install on your computer Click to start the installation 4 Click Close to complete the installation 3438 Installation Complete 3438 has been successfully installed Click Close exit 5 Shut down the computer insert the EPM 3438 expansion module into the embedded computer and then reboot the computer 4 37 V2400 Series Expansion Modules Software Installation and Progra
43. O Level iw Set the change to all ports 6 Make sure the port names are correct and then click OK to activate the settings MOXA AUd60 CHIP PCI Properties General Ports Configuration Driver Details Resources Port COM No Tx FIFO Level Part Info 4 33 V2400 Series Expansion Modules Software Installation and Programming Guide 7 Refer to Ports COM amp LPT to verify that the port names have been changed E Computer Management im File Action Window nm 1 QEM SICPMORN SS 4 Computer Eg Device Drivers we Disk drives E Display adapters d Human Interface Devices IDE controllers c Keyboards Mice and other pointing devices Monitors 54 Multi port serial adapters View Network adapters Ports amp LPT 9 Port 1 17 Port 2 18 2 MOXA Port 3 COMIS 29 Port 4 205 m Processors Sound video and game controllers Storage volumes NOTE g Device Manager File Action View 2 IDE ATA Monitors 8 Multi port MOXA HUs60 UART CHIP PCI Bus Properties General Ports Configuration Driver Details Resources Pot COM No HOXA Smartia industio Family Board Configuration Error This name ig being ut
44. PCI or a mini PCle card See the following figure for the specific locations when installing these cards Meanwhile if you need to connect the antenna use the connectors on the exterior panel PCI Express mini card socket 4 9 494 54 8 9 9 484 4 tte bee dod ode ode ee de Mini socket Connector x 4 Reserved Connecting to the EPM 3552 Display Module The EPM 3552 display modules comes with a VGA connector and a DVI I connector Use a cable to connect the display to the connector on the module VGA Port x 1 DVI I Port x 1 The pin assignments are shown in the following tables V2400 Series Expansion Modules Hardware Connection Description D Sub 15 Connector Pin Assignments Pin No Signal Definitions 8 7 eroe s Joao _ s ev _ O 13 DVI I Connector Pin Assignments 8161 C2 Signal Definition 0007 IBHHEHL 2 5 Data2 9 t 3 5 Data2 4 Shield T M D S Data4 L3 T M D S Data4 s Analog Vertical Syne o rmos oaar C5 Analog Ground analog R G B return 3 6 V2400 Series Expansion Modules Hardware Connection Description Connecting to the EPM DKO2 Module SIM Card Holder 1 The EPM DKO2 has 2 mini PCle sockets that allow users t
45. Port RS 232 422 485 Pinouts 12 34 5 RS 232 RS 422 RS 485 RS 485 4 wire wire ee a pets Boe OB RxDB RxDB 4 ____ _ RxDAC DateAC GND Connecting to the EPM 3337 Wireless GPS Module The EPM 3337 module comes with 4 connectors that can be used to connect antennas including 2 WiFi antennas 1 cellular antenna and 1 GPS antenna Refer to the following figure for the location of the different antennas Antenna Connector x 4 Connecting to the EPM 3438 DI DO Module The EPM 3438 module comes with 8 digital input channels and 8 digital output channels See the following figures for pin definitions and wiring methods DI Channel x 8 DO Channel x 8 3 3 V2400 Series Expansion Modules Hardware Connection Description Digital I nput Digital I nput Dry Contact Wiring Wet Contact Wiring Digital Output Wiring oOoooooooo0c gz D a hitik O Connecting to the EPM 3112 CANbus Port Module The EPM 3112 offers two CANbus ports with DB9 male connectors Use a cable to plug your CAN device into the module s serial port The pin assignments are shown in the following table DB9 Male CANbus Pinouts V2400 Series Expansion Modules Hardware Connection Description Connecting to the EPM DKO1 Module EPM DKO 1 offers mini PCI and a mini PCle sockets allowing users to insert mini
46. V2400 Series Expansion Modules User s Manual Fourth Edition June 2011 www moxa com product MOXA 2011 Moxa Inc All rights reserved V2400 Series Expansion Modules User s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement Copyright Notice 2011 Moxa Inc All rights reserved Trademarks The MOXA logo is a registered trademark of Moxa Inc All other trademarks or registered marks in this manual belong to their respective manufacturers Disclaimer Information in this document is subject to change without notice and does not represent a commitment on the part of Moxa Moxa provides this document as is without warranty of any kind either expressed or implied including but not limited to its particular purpose Moxa reserves 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 accurate and reliable However Moxa assumes no responsibility for its use or for any infringements on the rights of third parties that may result from its use This product might include unintentional technical or typographical errors Changes are periodically made to the information herein to correct such errors and these changes are incorporated into new editions of the publication Techni
47. V2400 Series Expansion Modules Software Installation and Programming Guide 5 Enter the password Profile Management General Advanced Configure Pre Shared Keys Static WEP Entry Hexadecimal 0 9 A F O ASCII Test all keyboard characters Encryption WEP Size Transmit 128 152 WEF 1 S 1234567890 Cy WEP Key 2 WEP Key 2 Y e O WEP Key 4 Cancel 6 The connection will now be established Wireless Network Connection Status General Connection Status Connected MOMASY S Duration 01 46 27 Speed Mbps Signal Strength Acctryity Received Packets Disable View wireless Networks _ 4 61 V2400 Series Expansion Modules Getting Wireless Module I nformation Software Installation and Programming Guide The Atheros Client Utility can be used to get wireless information and to manage wireless connections l Double click the Atheros client utility shortcut on the desktop and then select the Current Status tab Atheros Client Utility Current Profile Default Atheros AR922X Wireless Network Adapter 2 x Action Help eT Current Status Options Total 80211 Profile Name ATHEROS Link Status Wireless Mode Server Based Authentication IF Address Signal Strength Profile Management Diagnostics d Default 4ssociated 3
48. a setinterface dev ttyM8 Now setting 15 RS485 2WIRES interface In this case Serial Port 1 is set as RS 485 2 wire MO refers to port 1 and M1 refers to port 2 and so on To change the current interface setting Moxa setinterface dev ttyM8 2 Moxa setinterface dev ttyM8 Now setting 15 RS422 interface In this case Serial Port 1 has been changed and is set as RS 422 mode To load the settings as the Default Value 4 3 V2400 Series Expansion Modules Software Installation and Programming Guide When OS boots up the default interface mode of the EPM 3032 is RS232 If you want to change the default interface mode please use the following steps First remount the read only root file system in writable mode Next edit etc udev rules d 96 moxa rules Add the following description to 96 moxa rules The Vendorl D of the EPM 3032 must be 0x1393and the Devicel D must be 0x1022 For example Set the device EPM 3032 0x1393 0x1022 default as 232 mode interface DRIVERS mxser ATTRS vendor 0x1393 ATTRS device 2 0x1022 RUN bin setinterface dev ttyM n 0 96 moxa rules Edit the command line RUN bin setinterface dev ttyM 0 If you want to set the serial mode to RS 232 use the following parameter RUN bin setinterface dev ttyM n 0 If you want to set the serial mode to RS 485 2 wire use the following parameter RUN bin setinterface dev ttyM n 1 I
49. access to the device int mxdgio set output signal low HANDLE fd int port Input fd The access to the device ui dc Moxa control definitions for COUNTER define COUNTER_NODE1 dev epm_ 3438 counter1 define COUNTER_NODE2 dev epm_ 3438 counter2 Input lt fd gt The access to the counter device 2 Input fd The access to the counter device e e O 4 6 V2400 Series Expansion Modules Software Installation and Programming Guide Special Note l We have provided an example in CD digit input change The mxdgio h defines the convenient API for DIO and COUNTER programming 2 The DO initial status is HIGH If you want the initial DO status to be LOW you should add one line in etc modules to load 3438 ko with epm3438 DO2LOW 1 Moxa modinfo lib modules 2 6 30 bpo 2 686 kernel drivers char epm 3438 ko filename lib modules 2 6 30 bpo 2 686 kernel drivers char epm_3438 ko description EPM 3438 DIO Counter module author jared_wu moxa com license GPL depends vermagic 2 6 30 bpo 2 686 SMP mod unload modversions 686 parm epm3438_DO2LOW Reset DO to LOW 0 Set DO to High default 1 Set DO to LOW int Moxa mount o remount rw Moxa vi etc init d moxainit sh Load the EPM 3438 DIO driver modprobe 3438 epm3438_DO2LOW 1 Moxa umount This DIO sample program shows how users can develop a set of higher layer functions using preliminar
50. ace 24 pin DVI I connector female Resolution Up to 1920x 1600 2048 x 1152 for wide screen resolution Physical Characteristics Weight 130 g Dimensions 104 x 121 x 34 mm 4 09 x 4 76 x 1 34 in Environmental Limits Operating Temperature 25 to 55 C 13 to 131 F 1 5 V2400 Series Expansion Modules I ntroduction EPM DKO1 Specifications PCI Express Mini Slot Interface PCI Express V1 0 one lane USB 2 0 Bus SIM Card Holder Reserved for Cellular applications Mini PCI Slot Interface PCI Bus Frequency 32 bit 33 MHz PCI Physical Characteristics Weight 117 g Environmental Limits Operating Temperature 40 to 70 40 to 158 F EN 50155 Class TX EPM DKO2 Specifications PCI Express Mini Slot Interface Slot 1 PCI Express V1 0 one lane USB 2 0 Slot 2 USB 2 0 USB 2 0 Bus SIM Card Holder Reserved for cellular applications Physical Characteristics Weight 125 g Environmental Limits Operating Temperature 25 to 55 13 to 131 F EN 50155 Class T1 1 6 2 Hardware ntroduction The EPM Series expansion modules are designed to work with Moxa s V2422 and V2426 embedded computers By providing different modules with different connectors the EPM series offers the greatest flexibility and convenience for users who would like to easily establish industrial applications that require different communication interfaces The following topics are covered in this chapter O Appearance gt
51. ading Technology function in the BIOS to ensure better performance of the EPM 3552 display module If you would like to use high resolution solutions for your applications we suggest using the onboard VGA DVI outputs on the V2422 2426 computers The EPM 3552 display module is suitable for the applications that require lower resolution for displaying text and small size figures V2400 Series Expansion Modules Video Performance Table for the EPM 3552 Module EPM 3552 Display Module Performance on Linux Systems Player mplayer On board VGA DVI performance on 1 0rc2 4 3 2 DFSG free VGA DVI EPM 3552 performance on V24XX Model V2422 2426 LX EPM 3552 LX Media BitRate System CPU Media System Player CPU Suggested Player CPU Configuration loading CPU loading Container Video Audio Resolution FPS Codec Codec loading loading weno 16 0 10 2967 12000 57 fass es m ww wmvs 900 2997 10000 soa ms www 1280x720 2957 n pes es ni _ ww wmvs wma 1 600 2997 ma ma me wmvs 2997 ms mi ms ms www __ 1280x720 2997 a000 a2 ms umv wv wows 320x200 mo e MPEG PS 320x200 2997 2000 3 25 fes Ba e MPEG 4 H 264 M 1920 x 1080 29 97 15
52. and AES Transmission Rates e 802 11b 1 2 5 5 11 Mbps e 802 11a g 6 9 12 18 24 36 48 54 Mbps e 802 11n 6 to 300 Mbps multiple rates supported TX Transmit Power e 802 11b 1 to 11 Mbps Typ 18 dBm 1 5 dBm e 802 110 6 to 24 Mbps 18 dBm 1 5 dBm 36 to 48 Mbps 17 dBm 1 5 dBm 54 Mbps Typ 15 dBm x 1 5 dBm e 802 11a 6 to 24 Mbps Typ 17 dBm 1 5 dBm 36 to 48 Mbps Typ 16 dBm 1 5 dBm 54 Mbps 14 dBm x 1 5 dBm TX Transmit Power MI MO e 802 11a n 20 40 MHz MCS15 20 MHz Typ 13 dBm 1 5 dBm MCS15 40 MHz 12 dBm 1 5 dBm e 802 11g n 20 40 MHz MCS15 20 MHz 14 dBm 1 5 dBm MCS15 40 MHz 13 dBm 1 5 dBm RX Sensitivity e 802 11b 92 dBm 1 Mbps 90 dBm 2 Mbps 88 dBm 5 5 Mbps 84 dBm 11 Mbps e 802 119 87 dBm 6 Mbps 86 dBm 9 Mbps 85 dBm 12 Mbps 82 dBm 18 Mbps 80 dBm 24 Mbps 76 dBm 36 Mbps 72 dBm 48 Mbps 70 dBm 54 Mbps e 802 11a 87 dBm 6 Mbps 86 dBm 9 Mbps 85 dBm 12 Mbps 82 dBm 18 Mbps 80 dBm 9 24 Mbps 76 dBm 36 Mbps 72 dBm 9 48 Mbps 70 dBm 9 54 Mbps RX Sensitivity MI MO e 802 11a n 68 dBm 515 40 MHz 70 dBm MCS7 40 MHz 69 dBm MCS15 20 MHz 71 dBm 57 20 MHz e 802 11g n 68 dBm 515 40 MHz 70 dBm MCS7 40 MHz 69 dBm 9 MCS15 20 MHz 71 dBm MCS7 20 MHz 1 4 V2400 Series Expansion Modules I ntroduction AP
53. and Programming Guide Installing the Patch File 1 Download the patch file from http www moxa com su 2 Double click Setup exe to start the Setup Wizard and then click Next to continue ji EPM 3552 Patch Welcome to the EPM 3552 Patch Setup Wizard The installer will quide you through the steps required install EPM 3552 Patch an your computer WARMING This computer program iz protected by copyright law and international treaties Unauthorized duplication or distribution of this program or any portion of it may result in severe civil or criminal penalties and will be prosecuted to the maximum extent possible under the law Cancel 3 Click Next to continue EPM 3552 Patch Select Installation Folder The installer will install EPM 3552 Patch to the following folder To install in this folder click Ta install to different folder enter it below or click Browse Folder C Program Files MOXA EPM 3552_Patch Disk Cost Install EPM 3552 Patch far yourself or for anyone who uses this computer O Everyone 4 74 V2400 Series Expansion Modules Software Installation and Programming Guide 4 Click Next to install the patch file jx EPM 3552 Patch Confirm Installation The installer is ready to install EPM S552 Patch on your computer Click Nest to start the installation Cancel ji EPM 3552 Patch Installing EPM 3552 Patch ERM 3552 Patch is being installed P
54. ber of bytes written EPM 3552 Driver I nstallation Take the following steps to install the EPM 3552 module driver ATTENTI ON N The driver must be installed first Do not install the EPM 3552 module in the computer before installing the driver 1 Double click DisplayLink 5 5 29194 exe in the Driver folder on the software CD ROM and then click I Accept to accept the software end user license agreement Install DisplayLink Sofware for DisplayLink Graphics 4 1 DisplayLink 5 5 29194 0 SOFIWARE END USER LICENCE AGREEMENT FOR DISPLAYLINK MIRROR DRIVER and DISPLAYLINK GRAPHICS ADAPTER SOFTWARE THE PROGRAM This 15 a legal agreement between you the end user Your and DisplayLink UK Limited DisplayLink BY INSTALLING THIS SOFTWARE YOU ARE AGREEING TO BE BOUND BY THE TERMS OF THIS AGREEMENT some versions of this software once installed will check for updated system software at least once and then again at regular Intervals unless you specifically disabled this feature when given this option personal information or information about your PC or the software installed on your PC is sent to our ppt servers during this process Accepting the End User License Agreement means that you accept this product feature m v Automatically check For updates L Accept 4 67 V2400 Series Expansion Modules Software Installation and Programming Guide NOTE During the installation the sc
55. cal Support Contact I nformation Moxa Americas Toll free 1 888 669 2872 Tel 1 714 528 6777 Fax 1 714 528 6778 Moxa Europe Tel 49 89 3 70 03 99 0 Fax 49 89 3 70 03 99 99 WWW moxa com su ort Moxa China Shanghai office Toll free 800 820 5036 Tel 86 21 5258 9955 Fax 86 21 5258 5505 Moxa Asia Pacific Tel 886 2 8919 1230 Fax 886 2 8919 1231 1 2 3 4 Table of Contents eese 1 1 1 2 Package _______ 1 2 PrOGUCE 1 2 SpecificdtiOlis EE 1 2 5 1 2 erect ee ete ete tee octies 1 3 3337 SP CCIIGAU ONS jocks M MERE 1 3 6 21 1 5 EPIVIES552 Ss OSG ITC AU ONS 1 5 EPMSDKOT 5 1 6 EPIVIEDKOZ SDOCHICSLOFIS 1 6 Hardware IntroductiOn e a RUN MV D EU FUE 2 1
56. ct 4 Check if the device is enabled Hd Device Manager File Action View Help EE 802 11 wireless Card Realtek PCIe Famile Controller Realtek PCIe Family Controller 2 2 Ports COM amp LPT m Processors Sound video and game controllers if System devices 2 Universal Serial Bus controllers gt Generic LISB Hub f Generic USB Hub Intel R N10 ICH7 Family USB Universal Host Controller 2728 f Intel R N10 ICH7 Family USB Universal Host Controller 2729 Intel R Family USB Universal Host Controller 27 f Intel R N10 ICH7 Family USB Universal Host Controller 27CB Intel R N10 ICH7 Family LISB2 Enhanced Host Controller 22 USE Mass Storage Device f USB Root Hub f USB Root Hub USB Root Hub USB Root Hub LISB Root Hub 4 83 Video Performance Table for the EPM 3552 Module The EPM 3552 is a display module that provides a VGA and DVI output function for V2422and V2426 computers The module is used as the additional display option apart from the VGA DVI provided by the V2422 and V2426 computers Moxa provides the display performance tables so that users can optimize the EPM 3552 for specific applications This table was produced from an actual performance test with the following parameters video codec audio codec film resolution frame per second and bit rates We strongly suggest that you enable the Hyper Thre
57. d Programming Guide 5 Select I accept the terms of the license agreement and then click Next Atheros Client Installation Program License Agreement Please read the following license agreement carefully Atheros Communications Inc software License Agreement PLEASE READ THIS SOFTWARE LICENSE AGREEMENT LICENSE CAREFULLY BEFORE USING THE ATHEROS SOFTWARE USING THE ATHEROS YOU ARE AGREEING TO BE BOUND B Y THE TERMS OF THIS LICENSE IF YOU DO AGREE THE TERMS OF THIS LICENSE DO NOT USE THE SOFTWARE IF YOU DO NOT AGREE TO THE TERMS OF THE LICENSE YOU MAY RETURN THE ATHEROS SOFTVZARE TO THE PLACE WHERE YOU OBTAINED IT FORA REFUND IF THE ATHEROS SOFTWARE WAS ACCESSED ELECTRONICALLY CLICK BISAGREE DECLINE FOR ATHEROS SOFTWARE INCLUDED WITH YOUR PURCHASE OF HARDWARE YOU MUST RETURN THE ENTIRE HARDYYARE SOFTYYVARE PACKAGE I do not accept the terms of the license agreement 6 Select Install Client Utilities and Driver and then click Next Atheros Client Installation Program setup Type select the setup type that best suits your needs Click the type of setup you prefer Install Client Utilities and Driver Description Install Driver Only Choose this option to install the Make Driver Installation Diskette s driver and client utilities This is the recommended option 4 48 V2400 Series Expansion Modules Software Installation and Programming Guide 7 Click Next Ather
58. de at startup Moxa etc rc2 d mv N99moxa hc25 script S99moxa hc25 mux script Note If you insert two EPM 3337 modules you can set module numz2 in etc init d moxa hc25 mux script Reboot the embedded computer The multiplexer will now automatically start at bootup It will occupy a modem port dev ttyACMO and generate three virtual terminal ports Moxa ls dev pts 1 2 ptmx dev pts 0 Modem port dev pts 1 Command port dev pts 2 GPS port 4 16 V2400 Series Expansion Modules NOTE Software Installation and Programming Guide l The command port in multiplexer mode only accepts AT commands with the suffix i e carriage return and new line You can see the echo example in Enable GPS port by issuing command or set the terminal output flag with command stty F dev pts 1 opost onlcr The option onlcr translates newline to carriage return newiline For the second EPM 3337 module the allocation will be dev pts 3 Modem port dev pts 4 Command port dev pts 5 GPS port ATTENTION The number assigned to pts is affected by remote log in programs e g ssh or telnet Therefore it is advisable to perform moxa hc25 mux at startup to make sure the pts number is 0 to 2 If there is more than 1 EPM 3337 module the number of pts increases to 3 to 5 and so on 4 Enable the GPS port by issuing a command to the command port Moxa cat lt dev pts 1 6
59. e item item next for 1 0 TOTAL i rf mnmgr Sid 4 mxdgio_close mngr gt fd 1 p casetunctrton initilizes a timer managet Returns Return a pointer to the manager T DGIOMNGR digit io timer init void DGIOMNGR mngr mngr DGIOMNGR 11 1 sizeof DGIOMNGR if mngr mngr gt fd 0 mxdgio open if 1 Jared 08 10 2010 support the second EPM 3438 mngr gt fd 1 mxdgio_epm3438_open 0 The first EPM 3438 mngr gt fd 2 mxdgio_epm3438_open 1 The second EPM 3438 TE magr 52 00 free mngr mngr NULL return mngr add a digital io timer with selected operation mode Inputs lt mngr gt timer manager 4 9 V2400 Series Expansion Modules Software Installation and Programming Guide lt HWIndex gt specify which hardware device 0 embedded DIO 1 EPM 3438 1 2 EPM 3438 2 gt specify which DIO pin mode the operation mode on the port interval the interval in milliseconds between 2 calls to a user defined function a int lt cb gt the user defined callback function arg argument to the function Returns on sucess otherwise failure diglL 10 timer add callback DGIOMNGR mngr int HWindex nt port rnt mode int interval rO CO t CD DGLOLTEM item item DGIOITEM calloc 1 sizeof DGIOITEM if item return
60. e may impair or destabilize the correct operation of your system either immediately or in the future Microsoft strongly recommends that you stop this installation now and contact the hardware vendor for software that has passed Windows Logo testing 13 Click OK to complete the installation 4 winMux Driver Setup Scan for modules Scan Finished Start Scan Module List WinMux Driver Setup 3 The Winktus driver is installed 2 Use the property page in the Device Manager to change the Settings Virtual Port 1 data Virtual Port Virtual Port 3 4 44 V2400 Series Expansion Modules Software Installation and Programming Guide 14 Serial Multiplexer should appear in you the Device Manager window ES Device Manager File Action View Help DB OEM VO48XITXKOL Computer Device Drivers See Disk drives Display adapters IDE controllers E Modems E Monitors Ex Multi port serial adapters ma HRS EISE ES EP ex MOXA CP 102L Series PCI Bus Moxa MUSGO UART CHIP PCI Bus Serial Multiplexer BS Network adapters 29 Ports COM amp LPT de Processors 1 2 Sound video and game controllers oo System devices Universal Serial Bus controllers Tec 15 Right click on Serial Multiplexer and select Properties You will see that 3 virtual serial modem ports have been generated you can change the port numbers using
61. e setting for Device DL2 Monitor DL2 Screen DL2 sections and the Screen 2 option in the Server Layout Section When finished connect a monitor to the second EPM 3552 module and reboot your system to activate the settings Z Setting for the second EPM3552 module Section Device Identifier Device_DL2 driver displaylink Option fodev dev fb1 EndSection Section Monitor Identifier Monitor DL2 EndSection Section Screen Identifier Screen_DL2 Device Device_DL2 Monitor Monitor_DL2 SubSection Display Depth 24 EndSubSection EndSection Section ServerLayout Identifier 945G Layout Screen 0 Screen Intel 00 Screen 1 Screen DL1 LeftOf Screen Intel NOTE For Linux systems the EPM 3552 display module cannot work with the V2422 2426 computers built in VGA DVI 1I display when in Extended Mode or Mirror Mode Due to limitations of the Linux RandR design the EPM 3552 display module can only work alone as an independent display 4 25 V2400 Series Expansion Modules Software Installation and Programming Guide Configuration for Displaying only on the EPM 3552 Back up your etc X11 xorg conf file and then rename xorg conf epm3552 single to xorg conf Next start Xwindow to launch the display only on the EPM 3552 module Dynamically Changing the Display Resolution A In this section we explain how to temporarily change the resolution and mode To change the settings permanently modify the file
62. ed by another device such as another cam port ar modem Using duplicate names can lead to inaccessible devices and changed setting Do vou want to continue Port Setting Port Info x xa Ex MOXA MUSEO UART CHIP PCI Bus Make sure each port name is unique using duplicate names will result in some devices being inaccessible Hx FIFO Level Tx FIFO Level 4 34 V2400 Series Expansion Modules Software Installation and Programming Guide Changing UART Mode Through Programming You can set the operation mode through programming The example UartMode shown here can be found in examplesY the Software DVD The code snippet is as follows int port 0 mode 0 int 0 WCHAR sin WCHAR port 3 wcs mode 3 printf UART Mode Test Program n Prine Primer er Vt 2 Sin getwchar n wtoi amp sin do switch n Exit Programin Display UART Mode n Set UART Mode n if char display the UART Mode case 1 printf Input the Port Number 5 8 wscanf L s wcs port port wtoi wcs port mode uart_getmode port if mode 1 valus break printf COM d s n port mode_array mode break if char case 2 Set the UART Mode Get Port Number peintf rnput the Port Number wscanf L s wcs port port wt
63. el chipset it is only necessary to setup the Virtual size at the Screen section Please remove the Right of option in monitor section if existed Section Screen I dentifier Screen Intel Device Device_Intel Monitor VGA SubSection Display Depth 24 Virtual 3840 1080 EndSubSection The value 3840 1080 is the maximum resolution of the desktop shared by the built in VGA DVI port which is 1920 x1080 x 2 4 Setupthe initial mode of the built in VGA DVI ports The default value is the maximum resolution of the monitor you can adjust it in etc X11 Xsession d 45xrandr a Display an extended desktop Resolution res 1920x1080 Extended mode xrandr output TMDS 1 mode res right of VGA output VGA mode res Clone mode 4 24 V2400 Series Expansion Modules Software Installation and Programming Guide b Display a clone desktop Resolution res 1920x1080 Extended mode xrandr output TMDS 1 mode res right of VGA output VGA mode res Clone mode xrandr output TMDS 1 mode res same as VGA output VGA mode res xrandr output TMDS 1 mode res VGA output VGA mode res The syntax is as follow output TMDS 1 DVI VGA VGA right of the position in extended desktop same as for clone mode setting mode resolution 5 Next start the X windows startx or etc init d gdm start NOTE When you plug in 2 EPM3552 modules uncomment th
64. em csnszsioszr 41 Computer B Device Drivers See Disk drives a Display adapters c IDE controllers z Monitors 57 CAN Controllers 29 CAN Controller 0 7 CAN Controller 1 29 CAN Controller 2 27 CAN Controller 3 BH Moxa Device CANBUS CARD PCI Device CANBLIS CARD PCI Device 33 Multi port serial adapters BS Network adapters Ports amp LPT MB Processors Sound video and game controllers 3 System devices EPM 3112 Programming Guide CANBUS Library unsigned int mxcan get bus timing int fd Description Gets the bus timing of an open port Input fd the open port Return Value 0 on failure otherwise the bus speed in KHz int mxcan get parameters int fd CANPRM param Description Gets the parameter of an open port nput fd the open port Output param pointer to the CANPRM structure Return Value on failure otherwise returns a negative value int mxcan get registers int fd unsigned char buffer int num Description Gets the register values of an open port nput fd the open port Output buffer pointer to a buffer for these values num number of register values for a module with sja1000 chipset the value must be 32 Return Value O on success other numbers indicate failure 4 65 V2400 Series Expansion Modules Software Installation and Programming Guide in
65. ers were aa _ io24x00 2987 rm ss aa sr sooo s ai oaoxaoo 2997 am as a3 me hos hk 7 200 bse ko eec iasame ave anc 192020802987 soo sa ms mz a avc anc ise0x1050 2097 12000 Jea mi ez 2997 omo ms __ na 12 0 720 29 97 wu ms 96 m2 02 2007 rum ma ma eec 2997 sooo s s eos mi o eec 2007 o us poa pa o bw mm __ 297 soo sta o1 2 fes bw wma 108010502007 uoo sa ms bw wea mm 2957 10000 ss bw wsmueca 1280x720 2007 sns mi ma bw wsmeca 1024x800 2007 7000 a fos bw wma auram 2997 sooo ms Ja ma sexa 2997 o mi 5 es fe 2 2000 oa fae v sate fomes mes 1020710802007 soo es es iw 8010502987 12000 ms pes mm fomes ux 2997
66. f you want to set the serial mode to RS 422 use the following parameter RUN bin setinterface dev ttyM n 2 If you want to set the serial mode to RS 485 4 wire use the following parameter RUN bin setinterface dev ttyM n When finished remember to umount the writable root file system Moxa umount Moxa Reboot your computer Moxa reboot Moxa Once the computer restarts confirm that the setting has been loaded as the default value Moxa setinterface dev ttyM8 Now setting is RS485 2WIRES interface EPM 3438 Driver Installation Upload the package to embedded computer and to the tmpfs dev shm root scp epm3438 2 6 30 bpo 2 686 deb root 192 168 30 123 dev shm root Install the package cd dev shm mount o remount rw dpkg i epm3438 2 6 30 bpo 2 686 de umount After the driver installs you can use Ismod to check if the epm3438 module is loaded in the kernel 4 4 V2400 Series Expansion Modules Software Installation and Programming Guide Moxa lsmod more Module Size Used by epm3438 4620 0 In etc init d moxainit sh will add the modprobe epm3438 modprobe r epm3438 lines Moxa vi etc init d moxainit sh start modprobe moxa_device_dio device v2400 modprobe mxser modprobe epm3438 modprobe epm3438 modprobe r moxa_swtd modprobe r moxa device dio vy If you need to uninsta
67. ic Home Cinema On board VGA DVI VGA DVI performance on v1 4 1 2834 performance on V24XX EPM 3552 Container Video Audio Resolution BitRate System Media Player System Media Suggested Codec Codec 5 CPU CPU loading CPU Player CPU Configuration loading loading loading ws 5 20 1 os ism sa sos wv wmvs 1440 x00 29 07 no soa __ 97 ems wv wmvax wma 1200x720 29 07 wwe m ws wv wmvax 2024x600 29 07 mo ma m _ wv wmvs 320x20 mer mw o wv wmv was iszokioso msr 0 i wv wmvax issokioso msr uxo ms a wv wmv was 1440 x00 29 07 no ma wv wmv 1280x720 29 07 mo m fs a wv wmv 2024x600 29 07 mo n2 m3 wv wmv was msr s000 ma wv wmv mer axe ns wmv 320x20 29 07 200 ea e _ V2400 Series Expansion Modules Video Performance Table for the EPM 3552 Module wea aa s aoa ms ess Jaca _ aseoxa0so 20 87 12000 2 m asa wee Jaca 2007 10000 i Ger m x ess Jaca 2997 m mi es pas
68. if mngr now time lt item next time not yet n item next time mngr gt now_time if lt ms sleep ms sleep n continue if sleep MAX TIME if defined WIN32 WCE amp amp defined WIN32 to tv sec ms sleep 1000 to tv usec ms sleep 1000 1000 lf 0 NULL NULL 0 Gro l9 0 gt steep break else Sleep ms_sleep mngr now time ms sleep dgio input change release mngr File and Folder digit input change main c Description This program is an example to operate timer functions on digital IO ports include lt stdio h gt include lt stdlib h gt include digit io timer h static int input cng HWIndes rnt porc Scc void arg printf input_chg_cb HWIndex port sig dMn HWIndex port sig return 0 State nmt get cb rnt HwlIndex port rnt 519 Printi input HWIndex port td sig HWIndex port sig return 0 static int OUtp ut set cbirnt HWlndex ntc port last sig void 4 11 V2400 Series Expansion Modules Software Installation and Programming Guide printf output set cb HWIndex d port d last sig d n HWIndex port rast s last printf new sig dMn last sig return last sig Static int Output get cb int HWindex int port int sig void
69. ivers E Display adapters f IDE controllers S IEEE 1394 Bus host controllers Imaging devices Infrared devices Re Modems Sil saral adankars 7 Click Have Disk Add Hardware Wizard Select the device driver you want to install for this hardware Select the manufacturer and model of pour hardware device and then click Nest IF you have disk that contains the driver you want install click Have Disk Manufacturer Model Standard Infrared Standard Modem Types Standard MTP Compliant Dev Standard MTP compliant devi ESI This driver is digitally signed Tell me why diver signing iz important 8 Select the mxdkO2 inf from the path EPM DKO2 driver in the CD ROM and click OK 4 79 V2400 Series Expansion Modules Software Installation and Programming Guide 9 Select Model and click Next Add Hardware Wizard Select the device driver you want to install for this hardware have a disk that contains the driver you want to install click Have Disk 7 Select the manufacturer and model of your hardware device and then click Nest IF vau x EPH DEBD Driver Thi driver is digitally signed Have Disk me why diver signing 18 important 10 Click Next Add Hardware Wizard The wizard ready to install your hardware Hardware to install EPM DEO2 Driver To start installi
70. k To install to a different folder enter it below or click Browse Folder C Program Filessd AXE PM 3032 Browse Install EPM30325 etup for yourself or for anyone who uses this computer Just me 4 28 V2400 Series Expansion Modules Software Installation and Programming Guide 3 Click Next to start the installation EPM3032Setup Confirm Installation The installer is ready to install EPM30325 etup on your computer Click Next to start the installation 4 Click Close to complete the installation 2 EPM3032Setup Installation Complete EPM3032Setup has been successfully installed Click Close to exit 5 Atthis point shut down the computer and insert the EPM 3032 expansion module into the embedded computer and then reboot the computer 6 The system will locate the new hardware select No not this time and then click Next Found Hew Hardware Wizard Welcome to the Found New Hardware Wizard Windows will search for current and updated software by looking on your computer on the hardware installation CD or on the Windows Update Web site with your permission Read our privacy policy Can Windows connect to Windows Update to search for software Yes this time only Yes now and every time connect a device Click Next to continue 4 29 V2400 Series Expansion Modules Software Installation and Programming Guide 7 Select Install the softwa
71. k Connection 6 Status General Support Connection status Address Type Assigned by DHCP IF Address 111 82 83 227 Subnet Mask 255 255 255 248 Default 3 ateway 111 827 883 225 Details Windows did not detect problems with this Repair connection IF you cannot connect click Repair 7 At this point you can access this wireless network connection cx CHWIHDOWSTvstemi32Wwcmd exe rosoft Windows KP Version 5 1 26881 CC Copyright 1985 2661 Microsoft Corp 2 and Settings Administrator gt ping www google com tw Pinging wwwu l google com 72 14 283 99 with 32 bytes of data Reply from 72 14 283 79 bytes 32 time 268ms TTL 51 Reply from 72 14 2603 99 hytes 32 time 18ims TTL 51 Reply from 72 14 283 799 bytes 32 time 263ms TTL 51 72 14 2803 99 bytes 32 time 142ms TITL 51 Statistics for 72 14 2603 99 Packets Sent 4 Received 4 Lost 10552 Approximate round trip times in milli seconds Minimum 142ms Maximum ZH3ms Average 181 5 and Settings Administrator gt _ Enabling GPS Functionality GPS functionality is only enabled when the module is in multiplexer mode A Winmux2K driver is available for configuring the module in multiplexer mode In multiplexer mode the system will generate virtual COM ports to communicate and the modem port will become one of the virtual COM ports Take the following steps below to enable GPS fu
72. lease wall Cancel 4 75 V2400 Series Expansion Modules Software Installation and Programming Guide 5 Click Close to complete the installation x EPM 3552 Patch Installation Complete EPM 3552 Patch has been successfully installed Click Close to exit EPM DKO 2 Driver Installation The driver must be installed before using the power control function Take the following steps to install the driver l Click Add Hardware from the control panel Control Panel File Edit View Favorites Tools Help 2 pO Search 2 2 Folders Address gt Control Panel Control Panel Accessibility an Switch to Category View Options See Also 2 Folder Options Fonts Game E Windows Update Controllers Help and Support 4 76 V2400 Series Expansion Modules Software Installation and Programming Guide 2 Click Next Add Hardware Vizard Welcome to the Add Hardware Wizard This wizard helps your nstall sottware to support the hardware you add to your computer Troubleshoot problems vou may be having with your hardware If your hardware came with an installation CD it is recommended that you click Cancel to close this wizard and use the manufacturer s CD to install this hardware To continue click Next 3 Select Yes have already connected the hardware Add Hardware Wizard Is the hardware
73. ll the driver you can use this command mount o remount rw dpkg r epm3438 umount EPM 3438 Programming Guide Digital 1 Digital input output channels featured in some models of Moxa embedded computers including the UC 7408 8410 1A240 260 W406 and EPM 3438 These channels can be accessed at run time for control or monitoring using the functions in the following sections Digital Output channels can be set to high or low via each port starting from 0 The Digital Input channels can be used to detect the state change of the digital input signal The header file of digital 1 0 functions is mxdgio h which is located in the digit input change directory for Linux Moxa functions for DI DO When successful this function returns an access to the DIO device Otherwise there is an error 4 5 V2400 Series Expansion Modules Software Installation and Programming Guide int mxdgio get input signal HANDLE fd int port This function gets the signal state of a digital input channel Input lt fd gt The access to the device lt port gt port Output lt state gt DIO_HIGH 1 for high DIO_LOW 0 for low Returns 1 for a high signal or O for a low signal if successful Otherwise it returns a value of 1 int mxdgio get output signal HANDLE fd int port Input fd The access to the device int mxdgio set output signal high HANDLE fd int port Input fd The
74. mming Guide 6 The system will find the new hardware and install the driver automatically The module is now ready to use E Device Manager File Action X View Help amp E OEM PNZPDY292B1 Computer B Device Drivers See Disk drives ig Display adapters fig Human Interface Devices IDE controllers c Keyboards T Mice and other pointing devices 9 Monitors Device MOXA EPM 3438 DIO Expansion Module PCI Device EJ Multi port serial adapters B Network adapters i Ports COM amp LPT m Pracessors Sound video and game controllers System devices Universal Serial Bus controllers EPM 3438 Programming Guide Some operations can be configured through programming the following DIO example can be found on the software DVD at V examples C Moxa functions for DI DO When successful this function returns an access to the DIO device Otherwise there is an error void mxdgio close HANDLE fd This function closes the access to the DIO device fd The access to the device None int mxdgio get input signal HANDLE fd int port This function gets the signal state of a digital input channel Input fd The access to the device port port Output state DIO HIGH 1 for high DIO LOW 0 for low Returns 1 for a high signal or for a low signal if successful Otherwise it returns a value of 1 int
75. mp LPT and select the COM port e g MOXA Port 0 COMI 2 Right click the COM port and then click Properties 3 Click the Port Settings tab and then select the interface you would like to use Computer Management File Action View Window Help RS amp 9 MEM SICPMORN 5 4 Computer 88 Device Drivers Se Disk drives 8 Display adapters Human InterFace Devices c3 IDE ATA ATAPI controllers cx Keyboards Mice and other pointing devices R Monitors Zj Multi port serial adapters UART CHIP PCI Bus 88 Network adapters 27 Ports COM amp LPT F Mos Pork 1 COMI 29 MOXA Port 2 MOXA Port 3 Port 4 Processors For hardware changes Sound video and game Storage volumes Opens property sheet for the current se x x Update Driver Disable Uninstall 4 Click OK to apply the settings MOXA Port 1 COM Properties General Port Settings Driver Details Interface Baud Rate Data bits Parity Stop bits Flow contral Cancel In some situations you may want to change the port name to match the name used by your program Take the following steps to change port names 1 Go to Control Panel gt Multi port serial adapters and select the adapter 4 31 V2400 Series Expansion Modules Software Installation and Programming Guide 2 Right click the adapter a
76. mxdgio get output signal HANDLE fd int port This function gets the signal state of a digital output channel Input lt fd gt The access to the device port Port number None Returns 1 for a high signal or for a low signal if successful Otherwise it returns a value of 1 4 38 V2400 Series Expansion Modules Software Installation and Programming Guide int mxdgio set output signal high HANDLE fd int port Input lt fd gt The access to the device NP 000000000000 int mxdgio set output signal low HANDLE fd int port Input fd The access to the device 1 control definitions for COUNTER COUNTER NODE1 dev epm 3438 counter1 COUNTER NODE2 dev epm 3438 counter2 Input lt fd gt The access to the counter device int mxdgio epm3438 clear counter int fd Clear the counter value Input fd The access to the counter device EPM 3337 Driver Installation Take the following steps to install the 3G GPS driver 1 Open the directory 25 25 0205ussb ndis driven program files Siemens HC25 Connection Manager and then double click DPI nst exe HC25 Connection Manager File Edit View Favorites Tools Help 2 Search gt gt Folders 1 Address gt C temp Drivers HC25 HC25 HC25_020Susb_ndis_driver install program files Siemens HC25 Connection Manager
77. nctionality 4 56 V2400 Series Expansion Modules Software Installation and Programming Guide l Start the Device Manager and check the three virtual COM ports Serial Multiplexer COHT13 Properties Physical Serial Modem Port Modem Port Baud Rate bps Virtual Serial Modem Ports Virtual Ports Virtual Port 1 data channel LUMT Virtual 2 COM Virtual Port 3 Property Communication Parameter Terminal File Transfer Capturing COM Options Ports come ow Baud Fate Data Parity Stop Bits Flow Control Output State RTS CTS ON OFF ADNZXUFF HIS tv ON OFF Cancel 4 57 V2400 Series Expansion Modules Software Installation and Programming Guide 3 Enter at sgpss 4 to enable GPS functionality ES PComm Terminal Emulator 18 119200 8 1 Profile Edit Port Manager Window Help a WIE sion 4 Receive the information returned through GPS and verify that the position value is correct E PComm Terminal Emulator COHT9 115200 Hone 8 1 AH51 Profile Edit Port Manager Window Help 48 alale mon 18 115200 8 1 51 E COH19 115200 Hone 8 1 AHSI uu 5255 3 03 31 24 16 06 10 0 5 9 8 0 2 CPVIG T M 0 0 N 0 0 E 4E GPGSV 3 1 10 07 13 319 11 07 199 03 71 001 37 19 70 233 7F GPGSV 3 2 10 13 39
78. nd select Properties Computer Management File Action View Window Help Eg GS 3 Computer EJ Device Drivers ae Disk drives E Display adapters Human InterFace Devices 23 IDE controllers cw Keyboards Mice and other pointing devices 72 Monitors Multi port serial adapters zj M sa MUSGO UART CHIP PCI Busi Network adapters Update Driver Ports amp LPT Disable 27 MOXA Pork 1 1 Uninstall MOXA Port 2 COMZ 7 MOXA Port 3 COM3 297 MOXA Port 4 COMM Properties m Processors e Sound video and game controllers Storage volumes Scan Far hardware changes 3 Click the Port Configuration tab select the port and then click Port Setting MOXA HUS60 CHIP PCI Bus Properties General Ports Configuration Driver Details Resources Port COM No Rx FIFO Level Tx FIFO Level Cancel 4 32 V2400 Series Expansion Modules Software Installation and Programming Guide 4 To change the port name separately uncheck Auto Enumerating COM Number Port Number COM current Auto Enumerating COM Number Hx FIFO Level Set the change to all ports Ts FIFO Level Ex Set the change to all parts 5 Select the new port name and then click OK Port Number COM current FIFO Level Set Ts FIF
79. ng your new hardware click Next Cancel 4 80 V2400 Series Expansion Modules Software Installation and Programming Guide 11 Click Finish to complete Add Hardware Wizard Completing the Add Hardware Wizard The following hardware was installed EPM DE O2 Driver Windows has finished installing the software Far this device close this wizard click Finish Finish Controlling EPM DKO2 Power On Off The EPM DK02 module provides a power control function that lets you control the power of a USB device so that you can enable or disable the device This section introduces how to configure this function to enable disable a USB DOM Note that the power on off control function is only suitable for devices that have a USB interface If you are using a device with a interface do not enable the power on off control function since doing so could damage the device Getting current power status Take the following steps to get the current socket power status 1 Execute mx dk02 control mfc exe located on the CD ROM at EPM DKO2 examples EPM DKO2 Example Build 11060819 release 4 81 V2400 Series Expansion Modules Software Installation and Programming Guide 5 EPM DEO Control Madule1 Modules Socket PCle USB Socketi PCIejUSB Enable C Disable C Disable Sacket2 USB ony Sacketz USB only Enable Disable Enable Disable
80. nstallation EPM 3032 supports Linux standard termios control The normal tty device node is located at dev ttyM8 ttyM9 dev ttyM16 and ttyM17 are the second device files for the EPM 3032 module The Moxa UART Device API allows you to configure ttyMx for RS 232 RS 422 4 wire RS 485 or 2 wire RS 485 The EPM 3032 driver has been pre installed at the following location and will be loaded automatically when the system boots up EPM 3032 Programming Guide Example to set the baud rate define MOXA 0x400 define MOXA SET SPECIAL BAUD RATE MOXA 100 define MOXA GET SPECIAL BAUD RATE MOXA 101 include stermtos He struct termios term int fd speed fd open dev ttyM8 O_RDWR tcgetattr fd amp term cflag amp CBAUD CBAUDEX term c cflag B4000000 tcsetattr fd TCSANOW amp speed 115200 ioctl fd MOXA SET SPECIAL BAUD RATE amp speed Example to get the baud rate define MOXA 0x400 define MOXA SET SPECIAL BAUD RATE MOXA 100 define MOXA GET SPECIAL BAUD RATE MOXA 101 include lt termios h gt struct termios term int fd speed fd open dev ttyM8 O RDWR tegetattr fd amp term if term c cflag 5 CBAUD CBAUDEX B4000000 1 follow the standard termios baud rate define else 4 ioctl fd GET SPECIAL BAUD RATE amp speed 4 2 V2400 Series Expansion Modules Software Installation and Programming Guide Baud
81. o connect the embedded computers to the network and to various devices The following topics are covered in this chapter 0 Installing the EPM Expansion Modules O Connecting Data Transmission Cables VV WV Connecting to the EPM 3032 Serial Port Module Connecting to the EPM 3337 Wireless GPS Module Connecting to the EPM 3438 DI DO Module Connecting to the EPM 3112 CANbus Port Module Connecting to the EPM DKO1 Module Connecting to the EPM 3552 Display Module Connecting to the EPM DK02 Module Configuring the Power On Off Function Jumper for Socket 1 V2400 Series Expansion Modules Hardware Connection Description I nstalling the EPM Expansion Modules The EPM series expansion modules are designed to work with Moxa s V2422 and V2426 embedded computers Below we describe how to insert the modules into the embedded computer slots l Remove the module cover screws 4 When finished tighten the screws to hold the module in place V2400 Series Expansion Modules Hardware Connection Description Connecting Data Transmission Cables this section we explain how to connect the EPM modules to devices Connecting to the EPM 3032 Serial Port Module Use a serial cable to plug your serial device into the module s serial port Serial ports 1 and 2 have male DB9 connectors and can be configured for RS 232 RS 422 or RS 485 communication by software The pin assignments are shown in the following table DB9 Male
82. o insert two mini PCle cards for cellular communication The figures below show the specific locations on the module to install these cards Note that while both sockets provide a mini PCle interface socket 1 supports either mini PCle or USB 2 0 signals whereas socket 2 only supports USB 2 0 signals Connect the cellular module to the mini PCle socket and insert the SIM card into the SIM card holder Be sure to tighten the screw in the screw holder so that the module will be firmly installed Note that the second SIM card holder is located on the back of the module If you need to connect the antenna use the connectors on the exterior panel Front View Rear View Mini PCle Socket 1 SIM Card Holder E S T LI iHHHHHHE HHHE Mini PCle Socket 2 Connectors x 4 reserved Side View 3 7 V2400 Series Expansion Modules Hardware Connection Description Configuring the Power On Off Function Jumper for Socket 1 Socket 1 of the EPM DKO2 module offers the power on off function which activated using the jumper setting shown in the following figure 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 1 Place the jumper pins 1 and 2 to enable the power on off control function 2 Place the jumper on pins 2 and 3 to disable the power on off control function In this case the power will always be on NOTE This jumper configuration is for socket 1 only
83. oi wcs port Get Mode Value printr rinpubr the Mode value 0 wscanf L s wcs mode wtoi wcs mode Set UART Mode if uart setmode port mode 1 prince Invalid valeti printf Set UART Mode Fail n 4 35 V2400 Series Expansion Modules Software Installation and Programming Guide else printf COM d s n port mode_array mode break getwchar Sin getwchar wtoi amp sin while n 0 return 0 EPM 3438 Driver Installation Before installing the EPM 3438 select counter mode or DI mode for the module If DIP switch 1 on the EPM 3438 is on the DIO will work in digital input port mode The DIO just reflects whether the input signal status is HI GH or LOW If DIP switch 2 on the EPM 3438 is on the DIO works as a 16 bit counter The counter is increased when the input pulse is toggled from low to high See the following figures for DIP switch settings Counter Counter DI Counter made Ol made Before using the EPM 3438 expansion module you need to update the driver Be sure to install the driver before inserting the expansion module in the slot Take the following steps to install the EPM 3438 module driver 1 Run EPM3438Setup exe to begin installation and then click Next 3438 W elcome to the 3438 Setup Wizard The installer will quide you through the steps required to install EP
84. only Protocols ARP BOOTP DHCP dynamic VLAN Tags for 802 1X Clients STP RSTP IEEE 802 1D w Default Antenna 2 dBi dual band omni directional antenna RP SMA male Connector for External Antennas RP SMA female Physical Characteristics Weight 220 g Dimensions 104 x 121 x 34 mm 4 09 x 4 76 x 1 34 in Environmental Limits Operating Temperature 25 to 55 C 13 to 131 F EN 50155 Class T1 EPM 3438 Specifications Digital Input I nput Channels 8 source type I nput Voltage 0 to 30 VDC at 25 Hz Digital Input Levels for Dry Contacts Logic level 0 Close to Logic level 1 Open Digital nput Levels for Wet Contacts Logic level 0 V max Logic level 1 10 V to 30 V Source to DI Counter Frequency 2 KHz DIO only Connector Type 10 pin screw terminal block 8 DI points DI Source GND Isolation 3 KV optical isolation Digital Output Output Channels 8 sink type 0 to 30 VDC Output Current Max 200 mA per channel On state Voltage 24 VDC nominal open collector to 30 VDC Connector Type 9 pin screw terminal block 8 DO points GND I solation 3 KV optical isolation Physical Characteristics Weight 120 g Dimensions 104 x 121 x 34 mm 4 09 x 4 76 x 1 34 in Environmental Limits Operating Temperature 40 to 70 C 40 to 158 F EN 50155 Class TX EPM 3552 Specifications Display Graphics Controller DsiplayLink DL 195 VGA Interface 15 pin D sub connector female DVI Interf
85. os Client Installation Program Choose Destination Location select the folder where the installation program will install the files The installation program will install the client utilities in the following location Destination Folder C Program Files Atheros Cancel 8 Click Next Atheros Client Installation Program Select Program Folder Select a program folder The installation program will add program icons to the Program Folder listed below You may enter a new folder name or select one from the Existing Folders list Program Folder Atheros Existing Folders Accessories Administrative Tools Cinterion Startup 4 49 V2400 Series Expansion Modules Software Installation and Programming Guide 9 Click Next Atheros Client Installation Program Atheros Client Installation Program IMPORTANT Please Head On Windows XP you can configure your Atheros Wireless LAN Client Adapter through the Atheros Client Utility ACU or a third party supplicant Because third party tools may not provide all of the functionality available in the ACU Atheros recommends that you use the ACU Please note that a patch from Microsoft might be required to use the Microsoft tool with security the next screen select whether you want to use the ACU a third party to configure your client adapter NOTE If you select a third party tool some of the ACU features will not be available To
86. r 802 11n Although still under development it contains some useful functionality To get the connection data you can issue iw dev interface station dump Moxa iw dev wlanO station dump Station 00 1f 1f 8c 0 64 on wlanl inactive time 35696 ms rx bytes 98054 rx packets 364 tx bytes 133 tx packets 7 signal 75 dBm tx bitrate MCS 42 40Mhz 4 20 V2400 Series Expansion Modules Software Installation and Programming Guide ATTENTI ON View the following reference for more information about iw http linuxwireless org en users Documentation iw EPM 3112 Driver Installation CAN is a broadcast serial bus standard for connecting electronic control units ECUs Each node is able to send and receive messages but not simultaneously a message consisting primarily of an ID usually chosen to identify the message type sender and up to eight message bytes is transmitted serially onto the bus one bit after another This signal pattern codes the message in NRZ and is sensed by all nodes Moxa EPM 3112 module provides the CAN bus interface for industrial CAN communication Users can use the library or file control interface ioctl to read write or control the CAN interface as a file for easy CAN programming 1 Make root file system writable Moxa mount o remount rw 2 Install the file epm3112 deb Moxa home dpkg i 3112 3 Mount root file system read only Moxa umount
87. r will quide you through the steps required to install EPM 3112 on your computer WARNING This computer program is protected by copyright law and international treaties Unauthorized duplication or distribution of this program or portion of it may result in severe civil or criminal penalties and will be prosecuted to the maximum extent possible under the law Cancel 2 Click Next to continue ig 3112 Select Installation Folder The installer will install EPI 3112 to the following Folder install in this folder click Nest Ta install ta different folder enter it below ar click Brewse Folder C Program Files MOMANEPM 3112 Install 115 For yourself or for anyone who uses this computer C Just me 4 63 V2400 Series Expansion Modules Software Installation and Programming Guide 3 Click Next to start the driver installation jm EPM 3112 Confirm Installation The installer is ready to install EPM 3112 on your computer Click Nest to start the installation 4 Click Close to complete the driver installation js 3112 Installation Complete EFM 3112 has been successfully installed Click Close ta exit 4 64 V2400 Series Expansion Modules Software Installation and Programming Guide 5 Click Action Scan for hardware change to install the module driver automatically Device Manager File Action View Help amp BS o
88. rate inaccuracy Divisor 921600 Target Baud Rate Only Integer part ENUM 8 921600 Targer Divisor Round up or down Inaccuracy Target Baud Rate 921600 Divisor ENUM 8 100 Bia Cu s To calculate 500000 bps Divisor 1 ENUM 7 Inaccuracy 1 7 For reliable performance inaccuracy should be under 2 Special Note The embedded serial ports do not support special baud rates and the maximum baud rate is only 115200 bps However the expansion board can support special baud rates and maximum baud rates of up to 921600 bps If the target baud rate is not a special baud rate e g 50 75 110 134 150 200 300 600 1200 1800 2400 4800 9600 19200 38400 57600 115200 230400 460800 921600 the termios cflag will be set to the same flag If you use stty to get the serial information you will get speed equal to O Configure Serial Port Mode Use setinterface command to retrieve the parameters of the serial port configuration Moxa setinterface Usage setinterface device node interface no device node dev ttyMn n 0 1 2 interface no following none to view now setting set to RS232 interface set to RS485 2WIRES interface set to RS422 interface set to RS485 4WIRES interface The different serial modes use specific parameters l set to RS485 2WIRES interface 2 set to RS422 interface 3 set to RS485 4WIRES interface To check the current interface setting Mox
89. re Security Disabled Network 1 55101 empty Network Mame 2 55102 empty Network Mame 3 55103 empty gt Order Protiles Disable WLAN if LAN is Connected 2 Select the access point that you want to connect to and then click Activate Atheros Client Utility Current Profile Default Atheros 922 Wireless Network Adapter 2 X Available Infrastructure and Ad Hoc Networks Network 6510 2 qin Super signal Strength i all 21 i bioptic ul 14 dB cyo illl 348 i idctype 154 MIS WAP 1 55 98 i DES illl 248 wL corega 20000085 lel Refresh Disable WLAN if LAN is Connected 4 59 V2400 Series Expansion Modules Software Installation and Programming Guide 3 Enter the Profile Name and then select the Security tab Profile Management General Security Advanced Protile Settings Profile M ame wirelessAP1 Client Name OEM VO4SxITSKOL Network Hames 5 51 1 MUXASYS SSID 2 55107 4 Select the security option for your network and then click Configure Profile Management General Security Advanced Set Security Options Q WPAAWPAZ WPA PAZ Type LEAP OO WPA WPA Passphrase 8021 EAP Allow Association to Cells CN rus Limit inne bor Finding Cancel 4 60
90. re Profiles a Hardware profiles provide a way for you to set and store different hardware configurations Hardware Fratiles 3 Right click Serial Multiplexer gt Properties gt Port Settings E Device Manager Action view Help E 4005 FP SLL F Computer 88 Device Drivers See Disk drives id Display adapters ag Human Interface Devices 23 IDE controllers cw Keyboards Mice and other pointing devices L Modems id Monitors 54 Multi port serial adapters MUSEO UART CHIP PCI Bus Serial Multiplexer COMS BS Network adapters Ports amp LPT de Processors Sound video and game controllers See Storage volumes System devices Universal Serial Bus controllers E a 4 53 V2400 Series Expansion Modules Software Installation and Programming Guide Serial Multiplexer COM3 Properties X General Port Settings Driver Details j Physical Serial Modern Port Modern Part COM Baud Rate bps 115200 _ Serial Modem Ports Virtual Forts 11 Virtual Part 1 data channel Virtual Part 2 12 Virtual Part 3 4 Open Virtual Port 2 e g COM12 and enter at cpin Make sure the SIM card status is ready or the connection may fail E PComm Terminal Emulator 20 115200
91. re automatically and then click Next Found Hew Hardware Wizard This wizard helps you install software for 102 Series PCI Bus If your hardware came with an installation CD lt 6 or floppy disk insert it now What do you want the wizard to do Install from list or specific location Advanced Click Next to continue 8 The driver will be installed automatically The module should be listed in the Device Manager window At this point you can start using the module 5 Device Manager File ction wiew Help E Set Disk drives Display adapters Human Interface Devices IDE ATAJATAPT controllers Keyboards Mice and other pointing devices Monitors 280 Multi port serial adapters lt 8 EPM 3032 Expansion Module PCI Bus B0 MUSEO UART CHIP PCI Bus Network adapters cJ Ports amp LPT is MOXA Port 1 COMI i MOXA Port 1 COME MOXA Port 2 COMZ MOXA Port 2 COME 37 MOXA Port 3 COM 0 ov Port 4 Processors Sound video and game controllers y System devices 3 F ES EH 4 30 V2400 Series Expansion Modules Software Installation and Programming Guide Configuring Serial Port Mode Take the following steps to configure the operation mode of each COM port 1 Go to the Control Panel gt Ports COM a
92. red on the Linux system will automatically mount its partitions Then when it is powered off the system cannot automatically umount its partitions 4 27 V2400 Series Expansion Modules Software Installation and Programming Guide Note that the power on off control function is only suitable for devices that have a USB interface If you are using a device with a PCle interface do not enable the power on off control function since doing so could damage the device Windows System EPM 3032 Driver Installation Before using the EPM 3032 expansion module you need to update the driver Install the driver before inserting the expansion module in the slot Use the following steps to install the EPM 3032 module driver 1 Execute EPM3032Setup exe to install the driver and then click Next 1 EPM3032Setup Welcome to the EPM3032Setup Setup Wizard The installer will quide you through the steps required to install EPM3032Setup on your computer WARNING This computer program is protected by copyright law and international treaties Unauthorized duplication or distribution of this program or any portion of it may result in severe civil or criminal penalties and will be prosecuted to the maximum extent possible under the law Cancel 2 Click Next to install using default settings EPM3032Setup Select Installation Folder The installer will install EPM 30325 etup to the following folder To install in this folder clic
93. reen may flash or go black DisplayLink Core sofware Please wait while Windows configures DisplayLink Core Software four screens may temporarily go black or flash during this process Cancel 2 When finished install the EPM 3552 module in your embedded computer The following or similar message will appear on the toolbar 1 Found New Hardware DisplayLink Display Adapter 0373 3 Assign a specific path for the installation driver by clicking Browse and then select the following path where the driver is located C Windows system32 DRVStore displaylin 0C8028254229DB9V Files Needed The file DisplapLinkUebPort sys on Installation Disk Dk needed Type the path where the is located and then click Copy files from II Y lr g ut B 4 Select DisplayLinkUsbPort and then click Open Locate File Look im displaylin 08028254229DB3A438BD amp F822 w pe EJ DisplayLinkUsbPort Recent Documents Computer File name DisplayLinkLl sbPart m Metwork Files of type ort s 4 68 V2400 Series Expansion Modules Software Installation and Programming Guide 5 Click OK to complete the installation Files Heeded The file DisplauLinkLIsbPart on Installation Disk i needed Type the path where the tile is located and then click Copy files from C AWindows System32 DAVS TORE displaylin_OC
94. splay 2 Multiple Monitors on Intel Corporation S45 3M Embedded Graphics Screen resolution Color quality Moe Medium 16 bit m 1080 by 1920 pixels _ Extend my Windows desktop onto this monitor Jdenty Troubleshoot 4 From the taskbar click the DisplayLink icon 5 Select Mirror NOTE The display resolution of the primary display and the display may be changed to a lower resolution In mirror mode both screens must output the same resolution which may not be the maximum resolution of the display This mode is NOT recommended if you are using the display as the primary laptop display since it is unlikely to provide the optimum resolution for the display See Setting the Display as the Primary Display section for details Setting the Display as the Primary Display with Windows Properties Take the following steps to make the display the primary display 1 Right click the display and then select Properties gt Settings 2 Checkmark the This is my main monitor option 3 Click Apply 4 72 V2400 Series Expansion Modules Software Installation and Programming Guide NOTE On some PCs and laptops it is necessary to disable the main display This is because many primary graphics card drivers tend to make the laptop screen the primary screen if it is enabled The only workaround for this is to disable the laptop screen to allow another screen to be the primary display To disable the main displa
95. t file for connection etc chatscripts chtgprs disconnect chat file for disconnection Take the following steps to set up your pppd l Configure the file etc ppp peers chtgprs a First check if the name of the modem port is correct It should be dev ttyACMO for the first module dev ttyACM1 for the second one and so on b Make sure the local option is enabled This option ignores the CD Carries Detect signal Configure etc chatscripts chtgprs connect a First check the packet data protocol type and Access point name of the ISP a basic command is AT CGDCONT 1 packet data protocal type lt gt b Check the ATD dialout number a basic command is ATD number Read configuration file to connect a pppd call chtgprs Finally examine connection state a If the connection is ok a device pppO or pppn is established Issue the command ifconfig pppO to view its information Multiplexer mode GPS and GPRS HSDPA dual functionality GPS functionality is only enabled in the module s multiplexer mode multiplexer mode the system uses a pseudo terminal slave pts instead of reading serial ports dev ttyACMx to communicate This section describes how to set up GPS functionality work with the gpsd daemon and change the pppd configuration file for modem port dev pts O The following steps illustrate how to set up GPS and use gpsd 1 Set the module to multiplexer mo
96. t mxcan get stat int fd CANBST stat 1 on failure otherwise the number of bytes int mxcan purge buffer int fd unsigned int purge Purges the buffers of an open port fd the open port purge 1 received data buffer 2 transmit data buffer otherwise both Return Value O on success otherwise failure int mxcan read int fd char buffer int size int mxcan set bus timing int fd unsigned int speed on success otherwise returns a negative number int mxcan set parameters int fd CANPRM param Sets the parameters of an open port nput fd the open port lt param gt pointer to the CANPRM structure Output speed bus timing in Hz Return Value on success otherwise returns a negative number 4 66 V2400 Series Expansion Modules Software Installation and Programming Guide int mxcan set read timeout int fd unsigned int to Sets data reading timeout of an open port Input fd the open port to timeout in milliseconds Return Value O on success otherwise failure int mxcan set write timeout int fd unsigned int to Sets data writing timeout of an open port Input fd the open port to timeout in milliseconds Return Value O on success otherwise failure int mxcan write int fd char buffer int size fd the open port buffer pointer to the data size size of the data should be a multiple of the CANMSG size Return Value 0 on failure otherwise the num
97. the ability to set up and expand a variety of industrial applications Package Checklist The EPM Series includes the following models EPM 3032 Module with 2 isolated RS 232 422 485 ports with DB9 connectors EPM 3337 Module with HSDPA GPS WLAN 11n EPM 3438 Module with 8 015 and 8 DOs with 3 KV digital isolation protection and a 2 KHz counter EPM 3112 Module with 2 isolated CAN ports with DB9 connectors EPM 3552 VGA and DVI I display module EPM DKOTI Mini PCI and mini PCle expansion module EPM DKO 2 2 slot mini PCle expansion module Each model is shipped with the following items e 1 EPM 3032 3337 3438 3112 3552 DKO1 DK02 expansion module NOTE Please notify your sales representative if any of the above items are missing or damaged Product Features The EPM series expansion modules have the following features PCI slots for interface expansion EPM 3032 2 isolated RS 232 422 485 ports with DB9 connectors EPM 3112 2 isolated CAN ports with DB9 connectors e 3337 HSDPA GPs WLAN 11a b g n EPM 3438 8 8 DI DO with 3 KV digital isolation protection 2 KHz counter EPM 3552 VGA or DVI I display module EPM DKO2 2 slot Mini PCl e expansion module EPM Module Specifications EPM 3032 Specifications Serial Interface Serial Standards 2 RS 232 422 485 ports software selectable DB9 male I solation 2 KV digital isolation Serial Communication Parameters
98. the drop down lists Serial Multiplexer COM Properties General Port Settings Driver Details Physical Serial Modem Part Modem Part COMA Baud Hate 175200 Virtual Serial Modem Ports Virtual Ports Virtual Part 1 data channel Virtual 2 2 Virtual Part 3 LOUMT3 NOTE Make sure each port name is unique duplicate names will create glitches 4 45 V2400 Series Expansion Modules Wireless Module Driver nstallation Software Installation and Programming Guide Take the following steps to install the wireless driver l Click Cancel to stop searching for drivers when you first install the module Found Hew Hardware Wizard Welcome to the Found New Hardware Wizard Windows will search For current and updated software by looking on your computer on the hardware installation or on the Windows Update Web site with your permission Read our privacy policy Can Windows connect ta Windows Update to search for software CO Yes this time only CO Yes now and every time connect a device gt Ma not this time Click Next to continue cancel i 2 Navigate to the Install CD directory and double click setup exe to install the driver Install File Edit View Favorites Tools Help 7 Search 22 Folders Address C itemp
99. ting to the EPM DKO01 Module 2 111 0 enn nnn nnns 3 5 Connecting to the EPM 3552 Display 2 2 0 20 00 0 0 8 EE EES 3 5 Connecting to the EPM DKO2 Module 2 12 2 1 27274222 2 2 7 20200 44 4 1 nnns 3 7 Configuring the Power On Off Function Jumper for Socket 1 220 2 2 2 2 2 3 0 070 222 4 3 8 Software Installation and Programming Guide 4 1 ON ERIT 4 2 EPM 3032 Driver IAStaNa UON Era dere vrbs deba duba Peta 4 2 EPM 3032 Programming 0 11 4 2 Example to Set the Daud t IM rs 4 2 Ger wig UR Cube IE RE 4 2 ML MR e 4 3 SPECAN O OMS I MEI 4 3 Conlgure Serrat Prt VOC scat eat a a a
100. tput callback error n port return 4 if digit io timer add callback mngr HWIndex port DGTIO GET OUTPUT interval output get cb amp port lt 0 Primer add sd get output callback error in port return 5 HWIndex 1 for EPM 3438 board 41 HWIndex 2 for EPM 3438 board 2 for HWIndex 0 HWIndex lt HW TOTAL HWIndex for port 0 port lt 8 port 1 Since list 1 LIFO last callbacks ar added first if digit io timer add callback mngr HWIndex port DGTIO GET INPUT STATE CHANGE rnrerval input chgo cb Sport 4 printf add d input change callback error n port return 2 if digit io timer add callback mngr HWIndex port DGTIO GET INPUT interval input get cb amp port 0 4 printf add d input callback error n port return 3 Lf tamer add callback mngr port DGTIO OUTPUT interval output set cb amp port lt 0 printf add d set output callback error n port return 4 If diglt rio rtomer add callbacki mugr HWIndex port DGIIO GET OUTPUT interval output get cb amp port lt 0 printf add get output callback Error in port fretutrn 5 digit io timer dispatch mngr return 0 Examples Counter Program Source Code File Example File and Folder digit input change tcounter c Description This file is an example of the EPM 3438 couter programming read the counter value
101. x Power 27 dBm Retry min limit 7 RTS thr off Fragment thr off Encryption key 157A 1DBD B0C3 7CC8 O0F9C D059 2881 F815 E4DB 3705 6969 8253 865E ADFO FDB8 AEC1 2 Security mode open Power Management off Link Quality 34 70 Signal level 76 dBm Rx invalid nwid 0 Rx invalid crypt 0 Rx invalid frag 0 Tx excessive retries 0 Invalid misc 0 Missed beacon 0 3 Example 3 Connect to AP SSID test_wpa2 with WPA2 key 1234567890 ascii The configuration file test w pa2 conf can also apply WPA2 connection Follow the directions in example 2 to get the following results wlanO IEEE 802 11abgn ESSID test wpa2 Mode Managed Frequency 2 462 GHz Access Point OO lF 1F 8C 0F 64 Bit Rate 1 Mb s Tx Power 27 dBm Retry min limit 7 RTS thr off Fragment thr off Encryption key 8546 8201 6DCA 8A37 6EE6 AD44 8D3F 6553 2 Security mode open Power Management off Link Quality 40 70 Signal level 70 dBm Rx invalid nwid 0 Rx invalid crypt 0 Rx invalid frag 0 Tx excessive retries 0 Invalid misc 0 Missed beacon 0 ATTENTI ON View the following references for more information about wpa supplicant Website http hostap epitest fi wpa supplicant The configuration README http hostap epitest fi gitweb gitweb cgi p hostap git a blob plain f2wpa supplicant README Getting Wireless Card nformation The program iw is a new nl80211 based CLI configuration utility It can get more complete information than iwconfig fo
102. x lt _ Driver Info Display Config 1 Display Attributes Ee Color Correction General Adapter Monitor Troubleshoot Color Management Adapter Type Intel Corporation 945GME 9495 5E Embedded Graphics Chipset Function Adapter Information Chip Type Intel S45QME GSE Embedded Chipset DAC Type Integrated RAMDAC Menon Size 262148 Adapter Sting Intel S45QME G5E Embedded Chipset Bios Information Intel Video BIOS List All Modes List All Modes List oF valid modes 1920 by 1080 256 Colors 60 Hertz 1920 by 1080 High Color 16 bit 60 Hertz 1920 1080 True Color 32 60 Hertz 640 by 480 256 Colors 60 Hertz 640 by 480 High Color 16 bit 60 Hertz 640 480 True Color 32 bit 60 Hertz 640 by 480 256 Colors 70 Hertz 640 by 480 High Color 16 bib 70 Hertz 640 480 True Color 32 bit 70 Hertz Cancel Setting the Display to Extend Mode with the DisplayLink Properties 1 From the taskbar click the DisplayLink icon 2 Select Extend 4 71 V2400 Series Expansion Modules Software Installation and Programming Guide Setting the Display to Mirror Mode with DisplayLink Properties To use the Mirror Mode you must use the DisplayLink Properties To do this 1 Right click the display and then select Properties Settings 2 Uncheck the Extend the desktop onto this monitor option 3 Click Apply Display Properties Di
103. y clear the Extend the desktop onto this monitor checkbox Disabling the Laptop Screen Check the This is my main monitor option Select the primary display Display 1 Uncheck the Extend the desktop onto this monitor option Click Apply HB The display remains as the primary display if the PC enters hibernate or suspend mode or is rebooted If the display is detached the main display will once again become the primary display Setting the Display as the Primary Display with DisplayLink Properties l From the taskbar click the DisplayLink icon 2 Select Set as Main Monitor DisplavLink Manager Screen Resolution Screen Rotation Extend Extend Set as Main Monitor Notebook Monitor OFF Mirror Ea TW Advanced Configuration EPM 3552 Patch File nstallation Known Technical ssues The following technical issues will be apparent if you do not install the EPM 3552 patch file l When powering off the V2422 2426 computer the display connecting to an EPM 3552 module running Extended Mode also shows the shutdown screen Normally the display connecting to the EPM 3552 module should remain blank 2 When the EMP 3552 module has been mounted and the V2422 2426 computer has been powered on no image shows on the display connected to the DVI I connector of the V2422 2426 computer Normally the image should be visible 4 73 V2400 Series Expansion Modules Software Installation
104. y DIO functions from the peripheral 1 0 library These functions allow user applications to focus on event handling when events occur A callback function is defined by the programmer to associate with an event The source code files of the sample program are located in the samples mxphio digit input change directory for Linux Four higher layer functions digit io timer init digit io timer dispatch digit io timer add callback and digit io timer dispatch quit are provided Four callback functions in the sample are added for four different events DGTIO GET INPUT STATE CHANGE DGTIO GET INPUT DGTIO GET OUTPUT and DGTIO SET OUTPUT via the digit io timer add callback function mngr digit io timer init if digit io timer add callback mngr HWI ndex port DGTIO GET INPUT STATE CHANGE interval input chg cb amp port lt 0 4 if digit io timer add callback mngr ndex port DGTIO GET INPUT interval input get cb amp port lt 0 4 7 V2400 Series Expansion Modules Software Installation and Programming Guide if digit io timer add callback mngr HWI ndex port DGTIO SET OUTPUT interval output set cb amp port 0 if digit io timer add callback mngr ndex port DGTIO GET OUTPUT interval output get cb amp port lt 0 digit_io_timer_dispatch mngr Examples DIO Program Source Code File Example File and Folder digit_input_change digit_io_timer c Description Routines

Download Pdf Manuals

image

Related Search

Related Contents

Helen of Troy BH209 hair straightener  5. maj 09 -TIME Installation instructions (english master)  SMARTFIND A5 EPIRB User manual  Audiovox P-87S Stereo System User Manual  H.264 NETWORK Embedded DVR  Samsung SGH-B130 Керівництво користувача  DMX512 Data Decoder User Manual  試そうDyson  Tecumseh AE2410Z-AA1AGB Technical Data Sheet    

Copyright © All rights reserved.
Failed to retrieve file