The text of a manual · part 6 of 19
Series 4000 Raster Scanner User's Manual: Chapter 3, pages 44 to 53
Pages 44 to 53 of 137, from Series 4000 Raster Scanner User's Manual
The original document is the PDF (5.4 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 Microscan MS-4280
Page 44
Menu Configuration
NOTE: Definitions of commands in User Defined and User Defined Multidrop must be duplicated in host applications to enable poll and select sequences to execute correctly during transmission.
Unlike standard Multidrop, User Defined Multidrop can define an address as any one character (01 hex to 7E hex) in the ASCII table. The address character chosen is used as the poll character and the subsequent ASCII character becomes the select character. For example, if a “A (01 hex) is selected as the address, the “B (02 hex) becomes the select address that the host will use in sending host select commands.
Thus, remember that in User Defined Multidrop:
1. Never assign two consecutive ASCII characters as multidrop addresses, and
2. Never assign the same ASCII character more than once in the protocol.
Typically, parameters in User Defined Multidrop are defined by first enabling Multidrop, then enabling User Defined Multidrop. This pre-loads Multidrop characters into the parameters. The user then changes individual characters to match the host or other requirements.
For example, to modify Multidrop, from the prompt, COMMUNICATIONS ->HOST PROTOCOL
Press CR twice and press B three times to scroll back to Multidrop. Press CR twice to see the following:
HOST PROTOCOL ~> PROTOCOL -> MULTIDROP -> ADDRESS = 1 -> Enter an address from 1 to 50 and press CR and M.
Press SP twice to scroll to User Defined Multidrop. Press CR twice to see,
HOST PROTOCOL -> PROTOCOL -> USER DEFINED MULTI-> RES = 4D ->
Enter an ASCII character, then press CR.
Press SP to scroll through the protocol commands (RES to NAK) and modify as desired, following the same procedure used for User Defined.
To return to the Protocol prompt, press M two times. Press SP to advance to Preamble.
Series 4000 Raster Scanner User’s Manual 3-11
Page 45
Chapter 3 Configuration
Preamble
Allows the user to define a one or two character data string that can be added to the front of the decoded data, for example a carriage return and line feed, to display each decoded message on its own line.
The default characters are CR (4M) and NUL (spacebar + 0).
lf User Defined, Polling Mode D, or Multidrop protocol is enabled, the Preamble and Postamble (see Postamble later in this section) characters are transmitted within the STX and ETX data block.
At the following prompt, COMMUNICATIONS -> HOST PROTOCOL Press CR, SP to see, HOST PROTOCOL - > PREAMBLE = 4M
Preamble (and Postamble) characters can be defined by first displaying the current ASCII characters and then substituting other characters.
AM is the default ASCII control character that corresponds to the CR displayed to the right of Preamble (see table A-1 in appendix B for a complete list). They can be ordinary alphanumeric characters such as a C or an 8, or they can be control characters such as “J or 4]. Control characters entered in the command line are displayed in the menu as mnemonic characters.
To change the Preamble characters, press CR, enter the new character(s). For example, to enter a “J as the character, hold down the Control key while pressing J. The following is displayed in the command line:
HOST PROTOCOL -> PREAMBLE = 4M, > 4J
Press CR and M. The screen is refreshed, “J replaces “M on the command line, and the control character mnemonic LF (line feed) is displayed in the menu next to Preamble.
Postamble characters can be changed tn the same way. Press CR once and SP twice to advance to Preamble (enable/disable).
3-12 Series 4000 Raster Scanner User’s Manual
Page 46
Menu Configuration
Preamble (enable/disable)
Allows the user to enable or disable the preamble character(s). Preamble can be enabled or disabled within any protocol.
Preamble is disabled by default.
To enable, press CR, SP, and CR. The command line should appear as follows:
HOST PROTOCOL -> PREAMBLE = ENABLED
Press SP to advance to Postamble.
Postamble
Functions on the same principle as Preamble, except that the character(s) will appear after the decoded message.
The default characters are CR (AM) and LF (AJ).
To change the default Postamble setting, use the same procedure described earlier in Preamble.
Press CR once and SP four times to advance to Postamble (enable/disable).
Postamble (enable/disable)
Allows the user to enable or disable the Postamble data string. Postamble can be enabled or disabled within any protocol.
Postamble is disabled by default. To enable, press CR, SP, and CR. Press SP to advance to LRC.
Longitudinal Redundancy Check An error-checking routine which verifies the accuracy of transmissions.
in unpolled mode, LRC is disabled by default. In polled mode it is enabled by default.
To enable LRC, at the prompt,
HOST PROTOCOL-> LRC = DISABLED
Press CR, SP and CR. Press SP to advance to Response Timeout.
Series 4000 Raster Scanner User's Manual 3-13
Page 47
Chapter 3 Configuration
Response Timeout
Allows the user to set the time the scanner will wait before timing out if ACK, NAK, and ETX are enabled, and a host response is expected.
Default setting is 12 ms.
The range is from 0 to 65,000 ms. A zero (0) setting will cause an indefinite wait.
To change Response Timeout, press CR, enter any number from 0 to 65,000, and press CR to display it on the command line.
Press SP to advance to “Interchar Delay.”
Intercharacter Delay
Allows the user to set the time interval between individual characters transmitted from the scanner to the host.
Default setting is O ms.
The range is from 0 to 255 ms. A zero (0) causes no delay between characters. A high setting will significantly slow down communications. For example, a 200 setting will result in a 1/5 second delay between each character that is transmitted.
To change Intercharacter Delay, press CR, enter a number from 0 to 255, and press CR to display it on the command line.
This concludes the Host Protocol options. Press M to return to the Host Protocol prompt.
Host Port Parameters
At the following command line,
COMMUNICATIONS -> HOST PROTOCOL
Press SP to see the Host Port prompt, then CR to advance to the first Host Port parameter, Baud Rate.
Baud Rate
Allows the user to set the number of bits transmitted per second. Rates range from 600 to 38.4 K.
NOTE: Due to timing considerations, polled modes require 2400 baud or faster.
3-14 Series 4000 Raster Scanner User's Manual
Page 48
t
Menu Configuration
9600 is enabled by default.
Options for this parameter are 600, 1200, 2400, 4800, 9600, 19.2 K, and 38.4 K.
To change Baud Rate, at the prompt,
HOST PORT -> BAUD RATE = 9600 press CR. The following will be displayed:
HOST PORT -> BAUD RATE = S600 -> 9600
Press SP to scroll through the options. At the desired option, press CR. The new option will be displayed in place of 9600.
Press SP to advance to Parity.
Parity
Allows the user to select an error detection routine in which one data bit in each character is set to 1 or 0 so that the total number of 1 bits in the data field is even or odd.
Even is enabled by default. The options are Even, Odd, and None. To change Parity, press CR to display the following:
HOST PORT -> PARITY = EVEN -> EVEN
Press SP to scroll through the options. At the desired option, press CR. The new option will be displayed in place of Even.
Press SP to advance to Stop Bits.
Stop Bits
Allows the user to select the last one or two bits in each character to indicate the end of the character.
One is enabled by default. Options are One and Two.
To change the setting for Stop Bits to two, press CR to display the following on the command line:
HOST PORT -> STOP BITS= ONE -> ONE
Press SP and CR. Two will be displayed in place of one.
Series 4000 Raster Scanner User's Manual 3-15
Page 49
Chapter 3 Configuration
Press SP to advance to Data Bits.
Data Bits
Allows the user to establish the total number of bits in each character. Seven is enabled by default. Options are Seven and Eight. To change Data Bits to Eight, press CR. The following will be displayed on the command line:
HOST PORT -> DATA BITS = SEVEN -> SEVEN
- Press SP and CR. Eight will be displayed in place of Seven. Press SP to advance to RS-422.
RS-422
Used only in Point-to-Point protocol, and not with RTS or CTS. (See appendix E, “Interface Standards,” for an explanation of RS-422.)
Whenever RS-422 is disabled, RS-232 is enabled in the background. However, an exception occurs whenever Multidrop has been selected. In this case the functioning protocol will be RS-485 regardless of the displayed status of RS-422 in the menus.
RS-422 is disabled by default. To enable RS-422, press CR. This command line will be displayed:
HOST PORT -> RS-42e2 = DISABLED, > DISABLED
Press SP and CR. RS-422 will now be enabled. This concludes the Host Port options. Press M twice to return to the Main menu.
3-16 Series 4000 Raster Scanner User’s Manual
Page 50
Menu Configuration
Operations Menu
From the Main menu, press SP to advance to the Operations prompt and press CR to see the Operations menu (figure 3-5):
a CURRENT SETTINGS FOR OPERATIONS >»
CONTINUOUS READ
TRIGGERING MODE
END OF READ CYCLE TIMEOUT TIMEOUT in 10ms incs 1000 ms TRIGGER CHARACTER N/A EXTERNAL TRIGGER N/A NOREAD MESSAGE NOREAD NGREAD MESSAGE ENABLED BARCODE OUTPUT ENABLED
WHEN TO OUTPUT GOOD DECODE READS
AS SOON AS POSSIBLE 1
MATCH CODE DISABLED NUMBER OF LABELS ONE FIELD SEPARATOR , ESC = MAIN MENU OR EXIT N = NEXT ITEM M = PREVIOUS MENU SP = NEXT ITEM B = PREVIOUS ITEM CR = THIS ITEM \ OPERATIONS» TRIGGERING MODE = CONTINUOUS READ§f /
Figure 3-5 Operations Menu
NOTE: “Operations,” as used in this chapter, applies to configuration parameters and not to the serial operational commands described in the chapter 4, “Operational Commands.”
See figure 3-6 for menu structure. The following command line should appear at the bottom of the screen:
OPERATIONS - > TRIGGERING MODE = CONTINUOUS READ Triggering Mode is the first parameter in the Operations menu.
Series 4000 Raster Scanner User’s Manual 3-17
Page 51
Chapter 3. Configuration
Operations I 1 Triggering End of Timeoutin Serial External Noread Mode Read Cycle 10msincs Trigger Trigger Message Character Polarity 7 digits [- Continuous Timeout 100 | L Positive : Noread Read New Tri User User Negative User Continuous ow inigger, -Definable, - Definable Definable 1 Output Timeout & New Trigger ~ External Level | External NOTE Bold text represents Edge default settings. r- Serial Data ~ Serial Data & Edge
| |
Noread Bar Code When to Number of Match Code Numberof_ Field Message Output Output Reads _ Labels Separator | Enabled Enabled As Soon As 1 Disabled 1 ’ Disabled Disabled Possible User Enabled User User Definable Definable Definable End Of Read Cycle (1 to 6)
Figure 3-6 Operations Menu Structure
Triggering Mode
Establishes the type of trigger event which initiates or ends the read cycle. (See “End of Read Cycle” later in this section.)
Continuous Read is enabled by default.
Options are Continuous Read, Continuous Read 1 Output, External Level, External Edge, Serial Data Trigger, and Serial Data & Edge Trigger.
Press CR to access the options. The command line should read:
OPERATIONS -> TRIGGERING MODE = CONTINUOUS READ, > CONTINUOUS READ
3-18 Series 4000 Raster Scanner User's Manual
Page 52
i
Menu Configuration
Press SP to scroll through the options.
Continuous Read
Trigger input options are disabled and the scanner is always in the read cycle. Bar code data is decoded, and label information is transmitted repeatedly, as long as the label is in the range of the scanner. When To Output options have no affect on Continuous Read. Continuous Read is useful in testing label or scanner operations.
Continuous Read 1 Output
Similar to Continuous Read except that data from a specific label is output only once per read cycle. A different label (that is, a label not identical to the one just scanned) will allow a new output at the end of the read cycle.
Whenever Timeout is enabled, labe! output will be repeated at the end of each timeout period, provided that the same label is readable. For example, if Timeout is set to one second, label data from a given label will be output immediately and repeated at intervals of one second as long as the label remains readable.
Whenever Timeout is disabled (that is, New Trigger enabled), only a different label can produce a new read.
External Level
Allows a read cycle to be initiated by a trigger signal from an object detector when an object appears within the detector’s range. The read cycle exists as long as the detector “sees” the object and ends when the object moves out of the detector’s range (figure 3-7).'
1. Level and Edge apply to the active logic state (positive or negative) that exists while the object is in a read cycle, between the rising edge and falling edge. For the purposes of this discus-sion, rising edge is the trigger signal associated with the appearance of an object and falling edge is the trigger signal associated with the subsequent disappearance of the object.
Series 4000 Raster Scanner User’s Manual 3-19
Page 53
Chapter 3 Configuration
| First trigger >» 4 An object, moving in front of the | detector beam, causes the first trigger (rising edge trigger) signal to be sent to | the scanner, initiating the read cycle. Object « detector - - - __ ‘= 1 | nN > Second trigger . , The same object, moving out of the Object A detector’s beam, causes a second detector i trigger (falling edge trigger) signal tc be sent to the scanner, ending the read cycle. Figure 3-7 External Level Trigger Signals External Edge
As with Level, Edge allows a read cycle to be initiated by a trigger signal from an object detector when it detects the appearance of an object (rising edge). But unlike Level mode, the removal of an object (falling edge) does not end the read cycle. With Edge, the read cycle ends with a good read, a timeout, or a new trigger (figure 3-8)., - First rising edge trigger Object #1, moving in front of the detector beam, causes the first trigger (rising edge trigger) signal to be sent to the scanner, initiating the read cycle.
Object \ detector - - - __ ‘™@, _ Subsequent rising edge trigger, _ - - oe 12 Object #2, moving in front of the detector's \ beam, causes a second trigger (rising edge trigger) signal to be sent to the . scanner.
Object AN detector - - - - __ \ This signal initiates a new read cycle and ends the previous read cycle provided that New Trigger or Timeout and New Trigger is enabled and a good read or timeout has not already occurred.
Figure 3-8 External Edge Trigger Signals
3-20 Series 4000 Raster Scanner User's Manual