background image

20

Table 2-4 NEMO10 command set summary

Command

Description

Result

set group par1 [par2 ...] + <CR>

Set configuration parameters
- group = 'ip', 'host', 'serial' or 'admin'
- par1 ... = configuration parameters. Use * to
keep a parameter's value

If success,
“OK”+ <CR> + <LF>
If error
“ERROR” + <CR> + <LF>

get [group] + <CR>

Get configuration parameter values
- group = 'ip', 'host', 'serial', 'admin' or 'status'
- If group is specified, shows settings of the
group.
- If group is omitted, shows settings of all groups.

Parameter value display

help [group] + <CR>

Shows command usage screen.
- If group is omitted, shows help screen.
- If group is specified, shows 'set' command
usage of the group.

Help message display

factorydefault [option] + <CR>

Restore factory default values
- if option is omitted, all parameters are set with
factory default values.
- if option='-ip', all parameters except IP settings
are set with factory default values.

If success,
“OK”+ <CR> + <LF>
If error
“ERROR” + <CR> + <LF>

save + <CR>

Save changes

If success,
“OK”+ <CR> + <LF>
If error
“ERROR” + <CR> + <LF>

exit + <CR>

Exit without rebooting the device (changes are
not applied)

If success,
“OK”+ <CR> + <LF>
If error
“ERROR” + <CR> + <LF>

 <CR>

Exit and reboot the device

None

2.4.1 ‘set’Command

With ‘set’ command, users can configure parameter values of the NEMO10 for each environment.

Basic ‘set’command usage is as follows:

set group par1 [par2 ...] + <CR>

where,

group = 'ip','host','serial' or 'admin'

par1 par2 ... = configuration parameters. Use * to keep a parameter's value

The ‘group’is the category where the parameters should be entered. For example, if users want to set

parameters related to the

IP configuration

, use set command as shown in the Figure 2-12.

Summary of Contents for NEMO10

Page 1: ...1 NEMO10 NEMO10 SK User Guide Version 1 4 1 2006 11 15...

Page 2: ...to Users When a system failure may cause serious consequences protecting life and property against such consequences with a backup system or safety device is essential The user agrees that protection...

Page 3: ...Power 15 2 2 3 Connecting to the Network 15 2 2 4 Connecting to the Device 16 2 3 Accessing Console Port 17 2 3 1 Using Serial Console 17 2 3 2 Using Remote Console 18 2 4 Command Usage 19 2 4 1 set...

Page 4: ...Serial Port Configuration 41 6 System Administration 44 Appendix A Connections 45 A 1 Ethernet Pin outs 45 A 2 Serial Port Pin Outs 45 A 3 Ethernet Wiring Diagram 46 A 4 Serial Wiring Diagram 46 A 5 N...

Page 5: ...re are several additional items for evaluation such as carrier board for testing the NEMO10 module CD ROM for the software and the power supply As for the Internet connectivity the NEMO10 supports ope...

Page 6: ...face Signals Rx Tx RTS CTS DTR DSR GND 10 Base T Ethernet interface Network Interfaces Supports static and dynamic IP address Protocols ARP IP ICMP TCP Telnet DHCP client PPPoE Security User ID Passwo...

Page 7: ...on A series of interactions between two communication end points that occur during the span of a single connection Typically one end point requests a connection with another specified end point and if...

Page 8: ...tocol TCP Transmission Control Protocol DHCP Dynamic Host Configuration Protocol SMTP Simple Mail Transfer Protocol FTP File Transfer Protocol PPP Point To Point Protocol PPPoE Point To Point Protocol...

Page 9: ...d how to use command set of the NEMO10 to configure and view parameter values and status Following items are pre required to get started One DC power adapter included in the NEMO10 SK package One seri...

Page 10: ...Tx 7 Ethernet Tx 8 Ethernet Rx 9 Ethernet Rx 10 Vcc 11 LED Ready 12 LED Ethernet Act 13 Vcc 14 Console Data switch High Data Low Console 15 Serial DSR 16 Serial CTS 17 Serial DTR 18 Serial RTS 19 Ser...

