The text of a manual · part 40 of 42
FIS-0870 Industrial Sweep Raster Scanner User's Manual: Utilities, pages 358 to 367
Pages 358 to 367 of 381, from FIS-0870 Industrial Sweep Raster Scanner User's Manual
The original document is the PDF (4.9 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 Wenglor FIS-0870
Page 358
Appendices
Serial Utility Commands Type
Read Rate
Counters
Device Control
Master Database
Part Number / Checksum
Command <C> <Cp> <J> <a1> <N> <O> <T> <U> <V> <W> <X> <Y> <L1> <L2> <L3> <I> <H> <G> <Gn> <NEWM> <#> <#a> <#b> <#f> <!> <!a> <!b> <!f> <Z> <Zc> <Zrc>
Default/Reset/Save
<Zrd> <Zrdall> <A> <Arp>
FIS-0870 Industrial Raster Scanner User’s Manual
Name Enter Decodes/Second Test Enter Decode Percent Test Exit Decodes/Second and Decode Percent Tests PDF417 Information No Read Counter No Read Counter Reset Trigger Counter Trigger Counter Reset Good Read/Match Counter Good Read/Match Counter Reset Mismatch Counter Mismatch Counter Reset Programmable Output 1 Programmable Output 2 Programmable Output 3 Disable Scanner Enable Scanner Store Next Symbol Read to Database Index 1 Store Next Symbol Read to Database Index n New Master Load Status Display All Firmware Part Numbers Display Application Code Part Number Display Boot Code Part Number Display FPGA Code Part Number Display All Available Firmware Checksums Display Application Code Code Checksum Display Boot Code Checksum Display FPGA Code Checksum Save Current Settings for Power-On Save Current Settings as Customer Default Parameters for Power-On Recall Customer Default Settings and Save for Power-On Recall wenglor Default Settings and Save for Power-On (Will not default “sticky settings”) Recall wenglor Default Settings and Save for Power-On (Will also default “sticky settings”) Reset (Will not save for power-on) Reset and Recall Power-On Parameters
A-71
Page 359
Default/Reset/Save
Scanner Status Request Commands
Other Serial Utility Commands
A-72
<Arc> <Ard> <K?> <K??> <K?#> <Knnn?> <Knnn??> <Knnn?#> <Knnnd> <@CAL> <@> <BCCFG>
Reset and Recall Customer Default Parameters Reset and Recall wenglor Default Parameters All Status Request All Descriptor Status Request All Range Status Request Single Status Request Single Descriptor Status Request Single Range Status Request Default Customer Parameter Calibrate without Menu Calibrate with Menu Enter Bar Code Configuration
FIS-0870 Industrial Raster Scanner User’s Manual
Page 360
Appendices
Protocol Commands Protocol Command (Mnemonic displayed on menu)
Control Characters (Entered in menu or serial command)
Hex Value
Effect of Command
RES
^D
04
Reset
REQ
^E
05
Request
EOT
^D
04
Reset
STX
^B
02
Start of Text
ETX
^C
03
End of Text
ACK
^F
06
Acknowledge
NAK
^U
15
Negative Acknowledge
XON
^Q
11
Begin Transmission
XOFF
^S
13
Stop Transmission
FIS-0870 Industrial Raster Scanner User’s Manual
A-73
Page 361
ACK/NAK Data Flow Examples Setup 1 RES REQ STX ETX ACK NAK LRC
0x00 (disabled) 0x00 (disabled) 0x00 (disabled) 0x00 (disabled) 0x06 0x15 disabled
Transfer 1 HOST_TX SCANNER_TX
<K141,0> ‘ACK’
Transfer 2 HOST_TX SCANNER_TX SCANNER_TX HOST_TX
<K141?> ‘ACK’ <K141,0> ‘ACK’
Error Condition Transfer 1 SCANNER_TX HOST_TX SCANNER_TX HOST_TX symbol data ‘NAK’ (host rejects) symbol data (resend data) ‘ACK’ (transaction complete)
Transfer 2 HOST_TX <K141?> SCANNER_TX ‘ACK’ SCANNER_TX <K141,0> timeout reached... timeout reached... timeout reached... Timeout Reached transaction aborted, data is flushed
A-74
FIS-0870 Industrial Raster Scanner User’s Manual
Page 362
Appendices
Setup 2 RES REQ STX ETX ACK NAK LRC
0x00 (disabled) 0x00 (disabled) 0x00 (disabled) 0x00 (disabled) 0x06 0x15 enabled
Transfer 1 HOST_TX SCANNER_TX
<K141,0>a ‘ACK’
Transfer 2 HOST_TX SCANNER_TX SCANNER_TX HOST_TX
<K141?>B ‘ACK’ <K141,0>a ‘ACK’
Error Condition Transfer 1 HOST_TX SCANNER_TX HOST_TX SCANNER_TX
<k141,0>x (BAD LRC) ‘NAK’ <K141,0>a (GOOD LRC) ‘ACK’
FIS-0870 Industrial Raster Scanner User’s Manual
A-75
Page 363
Setup 3 RES REQ STX ETX ACK NAK LRC
0x00 (disabled) 0x00 (disabled) 0x28 ‘(‘ 0x29 ‘)’ 0x06 0x15 enabled
Transfer 1 HOST_TX SCANNER_TX
(<K141,0>)H ‘ACK’
Transfer 2 HOST_TX SCANNER_TX SCANNER_TX HOST_TX
A-76
(<K141?>)k ‘ACK’ (<K141,^M>)w ‘ACK’
FIS-0870 Industrial Raster Scanner User’s Manual
Page 364
Appendices
Setup 4 RES REQ STX ETX ACK NAK LRC
0x21 ‘!’ 0x3D ‘=’ 0x28 ‘(‘ 0x29 ‘)’ 0x06 0x15 enabled
Transfer 1 HOST_TX SCANNER_TX
(<K141,0>)H ‘ACK’
Transfer 2 HOST_TX SCANNER_TX HOST_TX SCANNER_TX HOST_TX SCANNER_TX
(<K100?>)n ‘ACK’ ‘!’ (<K100,8,0,0,1>)X ‘ACK’ ‘!’
Error Condition Transfer 1 HOST_TX (<K141,0>)H SCANNER_TX ‘ACK’ HOST_TX (<K100?>)n SCANNER_TX ‘ACK’ HOST_TX ‘!’ SCANNER_TX (<K100,8,0,0,1>)X timeout reached... SCANNER_TX ‘=’ timeout reached... SCANNER_TX ‘=’ timeout reached... SCANNER_TX ‘=’ timeout reached... SCANNER_TX ‘!’
FIS-0870 Industrial Raster Scanner User’s Manual
A-77
Page 365
Polling Mode Data Flow Examples Setup 1 Address RES REQ STX ETX ACK NAK LRC
0x01 (translates to) Poll Req @ ‘0x1C’, Unit Select @ ‘0x1D’ 0x04 0x05 0x02 0x03 0x06 0x15 disabled
Transfer 1 HOST_TX SCANNER_TX HOST_TX SCANNER_TX HOST_TX
‘RES’ ‘0x1D’ ‘REQ’ (Select Unit 1 to receive data) ‘0x1D’ ‘ACK’ (Unit responds with its address) ‘STX’ <T> ‘ETX’ ‘0x1D’ ‘ACK’ (Unit responds with its address) ‘RES’ (Terminate Transfer 2)
Transfer 2 HOST_TX SCANNER_TX HOST_TX SCANNER_TX
‘RES’ ‘0x1C’ ‘REQ’ (Poll Unit 1 for data) ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘ACK’ ‘RES’ (Terminate Transfer 1)
Starting with a ‘RES’ ensures a clean transaction, without “leftovers” from the previous transaction.
Error Condition 1 HOST_TX ‘RES’ ‘0x1C’ ‘REQ’ (Poll Unit 1 for data) SCANNER_TX ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ HOST_TX ‘Nothing’ (Host should ‘ACK’ here) timeout reached... SCANNER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... SCANNER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... SCANNER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... SCANNER_TX ‘RES’ (Terminate Transfer 1, data is flushed)
A-78
FIS-0870 Industrial Raster Scanner User’s Manual
Page 366
Appendices
Error Condition 2 HOST_TX ‘RES’ ‘0x1C’ ‘REQ’ (Poll Unit 1 for data) SCANNER_TX ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ HOST_TX ‘Nothing’ (Host should ‘ACK’ here) timeout reached... SCANNER_TX ‘REQ’ (Unit requests an ‘ACK’ again) HOST_TX ‘NAK’ (Host rejects data frame) (Retry Event) SCANNER_TX ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ (Unit sends again) HOST_TX ‘ACK’ (Host receives data) SCANNER_TX ‘RES’ (Terminate Transfer 1)
The protocol makes 3 retry attempts before data is flushed and transfer is aborted.
FIS-0870 Industrial Raster Scanner User’s Manual
A-79
Page 367
Setup 2 Address RES REQ STX ETX ACK NAK LRC
0x01 (translates to) Poll Req @ ‘0x1C’, Unit Select @ ‘0x1D’ 0x04 0x05 0x02 0x03 0x06 0x15 enabled
Transfer 1 HOST_TX SCANNER_TX HOST_TX SCANNER_TX HOST_TX
‘RES’ ‘0x1D’ ‘REQ’ (Select Unit 1 to receive data) ‘0x1D’ ‘ACK’ (Unit responds with its address) ‘STX’ <T> ‘ETX’ ‘LRC’ ‘0x1D’ ‘ACK’ (Unit responds with its address) ‘RES’ (Terminate Transfer 2)
Transfer 2 HOST_TX SCANNER_TX SCANNER_TX HOST_TX
‘RES’ ‘0x1C’ ‘REQ’ (Poll Unit 1 for data) ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘LRC’ ‘ACK’ ‘RES’ (Terminate Transfer 1)
Starting with a ‘RES’ ensures a clean transaction, without “leftovers” from the previous transaction.
Error Condition 1 HOST_TX ‘RES’ ‘0x1C’ ‘REQ’ (Poll Unit 1 for data) SCANNER_TX ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘LRC’ HOST_TX ‘Nothing’ (Host should ‘ACK’ here) timeout reached... SCANNER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... SCANNER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... SCANNER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... SCANNER_TX ‘RES’ (Terminate Transfer 1, data is flushed)
A-80
FIS-0870 Industrial Raster Scanner User’s Manual