The text of a manual · part 4 of 9
SV Series Scanner/Verifier Operator's Guide, pages 12 to 14
Pages 12 to 14 of 54: SYSTEM DISPLAYS; SERIAL PORT TRANSMISSION FORMAT
The original document is the PDF (666 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 RJS SV 100
Page 12
NOTE: In either sync mode, for best performance, mount the SV unit in a location where a bar code is not in the laser beam when an active edge signal is received.
Communication Sync Commands Sync operation can be accomplished through serial communications. Please see these commands in the SV Command Language Section – System Control Commands.
Output Ports Five programmable output ports are available on I/O connector pins 5, 6, 7, 8, and 15. Each port can be programmed to activate on practically any combination of data and analysis parameters (including “good codes”) analyzed by the SV Series. Port activation logic and parameters are programmed via the output interface modes and associated commands. See the Output Interface Modes Descriptions section for details. Each port’s output is an open drain FET (field effect transistor). Therefore, the port can either be “ON” (sinking current) or “OFF” (no current/open circuit.) The active polarity determines whether the port is “ON” or “OFF” while active. This type of output circuit is used because it is flexible for field connections.
SYSTEM DISPLAYS Five LED’s are included on the SV Series back panel.
Power/Sync LED This LED is illuminated green whenever power is applied to the SV Series. Upon receipt of any sync input (hardware or serial communications) the LED will blink yellow for approximately 100 milliseconds.
Calibration LED This yellow LED indicates calibration status. Please refer to the Calibration Section for details.
Read LED This green LED is illuminated whenever a bar code is being fully decoded.
Indicator LED’s 1 and 2 These two green LED’s are user programmable exactly like the five output ports. Their functions are intended for use as indicators for specific analysis results. A common example is LED 1 programmed to illuminate in latch mode whenever a symbol quality error is detected, while LED 2 is programmed to illuminate in latch mode whenever a No Read error is detected.
SERIAL PORT CONNECTOR The serial port connector is used to interface the SV Series with devices incorporating RS-232C signal levels. The connector is a DB 9 male. The serial port can be used for reporting bar code analysis results to a host and receiving SV Command Language instruction from a host.
Serial Port Specifications • • • •
Baud rate: programmable between 9600 and 115200 baud Protocol: Echo back Data: 8 bit, no parity, 2 stop bits RS 232C compatible
9
Page 13
Serial Port Pin-out Pin 2 3 4 5 7 8
Function Receive Data (RXD) Transmit Data (TXD) Data Terminal Ready (DTR) Ground Request to Send (RTS) Clear to Send (CTS)
SERIAL PORT TRANSMISSION FORMAT The following data transmission format is standard in the SV Series. This is the format used by ScanVision software for setup and monitoring of SV Series data. All parameters analyzed for each bar code scanned are transmitted in the following order: YabbccddeeffgghhiijjkklmmnoopqqrsstttuuvwwwxxxxxxxxyyMNzzzzAAAABBB CCCDDDEEFFGHHIIJJOKLL[bar code data chars]Z Characters designated ‘a’ through ‘O’ represent values for Parameters analyzed which are described below. For more parameter details, see the Parameters Analyzed Section. Legal values for each parameter are;
Y
Pos 1
Chars 1 a
2
1 b
3
2 c d e f g h i j k
5 7 9 11 13 15 17 19 21
2 2 2 2 2 2 2 2 2 l
23
1 m
24
2 n
26
1 o
27
2 p
29
1 q
30
2 r
32
1 s
33
2
Parameter CR (carriage return) character indicates start of transmit: ctrl-M; 0x0D. P=PASS Ref Decode, F=FAIL per Ref Decode algorithm. P and F are a majority decision over all scans 00-9A (0-100); Decodability calc. avg. over all decoded scans 00-9A; Modulation calc. avg. over all decoded scans 00-9A; Defects calc. avg. over all decoded scans 00-9A; Edge Contrast calc. avg. over all decoded scans 00-9A; Rmin/Rmax calc. avg. over all decoded scans 00-9A; SymbolContrast calc. avg. over all decoded scans 00-9A; PCS calc. avg. over all decoded scans 00-9A; R(white) calc. avg. over all decoded scans 00-9A; R(black) calc. avg. over all decoded scans 00-99; Ratio calc. avg. over all decoded scans Example: 29 represents a ratio of 2.9 + or - indicating sign of avg. bar deviation calculation. + indicates wide bars. Bar deviation calculation averaged over all decoded scans. Units are % of X. Value: 00-9A (signify 0 – 100) + or - indicating sign of avg. min. bar deviation calculation. + indicates wide bars. Minimum bar deviation calculation averaged over all decoded scans. Units are in % of X. Value: 00-9A (signify 0 –100) + or - indicating sign of avg. max. bar deviation calculation. + indicates wide bars. Maximum bar deviation calculation averaged over all decoded scans. Units are in % of X. Value: 00-9A (signify 0 – 100) One character: Pass(1) or Fail(0). Quiet Zone. This is a programmable decision over all decoded scans. 00-9A; Percent decode calc. avg. over all decoded scans
10
Page 14
t
35
3
Absolute X dimension in 0.1 mil (.0001 inch) resolution. Example: a value of 120 represents a 12 mil X dimension. u 38 2 Overall ANSI method symbol grade (numeric) Ave over all decoded scans. Example: 26 = 2.6 v 40 1 Bar code decoding direction: Forwards(0) or Backwards(1) w 41 3 000-999; Calculated symbology mod check value, Code 93 mod check C x 44 8 8 hex digits; Self check value. y* 52 2 Two digit number identifies the symbology. See Symbology Identifier Table for details. M* 54 1 Digit: 0 = no error, 3 = symbology mod check error, 4 = subsymbology mod check error, 1, 2, 6 , or 7 = partial decode error N* 55 1 Digit; 0 = no error, 4 = data match field length error, 5 = data match and Decrement error, 6 = data match and increment error, 7 = decrement error, 8 =increment error, 9 = data match error z 56 4 Four digit number indicates bar code horizontal position. A 60 4 Four digit number indicates bar code vertical position. B 64 3 Three digit number shows good scans-on-code. (00-9A) C 67 3 Three digit number shows total scans-on-code. D 70 3 000-999; Good Quiet zones (scans). E 73 2 Two digit number shows Lead QZ. Units: .1X (00-9A) F 75 2 Two digit number shows Trail QZ. Units: .1X (00-9A) G 77 1 One digit number: ‘0’ (off), ‘1’ (on). Sync state. H 78 2 Two: Units of X dimension times 10. I 80 2 Two digits; Percent of good global Thresholds. (00-9A) J 82 2 Two digits; Calculated application checksum value or Code 93 mod check K O 84 1 One digit; indicates the subsymbology enabled in the y field of ~LFxy command for this symbol. A value of 0 indicates no subsymbology check is enabled. K 85 1 One digits; Dummy value for expansion L 86 2 Two digits; Dummy value for expansion [chars]88 … Bar code data characters (variable length). Z last 1 LF(line feed) character indicates end of transmit; ctrl-J; 0x0A. y* - The symbology identifiers use groups of numbers to identify each symbology. The range of possible values could potentially span 100 for each symbology category. The Symbology Identifier Table lists each identifier group with the corresponding symbology. * A no read condition is indicated by all four bytes yy, M and N set to 0 in a transmission. All other data is therefore not valid. See the ~OS# command for other transmission data formats.
11