Page 11: ...regulator a power supply circuit TTL to RS 232 RS232 to TTL conversion hardware RS232 DB9 connector a factory reset switch console data switch The test bed allows the engineers to immediately begin d...

Page 12: ...the layout of the test bed whereas the Figure 2 3 is the one that shows the picture of the NEMO10 SK after the installation of the NEMO10 and the test bed Table 2 2 Pin out for the NEMO10 test bed int...

Page 13: ...13 Figure 2 2 Board layout and dimension of the test bed...

Page 14: ...ow to install the NEMO10 onto the test bed and how to connect the test bed to the serial device for the first time test Plug the NEMO10 module to the test bed Connect the power to the test bed Connect...

Page 15: ...st bed will maintain solid red Figure 2 5 Connecting the power to the test bed 2 2 3 Connecting to the Network Connect the one end of the Ethernet cable to the 10Base T port o the test bed and the oth...

Page 16: ...test bed 2 2 4 Connecting to the Device Connect the serial data cable between the test bed and the serial device If necessary supply the power to the serial device attached to the NEMO10 test bed Figu...

Page 17: ...Console switch on the test bed to the Console side Remote console Remote users can make a telnet connection to the remote console port port 23 of the NEMO10 via TCP IP network Both methods require the...

Page 18: ...et with factory default values if option ip all parameters except IP settings are set with factory default values help group CR If group is omitted shows this screen If group is specified shows set co...

Page 19: ...ine interface of your computer telnet 192 168 1 254 Or run a telnet program with parameters as follows Figure 2 11 Telnet program set up example 2 The user has to log into the NEMO10 Type the user nam...

Page 20: ...alues if option is omitted all parameters are set with factory default values if option ip all parameters except IP settings are set with factory default values If success OK CR LF If error ERROR CR L...

Page 21: ...g IP address and gateway IP address set ip static 255 255 0 0 OK Figure 2 13 Changing only one parameter value example Command usage of set will differ depending on the groups Each set command usage o...

Page 22: ...e 2 15 can be used get ip IP_mode static IP_address 192 168 1 100 Subnet_mask 255 255 255 0 Gateway 192 168 1 1 Figure 2 15 Getting ip configuration screen status group is a special group where set co...

Page 23: ...d Figure 2 18 shows help screen when no group is specified while Figure 2 19 shows help screen with ip group specified help set group par1 par2 CR group ip host serial or admin par1 configuration para...

Page 24: ...meter values in console Command usage of factorydefault is as follows factorydefault option CR where if option is omitted all parameters are set with factory default values if option ip all parameters...

Page 25: ...te console session will be closed However changed parameters are not applied until the NEMO10 is manually rebooted Command usage of exit command is as follows exit CR 2 4 7 reboot Command With reboot...

Page 26: ...three IP operating modes i e Static IP DHCP and PPPoE The factory default IP mode is DHCP mode Table 3 1 shows the parameter items for IP configuration Table 3 1 IP configuration parameters IP address...

Page 27: ...k segment as the NEMO10 the connection is established directly from the NEMO10 Otherwise the connection is established through the given default gateway A gateway is a network point that acts as an en...

Page 28: ...rver side and each DHCP client computer receives this information when the IP address is provided at its boot up To obtain an IP address theNEMO10 sends a corresponding DHCP request as a broadcast ove...

Page 29: ...ess such as an ADSL modem Since the NEMO10 provides the PPPoE protocol it can access the remote host on the Internet over ADSL connection It is required to set up the user name and password of the PPP...

Page 30: ...any hosts to the NEMO10 give 0 0 0 0 for both of the IP address and subnet Please refer to Table 3 2 for more details Table 3 2 Input examples of allowed remote hosts Input format Allowable Hosts Base...

Page 31: ...NEMO10 tries to establish a TCP connection to a remote server through its TCP port If a TCP session is established between them the NEMO10 will send data to the server If there s any data from the se...

Page 32: ...implified State Transition Diagram is often used And too help users understand the diagram the TCP state of the NEMO10 is briefly described as follows Listen It represents a waiting for a connection r...

