The text of a manual · part 3 of 4
IB-3 PC Keyboard Wedge User's Manual, pages 17 to 24
Pages 17 to 24 of 32
The original document is the PDF (710 KB). 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 IB-3PC
Page 17
Chapter 2 Wedge Configuration
Muting Important: To avoid an endless loop, always send the Enable Muting command first. Usage:
Muting should be disabled for normal keyboard operations. Muting should be enabled whenever there’s a need to send serial commands to an MS-3.
Definition:
When muting is disabled - as it is by default at power-on or upon a reset - all keystrokes are echoed to the host. In this mode a command sent from the host is immediately echoed back to the host and resent in an endless loop. Muting will interrupt the loop and allow the commands to take effect. Enable Muting Disable Muting
<W500, status>
Default:
Disabled
Options:
0 = Disabled
2–Wedge Configura-
Serial Cmd:
1 = Enabled
IB-3 PC Keyboard Wedge User’s Manual
2-5
Page 18
IB-3 PC Configuration
Flow Control Disable Xon/Xoff
Enable Xon/Xoff
Enable CR
2–Wedge Configura-
Note: If enabled, Xon/Xoff must also be enabled in the MS-3. Definition:
Data sizes that exceed the input buffer size (200 characters) can use Xon/Xoff to manage the flow by sending packets. When enabled, Xon/ Xoff will be sent to manage the serial input.
Serial Cmd:
<W810, XonXoff status>
Default:
Disabled
Options:
0 = Disabled
1 = Enabled
Wedge Parameter Default <W900,DEFAULT> If the IB-3 PC is not in a known state, it may be necessary to default it in order to regain desired functionality. The default communication settings for the wedge are the same as those of a defaulted MS-3. This assures communication between the MS-3 and the wedge.
MS-3 Default <W999,DEFAULT> If the MS-3 is not in a known state, it may be necessary to default the MS-3 in order to regain functionality. The default communication settings for the MS-3 are the same as those of the wedge. This assures communication between the MS-3 and the wedge. This command sends an <A> reset to the MS-3 before executing the hardware default. Note: To take effect, the MS-3 default must be done within 60 seconds after power-on. Note: Configuring the MS-3 for Continuous-1 is recommended after defaulting.
2-6
IB-3 PC Keyboard Wedge User’s Manual
Page 19
Chapter 2 Wedge Configuration
Save Wedge Parameters <W200,1> Once the desired settings have been sent to the Keyboard Wedge, they need to be saved <W200,1> to the wedge’s non-volatile memory for availability on power-on. This command does this and is similar in effect to the MS-3’s <Z> command.
Packet Status When set to 0 the wedge will send out keystrokes per each serial character that is received at the soonest possible time. When set to 1 the wedge will send data that is packetized. That means it will only send out the data in between the start and end packet markers. All other data will be ignored.
Serial Cmd:
<W520, packet status>
Default:
Enabled
Options:
0 = Disabled
1 = Enabled
Packet Start <W521, Packet Start Char> When Packet Status is set to 1 the wedge will send data that is prefixed and suffixed by a char. This command will set the start char. That value is entered as a hexadecimal value in ASCII that represents that ASCII char value. Default = “STX” value of #02
Packet End <W522, Packet End Char> When packet mode is set to 1 the wedge will send data that is prefixed and suffixed by a char. This command will set the end char. That value is entered as a hexadecimal value in ASCII that represents that ASCII char value. Default = “CR” value of #13
IB-3 PC Keyboard Wedge User’s Manual
2-7
2–Wedge Configura-
Definition:
Page 20
IB-3 PC Configuration
Software Version Application Code: <W100?>
This command will output the application code revision number.
Boot Code: <W101?> App Code Checksum: <W110?> Boot Code Checksum: <W111?>
Emulation Mode AT Emulation
2–Wedge Configura-
XT Emulation
Definition:
This will control the way the overall data is sent and read back from keyboard and PC. If this option is not set correctly the device will not work.
Serial Cmd:
<W800, emulation mode>
Default:
AT
Options:
0 = AT
2-8
1 = XT
IB-3 PC Keyboard Wedge User’s Manual
Page 21
Chapter
3
Serial Operations
In this mode, the IB-3 PC is used in place of a junction box such as the IB-131 and communications between the MS-3 and the host are handled in the same manner described in the MS-3 Laser Scanner User’s Manual, P/N 83-000003, or the MS-3 CCD Reader User’s Manual, P/N 83-110020.
IB-3 PC Keyboard Wedge User’s Manual
3-1
3–Serial Operations
In addition to its primary wedge use, the IB-3 PC can be also used as a conventional junction box with serial connectivity to the host and power from a separate power supply.
Page 22
Required Hardware
Required Hardware • (1) An IB-3 PC, FIS-0001-0030G. • (2) Reader. • (3) A customer supplied keyboard with a PS/2 plug. • (4) A DB-9 serial communications cable, P/N 61-000010-01. • (5) A power supply, P/N 97-000002-01. • (6) Host computer.
3–Serial Operations
5
1 KEYBRD OUT/ POWER IN 98-000049-01 SCANNER
IB-3PC 3 SERIAL COMM. 2 CONFIG. 1 KEYBOARD WEDGE
HOST/SERIAL
4
3
2
2 1 KEYBOARD IN
3
6
Figure 3-6 Serial Setup Caution: Be sure all cables are connected BEFORE applying power. and always power down BEFORE disconnecting any cables Caution: If using your own power supply, be certain that it is wired correctly and supply voltage is 5 VDC. Incorrect wiring or voltage can cause software or equipment failures.
3-2
IB-3 PC Keyboard Wedge User’s Manual
Page 23
Chapter 3 Serial Operations
Connect the System
KEYBRD OUT/ POWER IN 98-000049-01 SCANNER
IB-3PC 1 SERIAL COMM. 2 CONFIG. 3 KEYBOARD WEDGE
3 2 1
Position 3
KEYBOARD IN
3–Serial Operations
6. Connect power supply (5) to the IB-3 PC’s “POWER” connector. 7. Apply power to the system.
HOST/SERIAL
1. Power off your host computer. 2. Set the IB-3 PC switch to position 3. 3. Connect the IB-3 PC (1) to the MS-3 (2) at the 15-pin “SCANNER” connector. 4. Connect the keyboard (3) to the computer with the PS/2 plug. 5. Connect the IB-3 PC’s cable (4) (extending from the “KEYBRD OUT/ POWER IN” end) directly to the host’s RS-232 serial port.1 Caution: Be sure all cables are connected BEFORE applying power. and always power down BEFORE disconnecting any cables
5
1 KEYBRD OUT/ POWER IN 98-000049-01 SCANNER
IB-3PC 3 SERIAL COMM. 2 CONFIG. 1 KEYBOARD WEDGE
HOST/SERIAL
4
3
2
2 1 KEYBOARD IN
3
6
Figure 3-7 Serial Setup
1. If using your own null modem RS232 host cable, be certain that the host’s TxD connects to the MS-3’s RxD and the MS-3’s TxD connects to the host’s RxD. IB-3 PC Keyboard Wedge User’s Manual
3-3
Page 24
3–Serial Operations
Connect the System
3-4
IB-3 PC Keyboard Wedge User’s Manual