Home
TC-6110 Windows Embedded Standard 7 Software Manual
Contents
1. Local intranet Protected Mode Off 4g 1005 11 38 PM 5 23 2013 6 After opening the Synmap MIB in the browser check that it appears in the File window If it is not then it is likely because the MIB file is corrupted To remedy this re copy the MIB file from the software DVD and re load the MIB file following the instructions above AgentIP 127 0 0 1 OID Ganon Gnisubtes 4 21 TC 6110 Windows 7 Installing Moxa Software Using Synmap OIDs to Control the TC 6110 Follow these steps to use Moxa Synmap to read the MIB and set up controls for the TC 6110 Retrieving Basic Device Information 1 In this first step we will use Synmap to retrieve specific device information about the TC 6110 First use the Get Next button to navigate the OID tree by clicking through these items MOXA SYS MIB VALUES Moxa embeddedComputer MoxaSystem productInfoMgmt _ RFC1213 MIB d MOXA SYS MIB Agent IP 127 0 0 1 VALUES J moxa 8691 OID 1 3 6 1 4 1 8691 17 1 1 Ei y embeddedComputer 17 Ei moxaSystem 1 C GetSubtree wak Value BWM rocco WA productName 1 M productDesc 2 V productVersion 3 productBuildDate 4 systemInfoMgmt 2 biosMgmt 4 L sensorMgmt 5 amp peripheralMgmt 6 powerMgmt 7 notificationMgmt 9 CE oductinfoMgmt 1 1 3 6 1 4 1 8691 17
2. Select Destination Location Select Start Menu Folder Where should MXview be installed Where should Setup place the program s shortcuts k Setup will install MXview into the following folder j Setup will create the program s shortcuts in the following Start Menu folder To continue dick Next If you would like to select a different folder click Browse To continue click Next If you would like to select a different folder cick Browse Browse oxa Browse At least 77 9 MB of free disk space is required 4 Next you may register MXview as a Windows service and create a desktop shortcut 4 15 TC 6110 Windows 7 Installing Moxa Software 5 After you have completed the pre install configuration click Install to transfer MXview to disk and wind up the installation lling Setup is now ready to begin installing MXview on your computer zy Please wait while Setup installs MXview on your computer Click Install to continue with the installation or click Back if you want to review or Extracting files change any settings c Program Files Moxa MXview script upgradeDB_traffic sql Destination location c Program Files Moxa MXview Start Menu folder Moxa 6 After MXview has installed you must enter the IP address of the machine on which it is located This may be the localhost address 127 0 0 1 or if you are connecting to MXview over a LAN it will be a remote IP addre
3. ledTable 2 ge ledEntry 1 ledIndex 1 amp ledPort Name OID Value 2 In the MIB browser navigate the OID tree to MOXA SYS MIB VALUES Moxa embeddedComputer MoxaSystem peripheralMgmt perLedMgmt ledTable ledEntry ledValue To change the state of 1 3 6 1 4 1 8691 17 1 6 2 2 1 INTEGER off D on 1 ledvalue an LED from on to off or vice versa click Set on the corresponding ledValue OID shown in the access read write J VALUE ledValue OBJECT TY gt egvalue Syntax INTEGER off Q on 1 SoS ose ooo Tas Gy So a aan sone figure at right This will open a dialog called the Set Value dialog No Message 3 01 53 AM Managed Devices Current Max 0 20 Done 1 Local intranet Protected Mode Off fav 10076 4 23 TC 6110 Windows 7 Installing Moxa Software 3 The Set Value dialog has four fields one for the OID Vv 3 that is being called another called Index that identifies the LED being manipulated and a third called Value to SE set the state of the LED The fourth field Syntax ee IS informs you of the type of character to be used to set the Syntax value In this case we are using the integers 0 and 1 0 Integer turns the LED off and 1 turns it on After entering the Ee correct information into the fields as shown at right 1 click on the Set button and check if the LED1 i
4. 7745611 Copyright c 200 Atheros Corporation 8631961 Broadcom NetXtreme II 5771x 10Gigabit Ethernet Driver bnxZx 1 62 00 6 2011 01 30 0059321 Btrfs loaded 054095 deuice mapper uevent version 1 0 3 059737 device mapper ioctl 4 19 1 ioctl 2011 01 07 initialised dm devel redhat com Running scripts init premount done Mounting root file system I 6 269382 Uniform Multi Platform E IDE driver 6 301889 ide generic please use probe_mask Ox3f module parameter for probing all legacy ISA IDE ports 6 601141 NTFS driver 2 1 30 Flags R W MODULE 6 914295 NTFS volume version 3 1 Running scripts live premount done 331989 FAT utf6 is not a recommended IU charset for FAT filesystems filesystem will be cas aufs module is from the staging directory the quality is unknown you have been war 7 4790981 aufs Z 1 standalone tree 38 rcN 20110228 6102281 loop module loaded 7 905144 squashfs version 4 0 2009 01 31 Phillip Lougher Running scripts live realpremount done 1 Mounting liue image liue filesustem squashfs on filesystem squashfs uia 7deu loop0 Running scripts live bottom Begin Configuring fstab done Preconfiguring networking done Loading preseed file done in Running scripts init bottom done version 2 86 booting sing makefile stule concurrent boot in runlevel S 3 Once the image creation environment has completed b
5. e Visit Microsoft s detailed description of the EWF API 3 2 TC 6110 Windows 7 Enabling Windows 7 Write Protections Enabling Enhanced Write Filter Follow these steps to enable the Enhanced Write Filter 1 First open the console by running cmd exe 5 S Programs 1 E cmd See more results cmd x Shut down F Ca Lc 2 To verify that Enhanced Write Filter is disabled type C gt ewfmgr c E Administrator CAWindows systems crmd exe eJ amp Ez Microsoft Windows Version 6 1 7681 1 Copyright c 26180 Microsoft Corporation All rights reserved C Users moxyarewimgr c Protected Yolume Cont igurat ion Tix Bom YHBEC State DISABLED Boot Command AO CPD Parami Faram2 i Volume ID D 2C AB ES 66 AH 8H B6 Bid Bid BB BB BB BB HB BB Volume Hame SP GLOBALKROOT Device HarddiskVolume2 EHE Max Levels 1 Clump Size 512 Current Level H h Memory used for data A bytes Memory used for mapping A bytes Cc Users moxa gt TC 6110 Windows 7 Enabling Windows 7 Write Protections 3 To enable the Enhanced Write Filter type C N ewfmgr c enable Ems Administrator CAWindowsNsystem32Wcmd exe Co WUsers moxarsewi mgr c enable a Enabling overlay Protected Volume Configuration Type LU 4 A47 Boot Command Paraml1 Param Yolume ID Volume Hame Max Levels Clump Size Current Level RAN CREG gt EET IAE EWA BLE Lu A D6 2C AB
6. 0 0 0 0 0 0 04 004 0 09 04 09 04 0 0 04 o4 0 o c w ua w uw Disk2 G2_X_Axis Curent 0 mg 60 G2_Y_Axis Curent 0 mg 60 G2 Z Ais Curent 0 mg 60 iain 20 20 Le re eal rt alert select Alert Setting from the bottom of the G sensor charting interface 2 When the AlertSetting interface appears it will look like the screenshot below Generally for industrial hard drives built with high tolerance for vibration and shock a good point to begin with is 1000 mG 1 G 4 9 TC 6110 Windows 7 Installing Moxa Software although many drives can go as high as 20 000 mG 20 G A suitable sampling rate to start off with is 100 ms To get the best performance check the drive specifications provided by the manufacturer and then experiment to get the best results F uL AlertSetting Alert Threadhold X ULE Alert Threadhold Y 1000 Alert Threadhold Z 1000 Sampling Rate 100 mg ma Save log ms Log file path Disk1 c moxalog gsensorGSensorMert 1 csv Log file path DIsk2 cc moxa og gsensor GSensorAlet csv File Size 100 MBytes 3 Click Save to finish the setup Note Disk1 refers to slot 1 and Disk2 to slot 2 4 Wait for about 1 minute for the G Sensor alert utility to restart then shake the computer Check the log in a simple ASCII editor i e Notepad to verify it is logging stats to the indicated path If no events ar
7. C 1 5i2 1 Memory used for data 33272320 bytes Memory used for mapping 16384 bytes C2 Users moxa gt _ TC 6110 Windows 7 Enabling Windows 7 Write Protections File Based Write Filter Overview File Based Write Filter FBWF is similar to EWF but is enforced at the file level rather than at the hardware bit level This means it is slightly less secure but this allows it to provide more user features than is possible with EWF File Based Write Filter FBWF allows the Windows Embedded platform to maintain the appearance of read and write access on write sensitive or read only storage FBWF makes read and write access transparent to applications Writing to storage media may be undesirable or impossible in embedded devices FBWF redirects all writes targeted for protected volumes to a RAM cache called an overlay Used in this context an overlay is similar to a transparency overlay on an overhead projector Any change made to the overlay affects the picture as seen in the aggregate but if the overlay is removed the underlying picture remains unchanged One of FBWF s more advanced features allows the user to specify a directory where data may be more conveniently written to the data drive than is possible with EWF The TC 6110 s default settings have already configured a default directory for this you may use the c temp directory for files which require write access Enabling File Based Write Filter To enable file ba
8. E perLedMgmt 2 perSerialMgmt 3 CH perUsbMgmt 4 B perSystemMamt 6 X systemWatchdog 2 WV watchdogStati Get powerMgmt 7 Perrier fal noatiFicatinnMoarnt Q 4 Get Subtree name watchdogPeriod 1 1 3 6 1 4 1 8691 17 1 6 0 Set INTEGER 0 255 read wirite VALUE watchdogPeriod OBJE CT TYPE Syntax INTEGER D 255 Access read write Status current ww Description Watchdog period d ipt 0 means disable watchdog mo Qn e nitor program othenwise enable a oO a mi 2 Inthe Set Value dialog for watchdogPeriod the refresh time can be entered as a number between 1 and 255 seconds in the Value field Enter the desired value and click Set Click OK when a dialog appears indicating that the watchdog has been successfully set Right click MOXA SYS MIB VALUES Moxa embeddedComputer MoxaSystem peripheralMgmt perSystemMgmt watchdogStatus and select Get Note that in the screenshot below the watchdog is currently disabled moxa 8691 Ji embeddedComputer 17 e 2 E 4 O 1 powerMamt 7 moxaSystem 1 productInFoMgmt 1 systemInfoMgmt 2 biosMgmt 4 sensorMgmt 5 peripheralMgmt 6 perloMgmt 1 perLedMamt 2 perSerialMgmt 3 perUsbMagmt 4 perSystemMgmt 6 B d systemWatchdog 2 Wf watchdogPeriod 1 d Watchdogs natiFicatinnMamt fa watchdogStatus 2 1 3 6 1 4 1 8501 17 1 6 Get m Get Next
9. Favortes amp m Suggested Stes Web Slice Gallery dB http Aocaleort81 index hte amp E 5 wem Page Safety v Took e Project View Device Link Information Evert Toots MIB Help NX view ipm 2 a reh P Load MIB Q Search Devices Agenti 127001 sevi Device List m o0 Root Quage Ext Get GetNet GetSumee wak se Name OID Value Instructions continue on next page 4 20 TC 6110 Windows 7 Installing Moxa Software 5 Navigate to c usr share snmp mibs and select MOXA SYS MIB txt http ol x a pou ponu o r cT GEN E A So XI Ww Favorites o Suggested Sites v g Web Slice Gallery v http localhost 81 index htm mall e LU d v Pager Safeyv Took Project View Device Link Information Event Tools MIB Help Agent IP mbs docta IANA LANGUAGE MIB RN EXER VI IANA RTPROTO MIB L MTA MIB IANAifType MIB _ NET SNMP AGENT MIB IF INVERTED STACK MIB NET SNMP EXAMPLES MIB IF MIB NET SNMP EXTEND MIB INET ADDRESS MIB _ NET SNMP MIB IP FORWARD MIB NET SNMP MONITOR MIB IP MIB _ NET SNMP PASS MIB IPV6 FLOW LABEL MIB _ NET SNMP PERIODIC NOTIFY MIB IPV6 ICMP MIB _ NET SNMP SYSTEM MIB IPV6 MIB NET SNMP TC IPV6 TC _ NET SNMP VACM MIB IPV6 TCP MIB NETWORK SERVICES MIB IPV6 UDP MIB NOTIFICATION LOG MIB LM SENSORS MIB RFC 1215 4 m File name MOXA SYS MIB txt Files of type AllFiles
10. 1 Set led signal success 5 2 TC 6110 Windows 7 Customizable Sample Code G Sensor Accelerometer Control Code The TC 6110 computer comes with 2 independent accelerometers that may be used to monitor external vibrations affecting the computer The accelerometers are located on the board of each of the two SATA expansion modules The basic accelerometer control code is included under the title G Sensor exe and it may be found on the software DVD under NexamplesNTC6000Release The source code itself may be found under examples project GSensor To review the accelerometer control code you may refer to Appendix B of this manual under The Accelerometer Control Script You can follow the steps below to test the accelerometer Please remember that the X axis represents front to back motion relative to the sensor the Y axis is left to right and the Z axis is up and down A good target threshold to start off with is 1000 milligravities mG which is the basic tolerance threshold for many industrial quality hard drives Accelerometer Control Walkthrough 1 If you haven t yet create the folder c NprogramsNexamples then copy over GSensor exe 2 Insert the TC 6110 SATA expansion module into slot 1 Leave slot 2 empty 3 Run GSensor exe and check to see if the G sensor is registering raw vibration measurements In the screenshot below because only the slot 1 SATA module has been inserted the program is only showing information for t
11. The sample code for reading temperatures is included in Appendix B of this manual under The Temperature Sensor Control Script Walkthrough for Reading Temperature Values 1 If you haven t yet done so create the folder c programs examples then copy over TempSensor exe 2 Insert the TC 6110 SATA expansion module into slot 1 Leave slot 2 empty 5 4 TC 6110 Windows 7 Customizable Sample Code Ji Run TempSensor exe The console should show the immediate values for the temperature sensors on the SATA expansion module in slot 1 43 88 C in the screenshot below and slot 2 In this case we have inserted only one SATA module in slot 1 so the program only shows a value for Disk1 for slot 2 Disk2 below it shows N A for Not Applicable indicating that slot 2 is empty or the T sensor is not operating Em Administrator CAWindo C programs example gt TempSensor exe Diski Temperaure 43 88 Disk2 Temperaure N A C programs example gt _ GPS Control Code A GPS module for the TC 6110 may be purchased from Moxa as an accessory Moxa s GPS receivers communicate using the NMEA specification This section describes how to build control scripts that automate actions for particular GPS events During this installation we will use Moxa s PComm Lite serial communications development environment to install and configure the GPS module However any serial port terminal emulator such as HyperTerminal Tera Term or PUTTY m
12. and many other system parameters Installing the PdM Diagnostics Package Follow these steps to install the G sensor vibration package 1 Double click mxsensor setup msi in software DVD gt utility 2 mxsensor Utility 2 Click Next to continue 3 Select the folder you want to install the package to or simply click Next to continue if you want to use the default folder When the next dialog appears click Next to continue 4 6 TC 6110 Windows 7 Installing Moxa Software Select Installation Folder The installer will install mxsensor to the following folder To install in this folder click Next To install to a different folder enter it below or click Browse Folder C Program Files MOXA mxsensor l Browse Disk Cost Install mxsensor for yourself or for anyone who uses this computer D Everyone 4 When the installation is finished click Close to complete the installation Please remember that the PdM diagnostics package will not be available until the computer is rebooted You may restart the computer at this point if you wish Configuring and Using the G Sensor Tool Launching the Charting Application Follow these steps to launch and check the sensor tool 1 To launch the G sensor charting utility right click on the tricolor icon in the system tray and select GSensorChart from the pop up menu Please note unum onitorT oo that if you select Exit yo
13. then return to section 5b of Step 1 Preparing the USB Drive and follow the instructions to create a clean OS image Using this procedure you will save to the USB drive a copy of the entire system as it is currently configured to be used as a full system recovery image should the system crash All files under F home partimag will be overwritten Additionally you should have already changed the BIOS settings to make the USB drive the first boot priority If you have not yet reset the boot priority first return to Step 2 Setting the BIOS to Boot via USB just above and follow the directions there 1 Once the system has launched and the TC 6110 has booted the recovery environment from the USB drive navigate to the entry Clonezilla Live Save Disk and select it by pressing Enter This will take you into the recovery image creation environment allowing you to copy your full system setup to the USB drive clonezilla live restore disk clonezilla live save disk Hemtest amp FreeDOS gt 6 5 TC 6110 Windows 7 System Recovery 2 The TC 6110 will now boot into the image creation environment Wait for the boot process to finish 141941 sd 0 0 1 0 sdb Attached SCSI disk 2972771 sd 0 0 0 0 Attached scsi generic sqgO type 0 2696911 sd 0 0 1 0 Attached scsi generic sgi type 0 2 606661 sr 1 0 0 0 Attached scsi generic sgZ type 5 Loading essential drivers I 5 772551 fitheros CR LZ Ethernet Driver version 2 2 3
14. 4 1 8691 17 1 5 1 3 1 4 1 3 6 1 4 1 8691 17 1 6 4 1 3 1 3 1 3 6 1 4 1 8691 17 1 6 4 1 3 1 4 1 3 6 1 4 1 8691 17 1 6 6 2 1 1 3 6 1 4 1 8691 17 1 6 6 2 2 1 3 6 1 4 1 8691 17 1 7 2 4 13 read write read write read write tempSensorIndex to identify temperature sensors by name position and to subsequently call them in scripts The reading returned by the thermometer in degrees Celsius Note On the TC 6110 temp is currently represented as the current reading truncated to its base integer without rounding Reference index showing all available accelerometers starts from 1 Shows the format in which accelerometer s axial values will be returned This will always be in Xn Yn Zn form with n the index number of the accelerometer with which the axis is associated Returns a block of the last hundred recorded values for all three axes of a particular accelerometer taken from the log file this will be g force in micro gravities uG Note this OID requires the accelerometer s log file to be activated and up to date If the log file is unreadable for any reason this OID will not return data Returns the accelerometer timestamp Returns the USB s hexadecimal product ID Returns the USB device class for any connected device Sets the watchdog s timeout interval in seconds e Entering O disables the watchdog Entering an integer from 1 to 255 configures the timeout interval to that numbe
15. Code This chapter uses sample code to show how scripting may be used to add customized capabilities to the TC 6110 computing platform The following topics are covered in this chapter O LED gt Checking Programmable LED O Checking Vibration Status SMBUS O Enabling Watchdog Function TC 6110 Windows 7 Customizable Sample Code Sample Code for Customizing the TC 6110 The TC 6110 computer comes with several pieces of sample code that users may use to customize its behavior for LED notifications temperature vibration and GPS events or to initiate emergency reboots when critical system applications come to a halt The LED Control Walkthrough The TC 6110 is designed with 8 programmable LEDs that integrators and system administrators may customize for their notification needs The source code for controlling LED behavior is located in the folder Software DVD gt examples project LED while the compiled executable LED exe is located under Software DVD gt examples TC6000Release You can follow the steps below to test the LED control script or you may freely modify the control script to create customized patterns that are associated with specific system events To review the LED control code see The LED Control Script section in Appendix B of this manual E 2 Ji Create the c programs examples folder and copy LED exe into that folder Run LED exe You will be presented with a menu of three choices first selec
16. Cument 0 mg Log Setting Alert Setting Curent 42 9 mg G1 Y Axis mg G1 Z Ais mg Disk2 G2_X_Axis mg G2 Y is Curent 0 mg G2 Z wis mg Log Setting Alert Setting Installing Moxa Software Configuring the Sensor Logs 1 To configure log settings for the G sensor select Log Setting from the bottom of the G sensor charting interface ad GSensorChart E X Diskl Disk2 G1 X Ais yee G2_X Axis i Curent 429 Curent 0 mg mg G1 Y Axis G2 Y Axis Curent 234 Curent 0 mg mo G1 Z Axis G2 Z vis Current 546 Cument 0 mg mg ias sana ie svo 2 The LogSetting interface allows you to turn the G sensor s data logger on and off To turn on the G sensor enter the file path where you want the log saved set the maximum file size after which a new log file is 4 8 TC 6110 Windows 7 9i Configuring the G Sensor to Signal an Alarm 1 To set an Installing Moxa Software created and set the sampling interval how often the vibration data will be sampled and recorded When finished click Save to complete the setup Note Disk1 refers to slot 1 and Disk2 to slot 2 ud LogSetting e j LogData Log file path Disk 1 maxa Mag sensor a SensorNormal 1 csv Log file path Disk2 c moxaWMaog gsensoraSensorMormal2 csv File Size 100 Log Interval 2000 MBytes Wait
17. Get Subtree Walk Set Agent IP 127 0 0 1 SNMP v1 OID Name OID watchdogPeriod 1 3 6 1 4 1 8691 17 1 6 6 2 2 0 Eg IwatchdogPeriod INTEGER running 1 stopped e read vrite VALUE watchdogStatus OBJE CT TYPE Syntax INTEGER running 1 stopped 2 Access read write Status current Description To show the watc 4 29 TC 6110 Windows 7 4 Installing Moxa Software Since you have just changed the value of the watchdogPeriod OID check to verify that the value of the watchdogStatus OID has changed to 1 This means that the watchdog is now activated and running moxa 8691 di embeddedComputer 17 GE j moxaSystem 1 D 8 8 8 8 productInFoMgmt 1 systemInfoMgmt 2 biosMgmt 4 G sensorMgmt 5 peripheralMgmt 6 perloMamt 1 perLedMamt 2 perSerialMgmt 3 perUsbMamt 4 1 perSystemMgmt 6 El systemWatchdog 2 natificatinnMamt fo Agent IP 127 0 0 1 SNMP v1 OID 1 3 6 1 4 1 8691 17 1 6 6 2 2 0 Get Get Next Get Subtree Walk Set Name OID watchdogStatus watchdog Status 2 1 3 6 1 4 1 8691 17 1 6 6 2 2 INTEGER running 1 stopped 21 tead write VALUE watchdogStatus OBJE CT TYPE Syntax INTEGER running 1 stopped 2 Access read write Status current Description To show the watc 4 30 gt Customizable Sample
18. Preconfiguring netuorking done Begin Loading Begin Running preseed file done scripts init bottom done INIT version 2 88 booting sing makefile style concurrent boot in runlevel 5 live config hostname user setup sudo locales tzdata keyboard configuration sysvinit sysu re initram fs tools util linux login openssh seruer 3 Atthis point the system will remind you that you are about to overwrite your entire operating system with a new drive image and ask you if you want to continue When prompted enter Y case insensitive from the keyboard to start the system restoration process Any other letter or Ctrl C will cancel it and exit Clonezilla WARNING WARNING WARNING WARNING THE E BE LOST XISTING DATA IN THIS HARDDISK PARTITION S WILL BE OVERWRITTEN ALL EXISTING DATA WILL SORORORKORORORORORKORORORORORKORORORORORKOROROROROEOROROROROOROROROROORORORORORORORORORORORORORORONRONONONOK Machine VirtualBox sda 2 1GB_VBOX_HARDDISK__ata VBOX_HARDDISK_VBic64a0a3 c3f 7523d FORO ORO OOO ORO ORR HORROR HORROR ORO CRO OR RC RCE n 4 Thesystem will give you another warning that you are about to overwrite your hard drive and erase all data on the partition listed sda1 in the example below If you wish to continue enter Y case insensitive XORKOOROROROROROROROROROROROROROROREORORORORORORORORORORORORKORKORKORORORKORORORORORORORORORORORORORORORORKOROK Machine VirtualBox sda 2
19. Tam off rorarii nrbe en Firg and Sappori E ok 4 Next select the usage environment Windows will automatically apply a preset bundle of security settings based on the network environment in which it is located Most restrictive is public least restrictive is home Qucm Select your computer s current location Tha ccrmgeaiar i conncipd ip a catene rdo well aera apph TH correct retuzst mrtg bused ao Her rurtaccrh q eee Home netek a Fai Hur computari ae Hut renee ar a pow hora pod yeu n ogre bhara Pun m a Vrgibd Ferre ariari iori haper Heri Por pabbi pipin malh iri cil Ene phog cn aiat Work ratari E adi rhe dije eR hed aprh kp MD real crc liam deal yapa niece Era Ti m aidronisd work etek Daat cheese tha lor pedis place Lach an caasa cope cd waprett L Public netweosk F you Get mcogeor sli Her ccormpsuten oe Har tanri or erp poe accion Bng or eee prac haog crepes brradbac Fup op eee rahani paf rp nol Irwin E pa ded urs Lem Pe Peper 5 Now you can start to use TC 6110 embedded computer 2 2 3 Enabling Windows 7 Write Protections This chapter describes how to set up and configure Windows 7 bit level and file level write protections on the TC 6110 storage drives The following topics are covered in this chapter O Enhanced Writer Filter O File Based Write Filter TC 6110 Windows 7 Enabling Windows 7 Write Protections Enhanced Write Filter Overview Enhanced Write Filter EWF al
20. ae dut uoe utadute ut uut eiue atout eutiubet eu aM O 3 5 Installing Moxa SoftWare 1 used coco odas eua uuu cesa auus MEME aa ME REEENENESERNREMEEEUNNREMRRERNR NE RNEEER NR MEE KEER ME MERE 4 1 mxhtisp Hot swapbihig fOr Hard DEVES sssussasvuwiirad cvm eat rei eat te tem eut cate ette ote tette eret ote oa bte DAL a 4 2 Gra c A 4 2 installing MXA S Darrera HEMUEEEM 4 2 AOC SWap Connduratiomand Usd eriin oni E EEE E T DnA COe FOR ut 4 2 Moxa Predictive Maintenance Diagnostic TOOlS ssasassnsnnsnansnnnnansnnnnnnannnnanansnnnnennnrsnannnsnnnnssnanrnnnnnnsnnnnnn 4 6 Qiu mi rome EEEN Mcr 4 6 Installing the PdMDiagriostics Packagse tiie EMC leer eoe ESES 4 6 Configuring and Using the G Sensor 00 r cce mien eco docena detenta 4 7 Configuring and Using the Temperature Sensor sssseeeeeieesemee nennen nana nme anas msan ana men 4 10 The Synmap Virtualization Layer Full Interoperability with Any Moxa Device cccccee cece cette eeeeeen eens 4 11 OVeOL VIO usd t urte tiep tado erpe pee peir tas SUR a ee e eiere RS 200002202800 000 219002 a techo oot ovv nee v Rosi tee 4 11 The Svynmap Design CONCEDE etasececat esee erae tutta e epa E D Popetutd 4 11 Moxa Synthap OIDS LDEISE cccecneeocecoceinandncncnedoridnonicimondmremcemorieednidm eie icdreanieka a qose da deter perta better ped die 4 12 Installing the s
21. iaxrs a 14 Z axis FS eu Z axis mg z axis 0 0039 Z axis mg z axis mg 1000 Z axis mg 223359 30 00597 Z axis mg z axis mg 1000 The Watchdog Control Script WatchDog cpp Defines the entry point for the console application include stdafx h include lt windows h gt include devices h int tmain int argc TCHAR argv int Ld Handle to device obtain from mxwdg open ULONG time This section calls the watchdog timer time 10 mxwdg open time while TRUE This section is just a UI provided for debugging This section should be removed or commented out when using this code when integrating particular programs with the watchdog printf Press ENTER in 10 seconds n q to exit WCHAR ch getwchar if ch WCHAR g break This section is the automated timer admins should include to ensure a program is kicking the dog mxwdg refresh fd stops watchdog timer mxwdg close fd return 0 TC 6110 Windows 7 Sample Code for TC 6110 Customization The Temperature Sensor Control Script TempSensor cpp Defines the entry point for the console application include stdafx h include lt windows h gt include commctrl h include lt WTypes h gt include devices h int tmain int argc TCHAR argv double dCPUTemp dSATAlTemp dSATA2Temp BOOL bRet FALSE Open t
22. obvious benefits to any IA network Synmap currently allows you to use SNMP for remote monitoring and control of a select set of computer processes but its list of features is rapidly growing Using Synmap s fully portable scripts engineers will soon be able to Access monitor control and report on digital I O at both the process and hardware layers Use OIDs to monitor configure and give process control over serial ports and other interfaces Monitor and control system attributes and process events via any NMS Build automated remote procedures using Synmap OIDs called by simple shell scripts or a preferred high level language like Python Perl or VBScript all without any need for low level APIs or platform specific libraries Significantly simplify and reduce development times for custom utilities and automated executables Gain scripting and automation independence from OS dependent libraries All of this may be achieved using simple reliable and familiar SNMP the easily accessible standard that IT engineers are already familiar with The Synmap Design Concept Synmap is a software design concept that offers programmers a wholly unique and superior conception of infrastructure development for IA control Instead of using low level APIs Synmap adapts the higher level SNMP protocol to serve as a universal API across all machines With Synmap application developers gain several benefits the two biggest being a signif
23. of the volume 1 3 6 1 4 1 8691 read only Returns the BIOS version biosSaveSetting 1 3 6 1 4 1 8691 read write Write 1 to save bios setting and read 0 mean setting had been applied biosSettingStatus 1 3 6 1 4 1 8691 read only Returns compare of bios CMOS setting and bios new setting bootDeviceStatus 1 3 6 1 4 1 8691 17 1 4 4 1 read only Returns the current support boot device irstBootDevice 1 3 6 1 4 1 8691 17 1 4 4 2 read write read show current first boot device write set A 2 TC 6110 Windows 7 pe _ pwrOnAfterPwrFail 1 3 6 1 4 1 8691 17 1 4 8 1 pwrLanWakeUp 1 3 6 1 4 1 8691 17 1 4 8 3 empSensorsIndex 1 3 6 1 4 1 8691 17 1 5 1 1 1 1 empSensorsDevice 1 3 6 1 4 1 8691 17 1 5 1 1 1 2 empSensorsValue 1 3 6 1 4 1 8691 17 1 5 1 1 1 3 oltSensorsIndex 1 3 6 1 4 1 8691 17 1 5 1 2 1 1 oltSensorsDevice 1 3 6 1 4 1 8691 17 1 5 1 2 1 2 oltSensorsValue 1 3 6 1 4 1 8691 accelerometerIndex 1 3 6 1 4 1 8691 11 5 1 2 1 3 5 5 1531 1 accelerometerAxis 1 3 6 1 4 1 8691 17 1 5 1 3 1 2 accelerometerValue 1 3 6 1 4 1 8691 17 1 5 1 3 1 3 1 5 1 3 1 4 accelerometerTimestamp 1 3 6 1 4 1 8691 pee 1 3 0 1 4 1 8691 17 1 5 1 1 2 1 1 mU m permesso diTrapEnable 1 3 6 1 4 1 8691 17 1 6 1 1 2 1 4 mer o premens powder remm m o pesi The 2013 Synmap OID Table read write Select power on after power fail behavior Enable Disable wake on LAN fu
24. very simple ascii configuration file to set the target drive capacity simply note the volume mount point and the percentage of drive capacity that must be filled for mxhtspd notifications to begin with the two values separated by a colon A screenshot of the configuration file is shown above For example if you wish to set the system to notify you when the D drive is 50 full and the E drive is 90 full then you would enter D 50 on the first line and E 90 on the second as shown in the screenshot When storage space on the drive has been filled beyond these thresholds the L1 LED on the module spine visible on the front face of the TC 6110 will blink repeatedly and a notification will appear on the desktop in the Windows 7 system tray WARNING If you have ticked the Check Partition box in the hot swap Settings dialog see above pg 4 3 you must configure a notification threshold for each partition in the C Program Files MOXA mxhtsp config file If you do not mxhtspd will fail to read the partition and throw an error by notifying the user that the drive in question does not exist Power Input 24 110 VDC X1 of Drive 2 f SUV A L1 ACT L2 Heater L3 Prog 1 L4 Prog 2 Remote Power Switch Moxa Hot Swap mxhtsp Scripts There are three Visual Basic scripts provided for customizing the Moxa hot swap feature The hot swap customization scripts are stored as files in the C Program Files MOXA mxhtsp config script fol
25. you want to install the package or simply click Next to continue if you want to use the default folder w fg mxhtsp elcome to the mxhtsp Setup Wizard Select Installation Folder The installer will quide you through the steps required to install mxhtsp on your computer The installer will install mxhtsp to the following folder To install in this folder click Next To install to a different folder enter it below or click Browse Folder C Program Files MOX4 mxhtsp Browse Disk Cost WARNING This computer program is protected by copyright law and international treaties Install mxhtsp for yourself or for anyone who uses this computer 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 E Everyone Just me ee Ge Ge Ems 3 The wizard will tell you the installer is ready to install mxhstp Click Next to continue and after the installation has completed click Close to exit the wizard and end the installation 4 After the wizard closes a dialog will appear seen at right asking you if msp You must restart your system for the configuration changes made to mxhtsp to take effect you want to restart the system Click Yes to restart the computer and Click Yes to restart now o
26. 1 1 VALUE productinfoMgmt OBJECT scription IDENTIFIER 1 3 6 1 4 1 8691 17 1 1 2 When you reach the final layer of OIDs you will need to select GetSubTree to display the available information When you use the MIB viewer to select the productInfoMgmt OID you will see the following information displayed in the MIB viewer s information window Product Name TC 6110 Product Description Moxa embedded computer Product Version 1 0 0 and Product Build Date 13013018 MiB Browser i YA pM REN File RFC1213 MIB l MOXA SYS MIB Agent IP 127 0 0 1 SNMP v1 S J VALUES moxa 8691 OID 1 3 6 1 4 1 8691 17 1 1 4 0 1 5 embeddedComputer 17 moxaSystem 1 Get Get Next Walk Set 5 EETENZDTIU WE productName 1 M productDesc 2 V productVersion 3 WE productBuildDate 4 BP systemInfoMgmt 2 P biosMgmt 4 E sensorMgmt 5 H peripheralMgmt 6 E powerMgmt 7 E notificationMgmt 9 oxa embedded computer 1 0 0 13013018 Pac 4 um j ame oductinfoMgmt 1 OID 1 3 6 1 4 1 8691 17 1 1 VALUE productinfoMgmt OBJECT description IDENTIFIER 1 3 6 1 4 1 8691 17 1 1 Oo 4 LIT Close 4 22 TC 6110 Windows 7 Installing Moxa Software Using Synmap to Control the Programmable LEDs The following figure shows the locations of the LED indicators on the T
27. 17 1 5 1 3 1 1 read only Returns a list of numbers beginning with 1 that corresponds with the available G sensors these identifiers are used by SNMP and for scripting accelerometerAxis 1 3 6 1 4 1 8691 17 1 5 1 3 1 2 read only Returns the format in which accelerometer axial values will be returned This will always be Xn Yn Zn accelerometerValue 1 3 6 1 4 1 8691 17 1 5 1 3 1 3 read only Returns the accelerometer value associated with a particular axis this will be g force in micro gravities UG accelerometerTimestamp 1 3 6 1 4 1 8691 17 1 5 1 3 1 4 read only Returns the G sensor s current timestamp To use Synmap to read the vibration sensor accelerometer or G sensor follow these steps 1 Start up MXview or some other NMS and open the MIB browser For detailed instructions on loading MXview you may refer to Loading the Synmap MIB File steps 1 to 3 2 Navigate to MOXA SYS MIBNVALUESNmoxaNembeddedComputerNmoxaSystemNsensorMgmt NsensorObjectNaccelerometerTable in the MIB Browser and then select Get Subtree to open the accelerometer s OID tree i MIB Browser ole pean File AgentIP 127 0 0 1 SNMP vi OID 1 3 6 1 4 1 8691 17 1 5 1 3 1 edComputer 17 aSystem 1 Get GetNext GetSubtree wak Set producktInFoMgmt 1 systemInfoMamt 2 Name OID Value biosMamt 4 i sensorMgmt 5 E di sensorObject 1 3 0 tempSensorsTab
28. 1GB VBOX _HARDDISK__ata VBOX_HARDDISK_VB1c64a0a3 c3f 7523d AOROROREOREORORORORORORORORORKORKORKOKOREOREOREOREORKOROROROROROROROROROROROROROREOREORORORORORORORORKORKORKORORORKOROOK n HI E E r W L et In EK ine j WARNING HARI WARNING THE EXISTING DATA IN THIS HARDDISK PARTITION S WILL BE OVERWRITTEN ALL EXISTING DATA HILL BE LOST AOOO ROO ORR HER EK ACCOR RR AK Machine VirtualBox sda 2 1GB VBOX NING WARNING Er mt I2 Lue k j j j i _HARDDISK__ata VBOX_HARDDISK_VB1c64a0a3 c3f 7523d KORORORORORORORORORORORORKORKORKORKOKORKORORORORORORORORORORORORKORKORKORORKORKORORKORKORORORORORORORORORORORKORKORKOXOXK I i r I Sure YOU Wa MESE TC 6110 Windows 7 System Recovery 5 Wait for the process to finish Partclone Partclone v0 2 23 http partclone org Starting to restore image to device dev sdai Calculating bitmap Please wait done File system NTFS Device size 2 1 GB Space in use 1 7 GB Free Space 325 4 MB Block size 2048 Byte Used block 849156 Elapsed 00 00 42 Remaining 00 04 03 Rate 366 11MB min 6 Atthis point complete the restoration by selecting 0 Poweroff This will shut down the computer however if the Power Switch remains inserted in the front panel of the computer and is left in the ON position then the system fail to shutdown and will immediately initiate a soft reboot instead To avoid this users ma
29. 26 25 Q Default amp No Message 5 58 47 PM Managed Devices Current Max 0 20 Q4 Local intranet Protected Mode Off fg 100 Loading the Synmap MIB File To load the Synmap MIB file you must first have a running NMS if you do not have an NMS you may install the free version of MXview included with your TC 6110 computer software If you have already started MXview go directly to step 5 of this section 1 Click the MxView Service shortcut on the desktop SEVICE 4 19 TC 6110 Windows 7 Installing Moxa Software 2 Click Start wait for the System Status indicator to show Running and then select Launch Client When the MXview Setup Wizard appears click Cancel to skip the setup process and directly open the MXview interface ANX view GORE Industrial Network Management Softwa muuskEg Industrial Network Management Software Tim dm All rights aaa 2013 a Moxa Inc All rights reserved 2013 Service Info Service Info HTTP Port s Disable HTTP port start HTTP Port ei Disable HTTP port SEE 443 HTTPS Port Stop HTTPS Port 443 m System Status Stop System Status 3 Project View Oevice Link Informabon Evert Toog m TAY NX ul Nebors T i LI Lg i Q Sead Orco S Oevice List s s Root 4 After the MIB browser has opened select File from the browser s upper left corner and then Load MIB x Elex
30. 92430 776770 914014 955475 9614071 Running sd 0 0 0 0 sda Attached SCSI disk 1 0 sdb Attached SCSI disk 0 0 Attached scsi generic sg type O 1 0 Attached scsi generic sg1 type 9 s Attached scsi generic sgZ type 5 essential drivers I 5 690577 Atheros R LZ Ethernet Driver version 2 2 3 Copyright c 200 Atheros Corporation Broadcom NetXtreme II 5771x 10Gigabit Ethernet Driver bnx2x 1 62 00 6 2011 01 30 Btrfs loaded deuice mapper ueuent version 1 0 3 device mapper ioctl 4 19 1 ioctl 2011 01 07 initialised dm deuel amp redhat com sd sd sd scripts init premount done Mounting root file system I 6 1789461 Uniform Multi Platform E IDE driver 6 186189 IDE ports 6 913744 e sensitive 047997 0725161 Running 213433 509770 Running ide generic please use probe mask Ox3f module parameter for probing all legacy ISA FAT utf8 is not a recommended IU charset for FAT filesystems filesystem will be cas aufs module is from the staging directory the quality is unknown you have been war aufs Z 1 standalone tree 38 rcN 20110228 scripts live premount done loop module loaded squashfs version 4 0 2009 01 31 Phillip Lougher scripts live realpremount done Mounting liue image liuezfilesustem squashfs on filesystem squashfs via dev loop0 Begin Running scripts liue bottom Begin Configuring fstab done Begin
31. C 6110 computer Using custom scripts you can set these LEDs to be used as indicators for your own applications Power Input 24 110 VDC L1 ACT L2 Heater L2 Heater L3 Prog 1 L3 Prog 1 TC 6110 The following table shows the available OIDs for the TC 6110 LEDs m em qmm qmm ledNumber 1 3 6 1 4 1 8691 17 1 6 2 1 N A Returns the total number of LEDs ledIndex 1 3 6 1 4 1 8691 17 1 6 2 2 1 1 read only N A Returns a list of numbers that correspond with the LEDs used by SNMP to identify the LEDs begins with 1 ledPort 1 3 6 1 4 1 8691 17 1 6 2 2 1 2 read only N A Returns the names by which the index of LEDs may be called when used in scripts begins with O ledValue 1 3 6 1 4 1 8691 17 1 6 2 2 1 3 read write O off 1 on Returns sends a value indicating changing the LED state Follow these steps to configure the programmable LED indicators on the TC 6110 computer 1 Start up MXview or some other NMS and open i MIB Browser Se eo fmm the MIB browser For detailed instructions on du mE so OID 1 3 6 1 4 1 8691 17 1 6 2 2 1 3 loading MXview you may refer to Loading the Synmap MIB File steps 1 to 3 B d embeddedComputer 17 j moxaSystem 1 productInfoMgmt 1 Get GetNext GetSubtree wak Set systemInfoMamt 2 amp di biosMgmt 4 E d sensor Mgmt 5 S peripheralMamt 6 perIoMgmt 1 perLedMgmt 2 WD ledNumber 1
32. Computer moxaSystem sensorMgmt sensorObjectNtempSensorTable in the MIB Browser and then select Get Subtree to open the T sensor s OID tree i MIB Browser eS mE File SYS MIB AgentlP 127 0 0 1 SNMP v1 moxa 8691 OID 1 3 6 1 4 1 8691 17 1 5 1 1 1 3 3 di embeddedComputer 17 py moxaSystem 1 Get GetSubtree walk Set E productInfoMgmt 1 temInFoM i systemInFoMgmt 2 Name OID Value DA biosMgmt 4 sensorMgmt 5 e sensorObject 1 e f3 EEEEEHESAU tempSensorsEntry 1 fe voltSensorsTable 2 51 75 accelerometerTable 3 amp peripheralMgmt 6 powerMgmt 7 L netificationMgmt 9 4 7 name tempSensorsT able 1 OID 1 3 6 1 4 1 8691 17 1 5 1 1 SEQUENCE OF SEQUENCE t Z empSensorsindex INTEGER 2 197483648 2147483647 tem syntax pSensorsDevice OCTET STRI NG SIZE 0 255 tempSensor sValue INTEGER 2147483648 21474838647 access nokaccesible nam VALUE tempSensorsTable OB uU 4 TT Close JECT TYPE x 3 All of the T sensor information C MIBBrowser Sse 3 File should now be displayed in the DEM SYS MIB AgentIP 127 001 SNMP vi MIB browser if it is not then LUES moxa 8691 OID 1 3 6 1 4 1 8691 17 1 5 1 1 1 3 3 there is a problem with your J embeddedComputer 17 Sp moxasystem 1 Get GetNext wak Set SNMP Syn
33. Digital LOW 1 Digital HIGH y define LED NUMBER 8 rnt LEDMap 9 0 14 25 3 int tmain int argc TCHAR HANDLE hGPIO int led no int data int nLED int nRet int OF WCHAR sin smode printf LED Test Program n printf Nt 0 Exit Program n printf Nt 1 Display LED n printf Nt 2 Set LED value n getwchar n wtoi amp sin do Switch n if char 1 display the digital input case 1 Open dio hGPIO mxgpio open TC 6110 Windows 7 Sample Code for TC 6110 Customization for int i 0 i LED NUMBER i Get digital input led noe 1 nLED mxgpio get data hGPIO LEDMap led no printf LED d d n led no nLED Close LED mxgpio close hGPIO break if char 3 Set the digital output case 2 Get Port Number getwchar printf Input the LED Number 0 d n LED NUMBER 1 smode getwchar led no wtoi amp smode Get Value getwchar printf Input the value 0 or 1 smode getwchar data wtoi amp smode Open LED hGPIO mxgpio open Set LED nRet mxgpio set data hGPIO LEDMap led no data if nRet 1 printf Set led signal fail n j else printf Set led signal success n Close GPIO mxgpio close hGPIO break getwchar Sin getwchar n wtoi amp sin while n 0 return 0 TC 6110 Windows 7 Sa
34. ES HB HA 8H B6 AH BB HA HA BB BB AH BB ss SGLOBALROOT Device HarddiskUolume2 CE 1 hp H Memory used for data A bytes Memory used for mapping 4 bytes Ci Users moxa _ 4 Reboot the system so the changes may take effect and then verify that Enhanced Write Filter has been enabled at boot by typing C gt ewfmgr c Ems Administrator C Windows system32 cmd exe Microsoft Windows Uersion 6 1 7661 1 Copyright ce 2610 Microsoft Corporation All rights reserved C Users moxareufmgr c E A T A LI Protected VUOLE Lane LPL Lyu Orien dd Type Ln mE a M Boot Command Parami Param2 Wolume ID Volume Mame Max Levels Clump Size Current Level RAM REG CAH OLE L HO CHD BH BH D6 2C AB ES HH HH 8H B6 HB HB AA HA BH BB HB BB M GLOBALKOOT Device Harddisk olume2 C 1 nh 1 Memory used for data 23625216 hytes Memory used for mapping 12288 bytes PERSE ERAS UTR DR 5 To disable the Enhanced Write Filter type C gt ewfmgr c commitanddisable Em Administrator C Windows system32 cmd exe Lo LX PERSE ER UTER 6 4 102 ELULT P c commitanddisable 3 Committing data and disabling overlay Protected Volume Configuration Type nitate Bolat Command Farami Faramz Volume ID Volume Name Max Levels Clump Size Current Level RAM REG EMARBI En DISABLE 1 BH D6 2C AB ES BH AA 8H B6 AA HA BB AH AH BB BB ss GLOBALROOT Device HarddiskWolume
35. E_NORMAL 2013 6 4 TYPE_NORMAL 2013 6 4 TYPE_NORMAL 2013 6 4 TYPE_NORMAL 2013 6 4 TYPE_NORMAL 2013 6 4 TYPE_NORMAL 2013 6 4 TYPE_NORMAL 2013 6 4 Jat un eu uni mp Ca C 4 Fo d H I i HH C C en J TYPE NORMAL 2013 6 4 TYPE NORMAL 2013 6 4 NORMAL 2013 6 4 NORMAL 2013 6 4 TYPE NORMAL 2013 6 4 TYPE NORMAL 2013 6 4 TYPE NORMAL 2013 6 4 TYPE NORMAL 2013 6 4 TYPE NORMAL 2013 6 4 TYPE NORMAL 2013 6 4 HHHH un un e unu uD DA D uuu CA LD D LD D Le uD D GS iD G iu I uo O UU LU CO Lu J UU LU Ud Gu S UU Lu LU Lud LU GU Lud CO E LU mJ UU COD S t ot ot o C LI tuc UU IR IRL IRL I IR IR LU H E LI C L I E S ER LIS t 0o 5 le m ee om om om omo m om a ee momo i H I Using Synmap to Enable and Configure the Watchdog Timer The TC 6110 comes with a default watchdog timer a Computer Operating Properly COP timer that will initiate a soft reboot whenever the system or a specific program freezes for a specified time period The watchdog timer has only two Synmap OIDs associated with it watchdogPeriod and watchdogStatus The value for watchdogPeriod sets the countdown interval during which the watchdog timer must receive a COP notification from the OS kernel if it does not receive a COP notification during this interval the watchdog will reboot the system The default value of watchdogPeriod is 0 which leaves the watchdog disabled To e
36. IK in s on this machine as an image alBox BOX Z VBic64a0a3 c9f 523d HAR VB1c64a0a3 c93f 7523d 2103MB Are you sure e 6 6 TC 6110 Windows 7 System Recovery WARNING The same filename is used for all recovery images whether for the full system backup or for the clean OS image installation This means that currently it is impossible to have more than one system image per USB drive 4 Atthis point the recovery environment will copy of the entire hard drive to your USB drive This will likely take several minutes and perhaps as long as half an hour Do not remove the USB drive during this time wait patiently for the process to finish Depending on the speed of your USB drive this may be a good time to get a cup of coffee or take a nap dev sdbi read failed after 0 of 2048 at 0 Input output error Our No volume groups found No volume groups found Finished SUE ns down the Logical Check ing erity of foe We table in the dis Reading the nition table for dev sda RETVAL Jolotololotololototeototololotolotetoteko jololololotololototoototolotetototetoteetotototetototetoteetotetotetotoetoteetotetoetotoototetotok On ving the MBR data for sda 140 records in 1 0 records out 512 bytes 512 B copied S 147 kB s iololololotolokotoletototeloletotootototototototototoetototetotetetetotetototetototetootoleototototok Jelole S g dev sdal as home partimag xpe save v sdal Fiissusttm ntfs i
37. Synimmiap VIFEdaliZablol Ed QE usse essebursbuse tube buvebure tuas ute usa tuse ev ED cu IER SPUR URDU URDU D d 4 14 Installing and Using ar NMS uite eR x E ER GE ERI REMRIDEDI MEME IMMANE PI dpt 4 15 Installing Moxa UP o HEN POPE Occ C DC MEN 4 15 Basie congurato n OF TOo Tel void GER eL ER E EEG Ue DR er ese DUBIO UD UU go Dl o t Lu 4 16 Lodditig the Sy Mita MIB Fillens ssucuE e oprrUEEP EET URUr Und UE FUnM UnSTipUPUM FUE IRU UPEF PRA RI SDSPRE ND IE RUD ENDE eul 4 19 Using SynmapOIDs to Control the TGC O 1140 susesessxwvssrzvswEEEESEEEEPETEUEREEE PUE TE S PETER RYE SEREEN TEES AN 4 22 Customizable Sample Cod ioi exea ERA SReRRRARDRRSRRRRESRNDSRRERRSRSRRERRRRAEEEERRRRRR SPIRI S SPIRI RID ARS PRG IR DS SED Daia 5 1 Sample Code TOF Customizing Che TC 6110 cscacciadiexedicun medina inte m diee iiu tma m inr mate iret d ey sie 5 2 The FED Control Walkthroughs etudiant ftetit pete teuer etse tiet ert teretes e Co vo o Cg v ue 5 2 G Sensor Accelerometer Control CO iccesri ror ERERERRPFEREREE ET RENER DC EEERTD P REP ERE RERRRVEREN CK ME E ND EDUC PRn EE 5 3 Accelerometer Control WalkthfotugLli xr de eee REX ERES tina eee EX Gd due btce da dedi tet 5 3 Watchdog CONTO COGG MT 5 4 The Watchdog Control Code Walkthrough Nerine E 5 4 Te Sensor Control COO cconiuen cod dftaucotur vate ase unuUUEU DD DF IA TAE ede UN U eee es eee nme NS RUN UR eae moun CHR LHG RD UE Rn ED ER 5 4 Walkthrough for Reading Temperature Values ssssesssss
38. TC 6110 Windows Embedded Standard 7 Software Manual Second Edition June 2013 www moxa com product MOXA 2013 Moxa Inc All rights reserved TC 6110 Windows Embedded Standard 7 Software 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 2013 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 T
39. ackage or simply click Next to install Synmap to the default folder isl Moxa SyMN hNTaP Select Installation Folder The installer will install Maza SyM MaP to the following folder To install in this Folder click Nest Ta install to a different folder enter it below ar click Browse Folder C Program Files D AM na SuN bl aP Browse Disk Cost Install Masa SuM MaP for yourself or for anyone who uses this computer jJ Everyone Just me Cancel Back 3 Click through the next few dialogs to complete the installation of the Net SNMP agent The SNMP agent will not begin working until you reboot the TC 6110 computer 4 14 TC 6110 Windows 7 Installing Moxa Software Installing and Using an NMS For full implementation Synmap requires like any SNMP based system an NMS to become fully functional an NMS with an MIB browser also makes using SNMP a far simpler task If you already have your own MIB browser you can skip this section However if your network is lacking an NMS then you may install a free version of Moxa s MXview to get Synmap up and running MXview provides an MIB browser and an interface that will allow you to monitor and control any Synmap enabled device This section will walk you through a basic MXview installation and show you how to use the MXview MIB browser to start working with the TC 6110 s MIB Installing Moxa MxView 1 MXview is included on your TC 6110 sof
40. ay be used For more details about PCommLite check the help menu that comes with the program This help menu is the full PComm manual reproduced digitally and packaged with program Retrieving GPS Data To receive GPS data follow the steps below 1 Connect the GPS antenna to the GPS antenna port on the TC 6110 front panel Power Input 24 110 VDC Power Input 1 L1 ACT L2 Heater L3 Prog 1 L4 Prog 2 5 5 TC 6110 Windows 7 Customizable Sample Code 2 the COM port number of the GPS in the device manager the default port is COM3 9 mISIERIS PRS 4 ij MOXA FEFN7LLR4T 4M Computer gt cg Disk drives gt Mg Display adapters gt os Human Interface Devices gt ag IDE ATA ATAPI controllers gt Keyboards p B Mice and other pointing devices gt Monitors gt li MOXA Embedded Drivers gt li MOXA Embedded Drivers Network adapters p Portable Devices 4 To pe M amp oh p T D 2 Ramdisk D Sound video and game controllers gt 4 System devices Universal Serial Bus controllers 3 Download PComm Lite from http www Moxa com support download aspx id 2 167 T x she Favorites 535 S Suggested Sites v Web Slice Gallery v is m v E Gi dA ovo Pager Safety Toos A ContactUs Partner Zone Global English M OXA Products amp Solutions Industries Where to Buy About Moxa o q Home gt Support gt PComm Lite Serial Communicatio
41. been depressed a notification box will appear in the Windows system tray shown at right informing the Button Info X user that the button has been pressed MERILULIUE LUE 8 14 PM 6 3 2013 m d c0 3 Once the system has successfully un mounted the hard drive another notification window will appear shown at right in the Windows system Disk Info tray informing the user that the disk has been successfully unmounted Diskl has been unmounted Only now is it safe to remove the memory drive module CH Eb m3 X WARNING Do not remove memory drives until the system has posted notification that they drive has been successfully unmounted Removing the drives without first ensuring they have been unmounted will result in corrupted data that may cause the loss of the entire drive Drive Usage Notifications Administrators may set a notification to signal when a specified amount of memory space on a drive has been filled For configuration procedures that describe how to set the drive usage notification see the Configuring Drive Settings Using mxhtspd Hot Swap section just below Once the memory drive has been filled to the level configured by the administrator two notifications will appear 1 On the spine of the module itself the array of LEDs will uniformly blink three times in succession and will continue to do so at approximately one minute intervals for as long as the drive continues to increase its data storage
42. ber of LED in current System ledIndex 1 3 6 1 4 1 8691 17 1 6 2 2 1 1 read only Reference index for each LED ledPort 1 3 6 1 4 1 8691 17 1 6 2 2 1 2 read only fhe port number of LED ead only ledValue 1 3 6 1 4 1 8691 17 1 6 2 2 1 3 read write The LED status O is low 1 is high ad write 1 3 6 1 4 1 8691 read only Number of internal UART in current system 1 3 6 1 4 1 8691 17 1 6 3 2 1 1 read only Reference index for each UART port uartType 1 3 6 1 4 1 8691 17 1 6 3 2 1 2 re The UART mode O is RS232 1 is RS485 2 wires 2 is RS422 3 is RS485 4 wires 1 3 6 1 4 1 8691 read only The number of ports regardless of their current state in the usb general port table usbDeviceIndex 1 3 6 1 4 1 8691 17 1 6 4 1 3 1 1 read only The index is dentical to usbPortIndex for the correspondent USB port usbDeviceVendorID 1 3 6 1 4 1 8691 17 1 6 4 1 3 1 2 read only The USB device port vendor HEX formatted string as it is provided to the USB host by the USB device usbDeviceProductID 1 3 6 1 4 1 8691 17 1 6 4 1 3 1 3 read only The product ID HEX formatted string as it is provided to the USB host by the USB device usbDeviceActiveClass 1 3 6 1 4 1 8691 17 1 6 4 1 3 1 4 read only This object returns USB Device Class type of the active configuration usbPlugTrapEnable 1 3 6 1 4 1 8691 read write Agent will send trap message when USB device inserted or removed and this object enabled atchdogPeriod 1 3 6 1 4 1 8691
43. beyond the configured parameter p On the user s desktop a Disk Info notification will appear in the Windows system tray telling you what percentage of the disk is currently used and how much this is greater than the configured notification level The notification will be in the format total percentage of drive used user defined percentage of drive capacity ij Disk Info D use 11 gt 1 The notification should be read as if it were saying Currently your total usage is total percentage of drive used this has exceeded the 4 3 TC 6110 Windows 7 Installing Moxa Software configured parameter of user defined percentage of drive capacity In addition to these two default responsibilities of the Moxa Hot Swap mxhtspd daemon users may also execute their own actions by creating and storing scripts in the C Program Files MOXA mxhtsp script folder which is shown in the screenshot below G Je k Computer Local Disk C Program Files MOXA mohtsp v s Organize v Include in library v Share with v New folder We Favorites RE Desktop a ig Download i i J Recent Places li prognan Ji script Configuring Hot Swap Settings The default drive volumes monitored by mxhtspd are the D and E drive volumes If the administrator would like to change these settings by adding or About mxhtspd cancelling volumes then this may be done by accessing the mxhtspd Setting configuration menu f
44. biriik e keni ek EER EERE bn usted dose v e did B 4 Accelerometer Conversion Code ss sssssssrsssnrnrensnrsenanannnnnnsnnnrsnanrsnnnansnnnnenannnnnnnnnsnrnnsnanrsnunnnsnnnnennnnnnnn B 6 TAEW atendo CONOS OND Gerrei ia a a a E EE E EEEN B 6 The Temperature Sensor Control SCFIDU sseciiest eet etit trib rr eec e rre ete wee ee wr vx Evil ew e B 7 1 Introduction Thank you for buying Moxa s TC 6110 train computer It comes with the Windows 7 Embedded software platform providing a simple and familiar development environment for on board train applications O Software Components TC 6110 Windows 7 Introduction Software Components Refer to the following content for the software components of the Windows Embedded Standard 7 pre installed on the TC 6110 computers Windows Embedded Standard 7 Core OS e 32 bit support e Remote Client e Remote Procedure Call Applications and Services Development e Net Framework 4 0 e Remote Desktop Protocol 7 1 e COM OLE Application Support e COM Application Support e MSMQ Internet Services e Internet Explorer 8 0 e IIS 7 0 File Systems and Data Store e Windows Data Access Components e Windows Backup and Restore Diagnostics e Common Diagnostic Tools e Problem Reports and Solutions Fonts Chinese Trad and Simp Western Middle Eastern South East Asian and South Asian Fonts Graphics and Multimedia e MPEG DTV DVD Audio Decoder MPEG 2 AAC e MPEG Layer 3 Audi
45. cessfully installed Java Java updates will automatically be downloaded to provide you with the latest features and security improvements To change this see http java corm autoupdate 4 18 TC 6110 Windows 7 Installing Moxa Software 9 In Windows IE a banner will appear at the top of the browser window Click the message and select Enable Intranet Settings CL Mil E hittp localhost 1 indexhtm Ww Favorites w bol Suggested Sites ge Web Slice Gallery v http localhost 81 index htm Y Intranet settings are now turned off by default Intranet settings are less secure than settinas Click Don t Show This Message Again Enable Intranet Settings What are Intranet Settings Information Bar Help 10 A security warning will appear telling you that intranet settings are not secure enough for the open Internet Click Yes to ignore this and when another security warning appears telling you that the application s digital signature is not recognized click Run hitpifiocalnos IB http localhost 81 index htm Warning Security E Bing The application s digital signature cannot be verified Do you want to run the application xr Favorites 5 5 Suggested Sites v Web Slice Gallery v http localhost81 index htm m O de v Page Intranet settings are now turned off by default Intranet settings are less secure than Internet settings Click for options Na
46. cript A aas All of these scripts are authored in Visual Basic and may be freely modified by the user For instance if a systems administrator wishes to modify how storage quota notifications are delivered s he may edit the action over usage script that corresponds to the appropriate drive Hot Swap mxhtsp Logs Hot swap events and errors log files are found at C Program Files MOXA mxhtsp log Each log file is automatically updated every 24 hours at midnight and tagged with the date it is created Inside file events are logged with the date and time the events occurred QU Program Files MOXA mxhtsp log Y gt Search log J Organize v Include in library v Share with v New folder t X Favorites Name Date modified Type Sire BE Desktop log 20130526 5 26 2013 216 AM T r Downloads Recent Places Moxa Predictive Maintenance Diagnostic Tools Overview TC 6110 computers come with Moxa s predictive maintenance PdM diagnostic utilities software this package includes two tools the G sensor charting tool and the hardware monitor interface The G Sensor charting tool allows you to monitor and record the vibrations that the system experiences over time allowing administrators to anticipate and take precautions against conditions that might damage the system particularly hard disks The hardware monitor interface allows administrators to view hardware information like CPU frequency drive temperature
47. ct the boot environment s ISO image Open Disk Image File Look jn Cj 2011 06 15 13 e amp uetkE2 C clonezilla live 1 2 8 46 1686 ui z clonezilla lve 1 27 8 46 1686 iso My Recent Documents Desktop 6 2 TC 6110 Windows 7 System Recovery 3 Setthe device Type lower left hand corner as USB Drive then set the Drive dialog to the letter under which the USB is currently mounted B Tuxboot On Line Distribution clonezilla live stable current Premi ba Dlonezilla Homepage http clonezilla argj Description Clonezilla live is a distribution used For disk backup and imaging The stable branch of Clonezilla live are based an Debian Install Notes Clonezilla live is Booted and run in live mode no installation is required to use it Download Path Clonezilla Live Stable at SourceForge PreDownloaded so wv D32011 06 15 13lclenezilla live 1 2 8 46 1686 isn mnia MDS Check Click OK and the boot environment and bootloader will be copied to your USB drive 5 Because of the file system naming conventions used for any given computer only a single recovery image may be used on any given USB drive Consequently at this point users need to make a decision about which sort of system recovery is preferred A abasic recovery of the root OS or B arecovery image of the fully configured OS with all user installed software applications and scripts A To configure the recovery environment to boo
48. d RR UD Un UJ UJ UJ UJ UJ UJ UJ Pe d OOOO wwwwi uuwuuuuooooo E a 3 S HEEB EEEESSSSSS EEEEEEEEEEEEEEEEEEEEEEEEEE NN com co oo e 8 8 Configuring and Using the Temperature Sensor 1 To launch the temperature monitor right click on the tricolor icon in the system tray and select the Monitor Tool from the pop up menu This will open the monitoring utility user interface as shown at right Please note that if you select Exit you will shut down the entire Moxa PdM utilities package If this happens and you want to re launch the utility software navigate to the Windows Start Menu and select Moxa isl t MonitorTool GSensorChart Predictive Maintenance Diagnostic Tool from the software listed there l r 2 The monitoring utility interface will appear as the screenshot below ETT Frequency Temperature cu EBENEN 5 Hz Diski 4301 c 7 Log degF Alert BENNENNNL IT to fe uL Disk2 c Log degF Alert NON My rea Cea eee ee or FF o 7 3 vios so EBENE tal v vss MENNENNNN 4 ov vss NENENENE v G Sensor Disk1 Disk2 G1_X_Axis 3 900000 ma G2_X_Axis 0 000000 ma Gi Y Axis 3 900000 ma G2 Y Axis 0 000000 ma GiZ Axis 97 500000 mg G2 Z Axis 0 000000 idi i Cancel 4 10 9 02 PM mm B i T y x M D 6 3 2013 TC 6110 Window
49. der Each file is associated with either module one X1 disk1 or module two X2 disk2 The three scripts are described below e action btnX press vbs This script is executed whenever the X1 button located on the spine of the SATA storage module is depressed The default action is to unmount the hard disk1 4 5 TC 6110 Windows 7 Installing Moxa Software e action disk plugged vbs This script is executed whenever the SATA module is mounted by the TC 6110 The default action of this script is to flash LED 1 three times just after the drive has been successfully mounted e action over usage disk vbs This script is executed whenever the storage quota as set in mxhtspd conf see above Configuring Hot Swap Settings for the drive in question is reached The default action of this script is for LED 1 to flash 3 times approximately once every minute jJ MOXA gt mxhtsp script File Edit View Tools Help Organize v Include in library v Share with v New folder zz fil Sr Favoris Name Date modified Type WE Desktop 8 action_btnX1_pressed 4 2011 8 52 AM VBScript Script Fi B Downloads 8 action btnX2 pressed 3 4 2011 8 52 AM VBScript Script Fi Recent Places 8 action diskl plugged 3 4 2011 8 52 AM VBScript Script ri 8 action_disk2_plugged 3 4 2011 8 52 AM BS Script Fi i Libraries amp action over usage Diskl 3 4 2011 8 52 AM VBScript Script H Documents B action over usage Disk2 4 2011 8 53 AM VBScript S
50. e Evaluate the returned data make a logical decision e SET an OID using SNMP and the localhost connection 127 0 0 1 The benefits of using SNMP in this way should be clear e First the code is easily migrated across different computers and even different operating systems because Moxa s SNMP libraries are supported on both Windows XPE and Linux as well as a host of other platforms e Second the program can just as easily be ported to the network for remote operations simply by changing the localhost connection 127 0 0 1 to the target IP address and hostname e Third the time needed to learn how to control a peripheral is drastically cut all one needs to do is understand how to use an SNMP OID and start scripting e Fourth Developers are free to choose any kind of programming languages or utilities with which they might be familiar so long as they are apropos to the platform s on which they will be used For example in place of the C API Microsoft developers might want to use the SNMP libraries in NET or Java to control remote Linux devices or it can be flipped around so that Linux developers use Net SNMP libraries to control remote Windows XPE machines All of these things mean that the Synmap virtualization makes the work of programming custom applications much faster and simpler and dramatically increases code interoperability Complex controls such as USB notify mounting information and BIOS settings have been integrated int
51. e Temperature Sensor O The Synmap Virtualization Layer Full Interoperability with Any Moxa Device Overview The Synmap Design Concept gt Moxa Synmap OIDs List 0 Installing the Synmap Virtualization Layer 0 Installing and Using an NMS gt Installing Moxa MxView gt Basic Configuration of MxView gt Loading the Synmap MIB File Using Synmap OIDs to Control the TC 6110 TC 6110 Windows 7 Installing Moxa Software mxhtsp Hot Swapping for Hard Drives Overview The TC 6110 comes with an eight gigabyte CompactFlash card specifically included as permanent storage space for the operating system and system software The TC 6110 also comes with two removable modules that each support a single SATA 2 5 inch HDD SSD interface additionally the TC 6110 comes with two empty modules for further memory drive expansion if so desired The mxhtsp software package makes these modules hot swappable so they may be safely removed during computer operation without powering down To enable the TC 6110 s hot swap feature users must install mxhtsp by following the instructions below Installing mxhtsp Follow these steps to install mxhtsp and enable the TC 6110 s hot swap capabilities 1 Navigate to the Utility folder located on the software DVD under software DVD gt utility l mxhtsp Double click mxhtsp_setup msi 2 When the software setup wizard appears click Next to continue In the next dialog click Browse to select the folder where
52. e is partitioned into multiple volumes then when configuring mxht spd you must specify only the first volume listed in the setting dialog This volume will correspond to the drive s first partition DO NOT select any other partitions otherwise the drive will not mount and unmount properly Additionally checking Execute Script and Check Partition will only affect the first partition and may not be used on the subsequent partition s For these reasons Moxa recommends against partitioning the drives used in the TC 6110 SATA modules WARNING If you tick the Check Partition box in the hot swap Settings dialog you must configure a notification threshold for each partition in the C Program Files MOXA mxhtsp config file see below pg 4 4 If you do not mxhtspd will fail to read the partition and throw an error by notifying the user that Disk X does not exist with X representing the volume identifier that Windows is using to mount the drive 4 4 TC 6110 Windows 7 Installing Moxa Software 2 Admins may configure mxhtspd to automatically check remaining drive capacity by ticking the Check Partition option To set the threshold at which mxhtspd will notify the user about remaining drive capacity the administrator will need to edit the mxhtsp configuration script seen in the screenshot just below located at C Program Files MMOXANmxhtspNconfig mxhtspd Notepad Sex File Edit Format View Help D 50 E 90 This is a
53. e logged or the file does not exist then try adjusting the alert threshold to a smaller value e g 500 and do it again File Edit Format View Help TYPE ALERT 1 14 2013 12 02 51 TYPE ALERT 1 14 2013 12 02 5 TYPE ALERT 1 14 2013 12 02 5 TYPE ALERT 1 14 2013 12 02 5 Uu CL EP 25 44 HH N RA RR MM NN oo BR Ww w Be NN oo NN ww TYPE_ALERT 1 14 2013 12 02 5 TYPE_ALERT 1 14 2013 12 02 5 TYPE_ALERT 1 14 2013 12 02 5 UJ hJ E O 0 00 4 OY un P WN 4o 0 IO D IO D M Mt oWwI I Do Co co w UJ wo 33333333333333 A i i i i ii i RA soll el rl sol rel el rel sell fl nel ln 99 93 90 93 98 0 0 0 0 3 30 D GO G0 4444443433333334 HHHPHPHHPHHHPHPHPHPHH yu Pa e Dm Pa m e He Ue Me D Um Ue Pa Pia S i E E E EB E BEBE BE BEI BERBABARSRASBABRERA SSS SSS PU SS NNNNNNNNNN NNNN OOoOoOooOooooooo0o0o00 HEA HEA Eb HE b E P Eb A Eb E Eb E a U UJ UJ UJ UJ UJ UJ UJ UJ UJ W UJ UJ UJ H HIHHHHBHHBHHBHHBHI NNNNNNNNNN NNNN OOOOOOOOOOOOOOO Www WW UJ UJ UJ UJ UJ W UJ UJ UJ PHBHPHHPoOoOOOOOOOO TYPE ALERT 1 14 2013 12 03 1 TYPE ALERT 1 14 2013 12 03 1 TYPE ALERT 1 14 2013 12 03 1 VJ UJ UJ UJ UJ UJ UJ UJ UJ UJ UJ UJ UJ UJ UJ UU UJ UJ UJ UJ UJ UJ UJ UJ UJ UJ UJ tO LO D O O O O O O O O D D D D O D O UO OD OD OD D D D 00 0 NJ SJ SJ NJ ISO SJ SJ SJ E I SJ ISO SJ SJ INSJ SJ SJ SJ SJ NJ IE IS SO NT NT NT NJ NNW UJ UJ UJ UJ UJ D O 4 04 04 SI SIN N NO UO UJ UJ UJ UJ UJ UJ UJ 4 4
54. echnical Support Contact Information www moxa com support 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 Moxa India Tel 91 80 4172 9088 Fax 91 80 4132 1045 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 Table of Contents ii pidgeleltfo do o cS 1 1 SOF Combos ING S descuido eee abs oett om dumm c xxm cM ID DOPO UN PI DUDNEM ITI GO CUN DOPO qUN INO Di IPIE cage 1 2 System InitlaliZatlon 2i iidcusueuskeuensuavEPERUE EON REEF M E FECE E REVO ERE EON E FEF E E MERDA DEC E Mm MEE MEE 2 1 Create a INew User ACCOUT ho eo evdber bod tenn cort rsr rsr bathe tbt Ead Pea ede tied e dee a edited ia etia 2 2 Enabling Windows 7 Write ProtectIOns iiiuiiosiriuesoussosraausRERERRRRREERERRRRRSRERERESRRSRERERRASBURERRRRREREEERRRNIERERERVE 3 1 Enbianced AWEIESSEIIEeI S useU t a Ure Deu Lu b Hou UU EU Lo LUE CU UU LUE GL En OC udo eee bove ee loco eee een uuo b eee TE 3 2 GIC V RR RET NLEEENDeRDT EDD IPTE ccc 3 2 Enabling Enhanced Write FIM vivre cues iu erit nde vind een En dre ko nw Er bre exu DC DRE EAE EEn EEEE EEA A EEEE AETA TATATA 3 3 milia si iz aM WERO FIET RETE umm S 3 5 OVE VIO hcec sme dan ein ECC REDI Xm ECCE UOCE er Da f pata ofa atc ee ecu ue cud 3 5 Enabling Flle Based Write Filters uci d a EROR CO
55. er for the first time make e Turn on Suggested Sites sure to turn off the suggested sites feature shown at right If j you wish to use another browser you may and IE s other Do you want to discover websites you might like based on websites you ve visited settings may be configured to your own preferences 3 The IP address for MXview will be 127 0 0 1 followed by a colon and the HTTP port you configured MXview to communicate over beta suggestions You conto off Suppea Stasstenytme T in step 6 of MXview If you have used the suggested settings Readthelntemet Explorer Privacy Statementonine maa Set ewe above then to login using HTTP would be 127 0 0 1 81 and using HTTPS you would use 127 0 0 1 443 For the login the default username is admin with a blank password WARNING For security s sake Moxa strongly recommends resetting the password to a strongly secure password of at least 8 characters mixing numbers and symbols in a non word series MXview Windows Inte Sox es OTTAA sie Favorites 985 S Suggested Sites v ig Web Slice Gallery v MXview ta v d v Pager Safetyv Tools v v Intranet settings are now turned off by default Intranet settings are less secure than Internet settings Click for options x NIODC A Industrial Network Management Software Username Visual ize Password Industrial Ethernet Networks Operation Mode Monitor Isl 4 When opening your browser f
56. etails L coal Communication Parameter Terminal File Transfer Capturing Protocol Seria Serial Parameters COMI Baud rate Data bits Parity Stop bits Flow control RTS CTS DTR DSR XON XOFF RTS state ON C OFF DTR state ON OFF 7 Next open the dialog s Terminal tab and set the terminal type to ANSI you may want to increase the history depth to 500 lines as well then click OK to finish the configuration and open the port History depth 25 unit row Send Enter key as CRLF v Receive No Changed v LF translation No Changed v 8 Atthis point a terminal should open showing GPS data if not then you probably need to change the port see step 6 above Once the data is displayed you may start writing code for the GPS module ES PCo mm Terminal Emula COM3 115200 No e 8 LANS Profile Edit Port Manager Window Help a GIA allas sll ers mmm m nes 5 7 TC 6110 Windows 7 Customizable Sample Code 9 To allow the GPS to communicate with other programs follow these steps Stepi1 Use the CreateFile API to open the GPS COM port in the example below we are using the default port COM3 HANDLE handlePort CreateFile COM3 GENERIC READ GENERIC WRITE 0 NULL OPEN EXISTING 0 NULL Step2 Use the ReadFile API to read GPS data from the COM port ReadFile handlePort inputData inp
57. ettings are less secure than Internet settings Click for options x 0 of jre 6u29 windows i586 s exe from localhost Com l File Download Security Warning Do you want to run or save this file j Name jre 5u29 windows i586 s exe Type Application 16 3MB From localhost Zw While files from the Intemet can be useful this file type can potentially harm your computer you do not trust the source do not run or save this software What s the risk 7 Click Install to continue EXIT x E I E http localhost81 index htm 42 x BS Bing pe A Favorite 5 21 Suggested Sites ig Web Slice Gallery i http locathost81 indechtm fh 5 mp v Pager Safetyv Toos amp Intranet settings are now turned of x Java provides safe and secure access to the world of amazing Java content From business solutions to helpful utilities and entertainment Java makes your internet experience come to life Note No personal information is gathered as part of our install process Click here for more information on what we do collect Click Install to acceptthe license agreement and install Java now E Change destination folder 8 Click Close to complete p es x CL SI E http localhost81 index htm 4 x BS Bing per d Favorites 3B id Suggested Sites v 4g Web Slice Gallery v amp amp http localhost81 indexhtm Fb E o od v Pager Safetyv Toos Intranet settings are now turned of x w You have suc
58. for about 1 minute for the logger to start and open the log in a simple ASCII editor e g Windows Notepad to verify it is logging information to the indicated path GSensorMormall csv Notepad File Edit Format View Help YPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 TYPE NORMAL 12 20 2012 4 E GSensorChar Diskl G1 X Axis 2000 1500 1000 500 Cument 42 9 0 500 mg 1000 1500 2000 0 20 G1 Y Ais ya 2000 1500 1000 500 Cument 234 0 500 mg 1000 1500 2000 20 G1 Z Ads ER 2000 1500 1000 Curent 546 500 ma 1000 1500 2000 0 20 MMMM PE POE PSOE PSOE PSOE SUE SE SUE ho ho ho PSOE PSOE PSOE PSOE ISO PO SO PS PO P P II 40 BEPPSEEEEEEEEEEEEEESEEEEEES O DDDIUODIDDUDIODLIDDIDDIUDIDDIDDIDDrIUDIDrIUD I UD OOODOOOOOOOOOOOOOOOOOOOOOOO00 OOOOOOOOOOOO0000000000000000
59. h advanced choices in the Windows 7 OS i MIB Browser ca File L embeddedComputer 17 Agent IP 127 0 0 1 SNMP v1 di moxaSystem 1 pr OID 1 3 6 1 4 1 8691 17 1 7 2 0 systemInfoMamt 2 D biosMgmt 4 sensorMgmt 5 di sensorObject 1 2 7 tempSensorsTable 1 Name OID Value tempSensorsEntry 1 powerPolicy 3 voltSensorsTable 2 accelerometerTable 3 di peripheralMamt 6 x x x Get Next Get Subtree Walk Set perIoMgmt 1 L perLedMamt 2 perSerialMgmt 3 perLsbMgmt 4 di L perSystemMgmt 6 Get powerMgmt 7 deos W Ee i notificationMgmt 9 4 n name powerPolicy 2 OID 1 3 6 1 4 1 8681 17 1 7 2 INTEGER balanced 1 power syntax savem2 high performance 3 access re ad vurite VALUE powerPolicy OBJECT TYPE Syntax INTEGER balanced 1 power savem2 high perfor description 4 9 1 Access read write L o msia 4 I Close 4 24 TC 6110 Windows 7 Installing Moxa Software To use Synmap to set the power policy 1 Start up MXview or some other NMS and open the MIB browser For detailed instructions on loading MXview you may refer to Loading the Synmap MIB File steps 1 to 3 2 Inthe MIB browser navigate to MOXA SYS MIB VALUES Moxa embeddedComputer MoxaSystem powerMgmt powerPolicy To change the Windows 7 power policy settings
60. hat accelerometer this is indicated by the message GSensor on Disk1 is running Similarly because no module is mounted in slot 2 the message GSensor on Disk 2 is unavailable is displayed 4 Following the two sensor messages indicating sensor operation information for each available sensor is shown the origin of the raw data is indicated by the number in parentheses at the end of the label just before the equal sign 0 indicates the accelerometer in slot 1 1 indicates slot 2 5 Data for each of the three axes is displayed separately on a single line The number shown is a raw two s complement notation binary data value displayed in base ten form This raw value must be converted before it represents milligravities mG In the screenshot above the only axis indicating vibration is the z axis which is showing 65517 To convert this number into milligravities we must first convert it from two s complement representation and then multiply that result by a conversion ratio of 3 9 base ten Using the number 65517 above we first convert it to hexadecimal value 65 5171 1111111111101101 which is equal to FFEDi The left most bit is a 1 so this means the number is a negative value and we must convert from two s complement notation To do this 1 OxFFFF OxFFED 1 13 or 19 in base ten 1915 We then multiply this number by 3 910 to get the value in milligravities 19 3 9 74 1 To review the conversion code check Appe
61. he sensor object mxsensor open Get the SATA1 temperature bRet mxsensor get satal temp amp dSATAlTemp if bRet FALSE printf Diskl Temperaure 2fNn dSATAlTemp j else printf Diskl1 Temperaure Get the SATA2 temperature bRet mxsensor get sata2 temp amp dSATA2Temp if bRet FALSE printf Disk2 Temperaure 2fNn dSATA2Temp else printf Disk2 Temperaure Close the sensor object mxsensor close return 0
62. he two different alternatives offered here Step 2 Setting the BIOS to Boot via USB At this stage users will reset the BIOS so that the system boots directly from the USB This must be done before the rest of the system recovery environment may be configured 1 Turn on the computer and during the POST process press F2 until you hear a long beep You should then enter the BIOS setup menu Use the arrow keys to navigate to the Boot tab and then press Enter Enab led gt 2 Select Boot Type Order to open the dialog that will allow you to set the boot priority for the system drives Normal Boot Menu Horma gt 6 4 TC 6110 Windows 7 System Recovery 3 Use the arrow keys to highlight USB and then press the plus key to move it to the first position or if you want to take the long way around select the other options above it and use the dash key to move them down Boot Type Order CD DVD ROH Dr ive Hard Disk Drive Others tl ESTIS S F9 SC Enter F10 4 Press F10 and then press Enter to save and exit the BIOS configuration interface This should initiate the next reboot during which your system should now boot from the USB drive Step 3 opt Create a Custom System Image The instructions which follow are only to be used if you decided in Step 1 of this process to create a full copy of an already configured system If you have not yet installed any software on your system
63. highlight the powerPolicy OID and click Set This will open a dialog LY powerPolicy 2 OD 1 3 6 1 4 1 8621 17 1 7 2 called the Set Value dialog 3 The Set Value dialog for the powerPolicy OID has two variable fields one showing the OID that is being calledand f Integer a second called Value to indicate which power value management policy should be used Use the integer 1 to indicate the Balanced 2 for the Power Saver and 3 for the High Performance policy After entering the value close the dialog by clicking Set 4 To check if the policy has been changed navigate to the Windows 7 Control Panel and open the Power Options tab located under Control Panel gt System Security k Control Panel System and Security Power Options Control Panel Home Select a power plan Choose what the power Power plans can help you maximize your computer s performance or conserve energy Make a plan active by buttans da selecting it or choose a plan and customize it by changing its power settings Tell me more about power plans Create a power plan i Choose when to tum off the Preferred plans display Balanced recommended Change plan settings Automatically balances performance with energy consumption on capable hardware High performance Change plan settings Favors performance but may use mare energy Show additional plans hol ATTENTION For more detailed information on the advanced set
64. icantly reduced learning curve for control APIs and remarkable code portability For example if a user wants to control GPIO in a Linux environment an application developer needs to generate code that follows the pseudo code shown below Open the device node Read the file descriptor Read the return value and make a logical decision Perform an ioctl function on the file descriptor Dr up en US Close the file descriptor The above example shows how this is done in a NIX environment In a Windows environment it looks a little different but the process is essentially the same and of equal complexity 4 11 TC 6110 Windows 7 Installing Moxa Software Open a required file handle using mxgpio open Get data using the file handle an assigned port and mxgpio get data Evaluate the returned data and make a logical control decision Use mxgpio set data with the file handle to set a value Uu A U N e Use mxgpio_close to close the file handle These examples show in concise form the difficulties application developers face when dealing with low level APIs Developers must understand each system s API and track down various device node IDs from within the user manual the sample code or the general system Synmap significantly simplifies this situation In comparison to the example just shown the pseudo code that replaces it will look something like this e GET an OID using SNMP and the localhost connection 127 0 0 1
65. le 1 tempSensorsEntry 1 a voltSensorsTable 2 2 75 accelerometerTable 3 accelerometerEntry 1 P5 accelerometerIndex 1 accelerometerAxis 2 accelerometerValue 3 A accelerometerTimestamp 4 nerinheralMamt fA i 4 p name accelerometerEntry 1 OID 1 3 6 1 4 1 8691 17 1 5 1 3 1 SEQUENCE accelerometerind 1 ex INTEGER 2147483648 21 47483647 accelerometerAxis OCTET STRING SIZE 0 255 syntax accelerometervalue OCTET STRING SIZE 0 255 accel erometerTimestamp OCTET S TRING SIZE 0 255 k 4 TT Close access nnt ancessihle E 4 27 TC 6110 Windows 7 Installing Moxa Software 3 Check to verify if logs for both GSensor1 and GSensor2 exist QOO moa og geno 7 Organize Include in library Share with New folder r Gl e ye Name Date modified Type 5X Favorites BE Desktop GSensorNormall csv 6 4 2013 7 05 PM CSV File J Downloads GSensorNormal2 csv 6 4 2013 7 05 PM CSV File Recent Places n 4 Open the logs to verify they are logging correctly GSensorNormall csv Notepad Ti Ele Edit Format View Help TYPE NORMAL 2013 6 4 TYPE_NORMAL 2013 6 4 TYPE NORMAL 2013 6 4 TYPE NORMAL 2013 6 4 NORMAL 2013 6 4 NORMAL 2013 6 4 TYPE NORMAL 2013 6 4 TYFE_NORMAL 2013 6 4 TYPE_NORMAL 2013 6 4 TYPE_NORMAL 2013 6 4 TYPE_NORMAL 2013 6 4 TYPE_NORMAL 2013 6 4 TYPE_NORMAL 2013 6 4 TYP
66. lows Windows 7 users to protect their all information on their storage drive from permanent changes of any sort at the lowest level of hardware protection available the bit level EWF allows the operating system OS to boot from the hard disk but protects the system by creating a virtual file system called an overlay All writes to an EWF protected volume the hard disk in Fig 1 are only recorded on this virtual overlay the EWF Volume in Fig 1 which is stored independently in random access memory RAM Because EWF does not write data directly to the hard disk but instead only records system writes to this virtual RAM overlay any data that is written during system operation will disappear upon the next re boot This approach allows the system to operate as if it is writeable when in reality all OS and user space file systems are stored in a permanent read only state If desired the data written to the overlay may be committed to the protected volume but this requires additional effort Refer to the following figure from Microsoft for an overview of the EWF structure File read wite File read wite File read ivwrite Write i EL Torito Hard disk CD ROM To get more details about EWF configuration and usage you may e Visit Microsoft s EWF Volume Configuration help pages e Visit Microsoft s EWF overview on the official Microsoft EWF help pages e Visit Microsoft s detailed description of EWF modes on the EWF help pages
67. map configuration or a ee 4 biosMgmt 4 AETIA D malfunction in the T sensor The 3 sensorMgmt 5 tempSensorsIndex 1 3 J sensorObject 1 f tempSensorsIndex 2 zEusltempSensorsTable 1 tempSensorsIndex 3 z tempSensorsEntry tempSensorsDevice 1 tempSensorsIn tempSensorsDevice 2 a tempSensorsDe tempSensorsDevice 3 V tempsensorsVe tempSensorsValue 1 3xj 71 voltSensorsTable 2 tempSensorsValue 2 tempSensorsValue 3 temperatures are all displayed in Celsius In the screenshot below the temperature of disk 1 SATA1 is 37 degrees If the SATA module is not mounted the temperature 31 771 accelerometerTable 3 peripheralMgmt 6 1s powerMgmt 7 natificatinnMamt ai 4 value will be shown as 178 name tempSensorsTable 1 OID 1 3 6 1 4 1 8691 17 1 5 1 1 SEQUENCE OF SEQUENCE t degrees Thus in the screenshot at right the disk 2 SATA2 is 147483048 2147402047 tem syntax pSensorsDevice OCTET STRI NG SIZE 0 255 tempSensor showing 178 degrees because sValue INTEGER 2147483648 2147 483647 there is no disk mounted in slot 2 access notaccessible VALUE tempSensorsTable OB 4 Wl Close JECT TYPE m 4 26 TC 6110 Windows 7 Installing Moxa Software of the computer Using Synmap to Read the G Sensor The following table lists the accelerometer OIDs mmm 7 m0 m mmm accelerometerIndex 1 3 6 1 4 1 8691
68. me UI MxViewUI Publisher UNKNOWN From http localhost 81 Internet Explorer j Intranet settings use a less secure level than the Intemet If you only go to Intemet websites you should not tum on settings Are you sure you want to tum on intranet Jevel secunty ings settings C3 This application will run with unrestricted access which may put your personal information at risk Run this application only if you More Information trust the publisher 11 The Moxa MXview Setup Wizard will now appear You may click Next if you wish to enter the setup routine or select Cancel to launch the program immediately If you click Cancel The program will be launched It should look like the screenshot below Oe http localhost8l indexhtm monitor oO Bex oly Favorites 3 5 lol Suggested Sites Web Slice Gallery v http localhost8L indexhtm t v 3 dA v Pagev Safetyv Toos Project View Device Link Information Event Tools MIB Help NX view Ineluisirial Naion Marsigariert Software ay Recent Events Unacked Last Fifty Events mex 9 59 emm J vi Ack ID Source Source IP Device Alias Severity Description Time Issued m 2 MXview Server 0 0 0 0 System Information MXview server started 2013 06 05 17 51 54 1 MXview Server 0 0 0 0 System Information Mxview server started 2013 06 04 16
69. mple Code for TC 6110 Customization The Accelerometer Control Script GSensor cpp Defines the entry point for the console application include stdafx h include lt windows h gt include devices h define GSENSOR DATA LENGTH 6 int tmain int argc TCHAR argv UINT32 smbusBaseAddr 0 GSENSORDATA gsensorData SMBUSSETTING smbusSetting 2 int sensorStatus 2 smbusSetting address 0x1D smbusSetting O 0 bw rate OxA 0 data format OxB smbusSetting 0 power control 0x8 LETT KET RU Ios BN P smbusSetting address 0x53 bw rate OxA smbusSetting smbusSetting smbusSetting data format OxB smbusSetting power control 0x8 Open MxGenerallo and get SMBus address smbusBaseAddr mxaccelerometer open Check if GSensor 1 is available sensorStatus 0 mxaccelerometer get state smbusBaseAddr amp smbusSetting 0 if sensorStatus 0O 1 printf GSensor on Diskl is unavaliable n j else printf GSensor on Diskl is running n Check if GSensor 2 is available sensorStatus 1 mxaccelerometer get state smbusBaseAddr amp smbusSetting 1 if sensorStatus 1 1 printf GSensor on Disk2 is unavaliable n j else printf GSensor on Diskl is running n Set GSensor 1 parameter if sensorStatus O0 1 TC 6110 Windows 7 Sample Code for TC 6110 Customization mxaccelerometer set state smbu
70. n Tool for Windows 2000 XP 2003 Vista 2008 7 x86 and x64 Hi Please sign in PComm Lite Serial Communication Tool for Windows 2000 XP ono Keg Contact us 2003 Vista 2008 7 x86 and x64 PComm Lite Serial Communication Tool for Windows 2000 XP 2003 Vista 2008 7 x86 and x64 1 6 MB Version 1 6 Email Address Released 2012 05 14 Remember me For the following product s C104H Series C104HI PCI Series Can t remember your password C168H Series Click here to retrieve it C168H PCI C218Turbo New User C218Turbo PCI Register now C320Turbo C320Turbo PCI Express C320Turbo PCI CI 104J Cl 132 Series Cl 134 Series CN2510 Series Password CN2610 2650 Series CP 102E CP 102E EL r fax 100 Y 4 Install the program and then call it from the Windows Start Menu inl Emulate gem Port Manager Help M TERES 5 6 TC 6110 Windows 7 Customizable Sample Code 6 Open the GPS port in the terminal by first setting the COM port to the value you tracked down in step 2 of this section just above Next set the basic communication properties in the Communication Parameter tab In the example below we are using the default port for the Moxa GPS module COM3 at 115 200 baud You should not need to change the other properties Data Bits Parity etc but if you do perhaps you are using another terminal that requires it then refer to the figure below for d
71. nable the watchdog timer you need to set the scanning interval to a non zero integer between 1 and 255 this number will set the number of seconds that will pass following a system or application hang before the watchdog reboots the platform After setting a time interval for the watchdog the OID watchdogStatus will automatically change to 1 to indicate that the watchdog timer is enabled Once enabled whenever the kernel fails to deliver a COP signal during the specified time period the watchdog will automatically initiate a soft reboot The following table shows the watchdog OIDs watchdogPeriod 1 3 6 1 4 1 8691 17 1 6 6 2 1 read write An integer between 1 and 255 representing the timeout period in seconds E g 30 30 seconds watchdogStatus 1 3 6 1 4 1 8691 17 1 6 6 2 2 0 represents Off 1 represents On 4 28 TC 6110 Windows 7 Installing Moxa Software To enable the watchdog via Synmap follow the instructions below 1 Navigate to MOXA SYS MIB VALUES Moxa embeddedComputer MoxaSystem peripheralMgmt systemWatchdog watchdog period and select Set File 13 MIB SYS MIB AgentiP 127 0 0 1 UES moxa 8691 OID 1 3 6 1 4 1 8691 17 1 6 6 2 1 0 W embeddedComputer 17 productInfoMgmt 1 E systemInfoMgmt 2 E U biosMgmt 4 Name OID Value H sensorMgmt 5 watchdogPeriod lo peripheralMgmt 6 F E 1 perloMgmt 1
72. nctionality D CU Q I z as ct D read only Reference index for each observed device read only The name of the temperature sensor we are reading read only The temperature of this sensor in mC read only Reference index for each observed device read only The name of the device we are reading 0 0 Q a a I O 2 lt 2 D lt o ct CU a 0 3 lt I O J lt Pa D D pe D 2 O D 5 ak D x o Oo D CU O 2 observed device D C Q I O 2 lt gt D 5 D 3 D O Th ct y D accelerometer axis we are reading read only The accelerometer value D C a I O 2 lt ay D m 3 D Uu ct a 3 D z x D 5 accelerometer measured Number of digital input pin in current system read only Reference index for each read only read only The port number of digital input pin read only The digital input status O is low 1 is high read write Agent will send trap message when digital input pin status changed and this object enbeled read only Number of digital output pin in current system read only Reference index for each digital output pin read only The port number of digital output pin TC 6110 Windows 7 The 2013 Synmap OID Table doValue 1 3 6 1 4 1 8691 17 1 6 1 1 4 1 3 read write The digital output status O is low 1 is high ledNumber 1 3 6 1 4 1 8691 r Num
73. nd Maybe it does not exist so other boot manager exists or system is not supported in the kernel Skip running grub install Volototototototototototototetototetototototototototetototetotototototototetetetejetototototototolotetotek Found NTFS noot partition among the restored partition s Head and sector no of zde from EDD 64 63 The start of NTFS partition dev sc 59 adjust fiincueten geometry for the NTFS Running ionis ntfsfixboot w h 64 3 63 5 63 ntfsfixboot version 0 39 done oktopolpboplobplopbbpbpbpbopblopbpobrbbeepebpelbmbplbtpoebempltpopbmbeetek KKK OK KKK KKK OK KKK OK KOK OK KKK OK KOK OK KKK OK KOK KKK KOK KKK OK KK OK KKK OK KK KKK KKK KKK OK KOK OK KKK OK KKK OK KOK KCK KK KKK KKK KEK KKK OK KK This program is not started by Clonezilla server so skip notifying it the job is done ed syncing flush filesystem buffers Ocs live restore is finished Yow you can c 0 HUC otf QE 2 Enter command line prompt 3 Start ave 2 TC 6110 Windows 7 System Recovery 6 Once you have powered down the system and removed the USB drive you have finished configuring the recovery environment The USB drive should be clearly labeled and stored in a safe place You may now continue to the next section where you will return the BIOS to its original state Step 4 and test the recovery procedure for successful configuration Step 5 Step 4 Reset BIOS to Original State Now you will need to return the boot p
74. ndicator has lit up LED 1 is shown in the figure at the top of this Cancel section Using Synmap to Control the Programmable LEDs 4 Next set the value to 0 and click Set to turn off the LED then visually verify that the LED has successfully turned off If you experience problems at this point please review the instructions above and if the problem persists contact Moxa technical support or visit our Using Synmap to Set the OS Power Policy The following table shows the OID power policy control read write option and available values powerPolicy 1 3 6 1 4 1 8691 17 1 7 2 read write 1 Balanced 2 Power Saver 3 High Performance The powerPolicy OID allows you to change the Windows 7 power policy Balanced may be considered normal operations and except in extreme circumstances of exceptionally high CPU use or where strict energy conservation must be maintained this option will provide satisfactory performance Power Saver will conserve power usage to the maximum extent possible restricting the CPU to around 36 capacity High Performance maximizes CPU cycles for all applications at all times generally High Performance is not recommended and in many perhaps most circumstances where the TC 6110 is used Power Saver mode may be adequate to the system s needs Sysadmins should carefully review the needs of the system and do some quick tests to make the most informed decision These settings may be further fine tuned wit
75. ndix B Accelerometer Conversion Code H3 Administrator C Windows sy C programs examp le gt GSensor exe GSensor on Diski is running GSensor on Disk2 is unavaliable gsensorData x_axis igsensorData y_axis 1 gsensorData z_axis 65517 C programs example gt _ ATTENTION G sensor accelerometer values are base 10 representations of raw binary data and must first be converted using bitwise operations before they can be read as milligravities mG The formula for conversion is to first convert the binary number from two s complement notation into base 10 then multiply the result by 3 9 For sample code check Appendix B Accelerometer Conversion Code 5 3 TC 6110 Windows 7 Customizable Sample Code Watchdog Control Code The code for controlling the watchdog COP timer is the simplest and least customizable of the included sample scripts The code itself is provided on the software DVD under examples project WatchDog and the executable file Watchdog exe is on the software DVD NexamplesNTC6000Release This sample code may be modified to integrate the watchdog timer with specific applications Using this code any program may be set up so that the watchdog timer will provide a last line failsafe against application crashes For instance the TC 6110 may be set up so that whenever a mission critical application fails the watchdog timer will send a message to a system administrator and then initiate an aut
76. o Codecs MP3 e MPEG4 Decoders e Windows Media Video VC 1 WMV Codecs e DirectX and Windows Device Experience e Windows Media Player 12 International e IME Simplified Chinese Support e IME Traditional Chinese Support Management e Group Policy Management e Windows Management Instrument WMI e Windows Update Networking e Extensible Authentication Protocol EAP e Internet Authentication Service e Telnet Server e Bluetooth e Domain Services e Network Access Protection e Network and Sharing Center e Quality of Service e Remote Access Service RAS e Telephony API Client e Windows Firewall e Wireless Networking 1 2 TC 6110 Windows 7 Introduction Security e Credential Roaming Service e Credentials and Certificate Management e Windows Authorization Manager AZMAN e Windows Security Center e Active Directory Rights Management e Security Base e Encrypted File System EFS Embedded Features e Enhanced Write Filter EWF e File Based Write Filter FBWF e Message Box Default Reply e Registry Filter e WSDAPI for NET Embedded Self Health Diagnostic Software SNMP based remote scripting layer for monitoring reporting and control 1 3 2 System Initialization This chapter describes how to initialize the system settings on TC 6110 computer when you boot up the computer at first time The following topics are covered in this chapter O Create a New User Account TC 6110 Windows 7 Sy
77. o the Synmap engine so that creating a customized monitoring or control application now only requires the coordination of a few SNMP SET GET calls potentially allowing developers to save on hundreds of lines of code when authoring new applications Moxa Synmap OIDs List The following table shows the OIDs currently supported on the TC 6110 For a full review of all Moxa Synmap OIDs check the Appendix section Po a productName 1 3 6 1 4 1 8691 17 1 1 1 Returns the product name productDesc 1 3 6 1 4 1 8691 17 1 1 2 Returns a short device description productVersion 1 3 6 1 4 1 8691 17 1 1 3 Returns product version productBuildDate 1 3 6 1 4 1 8691 17 1 1 4 read only Returns the last software build date YYMMDDHH format tempSensorsIndex 1 3 6 1 4 1 8691 17 1 5 1 1 1 1 read only Reference index showing all available temperature sensors starts from 1 tempSensorsDevice 1 3 6 1 4 1 8691 17 1 5 1 1 1 2 read only Returns a list of the unique string values that the database associates with a temperature sensor index value May be used with 4 12 TC 6110 Windows 7 Installing Moxa Software tempSensorsValue accelerometerIndex accelerometerAxis accelerometerValue accelerometerTimestamp usbDeviceProductID usbDeviceActiveClass watchdogPeriod watchdogStatus powerPolicy 1 3 6 1 4 1 8691 17 1 5 1 1 1 3 1 3 0 1 4 1 0091 17 1 5 1 5 1 1 1 3 0 1 4 1 0091 17 1 5 1 5 1 2 1 3 6 1 4 1 8691 17 1 5 1 3 1 3 1 3 6 1
78. okokotolokotololotalotelalototeetatotetaietelotolaetofaleteloofolotoralotololofo loto alot ooo oKOGK Checking NTFS integrity in dev sdal done Checking the disk space Use ntfsclone with gzip mage file will be split wit Iolotololototolotototetototetototetotoletototetototetototetor If this action fails or he Is the disk full HEAR KEE A KES KC CE EE EE CE HE OK ntfsclone v2 0 0 libntfs 10 0 0 NTFS volume version 3 1 Cluster size 2048 bytes Current volume size 2064510976 bytes Current device size 2064513024 bytes Peano ANE gt Eee ent Eee 1g C lusters 2065 MB 2065 MB 2 1110 MB 85 7 ng dns to image niet ed 5 At this point you may choose to power down the computer press 0 reboot press 1 enter a console terminal access a console TTY press 2 or re initiate the entire procedure press 3 Do not remove the USB drive until you have rebooted or powered down the system First 446 bytes of MBR data i e executable code folololoroloototorerootototerootoretorotetorerootototerootoreterotetorerorotororeroototetetotototok artition for sdai v sdal I libntfs 10 0 0 ee ice name dev sdai volume version 3 1 ster size 2048 bytes rent volume size 206451 rent device size 2064513024 butes m volume size 2064511488 butes Nothing to do NTFS volume size is already Ok tootolototototetototetetetotetetetetetetetetetetetetetetetetetetetetetetetetetetotetetetetototetetetotok The grub directory is NOT fou
79. omatic reboot To test the watchdog executable follow the steps below The Watchdog Control Code Walkthrough 1 If you haven t yet create the folder c programs examples then copy over Watchdog exe and run the script 2 The program will return pdwPortVal 0x80 this means the watchdog function is enabled and counting down To keep the system from rebooting the user will need to press Enter at least once every 10 seconds otherwise the system will automatically reboot 3 To stop the watchdog press q to exit the program The watchdog timer control will return pdwPortVal 0xcO indicating that the watchdog timer is now disabled la N Gay Administrator C Windows system32 cmd exe ESI l f C programs example gt watchdog pduPortUal 8x88 Press ENTER in 18 seconds to exit ENTER in 18 seconds to exit ENTER in 18 seconds gt J LM gt 5 SE to exit Press ENTER in 18 seconds q to exitq x pduPortUal 8xc8 C Nprograms Nexample T Sensor Control Code The TC 6110 computer comes with built in independent temperature sensors that may be customized for automated responses The temperature sensor sample code may be found on the software DVD under examples project TempSensor and the executable file TempSensor exe will be under examples TC6000Release Follow the steps below for a walkthrough on using TempSensor exe to return thermometer values
80. ooting up you will be given a warning and asked if you wish to continue Please keep in mind that if you create the recovery image then any residual files currently copied to the home partimag directory will be deleted If there are any files remaining in the USB partition image directory and you wish to save them you must exit the recovery environment and copy these files to another disk If you wish to continue with the image creation press Y case insensitive to continue Setting the TERM as linux iololololololololeloteotetotototelotetotetototetotetotetotetotetotetotetotetotetetotetoteetetotetotetok Clonezilla image dir home part imag ROCA AAA RACK Shutting down the Logical Volume Manager No volume groups found No volume groups found Finished Shutting down the Logical Volume Manager e sda found sda xopolototototototototototototototetotetotetotetotetotetotetotetoetotetoetotetotetotetotetotetoetotetok activating the partition info in proc done sda found sda a partition s 1 busy partition or disk s including extended or swap Collecting info done hing for swap partition s Excluding busy partition or disk Unmouted partitions including extended or swap Collecting info done The data partition to be save The swap partition to be saved Activating the partition info in proc done sda1 found sdal Getting dev sdai info Jo OO OOS OO OOS OO OOS OOO OS OO OOOO OOOO OOS OOOO SOOO OOOO OIRIO
81. or the first time a warning message will pop up telling you to install the Java runtime environment Click OK to continue E http localhost81 indexhtms monitor Favorites 3 Suggested Sites v B Web Slice Gallery v http localhost amp l indexhtm OS de v Pager Safetyv Tool v 9 Intranet settings are now turned off by default Intranet settings are less secure than Internet settings Click for options x Message from webpage A You should refresh this page after successful install the JRE http localhost81 index htm monitor A Favorites oy 5 Suggested Sites p Web Slice Gallery v I http localhost81 indexhtm bv E o d 5 v Pagev Safetyv Tools y 9 n To help protect your security Internet Explorer has restricted this site from showinq certain content Click here for options File Download Blocked Download File Intranet Settings What s the Risk Information Bar Help 4 17 TC 6110 Windows 7 Installing Moxa Software 6 Select Run to download and install the Java Runtime Environment JRE and when Windows posts a security warning asking if you wish to run the installer click Run again V e x KO n _ http localhost81 index htm v Bgn S Bing p dip Favorites siz S Suggested Sites j Web Slice Gallery v http localhost81 index htm fh 3 dm v Pager Safetyv Tool v Intranet settings are now turned off by default Intranet s
82. over to the USB drive and the drive will be set up to provide a system boot process by copying an ISO image of the boot environment to the USB 2 The system will be re booted and BIOS will be manually configured to boot the system from the USB port 3 An image of the current software system will be created on the USB drive for the recovery environment to use when restoring the system 4 The system will be re booted again and the BIOS returned to its original state Step 1 Prepare the USB drive 1 Load the software DVD that came with your TC 6110 computer and execute tuxboot windows 23 exe from the software DVD NrecoveryNTC6110W7E folder select Pre Downloaded and click the button marked with an ellipsis to browse the file system and find the location of the boot environment s ISO image Tuzboot On Line Distribution clonezilla live stable m current m Update LI Rl To ba Clonezilla Homepage http JJ clanezilla ardgj Description Clonezilla live is a distribution used For disk backup and imaging The stable branch of Clonezilla live are based on Debian Install Notes Clonezilla live is booted and run in live mode no installation is required to use it Download Path Clanezilla Live Stable at SourceForge Pre Downloaded ISO UNE _ _ C Show All Drives Use with Care Save 150 file MOS Check 2 Navigate to recovery TC6110W7E ClonezillaFactory 2013 02 21 14 on the software DVD and sele
83. r No if you plan to manually restart later start the hot swap daemon or click No if you prefer to continue installing other software before restarting Yes Oo be Hot Swap Configuration and Usage Once the system has re initialized you may follow the directions below to configure hot swap for your needs Starting Hot Swap When Moxa s hot swap daemon mxhtspd has automatically started at boot time users will be notified by a message delivered in the Windows system tray A info Once mxhtspd is active it will monitor the removable drives Two features mxhtspd start are provided by mxhtspd described below 4 2 TC 6110 Windows 7 Installing Moxa Software Unmounting and Removing the Storage Drives A A 1 On the spine of each module there is an inset button labeled X1 this button may be custom configured but by default it signals the OS to un mount the hard drive so that the module may be safely removed Users should use a small screwdriver or other sharply tipped instrument to gently depress the X1 button WARNING Do not remove the memory modules without first unmounting the memory drive Removing the memory modules prematurely could permanently corrupt any or all stored data and force a full reformatting of the memory drive Follow the steps described here to ensure that your memory drive is removed safely and securely without damaging your data 2 Oncethe system recognizes the button has
84. r of seconds Returns the watchdog s current status and timeout interval Returns the system s current power policy as configured by the Windows 7 Embedded OS TC 6110 Windows 7 Installing Moxa Software Installing the Synmap Virtualization Layer The following steps will install Synmap 1 Double click mxSynmap setup msi found in the Utility folder located on the software DVD under utility 3 mxSynmap Then click Next to start the Synmap setup wizard il Moxa SyH haP Welcome to the Moxa SyN MaP Setup Wizard The installer will guide you through the steps required to install Masa SuyM MaP an your computer WARNING This computer program i protected by copyright law and intemational treaties Unauthorized duplication or distribution of this program ar 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 lt Back 2 In the middle of the dialog the button Disk Cost will display how much space the Synmap software package will occupy on your storage drive as well as the remaining storage space on the drive where the system is stored At the bottom of the dialog select whether Synmap will be installed for every user across the entire system or just for the current user account Above that in the text dialog you may click the Browse button to browse the file tree and select the folder where you want to install the p
85. read write Watchdog period 0 means disable watchdog monitor program otherwise enable watchdog monitor program and configure TC 6110 Windows 7 The 2013 Synmap OID Table 1 3 6 1 4 1 8691 17 1 6 6 2 2 read write To show the watchdog monitor program status 1 3 6 1 4 1 8691 17 1 7 2 read write Current system power policy r 1 3 6 1 4 1 8691 17 1 9 1 read write Set Trap IP address LS m community Sample Code for TC 6110 Customization This section gives you a hard copy of the sample code included with the TC 6110 These short programs are intended to be used either as standalone scripts or to be included in scripts created to build custom features for end users The following topics are covered in this appendix O The LED Control Script The Accelerometer Control Script Accelerometer Conversion Code The Watchdog Control Script n o The Temperature Sensor Control Script TC 6110 Windows 7 Sample Code for TC 6110 Customization The LED Control Script Below we reproduce the LED control code This is a simple script that users may freely modify this code to suit their needs Copyright C MOXA Inc All rights reserved This software is distributed under the terms of the MOXA License See the file COPYING MOXA for details i include stdafx h include lt windows h gt include commctrl h include devices h index n O BIT O I T BER 2 o BID 2 wie CETT E data n O
86. riority to its original configuration so that the system will boot from the original disk This is done for two reasons the first is security so that the machine may not be rebooted from unauthorized USB drives The second however is functional currently if the TC 6110 is set to boot from the USB drive then the TC 6110 will hang any time a USB data drive i e non bootable image is inserted in the machine at boot time The TC 6110 does not currently have the capacity to distinguish between simple USB data drives and boot capable OS drives 1 Reboot the system and press F2 to enter the BIOS setup menu 2 Select Hard Disk and shift it to the top boot priority by using the key then press Enter Make sure the hard disk has first boot priority ee eee Boot Type Order CD DVD ROH Dr i ve USB Others 1 11 F5 F6 F9 SC Enter F10 3 Press F10 and then press Enter to save and exit the BIOS settings dialog Step 5 Perform a Test Restoration Connect the USB drive to any of the TC 6110 s USB ports and then reboot the computer The system will boot from the USB into the Clonezilla boot loader 1 Select Clonezilla Live Restore Disk to boot into the system restoration environment clonezilla live restore disk Clonezilla live save disk Memtest amp FreeDOS gt 6 8 TC 6110 Windows 7 System Recovery 2 Wait for the boot process to finish rm 153522 1637261 267941 310750 334915 Loading 6
87. rom the hot swap icon located in the Windows system tray Exit 4 Customize 1 To access the setup menu for the Moxa Hot Swap daemon right click on the mxhtspd icon located in the systray Windows at the bottom right of CH Pz 710 the screen and then select Setting When the MXHTSP Settings dialog appears admins must MXHTSP Setting m select the drive letters under which the storage drives will be Disk1 Drive Letter ID mounted If the drives have been partitioned select only the z Cancel first available drive letter selecting anything else will cause ek e Eae Ferter EM trouble when mounting the device Windows will mount the Execute Script Check Partition drive volumes under the identifiers you assign here Once assigned these values will be associated with the device s hardware address so that if the modules are removed and then immediately replaced in a different order i e drive 1 is placed in the Disk 2 slot and drive 2 is placed in the Disk 1 slot they will continue to be mounted under their original volume name i e drive 1 will continue to be volume D even though it is now mounted in slot 2 and similarly Disk 2 will be mounted as volume E even though it is now in slot 1 If admins wish to change this behavior they may also do by creating a new entry in the Windows registry There are several online tutorials that explain how to do this WARNING If the storage driv
88. rough list of each protected volume Device HarddiskUo lume Reqf data SCemp Filesbhasodumite ilten configuration for the next session i filter state enabled Torre Tee eee empression state disabled overlay cache threshold 128 MB overlay cache pre allocation disabled Size display actual mode protected volume list Device HarddiskUolume2 C gt write through list of each protected volume Device HarddiskUo lume stemp ERSTER ES UT a To get more details about EWF configuration and usage you may Go to Microsoft s FBWF Installation and Configuration help pages Go to Microsoft s FBWF overview on the official Microsoft EWF help pages Go to Microsoft s detailed description of FBWF features on the EWF help pages Go to Microsoft s detailed description of the FBWF API 3 6 4 Installing Moxa Software This chapter describes how to configure and install the bundled Moxa software that comes with the TC 6110 Moxa software allows users to build scripts and custom software to automatically or remotely control and monitor the TC 6100 for both process and infrastructure level needs The following topics are covered in this chapter O mxhtsp Hot Swapping for Hard Drives Overview Installing mxhtsp Hot Swap Configuration and Usage D Moxa Predictive Maintenance Diagnostic Tools Overview Installing the PdM Diagnostics Package Configuring and Using the G Sensor Tool Configuring and Using th
89. s 7 Installing Moxa Software The Synmap Virtualization Layer Full Interoperability with Any Moxa Device Overview Synmap is Moxa s revolutionary software virtualization an evolutionary advance in network device control that adapts solid reliable SNMP into a fully portable remote procedure interface Synmap allows engineers to automate remote processes using SNMP object identifiers OIDs rather than device or OS specific API addressing making a scripted Synmap procedure fully interoperable with any other Synmap device This means that a script created for one Synmap device may be directly copied to another immediately conferring the same functionality This eliminates the need for rewriting and compiling code for newly configured devices significantly reducing maintenance and deployment times SNMP is lightweight and easy to configure and is already long popular with IT professionals it also enjoys comprehensive native support in high level languages like NET Java Python or Ruby For these reasons the Synmap framework has re imagined SNMP as a universal configuration and control interface for remote procedures adapting it to not only monitor and control device internals like temperature BIOS parameters and local interfaces but also to report on and automate tasks at the process layer as well Easily integrated into any existing Network Management System NMS Synmap devices are a flexible and cost effective upgrade that returns
90. sBaseAddr amp smbusSetting 0 if sensorStatus 1 1 mxaccelerometer set state smbusBaseAddr amp smbusSetting 1 Calibrate GSensor if sensorStatus O0 1 Set parameter of Gsensor 1 mxaccelerometer calibrate smbusBaseAddr amp smbusSetting 0 i1f sensorStatus 1 1 Set parameter of Gsensor 2 mxaccelerometer calibrate smbusBaseAddr amp smbusSetting 1 Close GSensor devie mxaccelerometer close smbusBaseAddr Open GSensor device smbusBaseAddr mxaccelerometer open if sensorStatus O0 1 Get G Sensor data mxaccelerometer read smbusBaseAddr amp smbusSetting 0 amp gsensorData GSENSOR DATA LENGTH printf gsensorData x axis 0 sd n gsensorData x axis printf gsensorData y axis 0 sd n gsensorData y axis printf gsensorData z axis 0 sd n gsensorData z axis if sensorStatus 1 1 Get G Sensor data mxaccelerometer read smbusBaseAddr amp smbusSetting 0 amp gsensorData GSENSOR DATA LENGTH printf gsensorData x axis l sd n gsensorData x axis printf gsensorData y axis l sd n gsensorData y axis printf gsensorData z axis l sd n gsensorData z axis Close GSensor device mxaccelerometer close smbusBaseAddr return 0 TC 6110 Windows 7 Sample Code for TC 6110 Customization Accelerometer Conversion Code if z axis 0x8000 Z aXisS xPEPP Zz
91. sed write filtering do the following 1 To check if FBWF is enabled or disabled type C gt fbowfmgr displayconfig lec m r BA Administrator C Windows system32 cmd exe lc Users moxalfhufmgr displayconf ig JLL pasen write rilicer conr guration for the current session Filter state disabled Filpeboonteweatesstibterenerd guration for the next session filter state disabled C Users moxa gt 2 To enable the FBWF type C gt fbowfmgr enable and then reboot the system to take effect oe T ee fe Administrator C Windows system32 cmd exe in Ci Users noxa gt fhufmgr enable File base Pewter leer wn abled on the next reboot Ci Users moxa gt _ 3 5 TC 6110 Windows 7 Enabling Windows 7 Write Protections 3 After the system has rebooted type C V NV fbwfmgr displayconfig again to check if the status has been changed to enabled and will start at boot time _ re Em Administrator CAWI idows system32 cmd exe SMicrosoft Windows Uersion 6 1 7681 1 ECopuright tc 2614 Microsoft Corporation All rights reserved Ic Users moxa gt f buf mgr fdisplayconf ig riiu MCCC X TS PE ELTE ETERNI for the current Session Filter state enabled Overlay Cache Gata COMpPession state disabled overlay cache threshold 128 MB overlay cache pre allocation disabled Size display actual mode protected volume list Device HarddiskUolume2 C gt write th
92. sion 1 3 6 1 4 1 8691 17 1 1 3 read only X Returns product version D C a I oO 5 lt J D ect C S 3 Un D O a c O ect Un gt Oo S cT description productBuildDate 1 3 6 1 4 1 8691 17 1 1 4 read only Returns product last build date the format is YYMMDDHH 1 3 6 1 4 1 8691 17 1 2 1 1 read only Show CPU usage rate 0 100 systemMemUsage 1 3 6 1 4 1 8691 17 1 2 1 3 read only Show memory usage rate 0 100 systemUptime 1 3 6 1 4 1 8691 17 1 2 1 5 read only The amount of time since this host was last initialized systemTotalUptime 1 3 6 1 4 1 8691 17 1 2 1 6 read only The amount of time from total boot up time systemMemorySize 1 3 6 1 4 1 8691 17 1 2 3 1 read only The amount of physical main memory contained by the host systemVolumeCount 1 3 6 1 4 1 8691 17 1 2 3 2 read only Show total volume count 1 3 6 1 4 1 89091 17 1 2 5 5 1 4 systemVolumeName 1 3 6 1 4 1 8691 17 1 2 3 3 1 2 systemVolumeLabel 1 3 6 1 4 1 8691 17 1 2 3 3 1 3 D CU ak I O J lt Pa D on D O D 5 ak D x o S D CU O D observed device O zi d d gt D D D a1 gt D 0 3 D h O ct h et o 2 S lt 2j gg C 3g SARET ER M 0 O0 v Q aSa l 2 lt x systemVolumeSize 1 3 6 1 4 1 8691 17 1 2 3 3 1 4 read only The total size of the volume systemVolumeAvail 1 3 6 1 4 1 8691 17 1 2 3 3 1 5 read only The available size
93. ss Additionally you must configure the ports which MXview will use for HTTP and HTTPS communications Once the installation is complete you may choose to restart the computer to get MXview up and running Set Service Parameters Please specify the server port settings Completing the MXview Setup Wizard 7 Enable HTTP To complete the installation of MXview Setup must restart your computer Would you like to restart now Server IP 127 0 0 1 HTTPS Port 443 No I will restart the computer later 7 After rebooting the MXview shortcut will appear on your desktop shown at right Click on the shortcut to continue on to the next section and begin the MxView setup Basic Configuration of MxView 1 Open MXview see step 7 of the last section immediately above and select Start to initialize the MXview NMS wait for the System Status notification to change to Running then click Launch Client MXvie ew ver wk ANX view ANX view LOFE Industrial Network Management Software KOE Industrial Network Management Software Moxa Inc All rights reserved 2013 Moxa Inc All rights reserved 2013 Service info Service Info HTTP Port 81 Disable HTTP port Start HTTP Port ai i HTTPS Port 443 HTTPS Port 443 System Status Stop System Status Running 4 16 TC 6110 Windows 7 Installing Moxa Software Set Up Windows Internet Explorer 8 2 If opening Microsoft Internet Explor
94. sseeeeeene nennen nnne nn 5 4 CGP a OO og M ioci e EE EORR T P cC Ce 5 5 RECIEVING GPSDatdsssii sire OULU E ALCL Ee elu Aut Preho VEU v e Curia S 5 5 System RecOVeLViriiu ui P PIRE ERE EERSRERERIRRRRRRRREDPRRSERISERRRRRRR RRISRRRARIRPRRR GR NR RR EPA teats IRR SIN DR N S ERA R S ENS RIS 22D ELE 6 1 Overview Setting Up the Recovery Environment ssssssssensnssnansnsnnnnennnrnnannnsnnnnsnnnsenannnnunansnnnnnenannnnnnnn 6 2 Step 1 Prepare the USB CUI Crates snes exe us era Er FERE FEE EEEE MEN EIDEM CEN DENM UE IPM DIUI IUUD CE EUIS 6 2 Step 2 Setting the BIOS to Boot via USB eie rei o ater etu eat etate E ke M D UE GE tnr IF MeuEE 6 4 Step 3 opt Create a Custom System Image sseeeeeieeieeeeeeeesnme nena nh smmhn nasus mese aaa sme nasa sme nn 6 5 Step Reset BIOS to Original State icc dnce decere ol heise date dene beber tuer ce mr Fen deine Prev vna otra Qna lisa mats ie etiatn idt 6 8 Step 5 Performa Test RESOA UON cusess ueri eo rte R EE En a c da edamame N DP DII quA DPUP Ud af deme 6 8 Ihe 2013 Synmap OLD Table dxuu s uva a a E EEEEVRUEREERESACEUEERS REEF RFEERPAPEEEVETAR SK A 1 Moxa Synmap The Full OUD Table vices crm rrr EM EER E E eu EE d A 2 Sample Code for TC 6110 Custonilzatlon ue nnne re E EA B 1 The EED Conttol SCRIP UC iocecieecexz eee rex eun uuu er pe tone ver dca tuu esr tvRE eger dux du NP eCCMDEIM TEM PDM UPC DICUPICE PII IDEE DUI B 2 The Accelerometer Control SCPIDES minehin bilo khh
95. stem Initialization Create a New User Account 1 When you boot into the TC 6110 for the first time you will need to create a user account for this computer 2 Typethe password and then retype the password below In addition you may also type a password hint in case you forget your password If you do not want to set a password for the account leave the entry box blank and click Next c Set up Windows Windows Embedded Standard 7 Choose a user name for your account Your computer s name is managed by your organization s System adminmntrater Type a yser name fer example John Copynght 2010 Microsoft Corporation All nghts reserved 3 Select the windows update option and then select your time zone and whether you will use daylight savings time Set Up Minden CS o tete ttn Help protect your computer and improve Windows automatically Furunw your time aed dabe setbinigr Tora noir TR Pc Teen 75 rana F ione edd clock cr Grihi Leona Tenn Lise necomenended setting rera sepes el gade pela lati ctae Fakira Basiescien rales Cheri pel Hei tieil ro pbi RTA afud Balsa HL apt fud Fatal impete updates en Tah nal cei Lapel ined phas erexit ecu lei Mendes Ak rre laber d Ud yta Sardis lee omues Page ba vuleirabls na Getty The Bhata yaja Lai rey D i ges Tae Sr Es ce Fea lan bahy hiat Pii ei Lent a kicrpuoft The anlorreauon a spot used to eel yu COLT yeu Tp barn pH thha bhir Vire mash des
96. t 1 to display the LED s current status EA Administrator Command Prompt led o mw C programs example gt led LED Test Program XB Exit Program 1 gt Display LED 2 gt Set LED value In the screenshot below the user has selected 1 and is viewing the current status of all LEDs The value O shown next to each entry indicates that all of the LEDs are currently turned off Visually verify this by examining the TC 6110 s front panel Administrator C Windows system32 cmd exe led C programs example gt led LED Test Program X8 Exit Program lt i gt Display LED lt 2 Set LED value u www OOo You may now run LED exe again but this time select 2 At the next prompt enter the ID number 0 to 7 of an LED to activate and when prompted enter either 1 to turn it on or O to turn it off The LEDs on the main TC 6110 panel correspond to 0 through 3 4 and 5 correspond to those on the first module and 6 and 7 to those on the second ES Administrator C Winde C programs example gt led LED Test Program 85 Exit Program 1 gt Display LED 2 gt Set LED value 2 Input the LED Number lt 7 a Input the value lt or 1 1 Set led signal success Input the LED Number 8 7 Input the value O or 1 1 Set led signal success 2 Input the LED Number 7 2 Input the value lt O or 1 1 Set led signal success 2 Input the LED Number 8 7 3 Input the value or 1
97. t into a fully configured system users should click Reboot Now to close the installation environment and restart the computer They should then proceed to the next section Step 2 Setting the BIOS to Boot via USB and continue the installation of the recovery environment by continuing to Step 3 opt Creating a Custom System Image B To configure the recovery environment to boot into a clean OS image with no applications users should instead click Exit here to complete the installation and return to the OS From within the desktop environment the user should then manually copy the directory containing the base OS from the software DVD over to the USB drive To do this copy lt Software DVD gt TC6110W7E recovery os_image over to the partition image directory F home partimag At this point Step 1 has been completed and you should proceed to Step 2 Setting the BIOS to Boot via USB MS Tuxboot 1 Downloading Files Done 2 Extracting and Copying Files Dione 3 Installing Bootloader Done 4 Installation Complete Reboot Current After rebooting select the USB boot option in the BIOS boot menu Reboot now 6 3 TC 6110 Windows 7 System Recovery ATTENTION Because of the peculiarities of the file tree naming it is not possible to include both the base OS image and a fully configured system image on the same USB stick If users wish to configure both then two USB drives must be used each configured according to t
98. tings of Windows 7 power management policies you may refer to Microsoft s online Windows support pages which are currently Jul 2013 found at this link http windows microsoft com en us windows7 change create or delete a power plan scheme Using Synmap to Read the Temperature Sensor The following table shows the temperature sensor OIDs meme um mem quem tempSensorsIndex 1 3 6 1 4 1 8691 17 1 5 1 1 1 1 read only Returns a list of numbers beginning with 1 that corresponds with the available T sensors these identifiers are used by SNMP and for system scripts tempSensorsDevice 1 3 6 1 4 1 8691 17 1 5 1 1 1 2 read only Returns a list of string values identifying the temperature 4 25 TC 6110 Windows 7 Installing Moxa Software sensors by name location Possible values are SATA1 SATA2 or CPU for the CPU s internal thermometer tempSensorsValue 1 3 6 1 4 1 8691 17 1 5 1 1 1 3 read only The reading returned by the thermometer in degrees Celsius Note On the TC 6110 temp is currently represented as the current reading truncated to its base integer without rounding To use Synmap to check the temperature sensor T sensor of the TC 6110 computer follow the steps below 1 Start up MXview or some other NMS and open the MIB browser For detailed instructions on loading MXview you may refer to Loading the Synmap MIB File steps 1 to 3 2 Navigate to MOXA SYS MIB VALUES moxa embedded
99. tware DVD Double click mxView Trial V2 3 msiin the Utility folder which you can find on the software DVD in utility 4 mxViewTrial Select OK to choose the language and when the next dialog appears click Next to continue p Select Setup Language Welcome to the MXview Setup Wizard This will install MXview on your computer It is recommended that you close all other applications before Click Next to continue or Cancel to exit Setup License Agreement MXview Trail Version License Please read the following important information before continuing License Please read the following License Agreement You must accept the terms of this MXview license 20 Devices agreement before continuing with the installation License MOXA END USER LICENSE AGREEMENT FOR MXview SOFTWARE IMPORTANT Please Read This Agreement Before Using The Software Indicated Above This End User License Agreement EULA is a legal agreement between you the Customer either as an individual or a single entity and the Owner concerning this special purpose System computer device that includes certain Owner mra sen dme 0 Er men anb Phin Cre oad E an new aeneum mammam ma bs I accept the agreement I do not accept the agreement 3 On the next dialog you may change the folder and path where MXview will be installed On the next you may select where MXView shortcuts will be stored in the Windows Start Menu
100. u will shut down the Moxa PdM utilities package If C ah this happens and you want to re launch the utility navigate to the Windows Start Menu and select Moxa Predictive Maintenance Default Programs Desktop Gadget Gallery Internet Explorer Windows Fax and Scan Windows Media Player Windows Update XPS Viewer Pictures Accessories Intel amp Matrix Storage Manager Maintenance Microsoft ActiveX Control Pad Games Computer Jala Moxa Predictive Maintenance Diagnostic Tool UUI trol Panel Startup Subsystem for UNIX based Applications Do K ae Default Programs Help and Support Windows Security CEAD ATTENTION Users are advised that the accelerometer script returns vibration readings in milligravities mG The G sensor s raw values however are returned in an unconverted hexadecimal form If you would like to directly access the G sensor data in a human readable form then you should access G sensor data from the GUI using the log file 2 Next verify that each initial value X axis Y axis Z axis is close to 0 4 100 The X axis represents front to back motion relative t to the sensor the Y axis is left to right and the Z axis is up and down A good target threshold to start off with is 1000 mG 4 7 TC 6110 Windows 7 Curent 117 mg G1 Y Ads mg G1 Z Ais Curent 109 2 mg Disk2 G2 X is Curent 0 mg G2_Y_Axis Curent 0 G2 Z Axis
101. utDataSize gpsData amp gpsDatasSize NULL Step3 To parse the GPS data into another program use the gpsData variable that was created in Step 2 The data should look something like the example provided below SGERMC V rrr n3 SGEVTG B 30 SCBGGCA 10 00 998 99 4H GEGSA A 1 99 33 383 353 33 33 30 SGEGSV 1 1 00 73 SGEGLL V N 64 SGBPBBMC V M 53 SGEVIG BM 30 SCBECA 1 10 95 99 4H SGEGSA R 1 99 393 95 33 33 33 30 SGEGSV 1 1 00 73 SGEGLL V N 64 Step4 Use the CloseHandle API to close the GPS COM port 5 8 6 System Recovery The TC 6110 ready to run embedded computers are a Windows Embedded Standard 7 platform This chapter describes the recovery process in the event of system instability The following topics are covered in this chapter O Recovery Environment O Recovery Procedure O Saving the System to the USB Drive TC 6110 Windows 7 System Recovery Overview Setting Up the Recovery Environment A TC 6110 computer a 2 GB min USB drive and a copy of the recovery suite are all required to set up the TC 6110 s system recovery environment The recovery procedure itself requires only a TC 6110 computer and a bootable USB drive The following procedure describes the basic process of setting up the system recovery environment 1 First the recovery programs and system image file will be copied
102. y use the switch to cut power to the computer immediately following the shutdown or may simply remove the power switch from the front panel and then use the console to shut down the computer by pressing O itable code area for sda done size v2 0 0 rlibntfs 10 0 0 Device name f dev sdal NTFS volume version 3 1 Cluster size ppe Current volume size Current device volume size hi xist so other boot manager exists or the file ub install tition among tore artition s dev sdai tor no af dev sda je start sector of NTFS partition devysdat djust filesystem geometry for the NTFS partition dey om m T I I g This progr 8 rt started bu C i server so skip notifuing it the job is done Finished Mou suncing flush filesustem buffers cs live restore is finished Now You can c 0 Powerott Reboot Enter command line prompt Start aver 7 After the computer has powered down remove the USB drive and store it in a safe place 6 10 A The 2013 Synmap OID Table This appendix describes the full Synmap OID table as of July 2013 The following topics are covered in this appendix O Moxa Synmap The Full OID Table TC 6110 Windows 7 The 2013 Synmap OID Table Moxa Synmap The Full OID Table The following table shows the full list of the Moxa Synmap OID productName 1 3 6 1 4 1 8691 17 1 1 1 read only Returns product name productDesc 1 3 6 1 4 1 8691 17 1 1 2 productVer
Download Pdf Manuals
Related Search
Related Contents
Gebr.-Anw. 0054 247 - WOLF 核種識別スペクトルメーター Smartcom 3 Installation and user manual Book 3 : Appendix - AutomationDirect Rexel 70638 folder product manuals Livret conducteur 3 Copyright © All rights reserved.
Failed to retrieve file