Page 33: ...a normal state for the data transfer phase of the connection 4 1 TCP Server Mode Operations 4 1 1 Overview The NEMO10 works as a TCP server and the default TCP state is Listen in this mode The NEMO10...

Page 34: ...port are discarded Session disconnection The connected session will be disconnected when the remote host sends disconnection request or when no data transfer activity is found through the serial port...

Page 35: ...a transfer between the serial device and the NEMO10 If there is no incoming or outgoing data through the serial port during the specified inactivity timeout interval the existing TCP connection will b...

Page 36: ...transfer Whenever the serial device sends data through the serial port of the NEMO10 data will be accumulated to the serial port buffer of the NEMO10 If the internal serial port buffer is full or inte...

Page 37: ...ost This option is useful when users need to gather the device information periodically even if the serial device does not send its data periodically Figure 4 3 shows the State Transition Diagram of t...

Page 38: ...tence of incoming data from the serial port If the interval is specified with a valid value other than 0 the function is enabled The time interval will be the specified value by the unit of minute If...

Page 39: ...ta to the remote host even if the TCP session is not established The difference from TCP client mode is that it will accept incoming connection request from remote host if the session is not establish...

Page 40: ...port dest_ip destination IP address dest_port destination TCP port cyclic_connection_interval cyclic connection interval in minutes inactivity_timeout inactivity timeout in seconds Parameter definiti...

Page 41: ...top_bits flow_control dtr_option dsr_option interchar_timeout ms where baudrate 1200 2400 4800 9600 19200 38400 57600 or 115200 data_bits 7 7 bits 8 8 bits parity n none e even o odd stop_bits 1 1 bit...

Page 42: ...character timeout defines the interval that the NEMO10 fetches the overall serial data from its internal buffer If there is incoming data through the serial port the NEMO10 stores data into the intern...

Page 43: ...43 set serial 9600 7 e 2 h s n 10 OK Figure 5 1 Serial port configuration...

Page 44: ...set command as follows set admin username password devicename username login username password login password devicename device name Figure 7 1 shows administrative parameters configuration example s...

Page 45: ...tor Pin Description Color 1 Tx White with orange 2 Tx Orange 3 Rx White with green 4 NC Blue 5 NC White with blue 6 Rx Green 7 NC White with brown 8 NC Brown A 2 Serial Port Pin Outs The pin assignmen...

Page 46: ...ethernet cable Rx 1 Rx 2 Tx 3 Tx 6 HelloDevice Hub Rx 1 Rx 2 Tx 3 Tx 6 Remote Host Rx 1 Rx 2 Tx 3 Tx 6 Rx 1 Rx 2 Tx 3 Tx 6 Figure A 4 Ethernet connection using straight through ethernet cable A 4 Ser...

Page 47: ...47 A 5 NEMO10 SK Schematic Diagram...

Page 48: ...FGND2 3 GND1 GND2 8 1 GND3 GND4 2 RD 6 7 RD 4 TD TD 5 SW3 1 2 VIN2 15 BEAD 300 L9 1 2 L3 BEAD 300 1 2 VCC VCC LM2575 U2 FB 7 10 ON_OFF 17 OUTPUT1 OUTPUT2 18 PWR_GND1 1 12 PWR_GND2 8 SIG_GND 14 VIN1 C...

Page 49: ...esses or by programs executed by privileged users Table B 1 shows famous port numbers among the well known port numbers For more details please visit IANA website http www iana org assignments port nu...

Page 50: ...al emulation program Check serial port configuration of terminal emulation program 9600 bps 8 Data bits No parity 1 stop bit Hardware flow control Serial console is not connected Invalid Console Data...

Page 51: ...the PC that is on the same subnet with the NEMO10 C 5 DHCP Troubleshooting Problem Cause Action Cannot lease IP address DHCP server is not working Check if DHCP server is working correctly IP address...

Page 52: ...r character timeout Set inter character timeout with smaller value Cannot communicate with the NEMO10 Invalid serial port configuration Check if serial port configuration of the NEMO10 are the same wi...

Reviews: