The text of a manual · part 7 of 25
MHI-2000 Technical Reference Manual: CHAPTER 4 Startup & Operation
Pages 43 to 52 of 207, from MHI-2000 Technical Reference Manual
The original document is the PDF (2.6 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Sick MHI2000
Page 43
4 Startup & Operation
CHAPTER 4
This chapter describes how to power-up, how to use the Setup port and a terminal to monitor operation, how to enter the Setup and Diagnostic modes, and how to change parameters.
Serial Communications Ports The MHI-2000 has a separate, dedicated Setup Port. Figure 3–1, “I/O Panel” on page 3-1 shows the location of the Setup Port. Refer to “Setup Connector” on page 3-13 for connector and pin assignment information. The port designated for Setup can be used to monitor operation, to change parameters and to perform diagnostic tests. Any RS-232 ASCII terminal or PC running terminal software can be connected to the Setup port. When connected, the terminal becomes the display and keypad for the MHI-2000. The Starnode port supports a CiMAX 1400 Hand-Held Terminal. The Host and Terminal ports can also be used to send commands directly to the MHI-2000’s operating system. This direct transmission bypasses the menu-driven user interface associated with the Setup port. Direct transmission is useful for remote setup from a host computer. The commands are described in Chapter 6, “Diagnostics”. The Starnode port allows the MHI-2000 to be connected to an EIA-485 Starnode Local Area Network. Most functions that can be performed through the serial ports can also be performed through the Starnode port. The MHI-2000 has an Ethernet 10 base T port. Most functions that can be performed through the serial ports can also be performed through the Ethernet port.
Power Up When you power up or reset the MHI-2000, the SET-UP LED will flash for a short time. During this time, the MHI-2000 will send several status messages to the Setup port. CiMatrix Omni-2000 Bootrom Version x.x Creation Date: mm dd yyyy, hh:mm:ss The lines above display the product name, and the Command boot block version and date. Type '!' to stop auto-boot ... 0 Auto-Booting ...
Rev A, January 2002
MHI-2000 Technical Reference Manual
4-1
Startup & Operation
4
Page 44
Chapter
4
Startup & Operation
The section above provides a 5 second delay to allow you to change the basic boot parameters. This is further described after the standard status messages. -------------------------------------------------* Current Boot Parameters: * -------------------------------------------------Boot Device : xxxxx Network Device : xxxxx Network Device Unit Number :0 Network Name : xxxxx IP Address With Subnet Mask : x.x.x.x:ffffff00 Gateway IP Address : x.x.x.x Boot Option Flags (In Hex) : 0x0 FTP Server Name : xxxxxxx FTP Server IP Address : x.x.x.x FTP File Name : xxxxxx FTP Login Password : xxxxxx FTP Login User Name : xxxxxx The lines above display all of the current boot parameter of the MHI-2000. Loading OS from Flash ... sectors 7-13 Uncompressing xxxxxx bytes ... Checksum OK. Starting at address 0x8002000 ... The section above displays while the Command OS is being copied from flash and run. (C) 2001 Sick Auto Ident, Inc. ALL RIGHTS RESERVED MHI-2000 Ver. x.x Build Date: mmm dd yyy, hh:mm:ss User Program: None (Waiting For Download) Scanner Setup On-Board Ethernet: 10.6.1.210 Add-on Ethernet: Not Installed Operation Mode: Idle Tracking: Disabled Host Port: No Protocol Term Port: No Protocol Setup Port: No Protocol D Port: No Protocol Starnode Port: No Protocol Tcp Port 1: No Protocol Tcp Port 2: No Protocol Tcp Port 3: No Protocol Ethernet Link(s) Active If parameter 401 TERM. NUMBER and parameter 402 TERM. TYPE are not equal to 0, one of the following messages will be displayed, depending on Starnode status: No Starnode Starnode is Active, Terminal # xxxx
4-2
MHI-2000 Technical Reference Manual
Rev A, January 2002
Page 45
Serial Communications Ports
MHI-2000 Setup is also displayed. These refer to parameters 641, 651, 002, 700, 111, 131, 151, 171, 400, 673, 683, and 693 respectively. If while countdown is running for auto boot, a <!> is received the following message will be sent. [Omni2000 Boot]: If you enter a ?. the list of commands will be displayed. [Omni2000 Boot]: ? - help - start operating system - change boot parameters - display boot parameters - reboot system - toggle to debug boot mode - download and update OS image in Flash
4 Startup & Operation
Commands: ? or help @ or go change display reboot toggle updateos
Available Boot Devices (Names Are Case Sensitive): xxxxxx unit 0 slip flash
User Interface - Parameters & Diagnostics The MHI-2000 user interface is accessed using a terminal connected to the Setup Port. This allows you to change parameters and run diagnostics and calibration procedures. Refer to Chapter 6, “Diagnostics” for more information. You can also change parameters without going through the user interface by using Host Commands. These commands can be sent over any of the communication ports, Host, Terminal, or Starnode. Refer to Chapter 6, “Diagnostics” for more information.
Operating Modes The MHI-2000 operates in three modes: •
Normal, In this mode, you can monitor information about the MHI-2000’s operation, including the barcode read, input and output status, and barcode quality.
•
Setup, In this mode, you can set parameters to program the MHI-2000 for differing applications, including the type of terminal you are using, the barcode symbology on your labels, presence configuration, use of output relays, height of boxes, and serial communications.
•
Diagnostics, In this mode, you can test the hardware and software to check the MHI-2000 performance.
Rev A, January 2002
MHI-2000 Technical Reference Manual
4-3
Page 46
Chapter
4
Startup & Operation
Normal Mode In the Normal mode, you can program the MHI-2000 to send information such as label placement, box size, or bin information. Refer to parameter 006 DEBUG DATA for a description of the various debug reports available.
Setup & Diagnostic Modes Special Host commands, ?S and ?D, are used to place the MHI-2000 into the Setup or Diagnostic mode. These commands are only recognized when received at the Setup Port. Refer to Chapter 6, “Diagnostics” for more information. Parameter 007 DEBUG DATA PORT defines the ports that receive setup data (Terminal, Host, Ethernet, Setup). A beginning and ending message character must frame the command. If parameter 403 MSG CHAR PREFIX and 404 MSG CHAR SUFFIX have not been changed from their default value of ~ , type the commands: ~?S~ (tilde, question mark, S, tilde) to enter the Setup mode. ~?D~ (tilde, question mark, D, tilde) to enter the Diagnostic mode. You can also enter the Setup and Diagnostic modes over the Starnode network. The Starndem program can be used in a rudimentary fashion by manually sending the appropriate messages. To enter Setup or Diagnostics from Starndem, or any program controlling the Starnode network, send a ?S or a ?D message to the terminal. It will respond with the first line in the menu. Use a command of none and begin each message with /M. To exit the menu, send /ME, with the E indicating Exit. You have exited the Setup/Diagnostic mode on the Starnode network when the message EXIT SETUP or EXIT DIAGNOSTICS is sent from the Starnode port when E is received.
Resetting to Default Parameters You can return to SICK Auto Ident, Inc. default parameter values at any time by entering the ?R command through any communication port. If sent through a Host or Terminal port, send the command as ~?R~ (assuming MSGCHAR is a ~ ), or ?R over a Starnode network, to restore default parameters. WARNING! YOUR MHI-2000 MAY USE NON-DEFAULT PARAMETERS CUSTOMIZED FOR YOUR APPLICATION. THESE PARAMETERS ARE DETAILED IN YOUR KEYSHEET. RESETTING THE MHI-2000 TO USE DEFAULT PARAMETERS WILL CAUSE YOUR CUSTOMIZED PARAMETERS TO BE LOST. THEY WILL NEED TO BE RESTORED.
Non-Intelligent ASCII Terminal Upon receiving a ~?S~ or ~?D~ command, the MHI-2000 will enter the Setup or Diagnostic mode and display a corresponding menu on the ASCII terminal. The Setup menu offers a quick, easy way of viewing and, if necessary, changing parameter values. The Diagnostic menu offers a simple way to run diagnostic tests.
4-4
MHI-2000 Technical Reference Manual
Rev A, January 2002
Page 47
Serial Communications Ports
Setup Menu on the ASCII Terminal The Setup menu displays parameter number, parameter name (in abbreviated form), and current value. All parameter abbreviations are listed in Appendix E, “Parameters”. The parameter display format is: III NNNNNN VVVVVV Where: III, The three-digit parameter number NNNNNN, The abbreviated parameter name VVVVVV, The value currently stored in memory
SETUP - (P)REVIOUS, (G)OTO, (T)OGGLE, (E)XIT This line lists all but one of the scrolling options that allow you to view parameters or leave the Setup menu. The scrolling options function as follows: •
Enter - Display the NEXT parameter. To view the parameter after the parameter displayed on the last line of the screen, if one is currently shown (or parameter 002 OPERATION MODE if none are shown), press Enter. The next parameter will appear on the next line. If the screen is full, it will scroll up and delete the top line to make room for the new line. For example, when Enter is pressed four times after the Setup mode is entered, the display will appear as: SETUP - (P)REVIOUS, (G)OTO, (T)OGGLE, (E)XIT 002 OPERATION MODE 0 003 IO MODE 0000 006 DEBUG DATA 00000 007 DEBUG DATA PORT 0000 Continuing to press Enter after the screen is filled will cause succeeding parameters to be displayed at the bottom of the list, with preceding parameters deleted from the top.
•
P - Display the PREVIOUS parameter. To view the parameter previous to the parameter displayed on the last line of the screen, if one is currently shown, press P followed by Enter. The previous parameter will appear on the next line. If the screen is full, it will scroll up and delete the top line to make room for the new line.
•
G - GOTO a specific parameter. To GOTO a specific parameter, press G followed by the three-digit parameter number followed by Enter. The parameter and its current value will be displayed on the next line of the display. If the display is full, it will scroll up to make room for the new line. When both a parameter number and a valid value are entered, that parameter’s old value will be replaced by the newly entered value. For example, entering G00608 will display parameter 006 DEBUG DATA and enter a value of 08. The change will only become effective when you EXIT the menu.
Rev A, January 2002
MHI-2000 Technical Reference Manual
4-5
Startup & Operation
4
When you first enter the Setup menu, the following line will be displayed:
Page 48
Chapter
4
Startup & Operation
•
T - TOGGLE between Diagnostic and Setup menus, without changing parameter position. That is, if you TOGGLE to the Diagnostic menu and then TOGGLE back to the Setup menu, you will return to the same parameter that you were viewing before you toggled. To toggle, press T followed by Enter.
•
E - EXIT the Setup/Diagnostic menu and resume operation. All changes made to parameter values prior to the EXIT command will become effective upon exiting. To EXIT, press E followed by Enter. Note: When exiting the setup/diagnostic menu, if parameter values have been changed, then the MHI-2000 prompts whether these changes should be saved. Responding yes (Y) will save the changes.
Data Entry Through Setup Menu on the ASCII Terminal Enter new values as follows. 1.
Move through the Setup menu to display the desired parameter on the last line of the list.
2.
Type in a new value. Press Enter to enter the value.
3.
–
If you entered a valid value, the beeper will sound once and the terminal will show the parameter again, with the new value replacing the old one.
–
If you entered an invalid value, three short beeps will be sounded. The previous value for the parameter will remain displayed and unchanged.
Exit the Setup menu to accept the changed value, or move to the next parameter to be changed.
Diagnostics Menu Display on the ASCII Terminal The Diagnostics menu lists all of the diagnostic tests that are available. Operation is similar to Setup menu operation. When you enter the menu from the Normal mode, the following will be displayed: DIAGNOSTICS - (P)REVIOUS, (R)UN, (T)OGGLE, (E)XIT If you toggle from the Setup menu to the Diagnostic menu, you will see the above line plus all of the Diagnostic menu lines you have previously displayed. While in the Diagnostics menu, your choices are:
4-6
•
Enter - Display NEXT test on the last line.
•
P - Display the PREVIOUS test on the last line.
•
R - RUN the diagnostic test currently displayed on the last line. Refer to the individual test descriptions described in Chapter 6, “Diagnostics”.
•
T - TOGGLE between the Diagnostics and Setup menus.
•
E - EXIT the Diagnostics menu and return to Normal mode.
MHI-2000 Technical Reference Manual
Rev A, January 2002
Page 49
Serial Communications Ports
Since parameter changes do not take effect until you EXIT the Setup menu, you cannot change a parameter in the Setup menu and then toggle to the Diagnostic menu to observe the effect. Instead, you must exit the Setup menu and then reenter the Diagnostic menu. The Diagnostic menu wraps around. If you back up through the menu from the first test, IO PORTS, you will display the last test SYSTEM STATS on the last line. If SYSTEM STATS is already displayed when you advance forward, you will see IO PORTS again on the last line. If you have been working with both the Setup menu and the Diagnostic menu, and have changed parameter values, these changes will become effective upon exiting either the Diagnostic or the Setup menu. The following shows how the Diagnostic menu will look after entering the Diagnostic mode from the Normal mode and pressing Enter repeatedly.
4 Startup & Operation
DIAGNOSTICS - (P)REVIOUS, (R)UN, (T)OGGLE, (E)XIT IO PORTS TACHOMETER TEST TACHOMETER CAL. KEYSHEETS OS UPDATE NETWORK PING NETWORK STATS PORT TEST REAL TIME CLOCK STARNODE MONITOR SYSTEM STATS Refer to Chapter 6, “Diagnostics” for complete information about the diagnostic tests and how to run them.
CiMAX 1400 Hand-Held Terminal The CiMAX 1400 Hand-Held Terminal is a full ASCII terminal with a 4 line by 20-character liquid crystal display. It has a non-volatile memory for custom function key assignments. It accepts control characters and some (non-ANSI) escape sequences for cursor positioning and other hostcontrolled functions. The same menu that is used for the ASCII terminal is used for the hand-held terminal (HHT). Because the CiMAX 1400 has a 4 by 20 display, some of the parameters are displayed on two lines. Function keys are programmed to provide entry to the Setup mode (~?S~) and the Diagnostic mode (~?D~). The CiMAX 1400 requires +5 VDC and Ground. This is supplied by the MHI-2000 when the CiMAX 1400 is connected to the Starnode port at the MHI-2000. When the CiMAX 1400 is connected to the Starnode port, it pulls the TERMinal DETect pin on the port low, to indicate to the MHI-2000 that the CiMAX 1400 is connected. Disconnecting the CiMAX 1400 reboots the MHI-2000 and restores the system to the master-slave configuration. The keyboard of the CiMAX 1400 is shown in Figure 4–1.
Rev A, January 2002
MHI-2000 Technical Reference Manual
4-7
Page 50
Chapter
4
Startup & Operation
FIGURE 4–1. CiMax 1400 Keyboard
CiMAX 1400 Hand-Held Terminal Function Keys Two function keys, F1 and F2, on your keyboard are programmed to provide entry to Setup mode or Diagnostic mode. You must press SHIFT and release it, and then press the Function Key to enter Setup or Diagnostic mode. Setup Mode - Press SHIFT - F1. Sends ~?S~ (tilde, question mark, capital S, tilde). Diagnostic Mode - Press SHIFT - F2. Sends ~?D~ (tilde, question mark, capital D, tilde). User Programmable - Press SHIFT- F3. Refer to the CiMAX 1400 User Guide for more information. User Programmable - Press SHIFT- F4. Refer to the CiMAX 1400 User Guide for more information.
Special-Use Alpha Keys on the CiMAX 1400 Hand-Held Terminal Exits Setup or Diagnostic Mode - Press E . This returns the MHI-2000 to normal operation. Displays the Previous Menu - Press P . This returns you to the previous menu, or leaves the Setup/Diagnostic Mode if you are in the topmost menu.
4-8
MHI-2000 Technical Reference Manual
Rev A, January 2002
Page 51
Serial Communications Ports
Toggles Between Diagnostic Mode and Setup Mode - Pointers are kept to remember the current position in each menu. The toggle function is available at any point in the menu, except during actual parameter entry. Runs a Diagnostic Test - Press R. Pressing Enter will stop the diagnostic test.
Using the Hand-Held Terminal as a Real Time Display Because the CiMAX 1400 terminal supports cursor positioning, it can be used with MHI-2000s to display information about barcodes read, I/O status, and other data, all in real time.
Startup & Operation
4
Rev A, January 2002
MHI-2000 Technical Reference Manual
4-9
Page 52
Chapter
4-10
4
Startup & Operation
MHI-2000 Technical Reference Manual
Rev A, January 2002