Home
MiiNePort W1 Series User's Manual
Contents
1. OP Command Aad Name Parameter Example Description Code Code System requests port 1 s Parity for GSP1 AS p 4 G R Port index this MiiNePort IGSPOO MiiNePort reports Parity as None Port index and parity separated by a semicolon MiiNePort s Parity Port Parity SP index as shown in the 2SSP1 0 System sets port 1 s parity bit as following table f None 0 None 1 Odd 2 Even MiiNePort reports command N A ISSPO executed successfully System requests port 1 s Flow GSL1 e i y i control for this MiiNePort G R Port index 7 MiiNePort reports Flow control as IGSLO1 RTS CTS Port index and flow control separated by a semicolon MiiNePort s Port Flow SL Flow control index as Control System sets port 1 s flow control as shown in the following SSL1 1 RTS CTS S table 0 None 1 RTS CTS 2 XON XOFF MiiNePort reports command N A ISSLO executed successfully System requests port 1 s FIFO for Port index GSF1 i 7i this MiiNePort G R A 1 Enable or O Disable 7 7 IGSFO1 MiiNePort reports FIFO as Enable MiiNePort s FIFO Port index and FIFO Port FIFO SF setting separated by a i System sets port 1 s FIFO as semicolon FIFO SSF1 1 o Enable S setting is 1 Enable or 0 Disable MiiNePort reports command N A ISSFO executed successfully C 22 MiiNePort W1 Series Serial Command Mode
2. Default Ad hoc in Ad hoc Mode Infrastructure in Infrastructure Mode Options free text e g Primary Connection Description This is a free text field to help you differentiate one profile from another It does not affect operation of the MiiNePort W1 MiiNePort W1 T SSI D Default Profile 1 in Infrastructure Mode Options free text e g Coffeeshop WLAN Description This field specifies the SSID or name of the wireless network SSID that will be used by the MiiNePort W1 MiiNePort W1 T Wireless devices must use the same SSID in order to communicate with each other 7 10 MiiNePort W1 Series Web Console Configuration Channel Default 4 Options 1 2 3 4 5 6 7 8 9 10 11 Description This field is for Ad Hoc Mode only and specifies the radio channel to use for the wireless network In Infrastructure Mode the AP specifies the channel automatically Security Settings for WLAN Profile The Security page is opened through the Profile page under WLAN Settings in the Network Settings folder After selecting Ad hoc or Infrastructure Mode click Security to open the Security page for that profile In Ad hoc Mode 192 168 34 100 MAC Address 00 90 E8 00 00 23 2 Firmware 1 0 Build 12013114 Bases _ Security Properties Overview Wizard Profile name profile15 Basic Settings Authentication Open System x Network Settin
3. Circuit Pad The circuit pad on the evaluation board can be used to develop additional application circuits circuit pad PCB MiiNadars Wi ST VER E 0 MADE IN TAIWAN Snart LAN Strength DNO ma Gog m2 Digital lapet 4 1 gt DDD om Jeo Ml Jor orro meee TIT The row of pins is for connecting a 3 3V power supply Digital O pins are located on the right side The top row of pins is for grounding 3 3 MiiNePort W1 Series Getting Started Connecting to the Network When developing your application you may wish to use Ethernet to configure the MiiNePort W1 especially if your wireless LAN is not functional yet You may connect to the network using the evaluation board s RJ 45 Ethernet port In order to use the LAN connection make sure the network cable is already plugged in before the unit is powered on After power is connected in the next step the RJ 45 connector will indicate a valid connection to the Ethernet as follows E A green LED indicator indicates a valid 100 Mbps Ethernet network connection and will flicker as LAN data is being transmitted E A yellow LED indicator indicates a valid 10 Mbps Ethernet network connection and will flicker as LAN data is being transmitted Connecting the Power Connect the 12 to 48 VDC power line to the power jack on the evaluation board Connecting to a Serial Device Use a serial cable to connect the serial device to the data port P2
4. Digital regut ARA os om DOOR Low Location Type Color Status Meaning Power is off Off Off Unit is booting or rebooting IP error condition occurs 1 Ready Steady On Unit is functioning normally Green Unit is responding to software Locate function Blinking Reset button is being held down Power is off Off Off Unit is functioning normally 2 Fault Steady On Unit is booting or rebooting Red poke IP conflict DHCP or BOOTP server did not Blinking respond properly Off Off Unit was booted with Ethernet cable plugged 3 WLAN Wireless LAN is activated Unit was booted with Green Steady On Ethernet cable unplugged Off Off JP3 is opened 4 WLAN Strength JP3 is shorted each LED corresponds to 20 Green Off Steady On Off WLAN signal strength Off Off Ethernet cable is unplugged 5 Ethernet Orange Steady On 10M Ethernet connected Green Steady On 100M Ethernet connected Off Off No data is being transmitted from unit 6 Serial TXD Green On Data is being transmitted from unit Off Off No data is being transmitted to unit 7 Serial RXD Yellow On Data is being transmitted to unit GPIO mode is input Off Off JP2 DO is opened 8 DO1 DO8 GPIO mode is output and state is high JP2 DO is shorted GPIO mode is output and Green Steady On state is low 2 4 MiiNePort W1 Series Panel Layout and Pin Assignments
5. Port Alias 1 to 15 characters None Optional E g PLC No 1 This function is designed for future use You may enter a string to help in the module s serial port from other serial ports ATTENTI ON Refer to the serial communication parameters in your serial device s user s manual The module s serial parameters should be the same as the parameters used by your serial device Baudrate Setting Factory Default Necessity 50 bps to 921 6 Kbps supports 115 2 Kbps Required non standard baudrates The MiiNePort supports the Any Baudrate non standard baudrate feature If your baudrate is not listed select Other from the drop down list and type the baudrate in the input box The MiiNePort will use the closest baudrate that is supported 7 34 MiiNePort W1 Series Web Console Configuration Data Bit Setting Factory Default Necessity 5 6 7 8 8 Required Stop Bit Setting Factory Default Necessity 1 1 5 2 1 Required Stop Bits will be set to 1 5 when Data Bits is set to 5 bits Parity Setting Factory Default Necessity None Even Odd None Required Space Mark Flow control Setting Factory Default Necessity None RTS CTS RTS CTS Required DTR DSR XON XOFF FIFO Setting Factory Default Necessity Enable Disable Enable Required Each module s serial port provides a 128 byte FIFO both in the Tx and Rx directions Disable the FIFO setting
6. 7 41 MiiNePort W1 Series Web Console Configuration Maintenance Console Settings Model Name Location IP Serial No Main Menu Overview Wizard Basic Settings Network Settings Serial Port Settings Console Settings System Management Misc Network Settings Configurations HTTP console Enable y HTTPS console Enable 7 Telnet console Enable y SSH console Enable y Auto Warning Settings Maintenance Console Settings Ping The Console Settings page is located under Maintenance in the System Management folder This is where you enable or disable access to the various module configuration consoles You may modify HTTP console HTTPS console Telnet console and SSH console HTTP Console Default Enable Options Enable Disable Description This field enables or disables access to the HTTP web console HTTPS Console Default Enable Options Enable Disable Description This field enables or disables access to the HTTPS web console Telnet Console Default Enable Options Enable Disable Description This field enables or disables access to the Telnet console SSH Console Default Enable Options Enable Disable Description This field enables or disables access to the SSH console 7 42 MiiNePort W1 Series Web Console Configuration Ping Model N iP Name Location Serial
7. TCP alive check time time as 5 min TCP Alive gt RA Port index MCSC channel index Check i Time and TCP alive check time i Parameters are separated by a 2SRA1 0 5 System sets port 1 s TCP alive E semicolon For an i i check time as 5 for port 1 MCSC disabled port the channel index is 0 MiiNePort reports command N A ISRAO executed successfully Two numbers separated by a RealCOM semicolon denote port index System requests maximum Max G R RM and MCSC channel index For an GRM1 0 connection number for port 1 Connection MCSC disabled port the channel index is 0 MiiNePort W1 Series Serial Command Mode OP Command E Name Parameter Example Description Code Code Reply parameters MiiNePort s a MiiNePort reports maximum TCP maximum connection IGRM04 i connection number as 4 number Port index MCSC channel index and maximum connection number Parameters are 2SRM1 0 4 System sets maximum connection E separated by a semicolon For ais number as 4 for port 1 an MCSC disabled port the channel index is 0 MiiNePort reports command N A ISRMO executed successfully Two numbers separated by a semicolon denote port index i f System requests jammed IP and MCSC channel index Foran GRJ1 0 i policy for port 1 G R MCSC disabled port the channel index is 0 Reply parameters 1 Enable
8. Location Main Menu Overview Wizard Basic Settings Network Settings Serial Port Settings lem Management Network Settings Auto Warning Settings Event Settings Serial Event Settings E mail Alert SNMP Trap Maintenance System Settings Certificate System Monitoring Restart goahead WEBSERVER Best viewed with IE 5 above at resolution 1024 x 768 E Mail Alert Mail settings Mail server SMTP E My server requires authentication User name Password From e mail address To e mail address 1 To e mail address 2 To e mail address 3 To e mail address 4 The E mail Alert page is located under Auto Warning Settings in the System Management folder This is where you specify how and where e mail is sent for automatic notification of system and serial port events ATTENTION Consult your network administrator or ISP for the mail server settings to use for your network If these settings are not configure Mail Server d correctly e mail notification may not work properly Default Options free text e g 192 168 3 3 Description This field specifies the I P address of the mail server that will be used when sending automatic warning e mails If the mail server requires authentication select My server requires authentication and enter the username and password From E mail Address Default Options free text e g jsmith xyz com
9. Name Code Code OP Command Parameter Example Description 1 infra EAP method index Parameters are separated by a semicolon 1 TLS 2 PEAP 3 TTLS 4 LEAP SQP1 2 System sets the infrastructure mode s EAP method to PEAP N A SQPO MiiNePort reports write command executed successfully G R Tunneled Ed QT Authentication Only support 1 infrastructure MiiNePort s network type The index of tunneled authentication GTC MD5 MSCHAPV2 PAP CHAP MSCHAP MSCHAPV2 EAP_GTC EAP_MD5 EAP MSCHAPV2 1 infra tunneled authentication index J O 00 Oy OP E Parameters are separated by a semicolon GTC MD5 MSCHAPV2 PAP CHAP MSCHAP MSCHAPV2 EAP_GTC EAP_MD5 EAP MSCHAPV2 POON AM RWN PR N A GQT1 GQTO1 SQT1 1 SQTO System requests the infrastructure mode s tunneled authentication The infrastructure mode s tunneled authentication is GTC System sets the infrastructure mode s tunneled authentication to GTC MiiNePort reports write command executed successfully WPA G R QU Username Only support 1 infrastructure MiiNePort s network type and 1 user name 2 anonymous username Parameters are separated by a semicolon GQU1 1 System requests the infrastructure mode s user name MiiNePort s WPA username string GQUOwpa_ user The infrastructure mode s u
10. Setting Factory Default Necessity 0 to 65535 ms 0 ms Optional O The force transmit timeout is disabled 1 to 65535 If the module does not receive the next byte of data within the time specified it will pack the data in its buffer into the same data frame for network transmission The Force transmit field is typically used in conjunction with the Delimiter fields to specify how data in the module s buffer is packed for network transmission When delimiters are used the module accumulates data in its buffer as it waits to receive a delimiter If there is a break in communication data will be held in the buffer as the module continues to wait for a delimiter The Force transmit field allows you to specify the maximum amount of time that the module will wait for data With Force transmit enabled the module will automatically pack the data in the buffer for network transmission if no data is received for the specified time When set to 0 Force transmit is disabled which means there is no time limit for how long the module will wait to receive data When set between 1 and 65535 the module will pack data if serial data is not received in the specified time The optimal force transmit time depends on your application but it should be larger than one character interval within the specified baudrate to have any effect For example assume that the serial port is set to 1200 bps 8 data bits 1 stop bit and no parity In this
11. wlanStatusRegion scmTriggerCh2 wlanStatusSignalStrength scmTriggerCh3 wlanStatusConnectionSpeed scmOnlyBoot monitorDI OMode digitallOMode monitorDI OState digitall OState digitall OFunctionWLANLedSetting digitallOCommandTCPPort httpConsole httpsConsole telnetConsole sshConsole loadFactoryDefaultSetting D 2 MiiNePort W1 Series MiiNePort W1 MIB opModeSetting realCOM Mode rfc2217 Mode portli ndex realCOMTcpAliveCheck rfc2217TcpAliveCheck portMode realCOMMaxConnection rfc2217TcpPort realCOMI gnore ammedl p realCOMAllowDriverControl realCOMConnectionDownRTS realCOMConnectionDownDTR tcpServer tcpClient udp tcpServerTcpAliveCheck tcpClientTcpAliveCheck udpDestinationAddress1Begin tcpServerl nactivityTime tcpClientl nactivityTime udpDestinationAddress1End tcpS erverMaxConnection tcpClientl gnorej ammedl p udpDestinationPort1 tcpServerl gnoreJ ammedl p tcpServerAllowDriverControl tcpClientDestinationAddress1 tcpClientDestinationPortl udpDestinationAddress2Begin udpDestinationAddress2End tcpServerTcpPort tcpServerCmdPort tcpServerConnectionDownRTS tcpClientDestinationAddress2 tcpClientDestinationPort2 tcpClientDestinationAddress3 udpDestinationPort2 udpDestinationAddress3Begin udpDestinationAddress3End tcpS erverConnectionDownDTR
12. 5 minutes Check Time Port index MCSC channel index i and TCP alive check time 2STA1 0 5 System sets port 1 s TCP alive E Parameters are separated by a i ki check time to 5 minutes semicolon MiiNePort reports command N A ISTAO executed successfully Two numbers separated by a semicolon denote port index a System requests inactivity time and MCSC channel index For an GTV1 0 for port 1 G R MCSC disabled port the channel index is 0 Reply parameters TCP inactivity IGTV0O MiiNePort reports inactivity time TCP Server time as 0 Inactivity TV Port index MCSC channel index Time and inactivity timeout setting Parameters are separated by a STV1 0 1 System sets inactivity time as 10 E semicolon For an 0 ms for port 1 MCSC disabled port the channel index is 0 MiiNePort reports command N A ISTVO executed successfully MiiNePort W1 Series Serial Command Mode OP Command PET Name Parameter Example Description Code Code Two numbers separated by a semicolon denote port index System requests maximum and MCSC channel index For an GTM1 0 j connection number for port 1 GIR MCSC disabled port the channel index is O Reply parameters MiiNePort s ls MiiNePort reports maximum TCP maximum connection IGTM04 f TCP Server connection number as 4 number Max TM Port index MCSC channel in
13. Comman F Name Cod Parameter Example Description d Code e MiiNePort reports write N A ISMEO command executed successfully The index of this command as shown in the following ia System requests read only O read only authentication GMAO ES authentication mode mode 1 r w authentication mode G R The authentication mode index of this command as shown in the following The read only authentication i IGMA0O F 0 Disable mode is Disable 1 MD5 SNMP Read 2 SHA Only or R W MA MiiNePort s SNMP read only Authentication or R W user index and Mode authentication mode separated by a semicolon The authentication mode SWALI System sets the read write index of this command as authentication mode to MD5 S shown in the following 0 Disable 1 MD5 2 SHA MiiNePort reports write N A ISMAO command executed successfully The index of this command as shown in the following 2GMPO System requests the read only G R 0 read only password i password 1 r w password The read only password is N A IGMP012345 12345 MiiNePort s SNMP read only SNMP Read or R W user index and Only or R W MP password string separated by Password a semicolon The index of System sets the read only i SMP0 54321 this command as shown in password to 54321 S the following 0 read only password 1 r w password MiiNePort reports write N A ISMPO command executed successfully The privacy mode index of this command as shown in SNM
14. Misc Network Settings Auto Warning Settings Maintenance Console Settings Ping Firmware Upgrade Configuration Import Configuration Export Load Factory Default Change Password System Settings Certificate System Monitoring Restart goahead WEBSERVER Best viewed vith IE 5 above at resolution 1024 x 768 The Configuration Export page is located under Maintenance in the System Management folder This is where you can save the module s current configuration to a file on the local host Click Download to begin the process A window should appear asking you to open or save the configuration text file 7 44 MiiNePort W1 Series Web Console Configuration Load Factory Default iP MAC Address senal No Firmware Load Factory Default Click on Submit to reset all setings including te console password to the factory default values To leave the IP address netmask gateway and WLAN profile setings unchanged make sure that Koop IP Settings is enabled Reset to Factory Detautt Koop P comoge Sonsole Semings Ping Firmware Upgrade Configuration import Configuration Export System Montoring Restart EBS Rast viewed wath IE S above at resolution 1024 x 768 The Load Factory Default page is located under Maintenance in the System Management folder Click Submit to reset all settings to the factory defaults You can preserve the module s existing IP settings i e IP address netmask gate
15. Model IP Name Serial No Location Certificate Key Delete Main Menu j Installed Certificate Overview SSL certificate Delete Keep Wizard WPA user certificate private key No certificate private key installed Basic Settings Network Settings Serial Port Settings System Management Misc Network Settings Auto Warning Settings Maintenance System Settings Certificate Ethernet SSL Certificate Import WLAN SSL Certificate Import WPA User Certificate Import WPA User Key Import Certificate Key Delete System Monitoring Restart WEBSERVER Best viewed vith IE 5 above at resolution 1024 x 768 The Certificate Key Delete page is located under Certificate in the System Management folder This page is where you can delete certificates or WPA keys that have been installed on the MiiNePort W1 MiiNePort W1 T When you click Submit any certificate or key that has been set to Delete will be deleted from the module System Monitoring Serial Status Serial to Network Connections iP senal No Serial to Network Connections Mala ts q y Auto rotresh vere Port OP Mode Connectons 1 TCP Sarver l l t Serial to Network Connections Social Pon Serial Port Err Serial Pon Settings System Status Restan EBS Best viewed wath 105 above at resolution 1024 x 768 The Serial to Network Connections page is located under Serial Status in the System Monitoring folder O
16. UDP Socket Application Service 0 reserved 2 Management Utility 7 Echo 9 Discard 11 Active Users systat 13 Daytime 35 Any private printer server 39 Resource Location Protocol 42 Host name server names server 43 Whois nickname 49 Login Host Protocol Login 53 Domain Name Server domain 69 Trivial Transfer Protocol TETP 70 Gopher Protocol 79 Finger Protocol 80 World Wide Web HTTP 107 Remote Telnet Service 111 Sun Remote Procedure Call Sunrpc 119 Network news Tcanster Protocol NNTP 123 Network Time protocol nnp 161 SNMP Simple Network Mail Protocol 162 SNMP Traps 213 1PX Used for IP Tunneling A 2 DIO Commands In this appendix we present the DIO commands used to access the Digital I O status of the MiiNePort W1 MiiNePort W1 T from an Ethernet network The Digital I O status can be accessed by a specific TCP port default 5001 on the MiiNePort W1 MiiNePort W1 T Command Packet Format Length Bytes 4 1 255 Format Header Data Send the Command packet to the MiiNePort W1 MiiNePort W1 T The Data field is command specific ACK Packet Format Length Bytes 4 1 255 Format Header Data The MiiNePort W1 MiiNePort W1 T returns by ACK packet You can determine a DIO channel s status and mode by checking the Data field of the packet Header Format Length Bytes 1 1 1 1 Format Command Version Command Status Length for data
17. k MiiNePort s fast roaming Roaming TB O Disable or 1 Enable System sets the fast roaming Setting STBO i e MiiNePort s fast roaming setting to Disable MiiNePort reports write command N A ISTBO executed successfully Fast System requests the fast roaming i GTH1 Roaming G R TH The index 1 3 of fast scan channel 1 Scan roaming scan channels iGTHOL The fast roaming scan channel 1 is Channel 1 C 6 MiiNePort W1 Series Serial Command Mode OP Command Name Parameter Example Description Code Code The index 1 3 and fast roaming scan System sets the fast roaming scan STH1 10 8 channels 0 14 separated channel 1 to 10 by a semicolon MiiNePort reports write command N A ISTHO executed successfully OP Command Pee Name Parameter Example Description Code Code O adhoc or 1 y System requests the adhoc mode s infrastructure GQA0 pr i authentication setting MiiNePort s network type The index of authentication as shown in the following G R 1 Open System ado The adhoc mode s authentication 2 Shared Key IGQAO1 ae setting is Open System 3 WPA 4 WPA PSK 5 WPA2 eats 6 WPA2 PSK Authentication QA 0 adhoc 1 infra authentication index Parameters are separated by a semicolon System sets the adhoc mode s 1 Open System eae f SQA0 1 authenticaiton setting to Shared 2 Shared Key S Key 3 WP
18. GMSO1 as Enable SNMP Enable MS System sets SNMP agent as i SMS1 6 1 Enable or 0 Disable Enable MiiNePort s SNMP agent ISMSO MiiNePort reports command executed successfully System requests SNMP contact GMN eer name for this MiiNePort G R N A MiiNePort reports SNMP contact GMNOs_name SNMP Contact MN a name as s_name Name System sets SNMP contact name A SMNcontact s MiiNePort s SNMP contact as contatct name MiiNePort reports command ISMNO executed successfully System requests SNMP location GML ae a for this MiiNePort G R N A m GMLOs_locati MiiNePort reports SNMP location SNMP ML on as s_location Location s System sets SNMP contact name SMLlocation i as location S MiiNePort s SNMP location SMLO MiiNePort reports command executed successfully C 23 MiiNePort W1 Series Serial Command Mode OP Comman a Name Cod Parameter Example Description d Code e System requests SNMP read GMU community string for this G R N A MiiNePort MiiNePort reports SNMP read SNMP Read GMUOpublic i community string as public Community m MU P System sets SNMP read String SMUpublic f f community string as public MiiNePort s SNMP Community S ii MiiNePort reports read string E ISMUO command executed successfully System requests SNMP write GMW community string
19. MISC Network Commands OP Comman ae Name Cod Parameter Example Description d Code e System requests Enable Disable GAS accessible IP list for this G R N A MiiNePort Enable Disabl MiiNePort reports accessible IP IGASO1 e Accessible IP AS list as Enable List System sets accessible IP list as SAS1 s Enable 1 or Disable 0 Enable MiiNePort s accessible IP list ISASO MiiNePort reports command l executed successfully The index of accessible IP list SGN System requests 1st accessible from 1 to 16 IP list for this MiiNePort Reply parameters Return La i MiiNePort reports 1st accessible G R format Mode lP Netmask in IGAI01 192 1 t i E IP list as Active IP address as the accessible IP list If mode 68 1 2 255 25 in 192 167 1 2 and Netmask as equals to 1 it is active 5 255 0 AR 255 255 255 0 Accessible P Al otherwise it is inactive List Address format is gt System sets accessible IP 1 as index mode IP Netmask SAI1 1 192 1 active IP address as where index ranges from 1 to 68 1 2 255 25 A 192 168 1 2 and netmask as S 16 mode is 1 if activated and 5 255 0 255 255 255 0 0 if not activated MiiNePort reports command N A ISAIO executed successfully System requests Enable Disable GMS Milne SNMP agent for this MiiNePort G R N A MiiNePort reports SNMP agent
20. MiiNePort s Interface Port index and interface Port S separated by a semicolon Interface MiiNePort s interface F System sets port1 s interface as index as shown in the SS11 0 RS232 S following table 0 RS232 1 RS422 RS485 MiiNePort reports command N A ISSI0 executed successfully System requests port 1 s Baudrate GSB1 ae for this MiiNePort G R Port index T MiiNePort reports Baudrate as 1GSBO115200 Port SB 115200 BaudRate System sets port 1 s baudrate as Port index and baudrate SSB1 115200 115200 S separated by a semicolon E MiiNePort reports command G ISSBO executed successfully System requests port 1 s Data bits f GSD1 ea G R Port index for this MiiNePort Port Data SD IGSD08 MiiNePort reports Data bits as 8 Bits Port index and data bits SSD1 8 System sets port 1 s data bits as 8 S separated by a semicolon ISSDO MiiNePort reports command G l executed successfully System requests port 1 s Stop bits GSS1 SSNS p 4 G R Port index for this MiiNePort IGSS00 MiiNePort reports Stop bits as 1 Port index and stop bits separated by a semicolon Port Stop ss MiiNePort s Stop bits Bits index as shown in the SSS1 0 System sets port 1 s stop bits as 1 following table 0 Stop bits is 1 2 Stop bits is 2 MiiNePort reports command N A SSSO executed successfully C 21 MiiNePort W1 Series Serial Command Mode
21. Process the returned data here return TRUE 4 Writing Multiple DIOs Parameters Command code 6 hex Version 2 hex Command status doesn t matter Length of data end start 1 2 2 data 0 Number of the DIO you wish to access first B 3 MiiNePort W1 Series DIO Commands data 1 The last number of the DIO you wish to access data 2 mode of start DIO data 3 status of start DIO data 4 mode of start 1 DIO data 5 status of start 1 DIO data end start 2 2 mode of end DIO data end start 2 3 status of end DIO Return Command Status Check the Command Status code on the previous page Length of data end start 1 2 data 0 mode of start DIO data 1 status of start DIO data 2 mode of start 1 DIO data 3 status of start 1 DIO data end start 2 mode of end DIO data end start 2 1 status of end DIO C code example void WriteMultipleDI O int start int end int mode int status DI OPacketStruct packet packet header command 6 Write Multiple DIO Command Codes packet header version 2 DIO protocol version packet header length end start 1 2 2 data length packet data 0 start start DIO number packet data 1 end end DIO number int i len for 0 i lt end start 1 i packet data i 2 mode i packet data i 3 status i send SocketFd char amp packet end start 1 2 2 sizeof DIOHeaderStruct 0
22. Send TCP packet Process the returned data here A utility for testing DIO access commands is provided on the Document and Software CD ROM B 4 C Serial Command Mode Command Reply Format Single Line Command Format Head Op Cmd Parameters Tail 1 byte 1 byte 2 bytes O to n bytes 1 or 2 bytes Single Line Reply Format Head Op Cmd Parameters Tail 1 byte 1 byte 2 bytes O to n bytes 1 or 2 bytes Head and Tail Head Tail 1 byte 1 or 2 bytes CR Command LF CR LF Reply LF Operation Code Operation Code Meaning G Get configuration from MiiNePort s RAM S Set configuration to MiiNePort s RAM R Retrieve running configuration V View status C Control Status Codes Status Code Meaning Enter Serial Command Mode Command was executed successfully Unrecognized format Operation is not valid Command is not valid Parameter is incorrect OU B U N PR O m Parameter is too long MiiNePort W1 Series Serial Command Mode Restriction The total number of parameters in a single command cannot exceed 1024 characters Overview Commands OP Command AN Name Parameter Example Description Code Code System requests MiiNePort s serial View G S number Serial G R S N A gt 7 7 MiiNePort reports serial number is Number IG S0168 168 System request
23. Serial Data Log 1 System Log 1 WLAN Status WLAN Site Survey Save Configuration Restart 7 55 The applet is not running e Your browser may not support Java Applet Try upgrading to a newer browser e Java Plug in may not be installed Try downloading and installing Java Plug i e Applet may be restricted by your security policy Try changing your browser s settings to allow applet MiiNePort W1 Series Web Console Configuration Digital I O State Model J IP MAC Address Name ePo E Serial No 7 Firmware Location Digital IO State Main Menu DIO Port Mode State Overview DIO0 Input High Wizard DIO1 WLAN LED Pin Basic Settings DIO2 WLAN LED Pin Network Settings DIOS gt WLAN LED Pin Serial Port Settings oes des vl DIOS WLAN LED Pin System Management DIO6 Output E System Monitoring DIO7 Input High Serial Status System Status Network Connections WLAN Status WLAN Site Survey Digital IO State Restart goahe WEBSERVER Best viewed with IE 5 above at resolution 1024 x 768 The Digital IO State page is located under System Status in the System Monitoring folder This is where you can view the current settings and status for all DIO channels Restart Restart System Model M V1 J IP MAC Address Name e Serial No Firmware Location System restart Main Menu W Warning Overview Clicking Restart will disconnect all seri
24. The goal of a WLAN site survey is to determine the number and placement of access points to provide enough coverage to the facility For most implementations enough coverage means that the data rate at all locations does not fall below a certain threshold For most wireless sites it is necessary to perform a WLAN site survey before access point installation in order to determine the behavior of radio waves at the site 7 54 MiiNePort W1 Series Web Console Configuration Typical WLAN Site Survey WLAN Site Survey with MiiNePort W1 MiiNePort W1 T Procedure 1 Download install site survey software 2 Run software on laptop 3 Measure AP signal strength using software on laptop Weakness e Signal strength is read from the laptop NIC rather than from the module Procedure 1 Open web browser 2 Measure AP signal from web console Advantages Signal strength is read from module Additional software not required Please note that Java must be enabled in your web browser for the WLAN Site Survey page to display properly Total Solution for Industrial Device Networh E Main Menu Overview WLAN Site Survey Wizard Basic Settings Network Settings Serial Port Settings System Management EY System Monitoring version Serial Status EY System Status Network Connections Network Statistics
25. must be 2 Check the Command Status to obtain the result after sending a Command packet Command This field specifies the command code For example 1 hex represents read single D 1 0 Command codes are listed later in this appendix Command Status This field returns the status of the command 0 OK 1 Command error may be unknown 2 Version error not supported by this version 3 Length error the length member does not match the attached data 4 Operation error you cannot set the DIO mode to input mode and set the DO status at the same time 5 Packet too short error 6 DIO number error might not support request DIO number OxFF other unknown error Data Structure Definition C code example define DIO Header format typedef struct _DIO_Header_Struct char command MiiNePort W1 Series DIO Commands char version This specification is version 2 char status char length Dl OHeaderStruct pDI OHeaderStruct define DIO Packet format Used for Command and ACK packet typedef struct _DIO_Packet_Struct DI OHeaderStruct header char data 255 DIOPacketStruct pDIOPacketStruct Command Code Usage 1 Reading Single DIO Parameters Command code 1 hex Version 2 hex Command Status doesn t matter Length of data 1 hex represents one byte data 0 Fill in the number of the DIO you wish to access The DIO number starts from O hex Retu
26. popup and should allow the program 6 3 MiiNePort W1 Series Utility Console and Driver I nstallation 2 The Searching window indicates the progress of the search Searching for NPort Found 1 NPort s 9 second s left No Model LAN1MACAddress LAN1 IP Address LAN2 MAC Address LANZ IP Address 1 MiNePort E2 00 90 E8 00 07 79 192 168 127 254 ES Y Stop 3 When the search is complete all MiiNePort modules that were located will be displayed in the NPort Search Utility window VS NPort Search Utility File Function View Help 2 2 a Exit Search Search IP Locate Console No Model LAN1 MAC Address LAN1 IP Address LAN2 MAC Address LAN2 IP Address Status MiiNePort E2 00 90 E8 00 07 79 192 168 127 254 Search Result 1 NPort s 4 To modify the configuration of the highlighted MiiNePort click the Console icon to open the web console This will take you to the web console where you can make configuration changes Refer to Chapter 7 Web Console Configuration for information on how to use the web console ATTENTI ON If you are looking for information related to TCP Server TCP Client Ethernet Modem RFC2217 or UDP modes you can ignore the following Driver sections including NPort Windows Driver Manager and Linux Real TTY Driver and instead jump directly to Chapter 7 Web Console Configuration for additional settings 6 4 MiiNePort W1 Series Utility Console and Driver Installation N
27. tcpClientDestinationPort3 tcpClientDestinationAddress4 udpDestinationPort3 udpDestinationAddress4Begin tcpClientDestinationPort4 udpDestinationAddress4End tcpClientDesignatedLocalPort1 udpDestinationPort4 tcpClientDesignatedLocalPort2 udpLocalListenPort tcpClientDesignatedLocalPort3 tcpClientDesignatedLocalPort4 tcpClientConnectionControl D 3
28. 54 Mbps Transmission Distance Up to 100 meters in open areas Wireless Security AES WEP 64 128 bit WPA WPA2 PSK 802 11i Serial I nterface Number of Ports 1 Serial Standards TTL Serial Communication Parameters Data Bits 7 8 Stop Bits 1 2 Parity None Even Odd Flow Control RTS CTS XON XOFF Baudrate 50 bps to 921 6 Kbps Serial Signals TTL TxD RxD RTS CTS DTR DSR DCD GND Digital I O Pins GPIO 8 configurable I O pins Software Network Protocols ICMP IP TCP UDP DHCP Telnet DNS SNMP V1 V2c V3 HTTP SMTP SNTP SSH HTTPS Configuration Options Web Telnet HTTPS SSH SNMP Console Windows Utility Serial command mode configured through the data port Windows RealCOM Drivers Windows 95 98 ME NT 2000 Windows XP 2003 Vista 2008 7 x86 x64 Embedded CE 5 0 6 0 XP Embedded Fixed TTY Drivers SCO Unix SCO OpenServer UnixWare 7 UnixWare 2 1 SVR 4 2 QNX 4 25 QNX 6 Solaris 10 FreeBSD AIX 5 x Linux Real TTY Drivers Linux kernel 2 4 x 2 6 x 3 x Operation Modes Real COM TCP Server TCP Client UDP RFC2217 Environmental Limits Operating Temperature Standard Models 0 to 55 C 32 to 131 F Wide Temp Models 40 to 75 C 40 to 167 F Storage Temperature 40 to 60 C 40 to 140 F 1 3 MiiNePort W1 Series Introduction Ambient Relative Humidity 5 to 95 non condensing Power Requirements Input Voltage 3 3 VDC 5 Power Consumption 360 mA Standards and
29. Extract the source files from the tar file by executing the command tar xvf moxattyd tar The following files will be extracted README TXT moxattyd c source code moxattyd cf an empty configuration file Makefile makefile VERSI ON TXT fixed tty driver version FAQ TXT 6 10 MiiNePort W1 Series Utility Console and Driver Installation 4 Compile and Link For SCO UNIX make sco For UnixWare 7 make svr5 For UnixWare 2 1 x SVR4 2 make svr42 Configuring the UNI X Driver Modify the configuration The configuration used by the moxattyd program is defined in the text file moxattyd cf which is in the same directory that contains the program moxattyd You may use vi or any text editor to modify the file as follows ttyp1 192 168 1 1 950 For more configuration information view the file moxattyd cf which contains detailed descriptions of the various configuration parameters NOTE The Device Name depends on the OS See the Device Naming Rule section in README TXT for more information Start the moxattyd daemon that you configured in moxattyd cf If you would like to set the connection timeout you can add a t min parameter to specify the connection timeout value in minutes For example usr etc moxattyd moxattyd t 1 NOTE You will now be able to use tty which is configured in moxattyd cf To start the moxattyd daemon after system bootup add an entry into etc initt
30. Name Serial No Firmware Location Wireless LAN Profile Settings Main Menu 1 Wireless LAN Profile cea A typo Infrastructure Mode y oe Profile name Infrastructure Basic Settings Network Settings General Settings o Disable x Ethemet Settings Scan chemnels 1 NA WLAN Settings Scan channels 2 NIA WLAN Scan channels 3 NA Profile p Advanced Settings Serial Port Settings Sapan Management Please remeber to activate Profile service by pressing Activate button after configuring System Monitoring Restart goahead WEBSERVER Best viewed vith IE 5 above at resolution 1024 x 768 7 15 MiiNePort W1 Series Web Console Configuration Default Disable Options Disable Enable Description This field is only available in Infrastructure Mode and is used to specify the MiiNePort W1 roaming behavior Roaming is the ability to connect to different APs so wireless communication is not confined to one area or one particular AP The MiiNePort W1 will only roam between APs as specified by the SSID Disable Fast Roaming function will be disabled MiiNePort W1 will scan all available channels and roam between APs as specified by the SSID It scans the channel when booting up and will associate with the highest signal strength AP Only when the associated AP is loses then it will re associate again Enable Fast Roaming function will be enabled MiiNePort W1 will only scan the pre
31. Real COM drivers for up to the specified number of hosts may open this port at the same time When Real COM drivers for multiple hosts open the port at the same time the COM driver only provides a pure data tunnel with no control ability The serial port parameters will use firmware settings instead of your application program AP settings Application software that is based on the COM driver will receive a driver response of success when the software uses any of the Win32 API functions The firmware will only send data back to the driver on the host Data will be sent first in first out when data is received by the MiiNePort from the Ethernet interface ATTENTION When Max connection is greater than 1 the MiiNePort module will use a multiple connection application i e 2 to 4 hosts are allowed access to the port at the same time When using a multi connection application the module will use the serial communication parameters as defined here in the web console and all hosts connected to the port must use identical serial settings If one of the hosts opens the COM port with different serial settings data will not be transmitted properly 7 19 MiiNePort W1 Series Web Console Configuration Ignore jammed IP Setting Factory Default Disable Necessity Enable Disable Required when Max connection is greater than 1 This option determines how the port will proceed if multiple hosts are connected and one
32. This option determines how the port will proceed if multiple hosts are connected and one or more of the hosts stops responding as the port is transmitting data If you select Disable the port will wait until the data has been transmitted successfully to all hosts before transmitting the next group of data If you select Enable the port will ignore the host that stopped responding and continue data transmission to the other hosts NOTE Ignore Jammed IP is only active when Max connection is greater than 1 Packet length Setting Factory Default Necessity 0 to 1024 0 Optional The Packet length setting refers to the maximum amount of data that is allowed to accumulate in the serial port buffer before sending When packet length is set to O the default a maximum amount is not specified and data in the buffer will be sent as specified by the delimiter settings or when the buffer is full When a packet length between 1 and 1024 bytes is specified data in the buffer will be sent as soon as it reaches the specified length Delimiter 1 Setting Factory Default Necessity 00 to FF 00 for None Optional Delimiter 2 Setting Factory Default Necessity 00 to FF 00 for None Optional The Delimiter fields are used to specify a 1 character or 2 character sequence that acts as a marker to control packing of serial data By default delimiter characters are not defined so the module tr
33. or IGRJ01 MiiNePort reports ignore jammed O Disable IP as Enable RealCOM Port index MCSC channel index Ignore RJ and ignore jammed IP setting Jammed IP Parameters are separated by a semicolon For an SRJ 1 2 0 System sets ignore jammed IP g MCSC disabled port the channel ai policy as Disable for port 1 index is O Ignore jammed IP setting is 1 Enable or 0 Disable MiiNePort reports command N A ISRJO executed successfully Two numbers separated by a semicolon denote port index System requests allow driver and MCSC channel index For an GRD1 0 control policy for portl G R MCSC disabled port the channel index is 0 Reply parameters 1 Enable or IGRD 1 MiiNePort reports allow driver RealCOM 0 Disable control as Enable Allow RD Port index MCSC channel index Driver and match bytes Parameters are Control separated by a semicolon For System sets allow driver control an MCSC disabled port the SRD1 0 0 i E policy as Disable for port 1 S channel index is O Allow driver control is 1 Enable or 0 Disable MiiNePort reports command N A ISRDO executed successfully Two numbers separated by a semicolon denotes port index RFC2217 System requests for alive check gt and MCSC channel index For GFA1 0 TCP Alive i time for port1 G R FA MCSC disabled port channel Check E i index shall be 0 Time T Reply parameters 1 Enable or iene MiiNePor
34. 168 1 0 and 255 255 255 0 To allow access to all I P addresses Make sure that Enable the accessible IP list is not checked Additional configuration examples are shown in the following table Desired IP Range Any host 192 168 1 120 192 168 1 1 to 192 168 1 254 192 168 0 1 to 192 168 255 254 192 168 1 1 to 192 168 1 126 192 168 1 129 to 192 168 1 254 IP Address Field Disable 192 168 1 120 192 168 1 0 192 168 0 0 192 168 1 0 192 168 1 128 Netmask Field Disable 255 255 255 255 255 255 255 0 255 255 0 0 255 255 255 128 255 255 255 128 7 36 MiiNePort W1 Series Web Console Configuration SNMP Agent Settings Model Name Location IP Serial No Main Menu Overview Wizard Basic Settings Network Settings Serial Port Settings System Management Misc Network Settings Accessible IP List SNMP Agent Auto Warning Settings Maintenance System Settings Certificate System Monitoring Restart goahead WEBSERVER Best viewed with IE 5 above at resolution 1024 x 768 SNMP Agent Settings Configuration SNMP Contact name Location Read community string Write community string SNMP agent version Read only user name Read only authentication mode Read only password Read only privacy mode Read only privacy Read write user name Read write authentication mode Read write password Read write privacy mode Read write privacy Enable
35. 8 Select Restart and then press ENTER MiiNePort w1 JPON rt W1 7 V1 0 or Exit Enter select ESC previous menu Enter select ESC previous menu 10 Press Enter to restart the module It will reboot with the new IP settings ESC back to menu Enter select ESC back to menu Enter select arting MiiNePort 5 5 6 Utility Console and Driver Installation This chapter describes the installation of utilities and drivers which are used to perform simple configurations and driver installations The following topics are covered in this chapter O NPort Search Utility gt Installing NPort Search Utility gt NPort Search Utility Configuration O NPort Windows Driver Manager gt Installing NPort Windows Driver Manager gt Using NPort Windows Driver Manager O The Linux Real TTY Driver gt Mapping TTY Ports gt Removing Mapped TTY Ports gt Removing Linux Driver Files O The UNIX Fixed TTY Driver gt Installing the UNIX Driver gt Configuring the UNIX Driver O Web Browser Settings gt Navigating the Web Console MiiNePort W1 Series Utility Console and Driver I nstallation NPort Search Utility Installing NPort Search Utility 1 Click the INSTALL UTILITY button in the MiiNePort Installation CD to install NPort Search Utility Once the program starts running click Yes to proceed 2 Click Next when the Welcome screen opens to proceed with the installation 18 Setup NPort Search Utility Welcome to
36. Certifications Safety UL 60950 1 EN 60950 1 EMC CE FCC EN 301 489 1 17 EMI EN 55022 Class A FCC Part 15 Subpart B Class A EMS EN 55024 EN 61000 4 2 ESD EN 61000 4 3 RS EN 61000 4 4 EFT EN 61000 4 5 Surge EN 61000 4 6 EN 61000 4 8 EN 61000 4 11 Radio EN 300 328 EN 301 893 DSPR Japan Shock EC 68 2 27 Freefall EC 68 2 34 EC 68 2 32 Vibration EC 68 2 6 Green Product RoHS CRoHS WEEE Reliability Automatic Reboot Trigger Built in WDT watchdog timer MTBF mean time between failures 638 566 hrs CS Warranty Warranty Period 5 years Details See www moxa com warranty 1 4 2 Panel Layout and Pin Assignments This chapter includes information about the panel layouts and pin assignments for MiiNePort W1 series The layouts and reference circuit diagrams for the evaluation boards are also covered The evaluation boards are used for evaluation and development of applications for MiiNePort W1 series The following topics are covered in this chapter O MiiNePort W1 Dimensions O MiiNePort W1 Pin Assignments O MiiNePort W1 ST LED Indicators O Evaluation Board Layout 4 43 1 75 163 0 06 MN 000000000000000 000000000 O O O O ABCDEFGHJKLMNPR O 00000000 00000000 20000000 0000000 00000000 00000000 00000000 00000000 ABCDEFGH O Panel Layout and Pin Assignments o o000000000000000000 o0000000000000000000 o0000000000000000000 o00000000
37. Ethernet 3 Force Wireless LAN MiiNePort reports command N A ISVIO executed successfully MiiNePort W1 Series Serial Command Mode OPMode Commands OP Command A Name Parameter Example Description Code Code Two numbers separated by a System requests for port 1 s semicolon denote port index Sea Operation Mode for this MiiNePort and MCSC channel index For the In this product the second port itself channel index is 0 number always is 0 Reply parameters MiiNePort s operation mode index as shown G R in the following table 0 Disable y MiiNePort reports Operation Mode 1 Real COM 1GOM04 h i is TCP client 2 RFC2217 3 TCP Server 4 TCP Client 5 UDP Port index MCSC channel index Port Mode OM and operation mode to set Every parameter is separated by semicolon For MCSC disabled port channel index shall be O The operation i System sets port 1 s operation mode is as following SOM1 0 2 mode as RFC2217 S 0 Disable 1 Real COM 2 RFC2217 3 TCP Server 4 TCP Client 5 UDP MiiNePort reports command N A ISOMO executed successfully Two numbers separated by a semicolon denote port index i System requests port 1 s TCP alive and MCSC channel index For an GRA1 0 check time for port 1 G R MCSC disabled port the channel index is 0 Reply parameters MiiNePort s MiiNePort reports TCP alive check RealCOM IGRA05
38. Evaluation Board Layout gt m TT S a a pes ci a m A AE quit E ad e i ami eseesssio 6 7 8 9 Number Function 1 HW Reset Cold start 2 SW Reset Reset to factory default 3 Ethernet RJ 45 Connector 4 Power Jack 5 Power Switch 6 DB9 Male Connector 7 Serial Tx Rx LED 8 RS 232 and RS 485 2W Select Jumper 9 Digital I O Terminal Block 10 Digital Output LED 11 Digital nput Output Mode 12 Digital Input Switch 13 Circuit Pad 2 5 3 Getting Started This chapter includes information about installing MiiNePort W1 series The following topics are covered in this chapter o o nauan Wiring Requirements Installing onto the MiiNePort W1 Evaluation Board gt Circuit Pad Connecting to the Network Connecting the Power Connecting to a Serial Device DI O Test Settings gt WLAN Strength and Link status LEDs Circuit Design MiiNePort W1 Series Getting Started Wiring Requirements ATTENTION Before connecting the hardware follow these important wiring safety precautions Disconnect power source Do not install or wire this unit or any attached devices with the power connected Disconnect the power before installation by removing the power cord before installing and or wiring your unit Follow maximum current ratings Calculate the maximum possible current in each power wire and common wire Observe all electrical code
39. Moxa Americas Toll free 1 888 669 2872 Tel 1 714 528 6777 Fax 1 714 528 6778 Moxa Europe Tel 49 89 3 70 03 99 0 Fax 49 89 3 70 03 99 99 www moxa com su ort Moxa China Shanghai office Toll free 800 820 5036 Tel 86 21 5258 9955 Fax 86 21 5258 5505 Moxa Asia Pacific Tel 886 2 8919 1230 Fax 886 2 8919 1231 ha Lil Table of Contents INTTrOdUCHON iii e a eee eee Sedu dede eee 1 1 OVEFVIEW dist a Bat a 8 SG a8 SS Sak GK deat dial Sa an dn e ds 1 2 PACKAGES CHECKS Hairs shake titan alan abad 1 2 Product Features tr a o a fa Da AD A Da 1 2 Product Specifications iii A acacia 1 3 Panel Layout and Pin ASSignMentS omcomoncononencnconenenconenencnonenrnnnnrnrnnnnrnronnnrnrnnnnrnrnnnnrnrnnnnrnrnnnnrnennnnranas 2 1 MIiNePort Wi DIMENSIONS oo ol oo o ol Dhol oll Morcha onus 2 2 MiiNePort WI Pin ASSIQGNMENES tessaa aaa aa Aa A a A O O A E aAa aaa dns 2 3 MiiNePRort WI ST LEDI NdiCators civic iaa aA aa aana hania ananas 2 4 Evaluation Board Payout aieri da E AAA ANA AAA ta Va A AAA 2 5 Getting Started cccccscceceeeeceeeeeeeeeeeeeeeeeseeeuseseeeueesaeeusesaeeusesaeeususaueueesauausesaeaususaeaususaeausesauaususaeusaeanaues 3 1 Wiring Req eos 3 2 Installing onto the MiiNePort W1 Evaluation Board oooococcccccccocncncnconononononnnna eens eens eens ease ease ease eaeaeneeeenenenees 3 3 Circuit RRA 3 3 Connecting to the Networkiiciciaiccdicedsredccsteccdccccecccecccescheccdencdeu a added 3 4 Connecting t
40. Please refer to Chapter 9 for additional information on Accessible IP settings 4 3 5 Initial I P Address Configuration When setting up your MiiNePort W1 series module for the first time the first thing you should do is configure the IP address This chapter introduces the methods that can be used to configure the MiiNePort W1 series IP address For more details about network settings please refer to Chapter 7 The following topics are covered in this chapter O Selecting an IP Address or Configuration O Assigning IP Address with ARP O Assigning IP Address with Telnet Console MiiNePort W1 Series Initial IP Address Configuration ATTENTION Please refer to active interface chapter 7 Selecting an IP Address or Configuration For most applications you will assign a fixed P address to the module which means that you set the IP address directly However for certain network environments your module s IP address will need to be assigned by a DHCP or BOOTP server In this case instead of directly assigning the module s IP address you will need to configure the module to receive its IP address from the appropriate DHCP or BOOTP server If you are not sure whether you need to configure your module for a dynamic or static P address consult the administrator who set up the LAN You will also need to consult the network administrator if you wish to use a fixed IP address in a DHCP or BOOTP environment Factory De
41. Settings TCP alive check time 7 0 99 min A Serial Port Settings Max connection 1 a Operation Modes Ignore jammed IP Enable Disable EU Advanced Settings Allow driver control Enable Disable QJ Maintenance Data Packing HE save and Restart Packet length o o 1024 Delimiter 1 00 Hex Enable Delimiter 2 DO Hex Enable Delimiter process Do nothing Force transmit D 0 65535 ms ATTENTION To use Real COM mode refer to Chapter 6 Utility Console and Driver Installation for instructions on how to install the Real COM driver on Windows or Linux machines TCP alive check time Setting Factory Default Necessity 0 to 99 min 7 min Optional O min The TCP connection is not closed due to an idle TCP connection 1 to 99 min The module automatically closes the TCP connection if there is no TCP activity for the given time After the connection is closed the module starts listening for another host s TCP connection Max connection Setting Factory Default Necessity 1 2 3 4 1 Required Max connection is used when the device needs to receive data from different hosts simultaneously The factory default only allows 1 connection at a time When Max Connection is set to 1 the Real COM driver on the specific host has full control Max connection 1 The module will only allow 1 host s Real COM driver to open a connection to the module s serial port Max connections 2 to 4 When set to 2 or higher
42. TIME_WAIT Restart TCP 0 0 192 168 33 23 80 192 168 34 119 64749 TIME_WAIT goahead WEBSERVER TCP o 0 192 168 33 23 80 192 168 34 119 64779 TIME_WAIT Best viewed with IE 5 above at resolution 1024 x 768 TCP 0 0 192 168 33 23 80 192 168 34 119 64747 TIME_WAIT TCP 0 0 192 168 33 23 80 192 168 34 119 64763 TIME_WAIT TCP 0 0 192 168 33 23 80 192 168 34 119 64767 TIME_WAIT TCP 0 0 192 168 33 23 80 192 168 34 119 64743 TIME_WAIT TCP 0 0 192 168 33 23 80 192 168 34 119 64777 TIME_WAIT TCP 0 0 192 168 33 23 80 192 168 34 119 64771 TIME_WAIT TCP 0 0 192 168 33 23 80 192 168 34 119 64783 TIME_WAIT TCP 0 1275 192 168 33 23 80 192 168 34 119 64791 ESTABLISHED TCP o 0 192 168 33 23 80 192 168 34 119 64753 TIME_WAIT TCP 0 0 192 168 33 23 80 192 168 34 119 64769 TIME_WAIT TCP 0 0 192 168 33 23 80 192 168 34 119 64758 TIME_WAIT The Network Connections page is located under System Status in the System Monitoring folder On this page you can view the current status of any network connection to the MiiNePort W1 MiiNePort W1 T 7 53 MiiNePort W1 Series Web Console Configuration WLAN Status MiiNePort W1 JP IP MiiNePort W1 JP_7 Serial No WLAN Status Main Menu Information Overview Active profile name Wizard IP configuration Basic Settings IP address Network Settings Netmask Serial Port Settings System Management Gateway System Monitoring Network type Serial Status SSID System Status Channel Network Con
43. Tae asa seaale C 23 Auto Warning Commands seresa A a A A rtdaies C 27 SA A C 30 D MiiNePort W1 MiB oconconconcnnonconconconcnncnnonnnnrnnrnnrnn ronca ran nrnn ran enn rara ran ana rnn cnn cnn rara nn ann ran cnn ran rnnrnanaanaasa D 1 1 Introduction The MiiNePort W1 series provides serial to 802 11 b g embedded wireless solution with compact size and ultra low power consumption features Numerous operation modes are designed to fulfill the requirements of embedded module application Complete driver support reduces software redesign effort and accelerate time to market The following topics are covered in this chapter O Overview O Package Checklist O Product Features o Product Specifications MiiNePort W1 Series Introduction Overview The MiiNePort W1 series is a very compact module that installs in a serial device to connect it to a wireless LAN With such a small size around half the size of a credit card it can be installed into almost any kind of serial device The MiiNePort W1 series also comes with a built in TCP IP stack for fast integration with your serial devices This means that your engineers can spend less time with the TCP IP and wireless details and more time on developing major features shortening your product s time to market The reliable TCP IP communication firmware can be configured easily using a Windows utility a web browser or Telnet console An integration kit and a complete developme
44. This is an optional free text field that can be used to specify the location for SNMP agents such as the module Event Settings Model MiiNePort W1 JP IP Name MiiNe W1 JP_7 Serial No Location System Event Settings Main Menu 1 System Event aie Cold start Mail Trap aa Mail E Trap Basic Settings Config Event Network Settings Serial Port Settings Console web text login auth fail Mail Trap 1 System Management IP changed Mail E Misc Network Settings Password changed Mail Auto Warning Settings Event Settings Serial Event Settings E mail Alert SNMP Trap Maintenance System Settings Certificate System Monitoring Restart goahead WEBSERVER Rect viawad with TES shave The Event Settings page is located under Auto Warning Settings in the System Management folder This is where you specify how the MiiNePort W1 MiiNePort W1 T will notify you of system and configuration events Depending on the event different options for notification are available as shown above Mail refers to sending an e mail to a specified address Trap refers to sending an SNMP trap Event Description Cold start The module was powered on or was restarted after a firmware upgrade Warm start The module restarted without powering off Console login auth fail An attempt has been made to open the web Telnet but the password was incorrect IP changed The IP address has been
45. adjust the General and Security settings for the profile In Ad hoc Mode only one profile is available In Infrastructure Mode three profiles can be defined 7 8 MiiNePort W1 Series Web Console Configuration General Settings for WLAN Profile The General page is opened through the Profile page under WLAN Settings in the Network Settings folder After selecting Ad hoc or Infrastructure Mode click General to view or modify the general properties for that profile In Ad hoc Mode MiiNePort W1 US IP 192 168 34 100 MAC Address 00 90 E8 00 00 23 MiiNePort Serial No 2 Firmware 1 0 Build 12013114 234523523453245235252 Wireless LAN Profile Settings Mole Moo Wireless LAN Profile Overview Wizard Network type Ad hoc Mode Y Basic Settings Profile name profile General Settings Ethernet Settings WLAN Settings WLAN Please remeber to activate Profile service by pressing Activate button after configuring Profile Advanced Settings Serial Port Settings System Management System Monitoring Restart WEBSERVER Best viewed with IE 5 above at resolution 1024 x 768 MiiNePort W1 US IP 192 168 34 100 MAC Address 00 90 E8 00 00 23 MiiNePort Serial No 2 Firmware 1 0 Build 12013114 2345 453245235252 WLAN Profile Properties General Properties Overview Wizard Profile name profile15 Basic Settings SSID seanchou Network Settings Channel 5 Y General S
46. are organized by folder Pages are selected in the left navigation panel For example if you click Basic Settings in the navigation panel the main window will show a page of basic settings that you can configure Certain folders can be expanded by clicking the adjacent symbol After you have made changes on a page you must click Submit in the main window before jumping to another page Your changes will be lost if you do not click Submit After you have finished modifying the desired pages you must save and restart the module for the new settings to take effect You may complete this in one step by clicking Save Restart after you submit a change Changes will not take effect until they are saved and the unit is restarted If you restart the module without saving your configuration all configuration changes will be lost ATTENTI ON You may use Web Console to export the configuration file when you have finished configuring the module This way you can restore your settings if you need to reset the module Please refer to Chapter 9 for additional information about using the Export and Import functions 6 13 7 Web Console Configuration The web console is the most user friendly method available to configure your MiiNePort module This chapter introduces the web console function groups and function definitions The following topics are covered in this chapter O Basic Settings gt Network Settings O Serial Port Settings
47. case the total number of bits needed to send one character is 10 bits and the time required to transfer one character is 10 bits 1200 bits s x 1000 ms s 8 3 ms Since it requires about 9 ms to send one character the Force transmit should be 10 ms or more to have any effect At 9 ms or less the module will simply pack every character as it is received which would be the same as if delimiter characters or a Force transmit time were not specified 7 21 MiiNePort W1 Series Web Console Configuration RFC 2217 Mode Model Name Location IP Serial No Main Menu Overview Wizard Basic Settings Network Settings Serial Port Settings Operation Modes Communication Parameters System Management System Monitoring Restart Operation Modes Port Settings Port Operation mode TCP alive check time TCP port Data Packing Packet length Delimiter 1 Delimiter 2 4 RFC2217 7 0 99 min 4001 0 0 1024 00 HEX E Enable 00 HEX F Enable Delimiter process Do Nothing 2 Processed only when Packing length is 0 goahead Force transmit 0 0 65535 ms WEBSERVER Best viewed vith IE 5 above at resolution 1024 x 768 TCP alive check time Setting Factory Default Necessity 0 to 99 min 7 min Optional O min TCP connection is not closed due to an idle TCP connection 1 to 99 min The MiiNePort automatically closes the TCP connection if
48. certifies devices with the Wi Fi name It is based on Draft 3 of the IEEE 802 11i standard Each user uses a unique key for authentication distributed from an EEE 802 1X authentication server also known as a RADIUS server This option is also referred to as WPA Enterprise Mode since it is intended to meet rigorous enterprise security requirements Tunneled authentication is supported depending on the EAP method selected WPA PSK This is an unmanaged authentication option that is only available in nfrastructure Mode Instead of a unique key for each user a pre shared key PSK is manually entered on the access point to generate an encryption key that is shared among all users Consequently this method does not scale well for enterprise A PSK that uses a mix of letters numbers and non alphanumeric characters is recommended This option is also referred to as WPA Personal Mode since it is designed for the needs and capabilities of small home and office WLANs WPA2 This is a managed authentication option that is only available in Infrastructure Mode WPA2 implements the mandatory elements of 802 11i Supported encryption algorithms include TKIP Michael and AES based CCMP which is considered fully secure Since March 13 2006 WPA2 has been mandatory for all Wi Fi certified devices This option may also be referred to as WPA Enterprise Mode Tunneled authentication is supported depending on the EAP method selected WPA2 PSK This is an u
49. configure the authentication mode for read only access whereas Read write authentication mode allows you to configure the authentication mode for read write access For each level of access you may configure the following User name Use this optional field to identify the user name for the specified level of access Authentication mode default Disable Use this field to select MD5 or SHA as the method of password encryption for the specified level of access or to disable authentication Privacy mode default Disable Use this field to enable to disable DES_CBC data encryption for the specified level of access Password Use this field to set the password for the specified level of access Privacy Use this field to define the encryption key for the specified level of access 7 37 MiiNePort W1 Series Web Console Configuration Community String Default public Options free text e g public community Description This field specifies the community string used for the SNMP Agent This is a text password mechanism that is used to weakly authenticate queries to agents of managed network devices Contact Name Default Options free text e g J Smith Description This is an optional free text field that can be used to specify the SNMP emergency contact name telephone or pager number Location Default Options free text e g Building XYZ Description
50. for port 1 MiiNePort reports TCP client local port is 5002 Port index MCSC channel index and TCP local port Every parameter is separated by semicolon For MCSC disabled port channel index shall be 0 N A STL1 0 5 002 ISTLO System sets TCP client local port as 5002 for port 1 MiiNePort reports command executed successfully G R TCP Client Connection TC Control Two numbers separated by a semicolon denotes port index and MCSC channel index For MCSC disabled port channel index shall be 0 GTC1 0 System requests TCP client connection control for port 1 Reply parameters TCP client connection control index as shown in the following table Start up None Any character None Any character Inactivity time DSR On DSR OFF DSR On None DCD On DCF OFF DCD On None DO Uh UN FP OO IGTCO1 MiiNePort for TCP client connection control as Any character None Port index MCSC channel index and client connection control setting Every parameter is separated by semicolon For MCSC disabled port channel index shall be 0 0 Start up None 1 Any character None Any character Inactivity time DSR On DSR OFF DSR On None DCD On DCF OFF DCD On None Ou bh uN STC1 0 1 System sets TCP client connection control as Any character None for port 1 N A ISTCO MiiNePort report
51. gt Operation Modes gt Serial Parameter O System Management gt Misc Network Settings gt Auto Warning Settings gt Maintenance gt System Settings gt Certificate O System Monitoring gt Serial Status gt System Status O Restart gt Restart System gt Restart Ports MiiNePort W1 Series Web Console Configuration Basic Settings Main Menu goahead WEBSERVER Best viewed with IE 5 above at resolution 1024 x 768 Basic Settings Server Settings Server name MiiNePort Server location 234523523453245235252 Time Settings Time zone GMT 08 00 Taipei v Local time 24 hour 2012 02 06 15 39 Time server 192 168 1 91 On the Basic Settings page you can configure Server name Server location Time zone Local time and Time server Server Name Default Options free text e g Server 1 Description This is an optional free text field to help you differentiate one module from another It does not affect operation of the module Server Location Default Options free text e g Building 4 Level 2 Description This is an optional free text field to help you differentiate one module from another It does not affect operation of the module Time Zone Default GMT Greenwich Mean Time Options GMT Greenwich Mean Time GMT 01 00 Azores Cape Verde Is GMT 02 00 Mid Atlantic etc Description This field shows the currently select
52. in the buffer will be transmitted when the delimiter is received Delimiter 1 or Delimiter 2 The data will be transmitted when an additional byte for Delimiter 1 or an additional 2 bytes for Delimiter 2 of data is received after receiving the Delimiter Strip Delimiter When the Delimiter is received the Delimiter is deleted i e stripped and the remaining data is transmitted Force transmit Setting Factory Default Necessity 0 to 65535 ms 0 ms Optional O The force transmit timeout is disabled 1 to 65535 If the module does not receive the next byte of data within the time specified it will pack the data in its buffer into the same data frame for network transmission The Force transmit field is typically used in conjunction with the Delimiter fields to specify how data in the module s buffer is packed for network transmission When delimiters are used the module accumulates data in its buffer as it waits to receive a delimiter If there is a break in communication data will be held in the buffer as the module continues to wait for a delimiter The Force transmit field allows you to specify the maximum amount of time that the module will wait for data With Force transmit enabled the module will automatically pack the data in the buffer for network transmission if no data is received for the specified time When set to 0 Force transmit is disabled which means there is no time limit for how
53. index setting MiiNePort s network type The key index 1 4 GQIO1 The adhoc mode s key index is 1 0 adhoc 1 infra ke WEP Key Index Ql a 3 index Parameters are 75011 1 System sets the infrastructure E separated by a semicolon mode s key index to 1 G MiiNePort reports write command N A ISQIO executed successfully 0 adhoc or 1 System requests the adhoc mode s infrastructure GQRO o key passphrase G R MiiNePort s network type f GQROadhoc The adhoc mode s key passphrase is Key passphrase string phrase adhocphrase WEP Key QR 0 adhoc 1 infra key Passphrase passphrase string SQRO adho System sets the adhoc mode s key 3 Parameters are separated cphrase passphrase to adhocphrase by a semicolon MiiNePort reports write command N A ISQRO executed successfully O adhoc or 1 System requests the adhoc mode s infrastructure GQFO se key format WEP Key G R OF MiiNePort s network type Format The index of Key format The adhoc mode s key format is 1 ASCII IGQFO1 ASCII 2 HEX C 8 MiiNePort W1 Series Serial Command Mode OP Command Nain Name Parameter Example Description Code Code O adhoc 1 infra key format index Parameters are separated by a 2SOFO 1 System sets the adhoc mode s key E semicolon f format to ASCII 1 ASCII 2 HEX MiiNePort reports write command N
54. mode triggered by separated by a semicolon XXX 0x585858 SCM serial command mode trigger Trigger CC characters in hex separated by a Char semicolon System sets serial command i A SCC45 66 Note that this configuration is valid 67 mode trigger characters as S only if serial command mode ABC 0x656667 trigger method is set to Activated by characters MiiNePort reports command N A ISCCO executed successfully System requests serial N A GCB command mode for this SCM MiiNePort Only G R CB Reply parameters 0 if serial MiiNePort reports serial Boot command mode can be triggered at IScEo1 command mode can only be any time or 1 if it can only be triggered by characters at triggered at boot up boot up C 30 MiiNePort W1 Series Serial Command Mode Name os comen Parameter Example Description Code Code 0 if serial command mode can be triggered at any time or 1 if it can only be triggered at boot up System sets serial command Note that this configuration is valid 5CB1 mode can only be triggered by S only if serial command mode characters at boot up trigger method is set to Activated by characters MiiNePort reports command N A ISCBO executed successfully DIO port index For the MiiNePort the index is as follows 0 DIO O PIN 1 1 DIO 1 PIN 2 2 DIO 2 PIN 3 2GPM1 System requests DIO1 s initial 3 DIO 3 PIN 4 mode for this M
55. of data is not received within the Force transmit time ATTENTION Delimiter 2 is optional If left blank then Delimiter 1 alone trips clearing of the buffer If the size of the serial data received is greater than 1 KB the MiiNePort will automatically pack the data and send it to the Ethernet However to use the delimiter function you must at least enable Delimiter 1 If Delimiter 1 is left blank and Delimiter 2 is enabled the delimiter function will not work properly Delimiter process Setting Factory Default Necessity Do Nothing Do Nothing Optional Delimiter 1 Delimiter 2 Strip Delimiter The Delimiter process field determines how the data is handled when a delimiter is received Delimiter 1 must be enabled for this field to have effect If Delimiters 1 and 2 are both enabled both characters must be received for the delimiter process to take place Do Nothing Data in the buffer will be transmitted when the delimiter is received Delimiter 1 or Delimiter 2 The data will be transmitted when an additional byte for Delimiter 1 or an additional 2 bytes for Delimiter 2 of data is received after receiving the Delimiter Strip Delimiter When the Delimiter is received the Delimiter is deleted i e stripped and the remaining data is transmitted Force transmit Setting Factory Default Necessity 0 to 65535 ms 0 ms Optional O The force transmit timeout
56. or more of the hosts stops responding as the port is transmitting data If you select Disable the port will wait until the data has been transmitted successfully to all hosts before transmitting the next group of data If you select Enable the port will ignore the host that stopped responding and continue data transmission to the other hosts NOTE Ignore Jammed IP is only active when Max connection is greater than 1 Allow driver control Setting Factory Default Necessity Enable Disable Enable Required when Max connection is greater than 1 This option determines how the port will proceed if driver control commands are received from multiple hosts that are connected to the port If Disable is selected driver control commands will be ignored If Enable is selected control commands will be accepted with the most recent command received taking precedence NOTE Allow driver control is only active when Max connection is greater than 1 Packet length Setting Factory Default Necessity 0 to 1024 bytes O byte Required The Packet length setting refers to the maximum amount of data that is allowed to accumulate in the serial port buffer before sending When packet length is set to O the default a maximum amount is not specified and data in the buffer will be sent as specified by the delimiter settings or when the buffer is full When a packet length between 1 and 1024 bytes is specified d
57. selectable Dlolololololole jumpers N lololololololo u olojojojojojojo Digital output poo poz poz poz pos pos pos DO7 oO OO 000 LOW O HiGH A Digital output PEPEE _ terminal block 1 First position the jumpers so they correspond with the input output mode of each digital I O channel In the example below channels O through 3 are output DO channels and channels 4 through 8 are input DI channels 2 After setting the jumpers use the DIP switches to set the status for input channels O through 3 You can set the status to either low on or high off In the example below channel 0 is set to low and channels 1 through 3 are set to high Note that channel 0 corresponds to switch 1 ON LOW OFF HIGH 3 Use the web console to set the status of output channels If you set channel 3 s status to Low and the others to High the DO3 LED will glow and the other LEDs will remain dark Please refer to Chapter 9 for more configuration details LOW O HIGH DOO DO1 DO2 DO3 DO4 DOS DO6 DO7 00006000 3 5 MiiNePort W1 Series Getting Started WLAN Strength and Link status LEDs Circuit Design JP6 HD 1 27 M 1x10 DIP 180D o TNNT ILIDIONoO0nN 1 GPIOO_ 485 EN GPIO1 GPIO2 GPIO3 GPIO4 GPIO5 GPIO6 GPIO7 DEBUG _LTXD DEBUG_LRTS WLAN_STR_LED4 3V3 330 RN3 D11 WLAN_STR_LEDO io 2 GPIO 4 WL
58. the DNS server s IP address if applicable With the DNS server configured the MiiNePort W1 series module can use domain names instead of IP addresses to access hosts Domain Name System DNS is how Internet domain names are identified and translated into IP addresses A domain name is an alphanumeric name such as www moxa com that it is usually easier to remember than the numeric IP address A DNS server is a host that translates a text based domain name into an IP address in order to establish a TCP IP connection When the user wants to visit a particular website the user s computer sends the domain name e g www moxa com to a DNS server to request that website s numeric IP address When the IP address is received from the DNS server the user s computer uses that information to connect to the website s web server The MiiNePort W1 series will play the role of a DNS client actively querying the DNS server for the IP address associated with a particular domain name 7 3 MiiNePort W1 Series Web Console Configuration Ethernet Settings MiiNePort W1 US 192 168 34 100 MAC Address 00 90 E8 00 00 23 MiiNePort 2 Firmware 1 0 Build 12013114 234523523453245235252 Ethernet Settings Main Menu 1 Overview Ethernet Settings IP configuration Static v IP address 192 168 34 111 Netmask General Settings Gateway Ethernet Settings WLAN Settings vanced Settings Serial Port
59. the NPort Search Utility Setup Wizard This will install NPort Search Utility Wer1 10 0 on your computer It is recommended that you close all other applications before continuing Click Next to continue or Cancel to exit Setup Cancel 3 Click Browse to select an alternate location and then click Next to install program files to directory displayed in the input box 1 Setup NPort Search Utility Select Destination Location Where should NPort Search Utility be installed Cal Setup will install NPort Search Utility into the following folder To continue click Next If you would like to select a different folder click Browse C Program FilesiNPortSearc Browse Atleast 1 3 MB of free disk space is required lt Back Next gt Cancel 4 Click Next to install the program s shortcuts in the appropriate Start Menu folder ifl Setup NPort Search Utility Select Additional Tasks Which additional tasks should be performed Select the additional tasks you would like Setup to perform while installing NPort Search Utility then click Next Additional icons lt Back Next gt Cancel 6 2 MiiNePort W1 Series Utility Console and Driver Installation 5 The installer will display a summary of the installation options Click Install to begin the installation The setup window will report the progress of the installation To change the installation settings click Back and navigate
60. the directory usr lib npreal2 driver and then execute mxdelsvr to delete a server The syntax of mxdelsvr is mxdelsvr P Address Example cd usr lib npreal2 driver mxdelsvr 192 168 3 4 The following actions are performed when executing mxdelsvr 1 npreal2d cf is modified 2 Relevant tty ports in directory dev are removed 3 The driver is restarted If the IP address is not provided in the command line the program will list the installed servers and total ports on the screen You will need to choose a server for deletion from the list Removing Linux Driver Files A utility is included that will remove all driver files mapped tty ports and unload the driver To do this you only need to enter the directory usr lib npreal2 driver and then execute mxuninst to uninstall the driver The following actions will be performed The driver is unloaded All files and directories in usr lib npreal2 are deleted The directory usr lib npreal2 is deleted The script file that initializes the system is modified Bb U Ne The UNI X Fixed TTY Driver Installing the UNI X Driver 1 Login to UNIX and create a directory for the Moxa TTY To create a directory named usr etc execute the command mkdir p usr etc 2 Copy moxattyd tar to the directory you created If you created the usr etc directory above you would execute the following commands cp moxattyd tar usr etc cd usr etc 3
61. to the previous screen 18 Setup NPort Search Utility Ready to Install Setup is now ready to begin installing NPort Search Utility on your computer Click Install to continue with the installation or click Back if you want to review or change any settings Destination location C Program Files NPortSearch B Install Cancel 6 Click Finish to complete the installation of NPort Search Utility 18 Setup NPort Search Utility Completing the NPort Search Utility Setup Wizard Setup has finished installing NPort Search Utility on your computer The application may be launched by selecting the installed icons Click Finish to exit Setup NPort Search Utility Configuration The Broadcast Search function is used to locate all MiiNePort modules that are connected to the same LAN as your computer After locating a MiiNePort you will be able to change its IP address Since the Broadcast Search function searches by MAC address and not IP address all MiiNePort modules connected to the LAN will be located regardless of whether or not they are part of the same subnet as the host 1 Start the NPort Search Utility and then click the Search icon V8 NPort Search Utility Eile Function View Help Search Search IP Locate Console Model LAN1 MAC Address LAN1 IP Address LAN2 MAC Address LAN2 IP Address Status Note Users running Windows Vista and Windows 7 will see a User Account Control
62. when three trigger characters are received in rapid sequence The trigger characters are specified by S W trigger 7 46 MiiNePort W1 Series Web Console Configuration Digital 1O MAC Address Hiemwere Main Menu Restan WEB SERVE Bert voned with IE 3 above at resolution 1024 x 768 gt e Digital IO Digital 10 Mode State 100 input Output Low High 01 put Output Low High 0 02 input Output Low High 003 input Output Low High Dios input Output Low High DIOS Input Output Low High DIOS input Output 9 Low High DIO Supt Output 2 Low High AN DIO input Output Y Low High DIO Command Funcion Vi Enadle WLAN LED Use DIO 1 2 3 4 5 TCP port 5001 k The Digital 1 O page is located under System Settings in the System Management folder This is where you configure the 8 built in DIO channels DI OO through DIO7 Default Input Mode Low State Options Input Output for Mode Low High for State Description This field specifies the mode and state of the DIO channel In Input mode the DIO channel will operate as a digital input DI channel and the State setting will be disregarded The channel state will be controlled by the digital input device that is connected to the channel such as a switch or a button In Output mode the DIO channel will operate as a digital output DO channel The State setting will control the channel s state allowing on off control
63. when your serial device does not have a FIFO to prevent data loss during communication Interface Setting Factory Default Necessity RS 232 RS 422 485 RS 232 Required 7 35 MiiNePort W1 Series Web Console Configuration System Management Misc Network Settings Accessible IP List Model Name IP Serial No Location Accessible IP List Main Menu E E Enable the accessible IP list Disable will allow all IP s connection request Overa No Active IP Wizard Basic Settings Network Settings Serial Port Settings System Management Misc Network Settings Accessible IP List SNMP Agent Auto Warning Settings Maintenance System Settings Certificate System Monitoring Restart goahead 1 WEBSERVER Best viewed with IE 5 above at 12 resolution 1024 x 768 Netmask The Accessible IP List page is located under Misc Network Settings in the System Management folder This page is used this restrict access to the module by IP address Only IP addresses on the list will be allowed access to the module You may add a specific address or range of addresses by using a combination of IP address and netmask as follows To allow access to a specific I P address Enter the IP address in the corresponding field enter 255 255 255 255 for the netmask To allow access to hosts on a specific subnet For both the IP address and netmask use O for the last digit e g 192
64. z IGNI0192 168 MiiNePort reports LAN IP address 127 254 as 192 168 127 254 LAN IP Address NI SNI 192 168 System sets LAN IP address as 7 MiiNePort s LAN IP 1 2 192 168 1 2 address ISNIO MiiNePort reports command executed successfully System requests LAN netmask GNM fora address for this MiiNePort G R N A m IGNM0255 25 MiiNePort reports LAN netmask 5 255 0 as 255 255 255 0 LAN Netmask NM SNM255 255 System sets LAN Netmask as MiiNePort s LAN Netmask 255 0 255 255 255 0 address MiiNePort reports command ISNMO executed successfully System requests LAN gatewa 2GNG y q id g y address for this MiiNePort G R N A MiiNePort reports LAN gateway LAN Gateway NG IGNG0O0 0 0 0 address as 0 0 0 0 MiiNePort s LAN Gateway SNG192 168 System sets LAN Gateway as address 1 254 192 168 1 254 C 4 MiiNePort W1 Series Serial Command Mode OP Command E Name Parameter Example Description Code Code MiiNePort reports command ISNGO executed successfully System requests WLAN IP N A GWC ae configuration for this MiiNePort MiiNePort s WLAN IP configuration index as G R shown in the following MiiNePort reports WLAN IP table GWCO0O i i configuration as Static 0 Static 1 DHCP WLAN IP WG 3 BOOTP Configuration MiiNePort s WLAN IP configuration index as shown in the fo
65. 000000000000 o0000000000000000000 o0000000000000000000 o0000000000000000000 o00000000000000000000 o0o0000000000000000000 o0000000000000000000 o0o000000000000000000 o00000000000000000000 o0000000000000000000 o0000000000000000000 o0o0000000000000000000 o00000000000000000000 o0000000000000000000 o0000000000000000000 o0000000000000000000 o00000000000000000000 mensions 8 13 0 32 167 0 1 11 43 0 45 MiiNePort W1 D MiiNePort W1 Series 2 2 Unit mm inch MiiNePort W1 Series Panel Layout and Pin Assignments MiiNePort W1 Pin Assignments o00000 000000 00000000 00000000 00000000 00000000 000000000 000000000 0000000000 000000000 00000000000000000 o000 o00000000000000 o000000000000000 o0000000000000000 o000000000000000 o000000000000000 o o o o o 00000 o00000 oo000000 0000000 o o o o o o o o o o o o o o o o o o o0000000000000000000 o o o o o o o o o o o o o o o o o o o o Pin JP3 jP4 JP6 JP7 1 N C Eth_10M_LED PIOO LTXDO 2 N C Eth_100M_LED PIO1 LRTSO 3 N C Eth_Rx PIO2 LDTRO 4 RDY_LED Eth_Rx PIO3 LRXDO 5 FLT_LED Eth_center_tap PIO4 LCTSO 6 HW_RESET Eth_center_tap PIO5 LDSRO 7 SW_RESET Eth_Tx PIO6 LDCDO 8 WLAN_ Link Eth_Tx PIO7 N C 9 Vin GND LTXD1 LCTS1 10 Vin GND LRTS1 LRXD1 2 3 MiiNePort W1 Series Panel Layout and Pin Assignments MiiNePort W1 ST LED Indicators
66. 2 to define the second character To disable the use of delimiters set both Delimiter 1 and Delimiter 2 to O Note that data packing is controlled not only by the delimiter but is also influenced by the module s buffer size and the Force transmit field If the delimiter has not been received by the time the 1K buffer is full the module will pack the data for network transmission and clear the buffer In addition the module will also pack data for network transmission if the next byte of data is not received within the Force transmit time ATTENTION Delimiter 2 is optional If left blank then Delimiter 1 alone trips clearing of the buffer If the size of the serial data received is greater than 1 KB the MiiNePort will automatically pack the data and send it to the Ethernet However to use the delimiter function you must at least enable Delimiter 1 If Delimiter 1 is left blank and Delimiter 2 is enabled the delimiter function will not work properly Delimiter process Setting Factory Default Necessity Do Nothing Do Nothing Optional Delimiter 1 Delimiter 2 Strip Delimiter 7 26 MiiNePort W1 Series Web Console Configuration The Delimiter process field determines how the data is handled when a delimiter is received Delimiter 1 must be enabled for this field to have effect If Delimiters 1 and 2 are both enabled both characters must be received for the delimiter process to take place Do Nothing Data
67. 4 public private V1 V2c V3 rouser Disable w Disable y twuser Disable Disable y The SNMP Agent page is located under Misc Network Settings in the System Management folder This page is used to configure the SNMP Agent on the MiiNePort W1 MiiNePort W1 T SNMP To enable the SNMP Agent function select the Enable option and enter a community name e g public Read community string default public This is a text password mechanism that is used to weakly authenticate queries to agents of managed network devices Write community string default private This is a text password mechanism that is used to weakly authenticate changes to agents of managed network devices Contact name The optional SNMP contact information usually includes an emergency contact name and telephone or pager number Location Use this optional field to specify the location string for SNMP agents such as Office A This string is usually set to the street address where the MiiNePort is physically located SNMP agent version The MiiNePort supports SNMP V1 V2c and V3 Read only and Read write access control The following fields allow you to define user names passwords and authentication parameters for two levels of access read only and read write The name of the field will indicate which level of access it refers to For example Read only authentication mode allows you to
68. 535 ms The MiiNePort automatically closes the TCP connection if there is no serial data activity for the given time After the connection is closed the MiiNePort starts listening for another host s TCP connection This parameter defines the maintenance status as Closed or Listen for the TCP connection The connection is closed if there is no incoming or outgoing data through the serial port during the specific Inactivity time If the Inactivity time is set to O the current TCP connection is kept active until a connection close request is received Although Inactivity time is disabled the MiiNePort will check the connection status between the MiiNePort and the remote host by sending keep alive packets periodically If the remote host does not respond to the packet the MiiNePort assumes that the connection was closed unintentionally The MiiNePort will then force the existing TCP connection to close ATTENTION The I nactivity time should be greater than the Force transmit timeout To prevent the unintended loss of data due to the session being disconnected it is highly recommended that this value is set large enough so that the intended data transfer is completed 7 28 MiiNePort W1 Series Web Console Configuration ATTENTION Inactivity time is ONLY active when TCP connect on is set to Any character Ignore jammed IP Setting Factory Default Necessity Enable Disable Disable Optional
69. A 4 WPA PSK 5 WPA2 6 WPA2 PSK MiiNePort reports write command N A ISQAO executed successfully O adhoc or 1 i System requests the adhoc mode s infrastructure GQE0 f 2 encryption MiiNePort s network type The index of encryption Encryption G R QE as shown in the following 1 Disable The adhoc mode s encryption is GQE01 2 WEP Disable 3 TKIP 4 AES CCMP C 7 MiiNePort W1 Series Serial Command Mode OP Command ens Name Parameter Example Description Code Code 0 adhoc 1 infra encryption index Parameters are separated by a semicolon System sets the adhoc mode s f SQE0 2 z 1 Disable encryption to WEP 2 WEP 3 TKIP 4 AES CCMP MiiNePort reports write command N A ISQEO executed successfully O adhoc or 1 System requests the adhoc mode s infrastructure GQLO r key length MiiNePort s network type G R The index of key length as shown in the following The adhoc mode s key length is IGQLO1 1 64 bits 64 bits 2 128 bits WEP Key QL O adhoc 1 infra key Length length index Parameters are separated by a 2SQL1 2 System sets the infrastructure F semicolon i mode s key length to 128 bits 1 64 bits 2 128 bits MiiNePort reports write command N A ISQLO executed successfully O adhoc or 1 y System requests the adhoc mode s infrastructure GQIO f G R A key
70. A ISQFO executed successfully O adhoc or 1 infrastructure MiiNePort s network type 2G0KO0 1 System requests the adhoc mode s ae the WEP key index 1 4 i WEP key 1 Parameters are separated by a semicolon IGQKOwep The adhoc mode s WEP key 1 is The WEP key string WEP Key QK key_1 wep_key_1 0 adhoc 1 infra WEP key index 1 4 WEP f 2SQKO 1 w System sets the adhoc mode s WEP key string Parameters are ep_key_1 key 1 to wep_key_1 S separated by a semicolon OE ie feo MiiNePort reports write command N A ISQKO executed successfully Only support 1 y System requests the infrastructure infrastructure GQS1 a mode s PSK passphrase G R MiiNePort s network type The PSK Passphrase GQSOpsk_p The infrastructure mode s PSK string hrase passphrase is psk_phrase 1 infra PSK passphrase PSK Qs string Parameters are Passphrase separated by a semicolon 25QS1 psk System sets the infrastructure ps Note the max h ASS mode s PSK passphrase to rase S lenth 8 63 Bytes for psk_phrase ASCII 8 64 Bytes for HEX MiiNePort reports write command N A ISQSO executed successfully Only support 1 System requests the infrastructure infrastructure GQP1 di mode s EAP method MiiNePort s network type The index of EAP method EAP Method G R QP NS The infrastructure mode s EAP 2 PEAP IGQPO1 method is TLS 3 TTLS 4 LEAP C 9 MiiNePort W1 Series Serial Command Mode
71. AN_STR_LED3 REEN LED GPIO 6 WLAN_STR_LED2 13 GREEN LED GPIO 8 WLAN STR LEDI 14 1 Ki HEADER Short for WLAN Strength LED WLAN_Link_LED Note For more information on circuit design please refer to the MiiNePort W1 Schematic Design Guide 3 6 4 Selecting an Operation Mode In this section we describe the available operation modes for the MiiNePort W1 There is a mode that relies on a driver installed on the host computer and other modes that rely on TCP IP socket programming concepts After determining the proper operation mode for your application please refer to Chapter 8 for instructions on configuring that mode The following topics are covered in this chapter O Overview TCP Server Mode TCP Client Mode UDP Mode o o o O Real COM Mode MiiNePort W1 Series Selecting an Operation Mode Overview TCP TCP The MiiNePort W1 series connects serial devices to the wireless LAN It has a built in TCP IP stack that saves you the effort of programming networking protocols Simply select the proper operating mode to allow your computer to access manage and configure your serial device over the Internet Traditional SCADA and data collection systems collect data from various instruments over serial connections RS 232 422 485 Since MiiNePort W1 series is designed to convert between serial and Ethernet signals both local and remote devices can be connected to a standard TCP IP network and made
72. C disabled port the channel MiiNePort G R index is O Reply parameters MiiNePort s MiiNePort reports delimiter 1 as delimiter setting delimiter1 GODO1 1 Enable and hex code as 10 enable disable hex1 delimiter2 0 1 13 delimiter 2 as Enable and hex Port enable disable hex2 code as 13 Delimiter OD Port index MCSC channel index Enable delimiter1 enable disable delimiter character 1 by hex delimiter 2 System sets port 1 s delimiter 1 enable disable and delimiter SOD1 0 as Enable and hex code as 10 s character 2 by hex Parameters are 1 10 1 13 Delimiter 2 as Enable and hex separated by a semicolon For an code as 13 MCSC disabled port the channel index is 0 MiiNePort reports command N A ISODO executed successfully Two numbers separated by a semicolon denote port index and System requests port 1 s MCSC channel index For an GOT1 0 delimiter process for this MCSC disabled port the channel MiiNePort index is 0 G R Reply parameters MiiNePort s delimiter process 0 Do nothing MiiNePort reports delimiter Port xe GOTO2 2 ts 1 Delimiter 1 process as Delimiter 2 Delimiter OT e 2 Delimiter 2 Process 4 rae 3 Strip Delimiter Port index MCSC channel index and delimiter process Parameters rs SOT1 0 System sets port 1 s delimiter are separated by a semicolon gt i 2 process as Delimiter 2 S For an MCSC disabled port the channel in
73. CD y IGEDOO ED MiiNePort s event warning Disable Change mail trap enable disable System sets the trap warning DCD Parameters are separated by SED1 0 change to Disable S a semicolon MiiNePort reports write command N A ISEDO executed successfully The index of this command as shown in the following gt GESO System requests the mail DSR 0 mail i change setting G R 1 trap Enable 1 or Disable 0 The mail warning DSR change is Event DSR ba GESOO i ES MiiNePort s event warning Disable Change mail trap enable disable System sets the trap warning DSR Parameters are separated by SES1 0 i change to Disable S a semicolon MiiNePort reports write command N A ISESO executed successfully System requests the email N A GIS f GIR warning mail server address The MiiNePort s email IGIS0192 The Email warning mail server warning mail server address 168 1 1 address is 192 168 1 1 Email Warning i IS X System sets the email warning Mail Server The MiiNePort s email 515192 1 i mail server address to warning mail server address 68 1 1 S 192 168 1 1 MiiNePort reports write command N A ISISO executed successfully System request the email require N A GIA ees A authentication setting G R Enable 1 or Disable 0 Seta f The Email require authentication MiiNePort s email require IGIAOO i ee is Disable Email Require LA authent
74. CII m esssscesessoo angs m Management Systom Uonftonng Restan You will need to configure Authentication and Encryption These settings must match the settings on the wireless device at the other end of the connection such as the AP Different settings and options are available depending on how Authentication and Encryption are configured 7 12 MiiNePort W1 Series Web Console Configuration Authentication Default Open System Options Open System Shared Key WPA WPA PSK WPA2 WPA2 PSK Description This field specifies how wireless devices will be authenticated Only authenticated devices will be allowed to communicate with the MiiNePort W1 series If a RADIUS server is used this setting must match the setting on the RADIUS server Open System The MiiNePort W1 series will simply announce a desire to associate with another station or access point No authentication is required For Ad hoc Mode this is the only option for authentication since Ad hoc Mode was designed for open communication Shared Key This option is only available in Infrastructure Mode Authentication involves a more rigorous exchange of frames to ensure that the requesting station is authentic WEP encryption is required WPA This is a managed authentication option that is only available in Infrastructure Mode WPA was created by the Wi Fi Alliance the industry trade group that owns the Wi Fi trademark and
75. CP connection if there is no serial data activity for the given time After the connection is closed the MiiNePort starts listening for another host s TCP connection This parameter defines the maintenance status as Closed or Listen for the TCP connection The connection is closed if there is no incoming or outgoing data through the serial port during the specific Inactivity time If the Inactivity time is set to O the current TCP connection is kept active until a connection close request is received Although Inactivity time is disabled the MiiNePort will check the connection status between the MiiNePort and the remote host by sending keep alive packets periodically If the remote host does not respond to the packet the MiiNePort assumes that the connection was closed unintentionally The MiiNePort will then force the existing TCP connection to close 7 24 MiiNePort W1 Series Web Console Configuration ATTENTION The Inactivity time should be greater than the Force transmit timeout To prevent the unintended loss of data due to the session being disconnected it is highly recommended that this value is set large enough so that the intended data transfer is completed ATTENTION Inactivity time is ONLY active when TCP connect on is set to Any character Max connection Setting Factory Default Necessity 1 2 3 4 1 Required Max connection is used when the device needs to receive data from di
76. Description This field specifies the e mail address that will be listed in the e mail s From field To E mail Address 1 to 4 Default Options free text e g admin abc com Description These fields specify the destination e mail address es for the automatic e mail warnings 7 40 MiiNePort W1 Series Web Console Configuration SNMP Trap Model e IP Name gt e a 7 Serial No Location SNMP Trap Main Menu 1 SNMP Trap Overview SNMP trap server IP or domain name Wizard Trap version y v2c 8 v1 Basic Settings Trap community Network Settings Serial Port Settings System Management Misc Network Settings Auto Warning Settings Event Settings Serial Event Settings E mail Alert SNMP Trap Maintenance System Settings Certificate System Monitoring Restart WEBSERVER Best viewed vith IE 5 above at resolution 1024 x 768 The SNMP Trap page is located under Auto Warning Settings in the System Management folder This is where you specify the SNMP trap settings to use for automatic notification of system and serial port events SNMP Trap Server IP or Domain Name Default Options IP address e g 192 168 5 5 or domain name e g Trapserver 1 Description This field specifies the IP address or domain name of the SNMP trap server that will receive SNMP traps Trap Version Description This field specifies the SNMP trap version to use
77. Disable 5 E Scan channels 1 Scan channels 2 Scan channels 3 Advanced Settings System Management Please remeber to activate Profile service by pressing Activate button after configuring System Monitoring Restart The Profile page is located under WLAN Settings in the Network Settings folder This is where you configure the MiiNePort W1 series for Ad hoc or Infrastructure operation Different settings are available depending on whether you select Ad hoc Mode or Infrastructure Mode 1 7 MiiNePort W1 Series Web Console Configuration Network Type Default Infrastructure Mode Options Infrastructure Mode Ad hoc Mode Description This field specifies whether the MiiNePort W1 series will operate in Ad hoc or Infrastructure Mode For all wireless networking devices there are two possible modes for communication with another wireless device Devices that are configured for Ad hoc Mode automatically detect and communicate directly with each other and do not require a wireless access point AP or gateway Wireless devices that are configured for Infrastructure Mode do not communicate directly with each other but through a wireless access point AP Devices can only communicate with devices operating in the same mode Devices in Ad Hoc Mode cannot communicate with devices in Infrastructure Mode Example of Ad Hoc Mode Flow meters Drives After setting the Network type you will need to
78. Factory Default Necessity IP address or Domain Name None Required E g 192 168 1 1 Up to 4 Destination I P addresses or domain names can be specified The MiiNePort will be able to actively connect to each of these remote addresses 7 30 MiiNePort W1 Series Web Console Configuration ATTENTION The connection speed or throughput may be slow if one of the four connections is slow since the 1 slow connection will slow down the other 3 connections ATTENTI ON Both IP address and Domain Name can be used in the Destination IP address field Designated Local Port 1 2 3 4 Setting Factory Default Necessity TCP Port No 5011 Port 1 Required 5012 Port 2 5013 Port 3 5014 Port 4 Connection control Setting Factory Default Necessity Startup None Any Character None Startup None Required Any Character Inactivity Time DSR ON DSR OFF DSR ON None DCD ON DCD OFF DCD ON None The meaning of each of the above settings is given in the following table In general both the Connect condition and Disconnect condition are given Connect Disconnect Description Startup None default A TCP connection will be established on startup and will remain active indefinitely Any Character None A TCP connection will be established when any character is received from the serial interface and will remain active indefinitely Any Character Inactivit
79. MC The trap community is trapcom Community community string om x The MiiNePort s trap SMCtrapc System sets the trap community community string om to trapcom C 29 MiiNePort W1 Series Serial Command Mode OP Command A Name Parameter Example Description Code Code MiiNePort reports write command N A ISMCO executed successfully OP Command ats Name Parameter Example Description Code Code System requests serial N A GCT command mode trigger method for this MiiNePort Reply parameters serial G R command mode trigger index as shown in the following table MiiNePort reports serial 0 Disable IGCTO1 command mode is triggered 1 H W control pin DIO1 by DIO1 2 Activated by characters 3 Activated by break signal SCM i serial command mode trigger Trigger CT i index as shown in the following Mode table Note that this configuration is valid System sets serial command only if port 1 s operation mode is SCT2 mode as Activate by not set to MCSC S 3 characters 0 Disable 1 H W control pin DIO1 2 Activated by characters 3 Activated by break signal MiiNePort reports command N A ISCTO executed successfully System requests serial N A GCC command mode trigger G R characters for this MiiNePort Reply parameters serial command MiiNePort reports serial IGCC058 5 mode trigger characters in hex 8 58 command
80. Main Menu Overview Wizard Basic Settings Network Settings Serial Port Settings Operation Modes Communication Parameters System Management System Monitoring Restart goahead WEBSERVER Best viewed with IE 5 above at Operation Modes Port Settings Port Operation mode TCP alive check time Inactivity time Max connection Ignore jammed IP Allow driver control TCP port Cmd port Connection goes down 4 TCP Server v 7 0 99 min 0 0 65535 ms 1 Disable Disable 4001 966 RTS always low always high DTR always low always high resolution 1024 x 768 Data Packing Packet length 0 0 1024 Delimiter 1 00 HEX F Enable Delimiter 2 00 HEX F Enable Delimiter process Do Nothing Processed only when Packing length is 0 Force transmit 0 0 65535 ms TCP alive check time Setting Factory Default Necessity 0 to 99 min 7 min Optional O min TCP connection is not closed due to an idle TCP connection 1 to 99 min The MiiNePort automatically closes the TCP connection if there is no TCP activity for the given time After the connection is closed the MiiNePort starts listening for another host s TCP connection Inactivity time Setting Factory Default Necessity 0 to 65535 ms 0 ms Optional O ms TCP connection is not closed due to an idle serial line 0 65535 ms The MiiNePort automatically closes the T
81. MiiNePort W1 Series User s Manual Third Edition December 2012 www moxa com product O 2012 Moxa Inc All rights reserved MiiNePort W1 Series User s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement Copyright Notice Trademarks O 2012 Moxa Inc All rights reserved 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 ts 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 Technical Support Contact Information
82. No Ping Test A ens Ping Destination Overview Destination Wizard Basic Settings Network Settings Serial Port Settings System Management Misc Network Settings Auto Warning Settings Maintenance Console Settings Ping Firmware Upgrade The Ping page is located under Maintenance in the System Management folder It provides a convenient way to test an Ethernet connection or verify an IP address Enter the IP address or domain name in the Destination field and click Activate The results will be displayed immediately Firmware Upgrade MAC Address Model MiiNe J IP e Firmware Name Location Serial No Firmware Upgrade Main Menu 3 m Warning Overview Note Upgrade firmware will discard your un saved configuration changes and restart the system Wizard Select firmware file No file chosen Basic Settings Network Settings Serial Port Settings System Management Misc Network Settings Auto Warning Settings Maintenance Console Settings Ping Firmware Upgrade Confiauration imnart The Firmware Upgrade page is located under Maintenance in the System Management folder This is where you can update the MiiNePort W1 MiiNePort W1 T s firmware After obtaining the latest firmware from www moxa com select or browse for the firmware file in the Select firmware file field Before clicking Submit it is a good idea to save the configuration using the Configuration Export page since the firmware upgrad
83. P Read i the following System requests the read only Only or R W G R MM GMMO 0 Disable privacy mode Privacy Mode 1 DES 2 AES C 25 MiiNePort W1 Series Serial Command Mode OP Comman ee Name Cod Parameter Example Description d Code e The read only privacy mode is N A GMMOO Disable MiiNePort s SNMP read only or R W user index and privacy mode separated by a semicolon The privacy System sets the read only mode index of this command 25MMO 1 f privacy mode to DES as shown in the following 0 Disable 1 DES 2 AES MiiNePort reports write N A ISMMO command executed successfully The index of this command as shown in the following 26MYO System requests the read only O read only privac i rivacy G R l yp y p y 1 r w privacy N A GMYOroprivac The read only privacy is y roprivacy MiiNePort s SNMP read only SNMP Read or R W user index and Only or R W MY privacy string separated by a Privacy semicolon The index of SMY1 rwpriv System sets the read write this command as shown in acy privacy to rwprivacy S the following O read only privacy 1 r w user privacy N A ISMYO MiiNePort reports write command executed successfully C 26 MiiNePort W1 Series Serial Command Mode Auto Warning Commands OP Command rag Name Param
84. Port Windows Driver Manager Installing NPort Windows Driver Manager NPort Windows Driver Manager is intended for use with serial ports that are set to Real COM mode The software manages the installation of drivers that allow you to map unused COM ports on your PC to your device through the MiiNePort s serial port The driver screenshots below were captured in Windows XP 2003 Vista 2008 7 x86 x64 When the drivers are installed and configured devices that are embedded with the MiiNePort will be treated as if they are attached to your PC s own COM ports 1 Click the INSTALL COM Driver button in the MiiNePort Installation CD to install the NPort Windows Driver Once the installation program starts running click Yes to proceed 2 Click Next when the Welcome screen opens to proceed with the installation 16 Setup NPort Windows Driver Manager Welcome to the NPort Windows Driver Manager Setup Wizard This will install NPort Windows Driver Manager Yerl 13 on your computer It is recommended that you close all other applications before continuing Click Next to continue or Cancel to exit Setup Cancel 3 Click Browse to select the destination directory and then click Next to install program files to the directory displayed in the input box 15 Setup NPort Windows Driver Manager Select Destination Location Where should NPort Windows Driver Manager be installed oO Setup will install NPort Windows Driver Manager into the fol
85. SLO AGA ELS LAEEIL EG AS DALAM EL N hA IAA at niniak ikani Minia 7 46 Certificate inat et tint ates ant ets ns ro Cale ak ll all al th lala Cll lo el EEES 7 48 A O 7 51 A O A NON 7 51 System Statuss eta TA Se sa aden III NIRVANA IV dia 7 53 A NN 7 56 ROSE MN ee 7 56 Restart Pr aaah paa cas MeN 7 57 Well Known Port Numbers ccccceeeeeeeeeeeeeeeeeeeeeeeueueueueueueuauauauauauauauuaueeeeeeueueueueueueueueuauauauauauaususnensueness A 1 DIO Sey Ut eee eer rrr rere cer eer Corer eer ere rreree ris aaa a aaa aa aa aa aa aa iaa aaa iaaa Enana aaa aastana aiaia abai ainina B 1 C Serial Command MOEe cccsccsccecceesessesseeceessesseeseeceeaseseeeeeeeeeaneueeeseeeeeaseneeeaeeaseuaeeaeeaeeeeeaneuaeuaeeaseaaensenas C 1 Command Reply Format icieieiei iien Eeee osa Dad C 1 Overview Command SAA Pact cache aAA TAI IIA E AEE A A EAEE IATA AAA C 2 Basico MAS ci ot C 3 Network Command Sasiia ann an e obeso cet petanca a otra boat acabacatan n a Ea NE Ea E EE a NE Ea Ea ERA C 4 WLAN Profile COMMAND mans C 6 WLAN Security Commands eri aa aa aa aa aa dd a aaa aa ai C 7 Advanced COMMAND AA EA A AA A AAA A AA AA A RA AAA C 12 OPMode Con mas td C 13 Data Packing Commands ci aro d oreracdiaeacacdsoraadeateacaaedadadadesatatadatadacacesasaaadedadaaadsdadadadaetararecasandadeadudaduds C 19 Pork Parameter Commands cena Rada ia aaia C 21 MISC Network CommMmandS r ar i a ean ae va aia atin Sea Mat nV inca bia Tass Maa a Sada Naae Sea MasaThae Sade Nan coon a
86. STOO executed successfully Three numbers separated by a semicolon denote port index MCSC channel index and destination address index For an MCSC disabled port the channel SE y oo System requests destination index is 0 The destination GTI1 0 0 3 p address for port 1 G R address index is as follows 0 Destination address 1 Alternated address 1 2 Alternated address 2 3 Alternated address 3 TCP Client a eT Pees 1GTI0192 MiiNePort reports destination Destination Tl Reply parameters TCP Re es 168 1 2 40 address as 192 168 1 2 and port Address destination address and port 01 as 4001 Port index MCSC channel index destination address index 0 for destination address and 1 to 3 for Et STI1 0 0 System sets destination address alternated addresses 192 168 1 as 192 168 1 2 and port as Parameters are separated by a S k 2 4001 4001 for port 1 semicolon For an MCSC disabled port the channel index is 0 MiiNePort reports command N A ISTIO executed successfully MiiNePort W1 Series Serial Command Mode OP Code Command Code Name Parameter Example Description G R TCP Client Destination TL Port Two numbers separated by a semicolon denotes port index and MCSC channel index For MCSC disabled port channel index shall be 0 Reply parameters TCP port GTL1 0 GTLO5002 System requests for TCP client local port setting
87. Settings On the Ethernet Settings page in the Network Settings folder you can modify IP configuration IP address Netmask Gateway and Speed You must assign a valid IP address to the MiiNePort W1 series before it will work in your network environment Your network system administrator should provide you with an IP address and related settings for your network The IP address must be unique within the network otherwise the MiiNePort W1 series will not have a valid connection to the network First time users should refer to Chapter 5 for more information IP Configuration Default Static Options Static DHCP DHCP BOOTP BOOTP Description This field determines how the MiiNePort W1 series IP address will be assigned Static IP address netmask and gateway are user defined DHCP IP address netmask gateway DNS and time server are assigned by DHCP server DHCP BOOTP IP address netmask gateway DNS and time server are assigned by DHCP server IP address is assigned by BOOTP server if DHCP server does not respond BOOTP IP address is assigned by BOOTP server IP Address Default 192 168 126 254 Options IP address e g 192 168 1 1 Description This field is for the IP address that will be assigned to your MiiNePort W1 MiiNePort W1 T module An IP address is a number assigned to a network device such as a computer as a permanent address on the network Computers use the IP ad
88. TLS The trusted server certificate of the RADIUS server must also be installed in the MiiNePort W1 MiiNePort W1 T WPA User Key I mport Model Name MiiNePort W1 JP IP Location Main Menu Overview Wizard Basic Settings Network Settings Serial Port Settings System Management Misc Network Settings Auto Warning Settings Maintenance System Settings Certificate Ethernet SSL Certificate Import WLAN SSL Certificate Import WPA User Certificate Import WPA User Key Import Certificate Key Delete System Monitoring Restart goahead WEBSERVER Best viewed vith IE 5 above at resolution 1024 x 768 MiiNePort W1 JP_7 Serial No WPA User Key Import Installed Certificate Key length Not instal Choose File No file chosen Select SSL certificate key file Password for private key The WPA User Key I mport page is located under Certificate in the System Management folder This is where you can load the WPA user key Select or browse for the user private key file in the Select WPA user privacy key file field and enter the Password for the private key The user private key of the MiiNePort W1 MiiNePort W1 T must be installed in the RADIUS server when the MiiNePort W1 MiiNePort W1 T uses WPA WPA2 TLS The trusted server certificate of RADIUS server must also be installed on the MiiNePort W1 MiiNePort W1 T 7 50 MiiNePort W1 Series Web Console Configuration Certificate Key Delete
89. To open the web console enter your module s IP address in the website address line If you are configuring the unit for the first time over an Ethernet cable you will use the default LAN IP address 192 168 126 254 Please refer to Chapter 5 for instructions on assigning the IP address If prompted enter the console password You will only be prompted for a password if you have enabled password protection on the module The password will be transmitted with MD5 encryption over the Ethernet ATTENTION If you have forgotten the password you can use the reset button to load factory defaults This will erase all previous configuration information The web console will appear as shown below MiiNePort W1 U 192 168 34 100 MAC Address 00 90 E8 00 00 23 Serial No 2 Firmware 1 0 Build 12013114 Welcome to MiiNePort W1 Main Menu Model name MiiNePort W1 US Overview A Serial No Wizard Basic Settings Firmware version 1 0 Build 12013114 Network Settings Ethernet IP address N A Ethernet MAC address 00 90 E8 WLAN IP address 19 WLAN MAC address 00 90 E8 00 00 23 Restart SSID MOXA WLAN network type Infrastructure Mode WLAN security mode Open System WLAN operation mode Auto Active network port WLAN Up time 2 days 22h 02m 17s Serial communication status Data Mode Serial port 1 Real COM 115200 None 8 1 None Settings are presented on pages that
90. UDP M Begin Begin Begin Begin 4001 0 0 1024 00 HEX 00 HEX E Enable Do Nothing 0 0 65535 ms X End Port 4001 End Port 4001 End Port 4001 End Port 4001 Processed only when Packing length is 0 Setting Factory Default Necessity IP address range Begin Empty Required E g Begin 192 168 1 1 End Empty End 192 168 1 10 Port 4001 Destination I P address 2 3 4 Setting Factory Default Necessity IP address range Begin Empty Optional E g Begin 192 168 1 11 End Empty End 192 168 1 20 Port 4001 Local listen port Setting Factory Default Necessity 1 to 65535 4001 Required The Local listen port is the UDP port that the MiiNePort listens to and that other devices must use to contact the MiiNePort To avoid conflicts with well known UDP ports the default is set to 4001 Packet length Setting Factory Default Necessity 0 to 1024 0 Optional The Packet length setting refers to the maximum amount of data that is allowed to accumulate in the serial port buffer before sending When packet length is set to O the default a maximum amount is not specified and data in the buffer will be sent as specified by the delimiter settings or when the buffer is full When a packet length between 1 and 1024 bytes is specified data in the buffer will be sent as soon as it reaches the specified length Delimi
91. a semicolon MiiNePort reports write command N A ISQVO executed successfully MiiNePort W1 Series Serial Command Mode Advanced Commands OP Command eae Name Parameter Example Description Code Code System requests gratuitous ARP N A GVA status for alert mail server G R Reply parameters 1 and send MiiNePort reports gratuitous period if gratuitous ARP is GVA01 300 ARP as Enable and send period Gratuitous VA enabled otherwise reply 0 as 300 sec ARP os ene f System sets gratuitous ARP as 1 and send period if gratuitous f SVA1 300 Enable and send period as 300 ARP is enable otherwise 0 IS S sec for this MiiNePort MiiNePort reports command N A ISVAO executed successfully System requests active N A GVI i interface Reply parameters MiiNePort s active interface index as shown in the following table 0 Auto Detect G R z 1 Select by DI6 IGVI0O MiiNePort reports active 2 Force Wired Ethernet interface as Auto Detect 3 Force Wireless LAN Note that active interface is only active when boot up DI6 Low Active hc VI is for Ethernet High is for WLAN Interface N Active interface index as shown in the following table Note that active interface is only active when boot up DI6 Low a DA System sets active interface as is for Ethernet High is for WLAN SVI1 Select by DI6 S 0 Auto Detect 1 Select by DI6 2 Force Wired
92. ab with the tty name you configured in moxattyd cf as in the following example ts 2 respawn usr etc moxattyd moxattyd t 1 Device naming rule For UnixWare 7 UnixWare 2 1 x and SVR4 2 use pts n For all other UNIX operating systems use ttyp n Adding an additional server 1 Modify the text file moxattyd cf to add an additional server You may use vi or any text editor to modify the file For more configuration information look at the file moxattyd cf which contains detailed descriptions of the various configuration parameters 2 Find the process ID PID of the program moxattyd ps ef grep moxattyd 6 11 MiiNePort W1 Series Utility Console and Driver nstallation 3 Update configuration of the moxattyd program kill USR1 PID e g if moxattyd PID 404 kill USR1 404 Execute the moxattyd program again to activate the new settings as follows usr etc moxattyd moxattyd t 1 This completes the process of adding an additional server Web Browser Settings In order to use the web console you will need to have cookies enabled for your browser Please note that the web console uses cookies only for password transmission For Internet Explorer cookies can be enabled by right clicking the Internet Explorer icon on your desktop and selecting Properties from the context menu On the Security tab click Custom Level Enable these two items e Allow cookies that are stored
93. accessible to SCADA and data collection systems Real COM and RFC2217 modes allow serial based software to access the module s serial port as if it were a local serial port on a PC These modes are appropriate when your application relies on Windows or Linux software that was originally designed for locally attached COM or TTY devices With these modes you can access your devices from the network using your existing COM TTY based software without investing in additional software Three different socket modes are available for user developed socket programs TCP Server TCP Client and UDP For TCP applications the appropriate mode depends on whether the connection will be hosted or initiated from the module s serial port or from the network The main difference between the TCP and UDP protocols is that TCP guarantees delivery of data by requiring the recipient to send an acknowledgement to the sender UDP does not require this type of verification making it possible to offer speedier delivery UDP also allows multi unicasting of data to groups of IP addresses and would be suitable for streaming media or non critical messaging applications such as LED message boards Server Mode In TCP Server mode the module s serial port is assigned an TCP Server Mode IP port address that is unique on your TCP IP network It waits 5 for the host computer to establish a connection to the attached m gt S serial device This operation mode also supports
94. age display applications Proceed directly with data transmission connection request not required Serial Device Real COM Mode Real COM mode is designed to work with drivers that are Real COM Mode installed on a network host COM drivers are provided for Windows systems and TTY drivers are provided for Linux and UNIX systems The driver establishes a transparent connection to the attached serial device by mapping a local serial port to the module s serial port Real COM mode supports up to four simultaneous connections so multiple Proceed directly with data transmission connection hosts can collect data from the attached device at the same request not required time Serial Device ATTENTION Real COM drivers are installed and configured through the included Windows utility Real COM mode allows you to continue using your serial communications software to access devices that are now attached to the MiiNePort W1 series module On the host the Real COM driver automatically intercepts data sent to the COM port packs it into a TCP IP packet and redirects it to the network At the other end of the connection the MiiNePort W1 series accepts the Ethernet frame unpacks the TCP IP packet and sends the serial data to the appropriate device ATTENTION In Real COM mode several hosts can have simultaneous access control over the serial port on the module If necessary you can limit access by using the Accessible IP settings
95. al and Ethernet connections and reboot the system Wizard NOTE Unsaved configuration changes will be discarded and data currently in the middle of transmission may be lost Basic Settings Network Settings Serial Port Settings System Management System Monitoring Restart Restart System Restart Ports goahead WEBSERVER Best viewed with IE 5 above at resolution 1024 x 768 The Restart System page is located in the Restart folder Click Submit to restart the MiiNePort W1 Series Before restarting be sure to save the configuration so the new settings will take effect upon restart Configuration changes that have not been saved will be discarded when the MiiNePort W1 Series is restarted 7 56 MiiNePort W1 Series Web Console Configuration Restart Ports Model MiiNePort W IP Name 0 j Serial No Location s Restart Ports Main Menu y Select Ports Overview Port 1 Wizard Basic Settings Network Settings Serial Port Settings System Management System Monitoring Restart Restart System Restart Ports goahead Best viewed with IE 5 above at resolution 1024 x 768 The Restart Ports page is located in the Restart folder Select port 1 and click Submit to restart the serial port 7 57 A Well Known Port Numbers This appendix is included for your reference Listed below are Well Known Port Numbers that may cause network problems if you configure MiiNePort W1 MiiNePort W1 T for
96. and 2 write single DIO command packet header version 2 DIO protocol version packet header length 3 data length packet data 0 char port number of the DIO packet data 1 char mode DIO mode packet data 2 char status DIO status DIO Commands send SocketFd char amp packet sizeof DI OHeaderStruct 3 0 Send TCP packet Process the returned data here 3 Reading Multiple DI Os Parameter Command code 5 hex Version 2 hex Command status doesn t matter Length of data 2 hex represents two bytes data 0 Number of the DIO you wish to access first data 1 The last number of the DIO you wish to access Return Command Status Check the Command Status code on the previous page Length of data end start 1 2 data 0 mode of start DIO data 1 status of start DIO data 2 mode of start 1 DIO data 3 status of start 1 DIO data end start 2 mode of end DIO data end start 2 1 status of end DIO C code example BOOL ReadMultipleDI O int start int end int mode int status DI OPacketStruct packet packet header command 5 Read Multiple DIO Commands packet header version 2 DIO protocol command version packet header length 2 data length packet data 0 start start of the DIO number packet data 1 end end of the DIO number send SocketFd char amp packet sizeof Dl OHeaderStruct 2 0 Send TCP packet
97. ansmits data as soon as it is received When a delimiter character or characters are defined the module will hold data in its buffer until it receives the delimiter character or 2 character sequence When the delimiter is received the module will pack the data into its buffer and send it out through the Ethernet port Use Delimiter 1 to define the first delimiter character in hex If only one delimiter character is used Delimiter 2 should be set to 0 If the delimiter is a two character sequence use Delimiter 2 to define the second character To disable the use of delimiters set both Delimiter 1 and Delimiter 2 to 0 Note that data packing is controlled not only by the delimiter but is also influenced by the module s buffer size and the Force transmit field If the delimiter has not been received by the time the 1K buffer is full the module will pack the data for network transmission and clear the buffer In addition the module will also pack data for network transmission if the next byte of data is not received within the Force transmit time ATTENTION Delimiter 2 is optional If left blank then Delimiter 1 alone trips clearing of the buffer If the size of the serial data received is greater than 1 KB the MiiNePort will automatically pack the data and send it to the Ethernet However to use the delimiter function you must at least enable Delimiter 1 If Delimiter 1 is left blank and Delimiter 2 is enabled the delimiter fun
98. apping IPv6 COM Port No Model MAC 1 Address 1 Address 2 v 1 MiNePort E2 00 90 E8 00 07 79 192 168 127 254 Seach seecran Cearan O Input Manually RealCOM Redundant COM Reverse RealCOM Y OK X Cancel 6 7 MiiNePort W1 Series Utility Console and Driver Installation 4 Alternatively you can select Input Manually and then manually enter the MiiNePort module s I P Address 1st Data Port 1st Command Port and Total Ports to which COM ports will be mapped Click OK to proceed to the next step Note that the Add NPort page supports FQDN Fully Qualified Domain Name in which case the IP address will be filled in automatically Add NPort O Select From List No Model MAC 1 Address 1 Address 2 O 1 MiNePort 2 00 90 8 00 07 79 192 168 127 254 Input Manually RealCOM Redundant COM Reverse RealCOM First Mapping Port NPort IP Address 192 168 127 254 l DataPot 950 Command Port 366 Total Ports 1 Help X Cancel 5 COM ports and their mappings will appear in blue until they are activated Activating the COM ports saves the information in the host system registry and makes the COM port available for use The host computer will not have the ability to use the COM port until the COM ports are activated Click Yes to activate the COM ports at this time or click No to activate the COM ports later _ NPort Windows Driver Manager File COM Mapping Confi
99. ata in the buffer will be sent as soon as it reaches the specified length Delimiter 1 Setting Factory Default Necessity 00 to FF 0 for None Optional Delimiter 2 Setting Factory Default Necessity 00 to FF 0 for None Optional The Delimiter fields are used to specify a 1 character or 2 character sequence that acts as a marker to control packing of serial data By default delimiter characters are not defined so the module transmits data as soon as it is received When a delimiter character or characters are defined the module will hold data in its buffer until it receives the delimiter character or 2 character sequence When the delimiter is received the module will pack the data into its buffer and send it out through the Ethernet port Use Delimiter 1 to define the first delimiter character in hex If only one delimiter character is used Delimiter 2 should be set to 0 If the delimiter is a two character sequence use Delimiter 2 to define the second character To disable the use of delimiters set both Delimiter 1 and Delimiter 2 to 0 Note that data packing is controlled not only by the delimiter but is also influenced by the module s buffer size and the Force transmit field If the delimiter has not been received by the time the 1K buffer is full the module will pack the data for network transmission and clear the buffer In addition the module will also pack data for network transm
100. certificate is automatically generated by the MiiNePort W1 MiiNePort W1 T based on the IP address of the wireless interface You can also import a certificate Select or browse for the certificate file in the Select SSL certificate key file field WPA User Certificate mport Model MiiNePort W1 JP IP 192 168 33 23 Name MiiNePort W1 JP_7 Serial No Location WPA User Certificate Import Main Menu J Installed Certificate Overview Issued to Not installed Wizard Issued by Not installed Basic Settings Valid from Not installed to Not installed Network Settings Serial Port Settings Select WPA user certificate file No file chosen System Management Misc Network Settings Auto Warning Settings Maintenance System Settings Certificate Ethernet SSL Certificate Import WLAN SSL Certificate Import WPA User Certificate Import WPA User Key Import Certificate Key Delete System Monitoring Restart goahead WEBSERVER Best viewed with IE 5 above at resolution 1024 x 768 The WPA User Certificate I mport page is located under Certificate in the System Management folder This is where you can load the WPA user certificate Select or browse for the certificate file in the Select WPA user certificate file field 7 49 MiiNePort W1 Series Web Console Configuration The user certificate of the MiiNePort W1 MiiNePort W1 T must be installed in the RADIUS server when the MiiNePort W1 MiiNePort W1 T uses WPA WPA2
101. changed Password changed The password to the console has been changed 7 38 MiiNePort W1 Series Web Console Configuration Auto Warning Settings Serial Event Settings Serial Event Settings Sertal Port Event DCD changed DSR changed Port 1 Mail Trap Mad Trap EBSERVER Best viewed with IE S above at 76 resolution 1024 x 768 The Serial Event Settings page is located under Auto Warning Settings in the System Management folder This is where you specify how the MiiNePort W1 MiiNePort W1 T will notify you of DCD and DSR events for each serial port Mail refers to sending an e mail to a specified address Trap refers to sending an SNMP trap A change in the DCD Data Carrier Detect signal indicates that the modem connection status has changed If the DCD signal changes to low it indicates that the connection line is down A change in the DSR Data Set Ready signal indicates that the data communication equipment is powered off If the DSR signal changes to low it indicates that the data communication equipment is powered down ATTENTION SNMP indicates a change in DCD or DSR signals but does not differentiate between the two A change in either signal from to is indicated by link up and a change in either signal from to is indicated by link down 7 39 MiiNePort W1 Series Web Console Configuration E mail Alert Model Name IP Serial No
102. ction will not work properly 7 29 MiiNePort W1 Series Web Console Configuration Delimiter process Setting Factory Default Necessity Do Nothing Do Nothing Optional Delimiter 1 Delimiter 2 Strip Delimiter The Delimiter process field determines how the data is handled when a delimiter is received Delimiter 1 must be enabled for this field to have effect If Delimiters 1 and 2 are both enabled both characters must be received for the delimiter process to take place Do Nothing Data in the buffer will be transmitted when the delimiter is received Delimiter 1 or Delimiter 2 The data will be transmitted when an additional byte for Delimiter 1 or an additional 2 bytes for Delimiter 2 of data is received after receiving the Delimiter Strip Delimiter When the Delimiter is received the Delimiter is deleted i e stripped and the remaining data is transmitted Force transmit Setting Factory Default Necessity 0 to 65535 ms 0 ms Optional O The force transmit timeout is disabled 1 to 65535 If the module does not receive the next byte of data within the time specified it will pack the data in its buffer into the same data frame for network transmission The Force transmit field is typically used in conjunction with the Delimiter fields to specify how data in the module s buffer is packed for network transmission When delimiters are used the module acc
103. defined Scan Channels 1 Scan Channels 2 Scan Channels 3 and roam between APs as specified by the SSID It scans the channel and will associate with the highest signal strength AP It also scans the channel regularly and will re associate with the highest signal strength AP if there is by automatically Scan Channels 1 Scan Channels 2 Scan Channels 3 Default N A Options 1 2 3 4 5 6 7 8 9 10 11 Description This field is only available in Infrastructure Mode and is used to specify the MiiNePort W1 Fast Roaming scans channels Advanced Settings MiiNePort W1 192 168 34 100 MAC Address 00 90 8 00 00 23 MiiNePort 2 Firmware 1 0 Build 12013114 2 5235252 Advanced Settings Main Menu Gratuitous ARP Overview Wizard Gratuitous ARP enable Enable Basic Settings Send period 10 1000 sec 30 Network Settings General Settings Active Interface Ethernet Settings Active interface Auto Detect v WLAN Settings WLAN Profile Active interface is only active when boot up DI6 Low is for Ethernet High is for WLAN System Management System Monitoring Restart goahead WEBSERVER ith IE 5 above at ution 1024 x 768 On the Advanced Settings page in the Network Settings folder you can modify Gratuitous ARP and Active interface 7 16 MiiNePort W1 Series Web Console Configuration Gratuitous ARP Defa
104. dex Connection i and maximum connection i System sets maximum connection number Parameters are i STM1 0 3 number as 3 for port 1 and separated by a semicolon For S channel 1 an MCSC disabled port the channel index is 0 MiiNePort reports command N A ISTMO executed successfully Two numbers separated by a semicolon denote port index A i System requests jammed IP and MCSC channel index For an GTJ1 0 y policy for port 1 G R MCSC disabled port the channel index is 0 Reply parameters 1 Enable or IGT 01 MiiNePort reports ignore jammed O Disable IP as Enable TCP Server Port index MCSC channel index Ignore TJ and ignore jammed IP setting 0 Jammed IP for disable and 1 for enable N System sets ignore jammed IP Parameters are separated by a STJ1 0 0 i policy as Disable for port 1 S semicolon For an MCSC disabled port the channel index is 0 MiiNePort reports command N A ISTJO executed successfully Two numbers separated by a semicolon denotes port index i System requests for allow driver and MCSC channel index For GTD1 0 h control policy for portl G R MCSC disabled port channel index shall be 0 TCP Server Reply parameters 1 Enable or IGTDO1 MiiNePort reports allow driver Allow mb 0 Disable control is Enable Driver Two numbers separated by a Control semicolon denotes port index System sets allow driver control and MCSC chan
105. dex is 0 MiiNePort reports command N A ISOTO executed successfully Two numbers separated by a semicolon denote port index and System requests port 1 s force MCSC channel index For an GOF1 0 transmit timeout for this G R MCSC disabled port the channel MiiNePort index is O Reply parameters MiiNePort s force IGOF00 MiiNePort reports force transmit Port Force OF transmit timeout timeout as 0 sec Transmit Port index MCSC channel index and force transmit timeout SOF1 0 System sets port 1 s force Parameters are separated by a ee 5 transmit timeout as 5 ms S semicolon For an MCSC disabled port the channel index is 0 MiiNePort reports command N A ISOFO executed successfully C 20 MiiNePort W1 Series Serial Command Mode Port Parameter Commands OP Command ies Name Parameter Example Description Code Code System requests port 1 s alias for GSA1 AE i this MiiNePort G R Port index MiiNePort reports Port alias as IGSAOport1 portl Port Alias SA System sets port 1 s alias name as Port index and port alias SSA1 port 1 seep ort T S separated by a semicolon i MiiNePort reports command ISSAO executed successfully i System requests port 1 s Interface Port index GSI1 7 for this MiiNePort G R 0 RS232 or 1 A MiiNePort reports Interface as RS422 RS485 GSI00 i RS232
106. dress to identify and talk to each other over the network Choose a proper IP address that is unique and valid in your network environment If your module will be assigned a dynamic IP address set the IP configuration parameter appropriately 7 4 MiiNePort W1 Series Web Console Configuration Netmask Default 255 255 255 0 Options Netmask setting e g 255 255 0 0 Description This field is for the subnet mask A subnet mask represents all of the network hosts at one geographic location in one building or on the same local area network When a packet is sent out over the network the MiiNePort W1 series module will use the subnet mask to check whether the desired TCP IP host specified in the packet is on the local network segment If the address is on the same network segment as the module a connection is established directly from the module Otherwise the connection is established through the gateway as specified in the Gateway parameter Gateway Default Options IP address e g 192 168 1 1 Description This field is for the IP address of the gateway if applicable A gateway is a network computer that acts as an entrance to another network Usually the computers that control traffic within the network or at the local Internet service provider are gateway nodes The MiiNePort W1 series module needs to know the IP address of the default gateway computer in ord
107. e process may cause all settings to revert to factory defaults 7 43 MiiNePort W1 Series Web Console Configuration Configuration mport Model Mii J IP Name Serial No Location Configuration Import da Menu 1 Configuration Import Overview Select configuration file Wizard IP configuration Basic Settings Network Settings Serial Port Settings System Management Misc Network Settings Auto Warning Settings Maintenance Console Settings Ping Firmware Upgrade Configuration Import Configuration Export Load Factory Default Change Password System Settings Certificate System Monitoring Restart goahead WEBSERVER Best viewed with IE 5 above at resolution 1024 x 768 No file chosen E Import all configurations including IP configurations The Configuration Import page is located under Maintenance in the System Management folder This is where you can load a previously saved or exported configuration Select or browse for the configuration file in the Select configuration file field If you also wish to import the IP configuration i e IP address netmask and gateway make sure that Import all configurations including IP configurations is checked Configuration Export Model Name Location MiiNeP IP MiiNeP E Serial No Configuration Export Main Menu Configuration Export Overview Wizard Basic Settings Network Settings Serial Port Settings System Management
108. eans there is no time limit for how long the module will wait to receive data When set between 1 and 65535 the module will pack data if serial data is not received in the specified time The optimal force transmit time depends on your application but it should be larger than one character interval within the specified baudrate to have any effect For example assume that the serial port is set to 1200 bps 8 data bits 1 stop bit and no parity In this case the total number of bits needed to send one character is 10 bits and the time required to transfer one character is 10 bits 1200 bits s x 1000 ms s 8 3 ms Since it requires about 9 ms to send one character the Force transmit should be 10 ms or more to have any effect At 9 ms or less the module will simply pack every character as it is received which would be the same as ifa delimiter characters or Force transmit time were not specified 7 23 MiiNePort W1 Series Web Console Configuration ATTENTION If you want to send a series of characters in the same packet the serial device attached to the MiiNePort should send that series of characters during a time interval less than the Force transmit timeout for the MiiNePort and the total length of data must be less than or equal to the MiiNePort s internal buffer size The serial communication buffer size for the MiiNePort is 1 KB per port TCP Server Mode Model TRG J IP Name N e JP_7 Serial No Location
109. ed time zone and allows you to select a different time zone Local Time Default 1970 01 01 00 00 00 Options Date yy mm dd Time hh mm ss ATTENTION When modifying the local time select the time zone first The time display will be updated to reflect the specified time zone 7 2 MiiNePort W1 Series Web Console Configuration Time Server Default Options IP address or domain name e g 192 168 1 1 or time nist gov Description This optional field specifies your time server s IP address or domain name if a time server is used in your network The module supports SNTP RFC 1769 for automatic time calibration The module will request time information from the specified time server every 10 minutes Network Settings General Settings MiiNePort W1 US 192 168 34 100 MAC Address 00 90 E8 00 00 23 2 Firmware 1 0 Build 12013114 Main Menu Overview Wizard Basic Settings Network Settings Ethernet Settings System Monitoring Restart goahead WEBSERVER Best h IE 5 above at 1024 x 768 453245235252 General Settings General Settings DNS server 1 192 168 1 91 DNS server 2 192 168 1 97 On the General Settings page in the Network Settings folder you can modify DNS server 1 and 2 DNS Server 1 and 2 Default Options IP address e g 192 168 1 1 Description This field is for
110. en be easily imported back into the module if necessary System Settings Serial Command Mode Model Name Location MiiNePort W1 IP MiiNePo Serial No Serial Command Mode Main Menu Serial Command Mode Overview Mode enable Wizard S W trigger character Basic Settings Only at boot up Network Settings Serial Port Settings System Management Misc Network Settings Auto Warning Settings Maintenance System Settings Serial Command Mode Digital 1O Certificate System Monitoring Restart goahead WEBSERVER Best viewed with IE 5 above at resolution 1024 x 768 Activate by characters 58 58 58 7 Enable 0x00 Oxtf The Serial Command Mode page is located under System Settings in the System Management folder This is where you specify how Serial Command Mode will be enabled For details on Serial Command Mode please refer to Appendix C connected to DIO 7 character Default Activate by characters Options Disable H W control pin DI7 Activate by characters Activate by break signal Description This field specifies how to enter Serial Command Mode on the module Disable Serial Command Mode will be disabled on the module H W control pin DIO7 Serial Command Mode will be activated according to the signal received on DIO channel 7 This is used to set up a hardware trigger through a switch Activate by characters Serial Command Mode will be entered
111. er to communicate with the hosts outside the local network environment Consult your network administrator if you do not know how to set this parameter ATTENTI ON In dynamic IP environments the MiiNePort W1 series will send 3 requests every 30 seconds to the DHCP or BOOTP server until the network settings have successfully been assigned The first request will time out after one second the second request will time out after three seconds and the third request will timeout after five second If the DHCP or BOOTP server is unavailable the MiiNePort W1 series will use the factory default network settings 7 5 MiiNePort W1 Series Web Console Configuration WLAN Settings gt WLAN MiiNePort W1 US 192 168 34 100 MAC Address MiiNePort 5 2 Firmware 234523523453245235252 00 90 E8 00 00 23 1 0 Build 12013114 Main Menu Overview Wizard Basic Settings Network Settings WLAN Settings WLAN Settings IP configuration Static ov IP address 192 168 34 100 Netmask 25 Gateway 192 168 35 254 The WLAN page is located under WLAN Settings in the Network Settings folder You can modify IP configuration IP address Netmask and Gateway for your WLAN The MiiNePort W1 series support I EEE 802 11b g wireless network interfaces The supported IP configurations are static and dynamic BOOTP DHCP or BOOTP DHCP Users can set up the IP configuration with the Web Telnet cons
112. eter Example Description Code Code The index of this command as shown in the following 2GECO System requests the mail warning 0 mail i cold start setting G R 1 trap Enable 1 or Disable 0 The mail warning cold start is Event Warning x a GECOO EC MiiNePort s event warning Disable Cold Start mail trap enable disable System sets the trap warning cold Parameters are separated by SEC1 0 i start to Disable S a semicolon MiiNePort reports write command N A ISECO executed successfully The index of this command as shown in the following System requests the mail warm GEWO i 0 mail start setting G R 1 trap i Enable 1 or Disable 0 The mail warning warm start is Event Warning i IGEWOO EW MiiNePort s event warning Disable Warm Start z mail trap enable disable System sets the trap warning Parameters are separated by 5EW1 0 i warm start to Disable S a semicolon MiiNePort reports write command N A ISEWO executed successfully The index of this command as shown in the following GEA System request the mail G R 0 mail i authentication failure setting 1 trap Event Warning Enable 1 or Disable 0 IGEA0O The mail warning authentication Authentication EA MiiNePort s event warning failure is Disable Failure mail trap enable disable System sets the trap warning Parameters are separated by SEA1 0 aan i authentication failure to Disable S a semico
113. ettings Ethernet Settings WLAN Settings WLAN Profile Advanced Settings Serial Port Settings System Management System Monitoring Restart WEBSERVER Best viewed vith IE 5 above at resolution 1024 x 768 7 9 MiiNePort W1 Series Web Console Configuration In Infrastructure Mode Main Menu Overview Wizard Basic Settings Network Settings General Settings Ethernet Settings WLAN Settings WLAN Advanced Settings Serial Port Settings System Management System Monitoring Restart Wireless LAN Profile Settings Wireless LAN Profile Network type Ad hoc Mode 7 Profile name ec General Security Please remeber to activate Profile service by pressing Activate fbutton after configuring MiiNePort W1 US 192 168 34 100 MAC Address 2 2 Firmware 00 90 E8 00 00 23 1 0 Build 12013114 3523453245235252 Main Menu Overview Wizard Basic Settings Network Settings General Settings Eth et Settings WLAN Profile Advanced Settings Serial Port Settings System Management System Monitoring Restart WEBSERVER Best viewed with IE 5 above at resolution 1024 x 768 WLAN Profile Properties General Properties Profile name profile15 SSID MOXA On the General page you can configure Profile name and SSID Additional settings are also available depending on whether you select Ad hoc Mode or Infrastructure Mode Profile Name
114. fault I P Address Network Interface IP Configuration IP Address LAN Static 192 168 126 254 WLAN Static 192 168 127 254 If the module is configured to obtain its IP settings from a DHCP or BOOTP server but is unable to get a response it will use the factory default IP address and netmask The 192 168 xxx xxx set of addresses are private IP addresses since they cannot be directly accessed from a public network You cannot ping a device with a 192 168 xxx xxx address from an outside I nternet connection If your application requires sending data over a public network such as the Internet you will need to assign a valid public IP address which can be leased from a local ISP Assigning IP Address with ARP The ARP Address Resolution Protocol command can be used to assign an IP address to the module The ARP command tells your computer to associate the module s MAC address with the specified IP address You must then use Telnet to access the module at which point the module s IP address will be reconfigured This method only works when the module is configured with default IP settings ATTENTION When using ARP to set the module s IP address be aware of the following items e Your computer and your module must be connected to the same LAN or WLAN You may use a cross over Ethernet cable to connect the module directly to your computer s Ethernet port e Your module must be configured with the factory default IP addre
115. fferent hosts simultaneously The factory default only allows 1 connection at a time When Max Connection is set to 1 the Real COM driver on the specific host has full control Max connection 1 The module will only allow 1 host s Real COM driver to open a connection to the module s serial port Max connections 2 to 4 When set to 2 or higher Real COM drivers for up to the specified number of hosts may open this port at the same time When Real COM drivers for multiple hosts open the port at the same time the COM driver only provides a pure data tunnel with no control ability The serial port parameters will use firmware settings instead of your application program AP settings Application software that is based on the COM driver will receive a driver response of success when the software uses any of the Win32 API functions The firmware will only send data back to the driver on the host Data will be sent first in first out when data is received by the MiiNePort from the Ethernet interface Ignore jammed IP Setting Factory Default Necessity Enable Disable Disable Optional This option determines how the port will proceed if multiple hosts are connected and one or more of the hosts stops responding as the port is transmitting data If you select Disable the port will wait until the data has been transmitted successfully to all hosts before transmitting the next group of data If you select Enable the port wil
116. for this G R N A MiiNePort i MiiNePort reports SNMP write SNMP Write GMWOprivate y i community string as private Community MW gt t l System sets SNMP write String SMWprivate A i community string as public MiiNePort s SNMP Community 7 x S di MiiNePort reports write string 3 ISMW command executed successfully System requests SNMP agent N A GMV version MiiNePort s SNMP agent G R version index as shown in the following MiiNePort reports SNMP agent IGMVOO 0 V1 V2c V3 version as V1 V2c V3 1 V1 V2c 2 V3 only SNMP Agent MV MiiNePort s SNMP agent Version version index as shown in the following System sets SNMP agent SMV1 0 V1 V2c V3 version as V1 V2c S 1 V1 V2c 2 V3 only MiiNePort reports write N A SMVO command executed successfully The index of this command as shown in the following 2GMEO System requests SNMP read GIR 0 read only user name i only user name 1 r w user name i The read only user name is The user name string GMEOrouser q rouser SNMP Read MiiNePort s SNMP read only Only or R W ME or R W user index and name User Name f string separated by a semicolon The index of System sets the r w user name S SME1 rwuser this command as shown in the following 0 read only user name 1 r w user name to rwuser C 24 MiiNePort W1 Series Serial Command Mode OP
117. gs Encryption wer y General Settings WEP key length 64 bits vw Ethemet Settings WEP key index o Hi M pi Sous WEP key source Manual Generate WEP keys by passphrase a WEP key format HEX E Advanced Settings WEP key 1 escoceses Serial Port Settings WEP key 2 System Management WEP key 3 System Monitoring WEP key 4 Restart goahead WEBSERVER Best viewed with IE 5 above at resolution 1024 x 768 In Infrastructure Mode MiiNePort W1 US 192 168 34 100 MAC Address 00 90 E8 01 MiiNePort 2 Firmware 1 0 Build 1 234523523453245235252 Wireless LAN Profile Settings Main Menu Wireless LAN Profile Overview Wizard Network type Infrastructure Mode Basic Settings Profile name _ Network Settings General Q Security General Settings Fast roaming Disable Ethemet Settings Scan channels 1 WLAN ON Senge Scan channels 2 WLAN Scan channels 3 Profile Advanced Settings m System Management Please remeber to activate Profile service by pressing Activate button after configuring System Monitoring Restart WEBSERVER Best viewed vith IE 5 above at resolution 1024 x 768 7 11 MiiNePort W1 Series Web Console Configuration Seral Wo 4 WLAN Profile Properties 1 Security Properties Profe name profile ts Open Sistem v Authenticeton rerypeon wep w 12805 Y engin 1 Ulanuat O Generate WEP keys by passphrase AS
118. guration View Help A J T a A f Exit Add al ing No COM Pot Address 1 Address 2 1 COM1 192 168 127 254 950 966 Port Information 6 Ports that have been activated will appear in black NPort Windows Driver Manager File COM Mapping Configuration View Help ih ch amp a E i Ext Add e 2 do r a No COM Port Address 1 Address 2 1 COM1 192 168 127 254 950 966 Portl 6 8 MiiNePort W1 Series Utility Console and Driver I nstallation The Linux Real TTY Driver Obtain the driver file from the included CD ROM or the Moxa website at http www moxa com Log in to the console as a super user root Execute cd to go to the root directory Copy the driver file npreal2xx tgz to the directory Execute tar xvfz npreal2xx tgz to extract all files into the system Execute tmp moxa mxinst For RedHat AS ES WS and Fedora Corel append an extra argument as follows tmp moxa mxinst SP1 The shell script will install the driver files automatically 7 After installing the driver you will be able to see several files in the usr lib npreal2 driver folder mxaddsvr Add Server mapping tty port mxdelsvr Delete Server un mapping tty port mxloadsvr Reload Server mxmknod Create device node tty port mxrmnod Remove device node tty port mxuninst Remove tty port and driver files AuRWNe VVVVV V At this point you will be ready to map the MiiNePort serial port
119. haracters are defined the module will hold data in its buffer until it receives the delimiter character or 2 character sequence When the delimiter is received the module will pack the data into its buffer and send it out through the Ethernet port 7 22 MiiNePort W1 Series Web Console Configuration Use Delimiter 1 to define the first delimiter character in hex If only one delimiter character is used Delimiter 2 should be set to 0 If the delimiter is a two character sequence use Delimiter 2 to define the second character To disable the use of delimiters set both Delimiter 1 and Delimiter 2 to 0 Note that data packing is controlled not only by the delimiter but is also influenced by the module s buffer size and the Force transmit field If the delimiter has not been received by the time the 1K buffer is full the module will pack the data for network transmission and clear the buffer In addition the module will also pack data for network transmission if the next byte of data is not received within the Force transmit time Delimiter process Setting Factory Default Necessity Do Nothing Do Nothing Optional Delimiter 1 Delimiter 2 Strip Delimiter The Delimiter process field determines how the data is handled when a delimiter is received Delimiter 1 must be enabled for this field to have effect If Delimiters 1 and 2 are both enabled both characters must be received for the delimiter process
120. he POWER y ciaserusee cess rada dE dadaa TAS AAA A AA ATA AAA IA AAA Aa 3 4 Connecting to a ds 3 4 DI O RESE SOTHINGS at o ad e Le e Lt E e BERE a Le e a DENN a ao 3 4 WLAN Strength and Link status LEDs Circuit DesiQN ooooococcccnnononononononononcnnnnnnnnnnonnnon nana nannnrnrananananas 3 6 Selecting an Operation Mode ocococococococacanannnnnnononononnnnnnnnrnrn cara rara rara ra nana nananannnnnnnanananrnrnrncncncarararanananas 4 1 OVErVIEW Sreo ontroer eniin oeii ias 4 2 HAN nannan AR a a a eats 4 2 TEP CENE MAd E dad 4 2 UDP Modernitenin ioner eni oa a a a bal onl aa a al Goal al ol Gl ol Gl ee ane at 4 3 Real COM Mo id 4 3 Initial IP Address ConfiguratiON omcocononccconencnnonenencnonennnnonenennnnrnrnnnnrnrnnnrnrnnnnrnrnnnnrnennnnrnrnnnnrnenanarnanas 5 1 Selecting an IP Address or Configuration ooococccccococonononnnnnnnnnnna nana eee eee EEE EEE rn nn narrar rara ra rara raranrnnnnnnos 5 2 Assigning l P Address with ARP aiarar avs adi ada ad dada ada cada aa add R 5 2 Assigning IP Address with Telnet Console inasa aA 5 3 Utility Console and Driver Installation omomcocononcnnonencnnonenennonenennnnoncnrononenrnnnnrnrnnnnrnrnnnnrarnnnnrnrnnnnenanas 6 1 NPort Search Utility en dla ak 6 2 installing NPort Search UUIIITY nerenin ai A RE 6 2 NPort S earch Utility Configuration ad 6 3 NPort Windows Driver Manage occcccccccoccccnonononnnnnnnnrn TEAR EEE EEE EEE EDAD ADEE EEE EE AUAA TILAA ONA DOESER ATALA ONI TANAN 6 5 Ins
121. he WEP key 64bits is the industry standard for WEP but 128bits provides better protection WEP Key Index Default 1 Options 1 through 4 Description This field specifies the primary WEP key to use for the WLAN WEP Key Source Default Options Description Manual Manual Generate WEP keys by passphrase This field specifies whether the WEP key will be generated manually or through a user specified passphrase A passphrase is equivalent to a free text password that will be used to generate the WEP key A passphrase is typically easier to remember and enter than a long and complicated WEP key WEP Key Format Default ASCII Options ASCII HEX Description This field is only available if WEP key source is set to Manual It specifies the format you will use to enter the WEP key 7 14 MiiNePort W1 Series Web Console Configuration WEP Key 1 Through 4 Default Options free text in ASCII or HEX Description These fields are only available if WEP key source is set to Manual Enter each WEP key in ASCII or HEX as specified in WEP key format The number of characters required for each key depends on WEP key length and WEP key format WEP Key Length WEP Key Format Key Length f ASCII 5 characters 64bits HEX 10 characters ASCII 13 characters 128bits HEX 26 characters Fast Roaming Model M IP MAC Address
122. iNePort s WLAN network G R type index as shown in the i This WLAN profile network type is following table IGPNO1 Infrastructure Mode 0 Ad hoc Mode Network pN 1 Infrastructure Mode Type MiiNePort s WLAN network type index as shown in the System sets WLAN profile network following table SPN1 type to Infrastructure Mode S 0 Ad hoc Mode 1 Infrastructure Mode MiiNePort reports write command N A ISPNO executed successfully 0 adhoc or 1 System requests WLAN adhoc infrastructure MiiNePort s GPPO e mode s profile name G R network type The Adhoc mode profile name is N A GPPOAdhoc Adhoc Profile PP adhoc infra profile name Name i string Parameters are System sets the adhoc mode s SPPO Adhoc i s separated by a semicolon profile name to Adhoc G MiiNePort reports write command N A ISPPO executed successfully 0 adhoc or 1 a System requests WLAN infrastructure MiiNePort s GPD1 infrastructure mode s SSID G R network type N A IGPDOinfra_ssi The infrastructure mode SSID is Profile d infra_ssid WLAN PD adhoc infra profile SSID SSID string Parameters are SPDOadhoc_s System sets the adhoc mode s SSID z separated by a semicolon sid to adhoc_ssid MiiNePort reports write command N A ISPDO executed successfully System requests the fast roaming N A GTB setting G R 0 Disable or 1 Enable C A Fast y IGTBO1 The fast roaming setting is Enable
123. ication Authentication Enable 1 or Disable 0 s y System sets the email require MiiNePort s email require SIA1 tare CEMER authentication to Enable S authentication MiiNePort reports write command N A ISIAO executed successfully System requests the email GIU i warning user name A G R N A A Email Warning IU IGlU0Owarn The Email warning user name is User Name user warnuser s The MiiNePort s email SlUwarnu System sets the email warning warning user name string ser user name to warnuser C 28 MiiNePort W1 Series Serial Command Mode OP Command A Name Parameter Example Description Code Code ISIUO MiiNePort reports write command executed successfully System requests the email GIP i warning password G R N A A IGIPOwarn The Email warning password is Email Warning ip password warnpassword Password SIPwarnp System sets the email warning s The MiiNePort s email assword password to warnpassword warning password string ISIPO MiiNePort reports write command executed successfully SIE System requests the email warning from email address G R N A A IGI FOfrom The Email warning from email Email Warning mail com address is from mail com From Email IF System sets the email warning SIFfrom j Address 7 i from email address to The MiiNePort s email mail com S i from mail com war
124. ies module s IP address This can be done using the Telnet program 1 2 3 Select Run from the Windows Start menu Enter the telnet command using your module s current IP address and click OK A 21x Type the name of a program folder document or 2 Internet resource and Windows will open it For you Open telnet 192 168 126 254 y Cancel Browse Input login account name and password W1 Login admin Password default is empty ome to MiiNePc W1 Console Management W1 login admin_ 5 3 MiiNePort W1 Series Initial IP Address Configuration 4 Select Network by pressing N or by using the cursor keys Press ENTER after making the selection MiiNePort w1 JPEG 1 1 0 MAIN MENU select ESC previous menu 5 Select Ethernet or WLAN and press ENTER NETWORK MENU Enter select ESC previous menu 6 Use the cursor keys to navigate between the different fields For I P address Netmask and Gateway enter the desired values directly For I P configuration and LAN speed press ENTER to open a submenu and select between the available options MiiNePort W1 JPIGsBE t W1 JP_7 V1 0 rnet Pp ine modif ESC back to menu Enter select 7 Press ESC to return to the menu Press ESC again to return to the main menu When prompted press Y to save the configuration changes t Quit ESC back to menu Enter select 5 4 MiiNePort W1 Series Initial I P Address Configuration
125. iiNePort 4 DIO 4 PIN 5 G R C V 5 DIO 5 PIN 6 6 DIO 6 PIN 7 7 DIO 7 PIN 8 Reply parameters 1 output or O input note that for the MiiNePort iGPMO1 MiiNePort reports DIO1 s initial this configuration is available if a mode as output specific PIN function is set to DIO DIO port index and initial mode 0 Digital aM for input and 1 for output 10 Mode separated by semicolon For MiiNePort W1 the index is as following 0 DIO O PIN 1 1 DIO 1 PIN 2 2 DIO 2 PIN 3 System sets dio0 mode as SPMO 1 par 3 DIO 3 PIN 4 output for this MiiNePort gt 4 DIO 4 PIN 5 5 DIO 5 PIN 6 6 DIO 6 PIN 7 7 DIO 7 PIN 8 Note that this configuration is valid only if related PIN function is set to DIO MiiNePort reports command N A ISPMO executed successfully DIO port index For the MiiNePort the index is as follows 0 DIOO PIN15 2GPS0 System requests DIO0 s initial 1 DIO1 PIN16 state for this MiiNePort Digital 2 DIO2 PIN17 G R C V PS 10 State 3 DIO3 PIN18 Reply parameters 1 high or O low note that this function is MiiNePort reports DI O0 s initial IGPSOO configuration only if specific DIO port is set to initial output state is low C 31 MiiNePort W1 Series Serial Command Mode OP Command Pes Name Parameter Example Description Code Code DIO port index and initial output sta
126. is disabled 1 to 65535 If the module does not receive the next byte of data within the time specified it will pack the data in its buffer into the same data frame for network transmission The Force transmit field is typically used in conjunction with the Delimiter fields to specify how data in the module s buffer is packed for network transmission When delimiters are used the module accumulates data in its buffer as it waits to receive a delimiter If there is a break in communication data will be held in the buffer as the module continues to wait for a delimiter The Force transmit field allows you to specify the maximum amount of time that the module will wait for data With Force transmit enabled the module will automatically pack the data in the buffer for network transmission if no data is received for the specified time When set to 0 Force transmit is disabled which means there is no time limit for how long the module will wait to receive data When set between 1 and 65535 the module will pack data if serial data is not received in the specified time 7 33 MiiNePort W1 Series Web Console Configuration The optimal force transmit time depends on your application but it should be larger than one character interval within the specified baudrate to have any effect For example assume that the serial port is set to 1200 bps 8 data bits 1 stop bit and no parity In this case the total number of bits needed to send one characte
127. is located under Serial Status in the System Monitoring folder On this page you can view the current number of frame parity overrun and break errors 7 52 MiiNePort W1 Series Web Console Configuration Serial Port Settings iP Serial No Serial Port Settings a Y Auto refresh Flow Control Port Bawd Rate Data Bis Stop Bits Parity fro invertace RISCTS XONKOFF 1 115200 8 1 None OFF OFF Disable RS 232 System Management System Monitoring Serial Status Sonat to Network Connections Serial Port Status Serial Port Error Count Serial Pon Setings Restart 4 bes wah it 5 al resolution 1024 x 768 The Serial Port Settings page is located under Serial Status in the System Monitoring folder On this page you can view the current serial communication settings System Status Network Connections Model IP 3 MAC Address Name Serial No Firmware Location Network Connections Main Menu Y auto refresh Ovemiew Protocol Recv Q Send Q Local Address Foreign Address State Wizard TCP 0 0 4001 0 LISTEN Basic Settings TCP 0 0 4900 0 LISTEN Network Settings Serial Port Settings TCP 0 0 966 0 LISTEN gt Eevee TCP 0 o 5001 0 LISTEN System Monitoring Serial Status gap 0 0 80 0 LISTEN System Status TCP 0 0 22 9 LISTEN Network Connections TCP 0 0 23 0 LISTEN WLAN Status WLAN Site Survey TCP 0 0 443 0 LISTEN AE TCP o o 192 168 33 23 80 192 168 34 119 64765
128. ission if the next byte of data is not received within the Force transmit time 7 20 MiiNePort W1 Series Web Console Configuration ATTENTION Delimiter 2 is optional If left blank then Delimiter 1 alone trips clearing of the buffer If the size of the serial data received is greater than 1 KB the MiiNePort will automatically pack the data and send it to the Ethernet However to use the delimiter function you must at least enable Delimiter 1 If Delimiter 1 is left blank and Delimiter 2 is enabled the delimiter function will not work properly Delimiter process Setting Factory Default Necessity Do Nothing Do Nothing only effective when Delimiter is enabled Optional Delimiter 1 Delimiter 2 Strip Delimiter The Delimiter process field determines how the data is handled when a delimiter is received Delimiter 1 must be enabled for this field to have effect If Delimiters 1 and 2 are both enabled both characters must be received for the delimiter process to take place Do Nothing Data in the buffer will be transmitted when the delimiter is received Delimiter 1 or Delimiter 2 The data will be transmitted when an additional byte for Delimiter 1 or an additional 2 bytes for Delimiter 2 of data is received after receiving the Delimiter Strip Delimiter When the Delimiter is received the Delimiter is deleted i e stripped and the remaining data is transmitted Force transmit
129. l be determined by the signal from DIO channel 6 This channel must be set to DI mode When the signal is low the module will use the LAN connection When the signal is high the module will use the WLAN connection Force Wired Ethernet The module will only use the LAN connection The WLAN connection will be ignored Force Wireless LAN The module will only use the WLAN connection The LAN connection will be ignored 7 17 MiiNePort W1 Series Web Console Configuration Serial Port Settings MiiNePort W1 US 92 MAC Address 00 90 E8 00 0 MiiNePort 2 Firmware 1 0 Build 12 Main Menu Port Settings Overview Wizard Port 1 Basic Settings Operation mode Real COM TCP alive check time 20 0 99 min Max connection 74 Operation Modes Ignore jammed IP Enable Communication Parameters Allow driver control Disable System Management a RTS A i i high Connection goes down always low always hi System Monitoring 9 O alway O always hig Riam DTR O always low always high Data Packing goahea WEBSERVER Packet length 0 KO 1024 Best viewed vith IE 5 above at 6 X ES E Delimiter 1 61 J HEX Enable Delimiter 2 62 HEX Enable Delimiter process Delimiter 1 _ W Processed only when Packing length is 0 Force transmit 0 0 65535 ms The Operation Modes page is where you configure the serial port s operation mode and related settings For an introduction to the different
130. l ignore the host that stopped responding and continue data transmission to the other hosts NOTE Ignore Jammed IP is only active when Max connection is greater than 1 Allow driver control Setting Factory Default Necessity Enable Disable Disable Optional This option determines how the port will proceed if driver control commands are received from multiple hosts that are connected to the port If Disable is selected driver control commands will be ignored If Enable is selected control commands will be accepted with the most recent command received taking precedence NOTE Allow driver control is only active when Max connection is greater than 1 Local TCP port Setting Factory Default Necessity 1 to 65535 4001 Required 7 25 MiiNePort W1 Series Web Console Configuration The Local TCP port is the TCP port that the MiiNePort uses to listen to connections and that other devices must use to contact the MiiNePort To avoid conflicts with well known TCP ports the default is set to 4001 Command port Setting Factory Default Necessity 1 to 65535 966 Optional The Command port is a listen TCP port for P Serial Lib commands from the host In order to prevent a TCP port conflict with other applications the user can set the Command port to another port if needed P Serial Lib will automatically check the Command Port on the MiiNePort so that the user does not need t
131. llowing System sets WLAN IP table SWC1 n configuration as DHCP S 0 Static 1 DHCP 3 BOOTP MiiNePort reports command N A ISWCO executed successfully System requests WLAN IP GWI Fae address for this MiiNePort G R N A GWI0192 168 MiiNePort reports WLAN IP WLAN IP Wi 126 254 address as 192 168 126 254 Address SWI192 168 System sets WLAN IP address as S MiiNePort s WLAN IP 1 3 192 168 1 3 address MiiNePort reports command ISWIO executed successfully System requests WLAN netmask GWM a address for this MiiNePort G R N A 7 IGWM0255 25 MiiNePort reports WLAN netmask WLAN UN 5 255 0 as 255 255 255 0 Netmask 5WM255 255 System sets WLAN Netmask as s MiiNePort s WLAN 255 0 255 255 255 0 Netmask address MiiNePort reports command ISWMO executed successfully System requests WLAN gatewa 2GWG y q dae g y address for this MiiNePort G R N A MiiNePort reports WLAN gateway IGWG0O0 0 0 0 WLAN WG address as 0 0 0 0 Gateway SWG192 168 System sets WLAN Gateway as s MiiNePort s WLAN 2 254 192 168 2 254 Gateway address ISWGO MiiNePort reports command executed successfully C 5 MiiNePort W1 Series Serial Command Mode WLAN Profile Commands OP Command eet Name Parameter Example Description Code Code System requests WLAN profile N A GPN network type Mi
132. lon MiiNePort reports write command N A ISEAO executed successfully The index of this command E System request the mail IP as shown in the following GEI0 changed setting G R 0 mail Enable 1 or Disable 0 GELOO The mail warning IP changed is Event Warning El MiiNePort s event warning Disable IP Changed mail enable disable y System sets the mail warning IP Parameters are separated by SEI0 1 5 changed to Enable S a semicolon MiiNePort reports write command N A ISEIO executed successfully The index of this command i System request the mail password Event Warning as shown in the following GEPO a changed setting Password G R EP 0 mail Changed Enable 1 or Disable 0 The mail warning password GEPOO MiiNePort s event warning changed is Disable C 27 MiiNePort W1 Series Serial Command Mode OP Command A Name Parameter Example Description Code Code mail enable disable y System sets the mail warning Parameters are separated by SEPO 1 h password changed to Enable S a semicolon MiiNePort reports write command N A ISEPO executed successfully The index of this command as shown in the following JGEDO System requests the mail DCD 0 mail f change setting G R 1 trap Enable 1 or Disable 0 The mail warning DCD change is Event D
133. long the module will wait to receive data When set between 1 and 65535 the module will pack data if serial data is not received in the specified time The optimal force transmit time depends on your application but it should be larger than one character interval within the specified baudrate to have any effect For example assume that the serial port is set to 1200 bps 8 data bits 1 stop bit and no parity In this case the total number of bits needed to send one character is 10 bits and the time required to transfer one character is 10 bits 1200 bits s x 1000 ms s 8 3 ms Since it requires about 9 ms to send one character the Force transmit should be 10 ms or more to have any effect At 9 ms or less the module will simply pack every character as it is received which would be the same as if delimiter characters or a Force transmit time were not specified ATTENTION If you want to send a series of characters in the same packet the serial device attached to the MiiNePort should send that series of characters during a time interval less than the Force transmit timeout for the MiiNePort and the total length of data must be less than or equal to the MiiNePort s internal buffer size The serial communication buffer size for the MiiNePort is 1 KB per port 7 27 MiiNePort W1 Series Web Console Configuration TCP Client Mode Model Name IP Serial No MAC Address Firmware Location Operation Mode
134. lowing folder To continue click Next If you would like to select a different folder click Browse C Program Files NPortD rvM anager Atleast 1 6 MB of free disk space is required lt Back Next gt Cancel 6 5 MiiNePort W1 Series Utility Console and Driver I nstallation 4 Click Next to install the program s shortcuts in the appropriate Start Menu folder a Setup NPort Windows Driver Manager Select Start Menu Folder Where should Setup place the program s shortcuts Setup will create the program s shortcuts in the following Start Menu folder To continue click Next If you would like to select a different folder click Browse NPort Windows Driver Manager Browse lt Back Next gt Cancel 5 The installer will display a summary of the installation options Click Install to begin the installation The setup window will report the progress of the installation To change the installation settings click Back and navigate to the previous screen a Setup NPort Windows Driver Manager Ready to Install Setup is now ready to begin installing NPort Windows Driver Manager on your computer Click Install to continue with the installation or click Back if you want to review or change any settings Destination location C Program Files NPortDrvM anager Start Menu folder NPort Windows Driver Manager a Install ia Cancel 6 Click Finish to complete the ins
135. n this page you can monitor the serial port s operation mode and host connection status 7 51 MiiNePort W1 Series Web Console Configuration Serial Port Status Serial Port Status F Auto refresh Pon Tam Rant TxTotaiCnt RxTotaiCat DSR OTR RTS cts pco 1 0 0 o 0 3 3 o o work Connections Serial Port Sorial Port Error Count Serial Port Settings System Status Restat gosheed SERVER Best viewed with IE 5 above at resolution 1024 x 768 The Serial Port Status page is located under Serial Status in the System Monitoring folder On this page you can monitor the serial signal and data transmission status TxCnt number of Tx packets to device for the current connection RxCnt number of Rx packets from device for the current connection TxTotalCnt number of Tx packets since the module was powered on RxTotalCnt number of Rx packets since the module was powered on DSR status of DSR signal DTR status of DTR signal RTS status of RTS signal CTS status of CTS signal DCD status of DCD signal Serial Port Error Count ip 12168332 MAC Address Senal No Firmware Serial Port Error Count F Auto retresh Por ErTCot Frame Party Overrun Break 1 0 0 o System Management System Monmoning Serial Status Serial Port Serial Port Serial Port System Status Restan EBSERVER Best viened wih IE 5 above at resolution 1024 x 769 The Serial Port Error Count page
136. nections WLAN Status Authentication Encryption WLAN Site Survey Region Digital IO State Restart Signal strength Connection speed goahead WEBSERVER Best viewed with IE 5 above at resolution 1024 x 768 192 168 N A dhcp N A N A N A N A N A N A N A N A JP N A The WLAN Status page is located under System Status in the System Monitoring folder This is where you can view the current WLAN settings and status WLAN Site Survey Model y A IP Name Serial No Location WLAN Site Survey Main Menu Overview fi d i Refresh Wizar AP List Basic Settings Network Settings Type SSID I Security Rate Channel BSSID I Signal Serial Port Settings a System Management o MIS WAP 1 WEP 54 0Mbps 1 00 23 f8 70 1F 16 ull System Monitoring a Serial Status System Status MIS WAP 1 WEP 54 0Mbps 1 40 4a 03 8d a7 64 all Network Connections WLAN Status C CS_PVC_8 None 54 0Mbps 1 00 23 54 b5 3c e8 WLAN Site Survey al Digital IO State Restart p DN_Apple WPA2 54 0Mbps 1 00 1e 52 7b b2 a0 wall c RSSI Monitor WEBSERVER Best viewed with IE 5 above at resolution 1024 x 768 The WLAN Site Survey page is located under System Status in the System Monitoring folder This is where you can view live data on wireless signal strength and characteristics It is a useful tool to help you complete a wireless site survey without installing additional software
137. nel index For STD1 0 1 policy as enable for port1 S MCSC disabled port channel index shall be O MiiNePort reports command N A ISTDO executed successfully Two numbers separated by a semicolon denote port index TCP Server i System requests TCP port for port TCP Port G R TP and MCSC channel index For an GTP1 0 1 or MCSC disabled port the channel index is 0 MiiNePort W1 Series Serial Command Mode OP Command PET Name Parameter Example Description Code Code MiiNePort reports TCP port as Reply parameters TCP port IGTP04001 4100 Port index MCSC channel index and TCP local port Every parameter is separated by STP1 0 4 System sets TCP port as 4100 for s semicolon For 100 port 1 MCSC disabled port channel index shall be 0 MiiNePort reports command N A ISTPO executed successfully Two numbers separated by a semicolon denotes port index y System requests for TCP and MCSC channel index For GTO1 0 command port for port 1 G R MCSC disabled port channel index shall be 0 Reply parameters Command MiiNePort reports TCP command 1GTO0966 TCP Server TO port port is 966 Cmd Port Two numbers separated by a semicolon denotes port index i STO1 0 9 System sets TCP command port as and MCSC channel index For 66 966 for port 1 S MCSC disabled port channel index shall be 0 MiiNePort reports command N A I
138. ngs Maintenance System Settings Certificate Ethernet SSL Certificate Import WLAN SSL Certificate Import WPA User Certificate Import WPA User Key Import Certificate Key Delete System Monitoring Restart goahead WEBSERVER Best viewed with IE 5 above at resolution 1024 x 768 The Ethernet SSL Certificate mport page is located under Certificate in the System Management folder This is where you can load the Ethernet SSL certificate Select or browse for the certificate file in the Select SSL certificate key file field 7 48 MiiNePort W1 Series Web Console Configuration WLAN SSL Certificate mport Model MiiNePo IP Name MiiNePo JP_7 Serial No Location WLAN SSL Certificate Import Main Menu J Installed Certificate Overview Issued to Not installed Wizard Issued by Not installed Basic Settings Valid from Not installed to Not installed Network Settings Serial Port Settings Select SSL certificate key file No file chosen System Management Misc Network Settings Auto Warning Settings Maintenance System Settings Certificate Ethernet SSL Certificate Import WLAN SSL Certificate Import WPA User Certificate Import WPA User Key Import Certificate Key Delete System Monitoring Restart goahead WEBSERVER Best viewed with IE 5 above at resolution 1024 x 768 The WLAN SSL Certificate I mport page is located under Certificate in the System Management folder By default the WLAN SSL
139. ning from email address e ISIFO MiiNePort reports write command executed successfully The index 1 or 4 of To Email GIT1 System requests the email GIR Address i warning to email address 1 N A IGITOto1 The Email warning to email i mail com address 1 is tol mail com Email Warning The index 1 or 4 of To Email To Email IT System sets the email warning to Address and mail address SIT2 to2 y Address email address 2 to string Parameters are Email com S to2 mail com separated by a semicolon MiiNePort reports write command N A ISITO executed successfully System requests the SNMP trap N A GMI receive P address G R The MiiNePort s SNMP trap 4 IGMI 0192 The SNMP trap receive IP address receive IP address or domain 168 10 10 is 192 168 10 10 SNMP Trap MI name Receive IP The MiiNePort s SNMP trap 75M1192 1 System sets the SNMP trap receive IP address or domain receive P address to 68 10 11 S name 192 168 10 11 MiiNePort reports write command N A ISMIO executed successfully N A GMO System requests the trap version G R V2c 1 or V1 0 MiiNePort s e sl GMOOO The Trap version is V1 trap version Trap Version MO V2c 1 or V1 0 MiiNePort s 25M01 System sets the trap version to 8 trap version V2c MiiNePort reports write command N A ISMOO executed successfully System requests the tra N A GMC 7 SA E community G R re Trap The MiiNePort s trap IGMCtrapc TE
140. nmanaged authentication option that is only available in Infrastructure Mode It employs WP2 encryption algorithms but relies on a PSK for authentication A PSK that uses a mix of letters numbers and non alphanumeric characters is recommended This option can also be referred to as WPA Personal Mode 7 13 MiiNePort W1 Series Web Console Configuration Encryption Default Disable Options Disable WEP Description This field specifies the type of encryption to use during wireless communication Different encryption methods are available depending on the Authentication setting Also each encryption method has its own set of parameters that may also require configuration Disable No encryption is applied to the data during wireless communication WEP Wired Equivalent Privacy WEP is only available for Open System and Shared Key authentication methods Data is encrypted according to a key The MiiNePort W1 MiiNePort W1 T supports both 64 and 128 bit keys This method may deter casual snooping but is not considered very secure Security Settings for WEP Encryption When Encryption is set to WEP on the Security page for the WLAN profile you will be able to configure WEP key length WEP key index and WEP key source Other settings will be displayed depending on how WEP key source is configured WEP Key Length Default 64bits Options 64bits 128bits Description This field specifies the length of t
141. nsole IGBROabcdef User BR password as abcdef Password System sets user s console password f SBRfedcba haar z character string max 16 as fedcba for this MiiNePort bytes ena MiiNePort reports command executed successfully C 3 MiiNePort W1 Series Serial Command Mode Network Commands OP Command Da Name Parameter Example Description Code Code System requests DNS server 1 GND1 Pee G R The index 1 or 2 of DNS address for this MiiNePort server IGNDO192 16 MiiNePort reports DNS server 1 DNS Server IP ND 8 1 2 address as 192 168 1 2 Address y SND1 192 16 System sets DNS1 as The index 1 2 and DNS 8 1 123 192 168 1 123 S server address separated MiiNePort reports command by a semicolon SNDO executed successfully System requests LAN IP N A GNC ale configuration for this MiiNePort MiiNePort s LAN IP configuration index as G R shown in the following pi MiiNePort reports LAN IP table GNCOO i configuration as Static 0 Static 1 DHCP LAN IP Nc 3 BOOTP Configuration MiiNePort s LAN IP configuration index as shown in the following System sets LAN IP configuration table SNCO 2 as Static S 0 Static 1 DHCP 3 BOOTP MiiNePort reports command N A ISNCO executed successfully FCNI System requests LAN IP address f for this MiiNePort G R N A
142. nt kit are both available for evaluation and development use The development kit contains a development board documents sample code cables and accessories Package Checklist Package Checklist modules MiiNePort W1 series wireless module Package Checklist starter kits 1 MiiNePort W1 series wireless module MiiNePort W1 evaluation board Antenna ANT WDB ARM 02 Antenna CRF MHF SMA M 14 2 1 cross over Ethernet cable 1 null modem serial cable Universal power adaptor Documentation and software CD Quick installation guide Warranty card Product Features The MiiNePort W1 series has the following features 802 11 b g compatible AES WEP 64 128 bit WPA WPA2 PSK 802 11i security support 1 Serial port up to 921 6Kbps 1 Ethernet port 10 100Mbps HTTPS SSH support for configuration Fast roaming to enhance connection reliability 1 2 MiiNePort W1 Series Introduction Product Specifications Form Factor Type Drop in module Dimensions 44 4 x 44 4 x 9 7 mm 1 75 x 1 75 x 0 38 in System Information Ethernet I nterface Number of Ports 1 Speed 10 100 Mbps auto MDI MDI X WLAN Interface Standard Compliance IEEE 802 11b g Network Modes Infrastructure mode b g Ad Hoc mode b g Spread Spectrum Technology DSSS CCK OFDM Transmit Power IEEE 802 11b 16 dBm typical IEEE 802 11g 14 dBm typical Receive Sensitivity 71 dBm Min Transmission Rate IEEE 802 11b 11 Mbps IEEE 802 119
143. o configure the program Packet length Setting Factory Default Necessity 0 to 1024 0 Optional The Packet length setting refers to the maximum amount of data that is allowed to accumulate in the serial port buffer before sending When packet length is set to O the default a maximum amount is not specified and data in the buffer will be sent as specified by the delimiter settings or when the buffer is full When a packet length between 1 and 1024 bytes is specified data in the buffer will be sent as soon as it reaches the specified length Delimiter 1 Setting Factory Default Necessity 00 to FF None Optional Delimiter 2 Setting Factory Default Necessity 00 to FF None Optional The Delimiter fields are used to specify a 1 character or 2 character sequence that acts as a marker to control packing of serial data By default delimiter characters are not defined so the module transmits data as soon as it is received When a delimiter character or characters are defined the module will hold data in its buffer until it receives the delimiter character or 2 character sequence When the delimiter is received the module will pack the data into its buffer and send it out through the Ethernet port Use Delimiter 1 to define the first delimiter character in hex If only one delimiter character is used Delimiter 2 should be set to 0 If the delimiter is a two character sequence use Delimiter
144. of a connected device such as an LED or alarm All DIO Default Input Mode Low State Options Input Output for Mode Low High for State Description This field specifies the mode and state of all DIO channels if desired Any setting that is selected will be applied to all DIO channels at once DIO Command Function Default Enable WLAN LED Options Enable Disable WLAN LED Description This specifies whether the WLAN LEDs strength will be used If enabled DIO 1 through 5 will be reserved for use as WLAN LEDs strength Manual settings for those DIO channels will thus be ignored 7 47 MiiNePort W1 Series Web Console Configuration TCP Port Default 5001 Options 0 to 9999 Description This specifies the TCP port number that will be reserved for DIO commands DIO commands may be used to control and obtain data from the module s DIO channels Please refer to Appendix C for additional information on DIO commands Certificate Ethernet SSL Certificate mport Model MiiNe W1 J IP Name MiiNePort W1 JP_7 Serial No Location Ethernet SSL Certificate Import _ Main Menu Installed Certificate Overview Issued to 192 168 33 23 Wizard Issued by 192 168 33 23 Basic Settings Valid from 1970 1 1 to 2029 12 17 Network Settings Select SSL certificate key file No file chosen Serial Port Settings System Management s Misc Network Settings Auto Warning Setti
145. oles through the MiiNePort W1 series Ethernet interface IP Configuration Default Static Options Static DHCP DHCP BOOTP BOOTP Description This field determines how the MiiNePort W1 MiiNePort W1 T s IP address will be assigned Static IP address netmask and gateway are user defined DHCP IP address netmask gateway DNS and time server are assigned by DHCP server DHCP BOOTP IP address netmask gateway DNS and time server are assigned by DHCP server IP address is assigned by BOOTP server if DHCP server does not respond BOOTP IP address is assigned by BOOTP server IP Address Default 192 168 127 254 Options IP address e g 192 168 1 1 Description This field is for the IP address that will be assigned to your MiiNePort W1 MiiNePort W1 T module An IP address is a number assigned to a network device Such as a computer as a permanent address on the network Computers use the IP address to identify and talk to each other over the network Choose a proper IP address that is unique and valid in your WLAN environment If your module will be assigned a dynamic IP address set the IP configuration parameter appropriately 7 6 MiiNePort W1 Series Web Console Configuration Netmask Default 255 255 255 0 Options Netmask setting e g 255 255 0 0 Description This field is for the subnet mask A subnet mask represents all of the network hosts at
146. on the evaluation board P1 is reserved DI O Test Settings The MiiNePort W1 includes 8 digital I O channels Each digital I O channel is a GPIO General Purpose 1 0 channel that can be set to digital output or digital input mode by software When developing your own applications be aware of the voltage limits The output current is 1 mA Min Max Unit Conditions Low level input Maximum voltage when Dl is setto 0 8 y voltage Low status High level Minimum voltage when DI is set to gt Jo aa y input voltage High status Low level input Maximum voltage when DO is setto 0 4 y voltage Low status High level Minimum voltage when DO is set to mn ll ds y input voltage High status The output current for each digital output channel carries only 1 mA On the evaluation board the DIO mode jumper selects whether a digital channel will be connected to the DIP switch for input testing or to the LED for output testing If DIO1 is set to digital input mode on the MiiNePort W1 you can use a jumper setting on the evaluation board to connect DIO1 to the DIP switch Digit one on the DIP switch will then be the input device for DIO1 When you flip the switch on or off you can see the status of DIO1 change on the web console or in the Windows utility 3 4 MiiNePort W1 Series Getting Started oH ote Digital input signal RHEHBAAAA setting switch EE OEA DIO
147. on your computer e Allow per session cookies not stored ATTENTION If you are not using Internet Explorer cookies are usually enabled through a web browser setting such as allow cookies that are stored on your computer or allow per session cookies Cookies are used for password transmission only 6 12 Internet Options A E General Select a Web content zone to specify ts security settings amp 0O Internet met m Security level for this zone 21x Security content Connections Programs Advanced Restricted sites Local intranet Trusted sites Internet This zone contains all Web sites you haven t placed in other zones Move the slider to set the security level For this zone Medium Safe browsing and still Functional Prompts before downloading potentially unsafe content Unsigned ActiveX controls will not be downloaded Appropriate for most Internet sites Custom Level Security Settings E Settings xi Cookies a l Allow cookies that are stored on your computer O Diao O Enable 7 Promp a Allow per session cookies not stored O Disable O Enable WM romp a Downloads 23 File download O Disable O Enable Y Cant danlas E 4 Reset custom settings Reset to Medium y Reset crea MiiNePort W1 Series Utility Console and Driver I nstallation Navigating the Web Console
148. one geographic location in one building or on the same local area network When a packet is sent out over the network the MiiNePort W1 MiiNePort W1 T module will use the subnet mask to check whether the desired TCP IP host specified in the packet is on the local network segment If the address is on the same network segment as the module a connection is established directly from the module Otherwise the connection is established through the gateway as specified in the Gateway parameter Gateway Default Options IP address e g 192 168 1 1 Description This field is for the I P address of the gateway if applicable A gateway is a network computer that acts as an entrance to another network Usually the computers that control traffic within the network or at the local Internet service provider are gateway nodes The MiiNePort W1 MiiNePort W1 T module needs to know the IP address of the default gateway computer in order to communicate with the hosts outside the local network environment Consult your network administrator if you do not know how to set this parameter WLAN Settings gt Profile MiiNePort W1 US 192 168 34 100 MAC Address 00 90 E8 00 00 23 2 Firmware 1 0 Build 12013114 453245235252 Wireless LAN Profile Settings Main Menu Wireless LAN Profile Overview Wizard Network type Infrastructure Mode w Basic Settings Profile name E Network Settings General Settings Fast roaming
149. operation modes please refer to Chapter 4 Operation Modes E Main Menu M fia Overview Operation Modes a Basic Settings Mode TCP Server Network Settings TCP alive check time 7 ko 99 min Serial Port Settings Inactivity time lo o 65535 ms a Max connection 19 E Advanced Settings Ignore jammed IP Enable Disable EU Maintenance Allow driver control Enable Disable Save and Restart Local TCP port 4001 Command port 966 Data Packing Packet length lo ko 1024 Delimiter 1 00 Hex O Enable Delimiter 2 00 Hex Enable Delimiter process hing Force transmit 0 0 65535 ms Before reading this section refer to Chapter 3 Choosing the Proper Operation Mode to select the operation mode that best fits your device application Click Operation Modes located under the Main Menu to display the operating settings for the MiiNePort s two serial ports Disable Mode Main Menu k E Operation Modes E Overview EY Basic Settings Mode Disable Network Settings Serial Port Settings Operation Modes 3 Advanced Settings 4 Maintenance Save and Restart When Mode is set to Disable that particular port will be disabled Check Apply the above settings to all serial ports to apply this setting to all ports 7 18 MiiNePort W1 Series Web Console Configuration Real COM Mode amp Main Menu i ia Operation Modes EA Basic Settings Mode Real COM v Network
150. pListNetmask portDelimiterProcess monitorRxTotalCount snmpEnable portForceTransmit monitorDSR snmpContactName monitorDTR snmpLocation comParam Setting monitorRTS mailWarningColdStart portAlias monitorCTS mailWarningWarmStart portli nterface monitorDCD mailWarningAuthFailure portFlowControl monitorBaudRate portBaudRate monitorErrorCountFrame mailWarningl pChanged portDataBits monitorErrorCountParity mailWarningPasswordChanged portStopBits monitorErrorCountOverrun trapServerColdStart portParity monitorErrorCountBreak trapServerWarmStart trapServerAuthFailure portFI FO monitorDataBits monitorStopBits mailDCDchange trapDCDchange activeSettings monitorParity mailDSRchange doActive monitorRTSCTSFlowControl trapDSRchange monitorXONXOFFFlowControl emailWarningMailServer restart monitorFl FO emailRequiresAuthentication restartPorts monitorl nterface emailWarningUserName restartSystem wlanStatusActiveProfileName emailWarningPassword wlanStatusl pConfiguration wlanStatuslpAddress emailWarningFromEmail emailWarningFirstEmailAddr wlanStatusNetMask emailWarningSecondEmailAddr wlanStatusDefaultGateway emailWarningThirdEmailAddr wlanStatusNetworkType emailWarningFourthEmailAddr wlanStatusSSID snmpTrapReceivel p wlanStatusChannel trapVersion wlanStatusAuthentication scmTriggerMode wlanStatusEncryption scmTriggerCh1
151. r is 10 bits and the time required to transfer one character is 10 bits 1200 bits s x 1000 ms s 8 3 ms Since it requires about 9 ms to send one character the Force transmit should be 10 ms or more to have any effect At 9 ms or less the module will simply pack every character as it is received which would be the same as if delimiter characters or a Force transmit time were not specified ATTENTION If you want to send a series of characters in the same packet the serial device attached to the MiiNePort should send that series of characters during a time interval less than the Force transmit timeout for the MiiNePort and the total length of data must be less than or equal to the MiiNePort s internal buffer size The serial communication buffer size for the MiiNePort is 1 KB per port Serial Parameter Model M J IP 192 23 MAC Address Name Mi JP_7 Serial No 7 Firmware Location Serial Parameter Main Menu Modifying Serial Parameter settings will cause serial port restarting connections Overview Port Alias Baud rate Parity Data bit Stop bit Flow control FIFO interface Wizard Basic Settings 1 115200 x None y s e 1 RTSICTS y Enable x RS 232 y Network Settings Serial Port Settings Operation Modes Communication Parameters System Management System Monitoring Restart goahead WEBSERVER Best viewed vith IE 5 above at resolution 1024 x 768
152. rn Command Status Check the Command Status code on the previous page Length of data 3 hex Must be 3 bytes of return code in this mode data 0 The number of the DIO you wish to access data 1 DIO mode hex 0 for IN 1 for OUT data 2 DIO status hex 0 for LOW 1 for HIGH C code example BOOL ReadSingleDI O int port int mode int status DI OPacketStruct packet packet header command 1 read single DIO command packet header version 2 DIO protocol version packet header length 1 data length packet data 0 char port Number of the DIO send SocketFd char amp packet sizeof DI OHeaderStruct 1 0 Send TCP Packet Process the returned data here return TRUE 2 Writing a Single DIO Parameters Command code 2 hex Version 2 hex Command Status doesn t matter Length of data 3 hex represents three bytes data 0 The number of the DIO you wish to access data 1 DIO mode hex 0 for IN 1 for OUT data 2 DIO status hex 0 for LOW 1 for HIGH Return Command Status Check the Command Status code on the previous page Length of data 3 hex Must be 3 bytes of return code in this mode data 0 The number of the DIO you wish to access data 1 DIO mode hex 0 for IN 1 for OUT data 2 DIO status hex 0 for LOW 1 for HIGH B 2 MiiNePort W1 Series C code example void WriteSingleDIO int port int mode int status DI OPacketStruct packet packet header comm
153. rs local listen MiiNePort reports UDP local listen GUP04001 UDP Local UP port port as 4001 Listen Port Port index MCSC channel index and local UDP port Parameters A SUP1 0 4 System sets UDP local listen port are separated by a semicolon 001 as 4001 for port 1 S For an MCSC disabled port the channel index is 0 MiiNePort reports command N A ISUPO executed successfully OP Command EAS Name Parameter Example Description Code Code Two numbers separated by a semicolon denote port index and System requests port 1 s data MCSC channel index For an GOL1 0 packing length for this G R MCSC disabled port the channel MiiNePort index is O Reply parameters MiiNePort s data MiiNePort reports data packing Port IGOL0256 packing length as follows length as 256 Packet OL Port index MCSC channel index Length i and data packing length to set SOL1 0 System sets port 1 s data Parameters are separated by a i 256 packing length as 256 S semicolon For an MCSC disabled port the channel index is 0 MiiNePort reports command N A ISOLO executed successfully MiiNePort W1 Series Serial Command Mode OP Command ane Name Parameter Example Description Code Code Two numbers separated by a semicolon denote port index and System requests port 1 s MCSC channel index For an GOD1 0 delimiter setting for this MCS
154. s Main Menu Port Settings Overview Port 1 Wizard Operation mode TCP Client Baie Ramos TCP alive check time 7 0 99 min Network Settings Serial Port Settings Inactivity time 0 0 65535 ms Operation Modes pore jaena Je Disable v Communication Parameters Destination address 1 Port 4001 System Management Destination address 2 Port 4001 System Monitoring Destination address 3 Port 4001 Renan Destination address 4 Port 4001 ad Designated local port 1 5010 Designated local port 2 5011 Best viewed with IE 5 above at resolution 1024 x 768 Designated local port 3 5012 Designated local port 4 5013 Connection control Startup None Data Packing Packet length 0 0 1024 Delimiter 1 00 HEX F Enable Delimiter 2 00 HEX F Enable Delimiter process Do Nothing 2 Processed only when Packing length is 0 Force transmit 0 0 65535 ms TCP alive check time Setting Factory Default Necessity 0 to 99 min 7 min Optional O min The TCP connection is not closed due to an idle TCP connection 1 to 99 min The module automatically closes the TCP connection if there is no TCP activity for the given time After the connection is closed the module starts listening for another host s TCP connection Inactivity time Setting Factory Default 0 to 65535 ms 0 ms Necessity Optional O ms TCP connection is not closed due to an idle serial line 0 65
155. s dictating the maximum current allowable for each wire size If the current goes above the maximum ratings the wiring could overheat causing serious damage to your equipment Use caution unit may get hot The unit will generate heat during operation and the casing may feel hot to the touch Take care when handling unit Be sure to leave adequate space for ventilation The following guidelines will help ensure trouble free signal communication e Use separate paths to route wiring for power and devices to avoid interference Do not run signal or communication wiring and power wiring in the same wire conduit The rule of thumb is that wiring that shares similar electrical characteristics can be bundled together e If power wiring and device wiring paths must cross make sure the wires are perpendicular at the intersection point e Keep input wiring and output wiring separate e Label all wiring to each device in the system for easier testing and troubleshooting 3 2 MiiNePort W1 Series Getting Started Installing onto the MiiNePort W1 Evaluation Board The MiiNePort W1 evaluation board is a tool to help you develop your MiiNePort W1 series application The module must first be installed on the board before the power supply network and serial device are connected Align the sockets on the MiiNePort W1 series module with the pins on the MiiNePort W1 series board as shown in the following figure Insert W1 module here
156. s MiiNePort s N A G V firmware version MiiNePort s firmware View version Version parts are Firmware G R V separated by a single dot Version with at least two parts G V01 0 MiiNePort s firmware version is v1 0 major minor and at most three parts major minor rev A System requests MiiNePort s View N A G B k i firmware build number Firmware G R OB r 7 7 Build Ti MiiNePort s firmware build IG B01203 MiiNePort reports build number is uild Time number eight digits 1615 12031615 System requests MiiNePort s LAN G M View LAN MAC address MAC G R M N A G MO000 9 a MiiNePort reports LAN MAC address is Address 0 E8 71 00 00 90 E8 71 00 10 10 System requests MiiNePort s WLAN View G W MAC address WLAN G R OW N A G Ww000 9 7 MAC MiiNePort reports WLAN MAC address 0 E8 71 00 Address i is 00 90 E8 71 00 11 C 2 MiiNePort W1 Series Serial Command Mode Basic Commands OP Command A Name Parameter Example Description Code Code System requests configured device GBN fie ns name for this MiiNePort G R N A z IGBNOMiiNePo MiiNePort reports device name as Device N rt_W1_ Office MiiNePort_W1_ Office Name SBNMiiNePort System sets the device name as z character string max 40 _W1_Office MiiNePort_W1_ Office bytes ISBNO MiiNePort reports command executed successfully GBZ System reque
157. s command executed successfully UDP Destination Address G R UD Three numbers separated by a semicolon denote port index MCSC channel index and destination address index from 1 to 4 For an MCSC disabled port the channel index is 0 GUD1 0 3 System requests UDP destination address 3 for port 1 MiiNePort W1 Series Serial Command Mode OP Command PET Name Parameter Example Description Code Code IGUD0192 E Ns MiiNePort reports UDP destination Reply parameters Begin 168 1 3 19 2 address is from 192 168 1 3 to address End address port 2 168 1 8 192 168 1 8 and port as 4001 4001 Port index MCSC channel index destination address index 1 to 4 and destination addresses ee SUD1 0 3 System sets UDP destination Parameters are separated by a i 192 168 1 address 3 is from 192 168 1 3 to semicolon For an 3 192 168 192 168 1 8 and port as 4001 S MCSC disabled port the channel F SA 1 8 4001 for port 1 index is 0 The destination addresses is formatted as Begin address End address UDP port MiiNePort reports command N A ISUDO executed successfully Two numbers separated by a semicolon denote port index System requests UDP local listen and MCSC channel index For an GUP1 0 port for port 1 G R MCSC disabled port the channel index is O Reply paramete
158. ser name is wpa_user MiiNePort W1 Series Serial Command Mode OP Command Ace Name Parameter Example Description Code Code Dinfra 1 user name 2 anonymous f SQU1 2 w System sets the infrastructure username WPA username pa_anony_u mode s anonymous user name to string Parameters are 7 m S ser wpa_anony_user separated by a semicolon z G MiiNePort reports write command N A ISQUO executed successfully Only support 1 F System requests the infrastructure infrastructure GQW1 A mode s WPA password G R MiiNePort s network type GQWOwpa The infrastructure mode s WPA MiiNePort s WPA password password password is wpa_password WPA Password QW 1 infra WPA password System sets the infrastructure string Parameters are SQW1 wpa mode s WPA password to separated by a semicolon password S C E wpa_password MiiNePort reports write command N A ISQWO executed successfully Only support 1 System requests the infrastructure infrastructure GQV1 a gt mode s server certificate setting G R MiiNePort s network type 0 Disable 1 Enable 1GOQVOO The infrastructure mode s server the server certificate certificate is Disable Verify Server Sn QV 1 infra certificate Certificate System sets the infrastructure disable 0 enable 1 A SQV1 1 mode s server certificate to Parameters are separated S Enable by
159. ss before executing the ARP command When connected to a LAN the default IP is 192 168 126 254 When connected to a WLAN the default IP is 192 168 127 254 5 2 MiiNePort W1 Series Initial IP Address Configuration 6 Select a valid IP address for your MiiNePort W1 series module Consult with your network administrator if necessary Obtain the module s MAC address from the label on the module From the DOS prompt execute the arp s command with the desired IP address and the module s MAC address as in the following example arp s 192 168 200 100 00 90 E8 xx xx xx In this example 192 168 200 100 is the new IP address that you wish to assign to the module and 00 90 E8 xx xx xx is the module s MAC address From the DOS prompt execute a special Telnet command using port 6000 as in the following example telnet 192 168 200 100 6000 In this example 192 168 200 100 is the new IP address that is being assigned to the module You should see a message indicating that the connection failed Connect failed Could not open a connection to 192 168 200 100 The module will automatically reboot with the new IP address You can verify that the configuration was successful by connecting to the new IP address with Telnet ping or another method Assigning IP Address with Telnet Console Depending on how your computer and network are configured you may find it convenient to use network access to set up your MiiNePort W1 ser
160. sts the device time zone G R N A MiiNePort reports device time zone as IGBZ050 dae GMT 08 00 Taipel Time Zone BZ System sets the device time zone as SBZ49 i GMT 08 00 Singapore S 0 63 index MiiNePort reports command executed ISBZO successfully GBL System requests the device time G R N A GBLO2012 3 MiiNePort reports device time as 1 9 30 12 2012 3 1 9 30 12 Local Time BL SBL2012 03 System sets the device time as character string 03 12 34 56 2012 3 3 12 34 56 S year month day hour mi MiiNePort reports command executed nute second ISBLO successfully GBS System requests the time server G R N A IGBS064 147 MiiNePort reports the time server as 116 229 64 147 116 229 Time This parameter can be IP i s BS address or domain name SBSnistl ny System sets the time server as erver z address character string ustiming org nistl ny ustiming org max 40 bytes MiiNePort reports command executed N A ISBSO successfully System requests admin s console GBP ves ae password for this MiiNePort G R N A z MiiNePort reports admin s console IGBP0123456 password as 123456 Admin x BP System sets admin s console Password A SBP654321 password as 654321 for this character string max 16 4 S MiiNePort bytes ISBP MiiNePort reports command executed i successfully System requests user s console GBR eae password for this MiiNePort G R N A A MiiNePort reports admin s co
161. t reports alive check time O Disable i is 7 MiiNePort W1 Series Serial Command Mode OP Command PET Name Parameter Example Description Code Code Port index and MCSC channel index Every parameter is i System sets port 1 s TCP alive separated by semicolon For SFA1 0 5 check time as 5 for port 1 S MCSC disabled port channel index shall be 0 MiiNePort reports command N A ISFAO executed successfully Two numbers separated by a semicolon denotes port index System requests for RFC2217 and MCSC channel index For GFP1 0 4 local listen port for port 1 G R MCSC disabled port channel index shall be 0 Reply parameters local listen MiiNePort reports RFC2217 local IGFPO1234 i RFC2217 port listen port is 1234 Local FP Port index MCSC channel index Listen Port and TCP local port Every parameter is separated by SFP1 0 4 System sets TCP port as 4100 for 2 semicolon For 100 port 1 MCSC disabled port channel index shall be 0 MiiNePort reports command N A ISFPO executed successfully Two numbers separated by a semicolon denote port index System requests TCP alive check and MCSC channel index For an GTA1 0 time for port 1 G R MCSC disabled port the channel index is 0 TCP Server ii i lt Reply parameters TCP alive MiiNePort reports TCP alive check TCP Alive i IGTA05 TA check time time as
162. tallation of NPort Windows Driver Manager a Setup NPort Windows Driver Manager Completing the NPort Windows Driver Manager Setup Wizard Setup has finished installing NPort Windows Driver Manager on your computer The application may be launched by selecting the installed icons Click Finish to exit Setup 6 6 MiiNePort W1 Series Utility Console and Driver I nstallation Using NPort Windows Driver Manager After you install NPort Windows Driver Manager you can set up the MiiNePort s serial port which is connected to your device s main board as remote COM ports for your PC host Make sure that the serial port on your MiiNePort is already set to Real COM mode when mapping COM ports with the NPort Windows Driver Manager NOTE Refer to Chapter 7 Web Console Configuration to learn how to configure your MiiNePort to Real COM mode 1 Goto Start gt NPort Windows Driver Manager gt NPort Windows Driver Manager to start the COM mapping utility 2 Click the Add icon NPort Windows Driver Manager File COM Mapping Configuration View Help i Exit Add No COM Port Address 1 Address 2 Note Users running Windows Vista and Windows 7 will see a User Account Control popup and should allow the program 3 Click Search to search for the MiiNePort modules From the list that is generated select the server to which you will map COM ports and then click OK Add NPort Select From List C M
163. talling NPort Windows Driver Manager oococccccccccoconcononcnnoncnnonnnnnnnnnnnn tnnt rnnt EASE EEE SEEE REEE ESEE E EEEE E nna 6 5 Using NPort Windows Driver Manager occcccccococononononnnnnnnnnananana raro nn nr nr r EAr nn nn nr nn nana EE EE rara rara raranrnnnnnnos 6 7 The Linux Reali TEY Dre cari ad diia 6 9 Mapping TTY Ports int A at 6 9 Removing MA Pr aw AAA AE AE A AAA anal eau AEA AAN 6 10 Removing Linux Driver Fiesa AA a A E A A EAA 6 10 The UNIX Fixed TIY Driver a onko ad iba 6 10 installing the UNIX Dryer oiea araia enue cua dana RdA IRA ea ua AAAA NAAA AAA AR OARE EAEG AAG we ARAE EAA 6 10 Configuring the UNIX Drive iciioicoccicii iaa asias 6 11 Web Browser Settings arueraa nannan aannam de 6 12 Navigating the Web Console wacsachicckishsiioheeh aio hece hese hhh Gc ACh She ASG ARS RLS SAG LES AE AAAS ARSE ARS Salah ae 6 13 Web Console Configuration omomcocononcncanonencnnonencanonenranonenrnnnnrnrn ron rnrnnnnrnrnrnnrnrnrnnrnrnnnnrnrnrnnnnrnrnnnararnnnanns 7 1 A EN 7 2 Net Work S CEEINGS oc coroonccantacadas aloe dnde T ADA AS AAA AAA ARAS E 7 3 Serial Port SetingS ii oca 7 18 Operation Me ai 7 18 Serial Parametros 7 34 System Manag kit eee eee he kG alk ek il a eh eh a age il ee eg ae eh on ell beat 7 36 Misc Network Settings o ponia movidas cata eas coud ea ed EEUNA ud AI AAA AAA AA AR AAA AAA wee ed id 7 36 Auto Warning Settings tii oo 7 39 MaIntOnanGe sired O eats 7 42 System SCEINGS csi Masa A AAA Lae AA SRG LEGS ER A
164. te 0 for low and 1 for high S bent System sets dioO state as Note that this configuration is valid SPS0 1 A A i NS high for this MiiNePort S only if DIO initial mode is set to output MiiNePort reports command N A ISPSO executed successfully System requests http console N A GBH a A setting for this MiiNePort Reply parameters 1 and web a G R MiiNePort reports http console console TCP port separated by a IGBH01 80 as Enable and http port as semicolon if web console is Web felonies ad 80 BH enabled or a 0 if it is disabled Console System sets http console as 1 and web console TCP port to SBH1 80 Enable and http port as 80 S enable web console or 0 to disable for this MiiNePort it MiiNePort reports command ISBHO executed successfully System requests telnet N A GBT console setting for this MiiNePort G R Reply parameters 1 and telnet a MiiNePort reports telnet console TCP port separated by a J IGBT01 23 console as Enable and telnet Telnet semicolon if telnet console is BT DEN port as 23 Console enabled or a 0 if it is disabled 1 and telnet console TCP port to System sets telnet console as enable telnet console or 0 to SBT1 23 Enable and telnet port as 23 S disable it for this MiiNePort MiiNePort reports command ISBTO executed successfully Note that this command is not applied to the configuration until e System requests
165. ter 1 Setting Factory Default Necessity 00 to FF 00 for None Optional Delimiter 2 Setting Factory Default Necessity 00 to FF 00 for None Optional 7 32 MiiNePort W1 Series Web Console Configuration The Delimiter fields are used to specify a 1 character or 2 character sequence that acts as a marker to control packing of serial data By default delimiter characters are not defined so the module transmits data as soon as it is received When a delimiter character or characters are defined the module will hold data in its buffer until it receives the delimiter character or 2 character sequence When the delimiter is received the module will pack the data into its buffer and send it out through the Ethernet port Use Delimiter 1 to define the first delimiter character in hex If only one delimiter character is used Delimiter 2 should be set to 0 If the delimiter is a two character sequence use Delimiter 2 to define the second character To disable the use of delimiters set both Delimiter 1 and Delimiter 2 to 0 Note that data packing is controlled not only by the delimiter but is also influenced by the module s buffer size and the Force transmit field If the delimiter has not been received by the time the 1K buffer is full the module will pack the data for network transmission and clear the buffer In addition the module will also pack data for network transmission if the next byte
166. thDefaultGateway wlanl pConfiguration wlanl pAddress wlanNetworkType wlanNetMask wlanSecurityMode wlanDefaultGateway activeNetworkPort gratuitousArp upTime gratuitousArpSendPeriod serialCmdMode activel nterface serialPortl profileSetting adhocProfile infrastructureProfile networkType adhocProfileName profilel ndex adhocWlanSSID profileName adhocChannel profileWlanSSID adhocAuthentication authentication adhocEncryption encryption adhocWepKeyLength wepKeyLength adhocWepKeyl ndex wepKeylndex adhocWepKeyPassphrase wepKeyPassphrase adhocWepKeyFormat wepKeyFormat adhocWepKey1 wepKeyl adhocWepKey2 wepKey2 adhocWepKey3 wepKey3 adhocWepKey4 wepKey4 pskPassphrase eapMethod tunneledAuth wpaUsername wpaPassword wpaAnonymousUsername trustedServerCert userCert userPrivateKey fastRoamingSetting fastRoamingScanChannels1 fastRoamingScanChannels2 fastRoamingScanChannels3 MiiNePort W1 Series MiiNePort W1 MIB dataPacking sysStatus sysManagement portPacketLength remotel pl ndex enableAccessiblel pList portDelimiterl1Enable monitorRemotel p accessiblel pListl ndex portDelimiter1 portDelimiter2 Enable monitorTxCount monitorRxCount activeAccessiblel pList accessiblel pListAddress portDelimiter2 monitorTxTotalCount accessiblel
167. the same port Refer to RFC 1700 for Well Know Port Numbers or refer to the following introduction from IANA The port numbers are divided into three ranges the Well Known Ports the Registered Ports and the Dynamic and or Private Ports e The Well Known Ports are those from 0 through 1023 e The Registered Ports are those from 1024 through 49151 e The Dynamic and or Private Ports are those from 49152 through 65535 The Well Known Ports are assigned by IANA and on most systems can only be used by system processes or by programs executed by privileged users Some of the most widely used ports are shown below For more details please visit the ANA website at http www iana org assignments port numbers TCP Socket Application Service 0 reserved 1 TCP Port Service Multiplexor 2 Management Utility 7 Echo 9 Discard 11 Active Users systat 13 Daytime 15 Netstat 20 FTP data port 21 FTP CONTROL port 23 Telnet 25 SMTP Simple Mail Transfer Protocol 37 Time Time Server 42 Host name server names server 43 Whois nickname 49 Login Host Protocol Login 53 Domain Name Server domain 79 Finger protocol Finger 80 World Wibe Web HTTP 119 Netword news Transfer Protocol NNTP 123 Network Time Protocol 213 1PX 160 223 Reserved for future use MiiNePort W1 Series Well Known Port Numbers
168. there is no TCP activity for the given time After the connection is closed the MiiNePort starts listening for another host s TCP connection Local TCP port Setting Factory Default Necessity 1 to 65535 4001 Required The Local TCP port is the TCP port that the MiiNePort uses to listen to connections and that other devices must use to contact the MiiNePort To avoid conflicts with well known TCP ports the default is set to 4001 Packet length Setting Factory Default Necessity 0 to 1024 0 Optional The Packet length setting refers to the maximum amount of data that is allowed to accumulate in the serial port buffer before sending When packet length is set to 0 the default a maximum amount is not specified and data in the buffer will be sent as specified by the delimiter settings or when the buffer is full When a packet length between 1 and 1024 bytes is specified data in the buffer will be sent as soon as it reaches the specified length Delimiter 1 Setting Factory Default Necessity 00 to FF None Optional Delimiter 2 Setting Factory Default Necessity 00 to FF None Optional The Delimiter fields are used to specify a 1 character or 2 character sequence that acts as a marker to control packing of serial data By default delimiter characters are not defined so the module transmits data as soon as it is received When a delimiter character or c
169. to load Load you save restart the MiiNePort CLDO factory default Factory C LD Command parameters 1 for All Default setting 0 for Keep IP setting System loads factory default N A ICLDO successfully 1 for Do Active amp Restart 0 for 2CSR1 System requests to active E Do Active i configuration and restart o F C SR Your configuration is saved Active f N A ICSRO actived and restart MiiNePort server now CNPwww System requests to PING Target host name or IP address moxa com www moxa com Target host replies in 10 N A ICNPO10 hae milliseconds F A single minus symbol indicates the Ping C NP target host did not reply in 1000 milliseconds Otherwise one CNP192 1 System requests to PING decimal number indicating the 68 1 1 192 168 1 1 reply latency in milliseconds is returned C 32 MiiNePort W1 Series Serial Command Mode Name OP Code Command Code Parameter Example Description N A C 33 ICNPO Target host did not reply in 1000 milliseconds D MiiNePort W1 MIB overview basicSetting networkSetting modelName serverName dnsServer1I pAddr serialNumber serverLocation dnsServer2l pAddr firmwareVersion timeZone ethl pConfiguration ethl PAddress ethMacAddress wlan PAddress wlanMacAddress wlanSSID localTime timeServer ethlpAddress ethNetMask e
170. to take place Do Nothing Data in the buffer will be transmitted when the delimiter is received Delimiter 1 or Delimiter 2 The data will be transmitted when an additional byte for Delimiter 1 or an additional 2 bytes for Delimiter 2 of data is received after receiving the Delimiter Strip Delimiter When the Delimiter is received the Delimiter is deleted i e stripped and the remaining data is transmitted Force transmit Setting Factory Default Necessity 0 to 65535 ms 0 ms Optional O The force transmit timeout is disabled 1 to 65535 If the module does not receive the next byte of data within the time specified it will pack the data in its buffer into the same data frame for network transmission The Force transmit field is typically used in conjunction with the Delimiter fields to specify how data in the module s buffer is packed for network transmission When delimiters are used the module accumulates data in its buffer as it waits to receive a delimiter If there is a break in communication data will be held in the buffer as the module continues to wait for a delimiter The Force transmit field allows you to specify the maximum amount of time that the module will wait for data With Force transmit enabled the module will automatically pack the data in the buffer for network transmission if no data is received for the specified time When set to 0 Force transmit is disabled which m
171. to the system tty port Mapping TTY Ports Be sure to set the operation mode of the serial port of the MiiNePort to Real COM mode After logging in as a super user enter the directory usr lib npreal2 driver and then execute mxaddsvr to map the target MiiNePort serial port to the host tty ports The syntax of mxaddsvr is as follows mxaddsvr MiiNePort I P Address Total Ports Data port Cmd port The mxaddsvr command performs the following actions 1 Modifies npreal2d cf 2 Creates tty ports in directory dev with major and minor number configured in npreal2d cf 3 Restarts the driver Mapping tty ports automatically To map tty ports automatically execute mxaddsvr with just the IP address and number of ports as in the following example cd usr lib npreal2 driver mxaddsvr 192 168 3 4 16 In this example 16 tty ports will be added all with IP 192 168 3 4 with data ports from 950 to 965 and command ports from 966 to 981 Mapping tty ports manually To map tty ports manually execute mxaddsvr and manually specify the data and command ports as in the following example cd usr lib npreal2 driver mxaddsvr 192 168 3 4 16 4001 966 In this example 16 tty ports will be added all with IP 192 168 3 4 with data ports from 4001 to 4016 and command ports from 966 to 981 6 9 MiiNePort W1 Series Utility Console and Driver Installation Removing Mapped TTY Ports After logging in as root enter
172. ult Disabled Options Disabled Enabled default value 300 sec Description This field specifies how often the MiiNePort W1 MiiNePort W1 T sends broadcast packets to update the ARP table This may be required for certain applications Disabled The MiiNePort W1 MiiNePort W1 T will not send broadcast packets to update the ARP table Enabled The MiiNePort W1 MiiNePort W1 T will send periodically send broadcast packets at the time interval as specified in Send period Active Interface Overview WLAN Settings WLAN Profile Advanced Settings Serial Port Settings System Management System Monitoring Restart Default Options Description 192 168 34 100 MAC Address Advanced Settings 1 Gratuitous ARP Gratuitous ARP enable Enable Send period 10 1000 sec 30 Active Interface Active interface Auto Detect v Auto Detect E Select by DIS Active interface is only active when boot up DI6 Low Force Wired Ethemet Force Wireless LAN Submit WLAN Auto Detect Auto Detect Select by DI6 Force Wired Ethernet Force Wireless LAN This field specifies how the MiiNePort W1 MiiNePort W1 T will select whether to use the wired LAN connection or the wireless WLAN connection Auto Detect The LAN connection will be used if a valid connection is detected when the module is powered on Otherwise the module will use the WLAN connection Select by DI6 The network connection wil
173. umulates data in its buffer as it waits to receive a delimiter If there is a break in communication data will be held in the buffer as the module continues to wait for a delimiter The Force transmit field allows you to specify the maximum amount of time that the module will wait for data With Force transmit enabled the module will automatically pack the data in the buffer for network transmission if no data is received for the specified time When set to 0 Force transmit is disabled which means there is no time limit for how long the module will wait to receive data When set between 1 and 65535 the module will pack data if serial data is not received in the specified time The optimal force transmit time depends on your application but it should be larger than one character interval within the specified baudrate to have any effect For example assume that the serial port is set to 1200 bps 8 data bits 1 stop bit and no parity In this case the total number of bits needed to send one character is 10 bits and the time required to transfer one character is 10 bits 1200 bits s x 1000 ms s 8 3 ms Since it requires about 9 ms to send one character the Force transmit should be 10 ms or more to have any effect At 9 ms or less the module will simply pack every character as it is received which would be the same as if delimiter characters or a Force transmit time were not specified Destination I P address 1 2 3 4 Setting
174. up to four simultaneous connections so multiple hosts can collect data l from the attached device at the same time ee Request a Data transmission proceeds as follows connection y i P d with 1 A host requests a connection to the module s serial port eo uih 2 Once the connection is established data can be transmitted in both directions from the host to the device and from the device to the host Client Mode In TCP Client mode the module actively establishes a TCP TCP Client Mode connection to a specific network host when data is received from the attached serial device After the data has been m transferred the module can automatically disconnect from the Yo host computer through the Inactivity time settings Please refer to Chapter 8 for details on these parameters o putes C Request a Data transmission proceeds as follows connection f Proceed with 1 The module requests a connection from the host Ore transmission 2 The connection is established and data can be transmitted in both directions between the host and device Serial Device 4 2 MiiNePort W1 Series Selecting an Operation Mode UDP Mode UDP is similar to TCP but is faster and more efficient Data can UDP Mode be broadcast to or received from multiple network hosts However UDP does not support verification of data and would not be suitable for applications where data integrity is critical It is ideal for mess
175. way WLAN profile and all certificates by making sure Keep IP settings is checked before clicking Submit Change Password Model e IP Name Location Serial No Change Password Main Password Overview Account name admin 2 Wizard Old password Basic Settings New password Network Settings Confirm password Serial Port Settings System Management Misc Network Settings Auto Warning Settings Maintenance Console Settings Ping Firmware Upgrade Configuration Import Configuration Export Load Factory Default Change Password System Settings Certificate System Monitoring Restart goahead WEBSERVER Best viewed with IE 5 above at resolution 1024 x 768 The Change Password page is located under Maintenance in the System Management folder To change the password first enter the old password in the Old password field Leave this blank if the module is not currently password protected Enter the new password twice once in the New password field and once in the Confirm password field Leave these fields blank to remove password protection 7 45 MiiNePort W1 Series Web Console Configuration ATTENTION If you forget the password the ONLY way to configure the module is by loading the factory defaults with the reset button on the evaluation board All settings will be lost Before setting the password you may want to first export the configuration to a file Your configuration can th
176. y Time A TCP connection will be established when any character is received from the serial interface and will be disconnected when the Inactivity time out is reached DSR On DSR Off DSR On None A TCP connection will be established when a DSR On signal is received and will A TCP connection will be established when a DSR On signal is received and will be disconnected when a DSR Off signal is received remain active indefinitely DCD On DCD Off A TCP connection will be established when a DCD On signal is received and will be disconnected when a DCD Off signal is received DCD On None A TCP connection will be established when a DCD On signal is received and will remain active indefinitely 7 31 MiiNePort W1 Series Web Console Configuration UDP Mode Ip Serial No MAC Address Firmware Main Menu Overview Wizard Basic Settings Network Settings Serial Port Settings Operation Modes Communication Parameters System Management System Monitoring Restart goahead WEBSERVER Best viewed vith IE 5 above at resolution 1024 x 768 Operation Modes Port Settings Port Operation mode Destination address 1 Destination address 2 Destination address 3 Destination address 4 Local listen port Data Packing Packet length Delimiter 1 Delimiter 2 Delimiter process Force transmit Destination I P address 1
Download Pdf Manuals
Related Search
Related Contents
El Scan Center Fácil de Usar Les types de textes: Les types de textes renvoient à différents actes DRSA-1200 User Manual - Digi-Cool PONTO CADEIA / INTERLOCK manuale completo trx-90 s hrc pdf - fitness Copyright © All rights reserved.
Failed to retrieve file