The text of a manual · part 5 of 37
Quadrus EZ Reader User's Manual, pages 41 to 50
Pages 41 to 50 of 366
The original document is the PDF (2.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.
Filed in the catalog under the Microscan EZ 6700 EX
Page 41
Communications
Full Duplex Mode Usage:
When communication to and from the auxiliary port is required. In Full Duplex mode all auxiliary port data and symbol data is sent directly to the host. Symbol data is not displayed on the auxiliary port menu. Data initiated from the Auxiliary Port Aux • Auxiliary port data to the host is ignored if the Host Port reader is in a polled mode. • Auxiliary port data or read data is sent to the host whenever it is received. Reader • Auxiliary port data is not echoed. • Auxiliary port data to the host is always sent without a preamble or a postamble. • <D> is the only command that is accepted by the reader from the auxiliary port. All other commands are passed through to the host.
Data initiated from the Reader Definition:
• Data is not sent to the auxiliary port.
Aux Port
Host
Reader
Data initiated from the Host • All host data is echoed to the auxiliary port in unpolled mode.
Aux Port
Host
Reader
Serial Cmd:
<K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID> 3 = Full duplex
Quadrus EZ Reader User’s Manual
2-15
Page 42
RS-232 Auxiliary Port
Daisy Chain Mode
Usage:
Useful in applications where: • More than one symbol type is present. • A symbol may be present on multiple sides of a package. • Symbols are presented at different depths.
Definition:
In a daisy chain application, readers are connected in tandem or “daisy chain” and decoded data is relayed from one reader to another on up to the host. A master reader has its host port linked to the host computer and its auxiliary port linked to the host port of the first secondary reader in the chain. Thereafter, each secondary reader’s auxiliary port is linked to the host port of the secondary reader that is further from the host in the daisy chain. Each reader in the daisy chain can be assigned an ID that accompanies any data that it sends.
Serial Cmd:
<K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID>
Options:
4 = Daisy chain
Function:
Before the master reader times out, it checks its auxiliary port for data. It should be set to wait at least 30 mS for each secondary reader in the daisy chain. If no data is received within the read cycle timeout, the master sends a noread message to the host. Otherwise the complete data is sent. If for example the master reader is set to timeout in 120 mS, the first secondary reader downstream might be set to 90 mS, the next to 30 mS, and so forth, thus assuring that at least 30 ms elapses between transmissions.a Daisy-chained readers can send a series of symbols by enabling Multisymbol and a common multisymbol separator. If the master reader does not receive the expected number of symbols, noread messages are appended to the data string to make up the difference between the number of symbols enabled in Multisymbol and the number of symbols read. For example, a master and two secondary readers have Number of Symbols set to 3 and Multisymbol Separator defined as %. If the master and the first secondary reader do not find symbols, but the next secondary reader registers a good read, the transmitted results would be: symbol data % noread % noread.
a. The above example is based on the best case. Other factors such as baud rate, dynamic focus timing, number of characters in a given symbol, and the number of secondary readers in the daisy chain can affect timing and may need to be included in your calculations for complete accuracy.
2-16
Quadrus EZ Reader User’s Manual
Page 43
Communications
Command Processing Mode Usage:
Allows user to send configuration from the Host port or the AUX port.
Definition:
When enabled, Command Processing allows commands to be entered via the aux port and direct externally triggered read cycle data in one of two ways: 1. Bar code data, including the serial trigger if used, will be transmitted to the last port from which a command was sent. 2. If the last command came from the host port, then externally triggered read cycle data will only be output to the host port.
Serial Cmd:
<K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID>
Options:
5 = Command Processing
Quadrus EZ Reader User’s Manual
2-17
Page 44
RS-232 Auxiliary Port
Daisy Chain ID Status Usage:
Used in a daisy chain setup in cases where the host needs to know which reader in a daisy chain setup sent the data.
Definition:
Each reader in a daisy chain can be assigned a one or two character ID that will appear in front of decoded data and identify its source.
Serial Cmd:
<K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID>
Default:
Disabled
Options: 0 = Disabled 1 = Enabled Note: Enable/disable and length must be the same in all readers.
Daisy Chain ID Usage:
Used in a daisy chain setup in cases where the host needs to know which reader sent the data.
Definition:
A one or two character prefix which identifies the particular daisy chain reader from which the data is being sent.
Serial Cmd:
<K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID>
Default:
1/
Options:
Any one or two ASCII characters.
2-18
Quadrus EZ Reader User’s Manual
Page 45
Communications
Daisy Chain Autoconfigure Usage:
For quick setup and configuration of the daisy chain network.
Definition:
Daisy Chain Autoconfigure is issued to the master reader in the daisy chain and the software responds as follows: • Counts the number of secondary readers in the daisy chain. • Assigns an internal ID number (1...n) to each secondary reader, where the first secondary reader is number 1 (and its own ID being a 0). • Propagates the communications settings and the relevant operating modes of the master reader to the host and auxiliary ports of each secondary reader. • Resets each secondary reader. • Verifies that each secondary reader has acquired the new settings.
Serial Cmd: <K150DAISY> Note: All secondary readers must be set to Serial for Daisy Chain to function. When setting up a daisy chain operation, do the following: 1. Set the master (the reader connected to the host) reader to Serial. This sets all the readers in the daisy chain to Serial when the command is carried out. Before Autoconfigure you must set the master reader to Serial (S): Host
S
Master Reader
S
Secondary Reader
S
Secondary Reader
2. Send <K150DAISY> command. 3. If necessary, set the master reader to Edge. After Autoconfigure you may set the master reader to Edge (E) but the other readers must remain in Serial (S): Host
E
Master Reader
Quadrus EZ Reader User’s Manual
S
Secondary Reader
S
Secondary Reader
2-19
Page 46
RS-232 Auxiliary Port
Daisy Chain Remote Secondary Reader ID Note: Not in ESP. Usage:
This command provides a handy way to assign custom daisy chain IDs to specific readers that were assigned during the daisy chain autoconfigure process.
Definition:
Assigns a new daisy chain ID to a daisy chain secondary reader. The command is sent to the master reader to configure the other secondary readers.
Daisy Chain Reader Number
Definition:
Specifies the target reader (by sequential number) which will be receiving the new Daisy Chain ID. The master reader is always 0 (zero). All secondary readers are numbered 1...n in the order that they are connected. Note: These numbers are for assigning IDs only and are not changeable.
Serial Cmd:
<K151,daisy chain reader #,daisy chain reader ID>
Options:
1....n (0 for the master reader)
Daisy Chain Reader ID Definition:
A two-character user-defined ASCII message identifying a reader in the daisy chain.
Serial Cmd:
<K151,daisy chain reader #,daisy chain reader ID>
Default:
Sequential numbering of reader units resulting from the Daisy Chain Autoconfigure <K150> command; for example: ID Master = 1/; ID Reader 1 = 2/; ID Reader 2 = 3/; etc.
Options: Any two characters except NULL < , or >. Note: After a secondary reader accepts a new ID, it automatically invokes a reset-withsave command.
2-20
Quadrus EZ Reader User’s Manual
Page 47
Communications
Network These port options are mutually exclusive and predetermined according to the FIS type associated with the unit. For example, if you have an Ethernet enabled unit, you will not be able to use USB or RS-485 Multidrop commands. Network connections are made through the IB-151 connector, but setup is done through RS-232 connections.
Ethernet See Chapter 15, Ethernet, for more on Ethernet connections.
IP Address Definition:
The 32-bit address defined by the Internet Protocol in RFC 791 (version 4). The Internet Protocol is the network layer for the TCP/IP Protocol Suite. It is a connectionless, best-effort packet switching protocol.
Usage:
Use this to configure the reader with an IP address compatible with the host network. Note that this only takes effect when IP Address mode is configured for Static mode.
Serial Cmd:
<K125,IP address,subnet address,gatewayaddress,IP address mode,primary TCP port,video TCP port>
Default:
192.168.0.100
Options:
0.0.0.0 to 255.255.255.255
Subnet Definition:
The subnet portion of an IP address. In a subnetted network, the IP address is split into a subnet portion and a host portion using an address (subnet) mask. A bit mask is used to identify which bits in an IP address correspond to the network and subnet portions of the address.
Usage:
Use this to configure a subnet mask that is compatible with the host network and the reader's IP address.
Serial Cmd:
<K125, IP address,subnet address,gatewayaddress,IP address mode,primary TCP port,video TCP port>
Default:
255.255.255.0
Options:
0.0.0.0 to 255.255.255.255
Quadrus EZ Reader User’s Manual
2-21
Page 48
Network
Gateway Address Definition:
AA gateway is a communications device/program which passes data between networks having similar functions but dissimilar implementations. This should not be confused with a protocol converter.
Usage:
This parameter is currently unused by the reader.
Serial Cmd:
<K125, IP address,subnet address,gateway address,IP address mode,primary TCP port,video TCP port>
Default:
0.0.0.0
Options:
0.0.0.0 to 255.255.255.255
IP Address Mode Definition:
Configures the method the reader will use to acquire its IP address.
Usage:
If host network has a DHCP server, then DHCP mode can be used to assign the reader an IP address from a central location. Typically, the DHCP server can be configured with the reader's MACID so a known IP can be assigned. If the host network does not have a DHCP server, then the reader must be programmed with a “Static” IP address.
Serial Cmd:
<K125, IP address,subnet address,gateway address,IP address mode,primary TCP port,video TCP port>
Default:
Static
Options:
0 = Static. (The reader uses IP address configured via K command, ESP, or embedded menu.) 1 = DHCP (The reader acquires an IP address from a DHCP/BOOTP)
Primary TCP Port Definition:
TCP port in which the reader receives commands and sends bar code data.
Usage:
The port number is configured for the convenience/preference of the host system. Note: The primary TCP port and the video TCP must be different.
Serial Cmd:
<K125, IP address,subnet address,gateway address,IP address mode,primary TCP port,video TCP port>
Default:
2001
Options:
1024 to 65535
2-22
Quadrus EZ Reader User’s Manual
Page 49
Communications
Video TCP Port Definition:
TCP port in which the reader sends responses to ESP-related commands (video, symbol information, histogram) from the Primary TCP port. Note that if the Video TCP port is unconnected, the reader will respond to the Primary TCP port instead. Note: The primary TCP port and the video TCP must be different.
Usage:
The port number is configured for the convenience/preference of the host system.
Serial Cmd:
<K125, IP address,subnet address,gateway address,IP address mode,primary TCP port,video TCP port>
Default:
2002
Options:
1024 to 65535
Quadrus EZ Reader User’s Manual
2-23
Page 50
Preamble
Preamble Preamble Status Usage:
Useful for identifying and controlling incoming data. For example, defining the preamble as a carriage return and a line feed causes each decoded message to be displayed of on its own line.
Definition:
Define a one to four character data string that can be added to the front of the decoded data.
Serial Cmd:
<K141,status,preamble character(s)>
Default:
Disabled
Options:
0 = Disabled
1 = Enabled (within any protocol)
Preamble Character(s) Serial Cmd:
<K141,status,preamble character(s)>
Default:
^M corresponding to: carriage return/null/null/null.
Within a Serial Command To enter control characters within a serial command, hold down the control key while typing the desired character. Example: <K141,1,CNTL-m> to enter ^M.
Within an Embedded Menu Options:
2-24
Control characters entered on the command line are displayed in the menu as mnemonic characters, such as: <CR><NUL><NUL><NUL>. To enter a control character from within an embedded menu, first type in a space (with the space key). This has the effect of allowing the control key to be recognized as a part of the control character. Next hold down the control key while typing the desired character. Example: Space CNTL-m to enter ^M.
Quadrus EZ Reader User’s Manual