The text of a manual · part 33 of 43
QX-870 Industrial Raster Scanner User Manual, pages 321 to 330
Pages 321 to 330 of 426
The original document is the PDF (7.0 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 QX-870
Page 321
Appendices
Polling Mode Options Serial Cmd:
<K148,RES,REQ,STX,ETX,ACK,NAK>
RES-NAK Defaults RES: (Reset) REQ: (Request) STX: (Start of Text) ETX: (End of Text) ACK: (Acknowledge) NAK: (Negative Acknowledge)
04 05 02 03 06 15
Autoconfiguration Daisy Chain Serial Cmd:
<K150DAISY>
ASCII Character Entry Modifier Commands that require ASCII text fields, such as Preamble and Postamble commands, can be sent to the scanner as hex pairs (see Appendix E, ASCII Table, for conversions). Serial Cmd Format: <Knnnh,00-FF> To enter ASCII fields as hex values (00 to FF), add a lower-case h directly after the command’s K number, and then enter the hex value that corresponds with the desired ASCII character. Example: Serial Cmd:
<K142,status,postamble character(s)>
The ASCII characters <, >, and , can only be entered as hex pairs. So, to make > the postamble in the symbol decode output, enter the Postamble command as follows: <K142h,,3E> Note that the “status” field contains only a , . This is because the only field that is being changed is the “postamble character(s)” field. (See Serial Configuration Command Conventions for a more detailed explanation of this command shortcut.)
Protocol Selection Protocol Serial Cmd: Options:
<K160,protocol,address,protocol port> 0 = Point-to-Point 1 = Point-to-Point with RTS/CTS 2 = Point-to-Point with XON/XOFF 3 = Point-to-Point with RTS/CTS and XON/XOFF 4 = ACK/NAK 5 = Polling Mode
QX-870 Industrial Raster Scanner User Manual
A-35
Page 322
Serial Commands Address Serial Cmd: Default: Options:
<K160,protocol,address,protocol port> 1 1 – 50 1 = Poll address 0x1C, select address 0x1D 2 = Poll address 0x1E, select address 0x1F ... 50 = Poll address 0x7E, select address 0x7F
Protocol Port Serial Cmd: Default: Options:
<K160,protocol,address,protocol port> 0 0–1 0 = Main RS-232 on QX-870 Connector A 1 = RS-422/485 on QX-870 Connector B
External Data Routing Mode Serial Cmd: Default: Options:
<K161,mode,destination port,ambles to source,echo to source,output at end of read cycle,output at ETX,output at timeout> 0 = Disabled 0 = Disabled 1 = Transparent 2 = Half Duplex 3 = Full Duplex 4 = Customized
Destination Port Serial Cmd: Default: Options:
A-36
<K161,mode,destination port,ambles to source,echo to source,output at end of read cycle,output at ETX,output at timeout> 0 = RS-232 on QX-870 Connector A 0 = RS-232 on QX-870 Connector A 1 = RS-232 on QX-870 Connector B 2 = RS-422 on QX-870 Connector B 4 = Ethernet TCP Port 1 5 = Ethernet TCP Port 2 6 = EtherNet/IP
QX-870 Industrial Raster Scanner User Manual
Page 323
Appendices Ambles to Source Serial Cmd: Default: Options:
<K161,mode,destination port,ambles to source,echo to source,output at end of read cycle,output at ETX,output at timeout> 0 = Disabled 0 = Disabled 1 = Enabled
Echo to Source Serial Cmd: Default: Options:
<K161,mode,destination port,ambles to source,echo to source,output at end of read cycle,output at ETX,output at timeout> 0 = Disabled 0 = Disabled 1 = Enabled
Output at End of Read Cycle Serial Cmd: Default: Options:
<K161,mode,destination port,ambles to source,echo to source,output at end of read cycle,output at ETX,output at timeout> 0 = Disabled 0 = Disabled 1 = Enabled
Output at ETX Serial Cmd: Default: Options:
<K161,mode,destination port,ambles to source,echo to source,output at end of read cycle,output at ETX,output at timeout> CR (0x0D) Any 7-bit ASCII character
Output at Timeout Serial Cmd: Default: Options:
<K161,mode,destination port,ambles to source,echo to source,output at end of read cycle,output at ETX,output at timeout> 200 (x10 ms = 2 seconds) 0 – 65535
Array Communication Modes Mode Serial Cmd: Default: Options:
<K162,mode,source,daisy chain i.d. status,daisy chain i.d.> 0 = Disabled 0 = Disabled 1 = Daisy Chain
QX-870 Industrial Raster Scanner User Manual
A-37
Page 324
Serial Commands Source Serial Cmd: Default: Options:
<K162,mode,source,daisy chain i.d. status,daisy chain i.d.> 1 = RS-232 on QX-870 Connector B 0 = RS-232 on QX-870 Connector A 1 = RS-232 on QX-870 Connector B 2 = RS-422 on QX-870 Connector B 4 = Ethernet TCP Port 1 5 = Ethernet TCP Port 2
Daisy Chain ID Status Serial Cmd: Default: Options:
<K162,mode,source,daisy chain i.d. status,daisy chain i.d.> 0 = Disabled 0 = Disabled 1 = Enabled
Daisy Chain ID Serial Cmd: Default: Options:
A-38
<K162,mode,source,daisy chain i.d. status,daisy chain i.d.> 1/ One or two ASCII characters.
QX-870 Industrial Raster Scanner User Manual
Page 325
Appendices
Read Cycle Trigger Mode / Trigger Filter Duration Serial Trigger Character External Trigger State End of Read Cycle Decodes Before Output Multisymbol Serial Trigger Start Character Serial Trigger Stop Character Processing Timeout Scan Speed Maximum Element Automatic Gain Control Symbol Detect Status / Transition Counter Raster Framing Scan Width Enhance AGC Tracking Laser Setup
<K200,trigger mode,leading edge trigger filter duration,trailing edge trigger filter duration> <K201,serial trigger character> <K202,external trigger state> <K220,mode,read cycle timeout> <K221,mode,number before output> <K222,number of symbols,multisymbol separator> <K229,start character> <K230,stop character> <K245,processing timeout> <K500,scan speed> <K502,maximum element> <K504,gain level,AGC sampling mode,AGC minimum,AGC maximum> <K505,symbol detect status,transition counter> <K506,status,top offset,bottom offset,sweep rate,read cycle on/off> <K511,status> <K520,tracking> <K700,laser on/off,laser framing status,laser on position,laser off position,laser power>
Trigger Mode / Filter Duration Trigger Mode Serial Cmd: Default: Options:
<K200,trigger mode,leading edge trigger filter,trailing edge trigger filter> 0 = Continuous Read 0 = Continuous Read 1 = Continuous Read 1 Output 2 = External Level 3 = External Edge 4 = Serial Data 5 = Serial Data and Edge
Leading Edge Trigger Filter Serial Cmd: Default: Options:
<K200,trigger mode,leading edge trigger filter,trailing edge trigger filter> 313 (~10 ms) 1 to 65535 (x 32.0 µs)
Trailing Edge Trigger Filter Serial Cmd: Default: Options:
<K200,trigger mode,leading edge trigger filter,trailing edge trigger filter> 313 (~10 ms) 1 to 65535 (x 32.0 µs)
QX-870 Industrial Raster Scanner User Manual
A-39
Page 326
Serial Commands
Serial Trigger Character (Delimited) Serial Cmd: Default: Options:
<K201,serial trigger character> Space (0x20) Any 7-bit ASCII character
External Trigger State Serial Cmd: Default: Options:
<K202,active state> 1 = Positive 0 = Negative
1 = Positive
End of Read Cycle End of Read Cycle Mode Serial Cmd: Default: Options:
<K220,end of read cycle,read cycle timeout> 0 = Timeout 0 = Timeout 1 = New Trigger 2 = Timeout or New Trigger 3 = Last Frame 4 = Last Frame or New Trigger
Read Cycle Timeout Serial Cmd: Default: Options:
<K220,end of read cycle,read cycle timeout> 100 (x10 ms = 1 second) 1 to 65535
Decodes Before Output Decodes Before Output Serial Cmd: Default: Options:
<K221,decodes before output,mode> 1 1 to 255
Mode Serial Cmd: Default: Options:
<K221,decodes before output,mode> 0 = Non-Consecutive 0 = Non-Consecutive 1 = Consecutive
Multisymbol Number of Symbols Serial Cmd: <K222,number of symbols,multisymbol separator> Default: 1 Options: 1 to 100 A-40
QX-870 Industrial Raster Scanner User Manual
Page 327
Appendices Multisymbol Separator Serial Cmd: <K222,number of symbols,multisymbol separator> Default: , (comma) Options: Any 7-bit ASCII character
Start Trigger Start Character (Non-Delimited) Serial Cmd: Default: Options:
<K229,start character> NULL (0x00) Two hex digits representing any ASCII character except <, >, XON, and XOFF.
Stop Trigger Stop Character (Non-Delimited) Serial Cmd: Default: Options:
<K230,stop character> NULL (0x00) Two hex digits representing any ASCII character except <, >, XON, and XOFF.
Processing Timeout Serial Cmd: Default: Options:
<K245,processing timeout> 200 (0.2 seconds) 1 to 65535
Scan Speed Serial Cmd: Default: Options:
<K500,scan speed> 30 (300 scans per second) 30 to 140 (x10 scans per second)
Maximum Element Serial Cmd: Default: Options:
<K502,maximum element> 400 (x 0.01% of scan) 50 to 5000
Automatic Gain Control AGC Level Serial Cmd: Default: Options:
<K504,AGC level,AGC mode,minimum gain,maximum gain> 40 (QX-870 model-dependent – see Microscan Product Pricing Catalog) 0 to 255
AGC Mode Serial Cmd: Default: Options:
<K504,AGC level,AGC mode,minimum gain,maximum gain> 2 = Continuous 0 = Disabled 1 = Leading Edge 2 = Continuous
QX-870 Industrial Raster Scanner User Manual
A-41
Page 328
Serial Commands Minimum Gain Serial Cmd: Default: Options:
<K504,AGC level,AGC mode,minimum gain,maximum gain> 0 (QX-870 model-dependent – see Microscan Product Pricing Catalog) 0 to 255
Maximum Gain Serial Cmd: Default: Options:
<K504,AGC level,AGC mode,minimum gain,maximum gain> 255 (QX-870 model-dependent – see Microscan Product Pricing Catalog) 0 to 255
Symbol Detect Status / Transition Counter Symbol Detect Status Serial Cmd: Default: Options:
<K505,symbol detect status,transition counter> 0 = Disabled 0 = Disabled 1 = Enabled
Transition Counter Serial Cmd: Default: Options:
<K505,symbol detect status,transition counter> 14 1 to 255
Raster Framing Raster Framing Status Serial Cmd: Default: Options:
<K506,status,top offset,bottom offset,sweep rate,read cycle on/off> 1 = Enabled 0 = Disabled 1 = Enabled
Top Offset Serial Cmd: Default: Options:
<K506,status,top offset,bottom offset,sweep rate,read cycle on/off> 88 0 - 255
Bottom Offset Serial Cmd: Default: Options:
<K506,status,top offset,bottom offset,sweep rate,read cycle on/off> 167 0 - 255
Sweep Rate Serial Cmd: Default: Options: A-42
<K506,status,top offset,bottom offset,sweep rate,read cycle on/off> 10 0 - 80 QX-870 Industrial Raster Scanner User Manual
Page 329
Appendices Read Cycle On/Off Serial Cmd: Default: Options:
<K506,status,top offset,bottom offset,sweep rate,read cycle on/off> 0 = Disabled 0 = Disabled 1 = Enabled
Scan Width Enhance Serial Cmd: Default: Options:
<K511,status> 0 = Disabled 0 = Disabled
1 = Enabled
AGC Tracking Serial Cmd: Default: Options:
<K520,tracking value> 40 (QX-870 model-dependent – see Microscan Product Pricing Catalog) 5 to 127
Laser Setup Laser On/Off Status Serial Cmd: Default: Options:
<K700,laser on/off status,laser framing status,laser on position,laser off position,laser power> 0 = Disabled 0 = Disabled 1 = Enabled
Laser Framing Status Serial Cmd: Default: Options:
<K700,laser on/off status,laser framing status,laser on position,laser off position,laser power> 0 = Disabled 0 = Disabled 1 = Enabled
Laser On Position Serial Cmd: Default: Options:
<K700,laser on/off status,laser framing status,laser on position,laser off position,laser power> 10 10 to 90
Laser Off Position Serial Cmd: Default: Options:
<K700,laser on/off status,laser framing status,laser on position,laser off position,laser power> 95 15 to 95
QX-870 Industrial Raster Scanner User Manual
A-43
Page 330
Serial Commands Laser Power Serial Cmd: Default: Options:
A-44
<K700,laser on/off status,laser framing status,laser on position,laser off position,laser power> 1 = Medium 0 = Low 1 = Medium 2 = High
QX-870 Industrial Raster Scanner User Manual