The text of a manual · part 32 of 43
QX-870 Industrial Raster Scanner User Manual, pages 311 to 320
Pages 311 to 320 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 311
Appendices
Concatenating Configuration Commands Commands can be concatenated (added together) in a single string. For example, <K145,1><K220,1><K450,1><A> enables LRC, sets End of Read Cycle mode to New Trigger, enables Narrow Quiet Zone, and resets the data buffers without saving the changes for power-on.
Serial Command Status Request To ensure that any command was received and accepted, send the Show Reader Status command: <?>. The status of a specific serial command can be requested by entering the command followed by a question mark. For example, send <K142?> to request the status of Postamble.
Entering Control Characters in Serial Commands To enter control characters within a serial command, hold down the Ctrl key while typing the desired character. Example: To enter a carriage return and line feed (^M^J), enter <K141,1,CNTL-m CNTL-j>
QX-870 Industrial Raster Scanner User Manual
A-25
Page 312
Serial Commands
Serial Configuration Commands The following serial commands can be entered through ESP’s Terminal to control QX-870 functions. Detailed descriptions of command parameters are available in Chapter 5, Scanner Parameters.
Communication RS-232 A RS-232 B RS-422 Ethernet Ethernet TCP Ports EtherNet/IP RS-232 A Data Type RS-232 B Data Type RS-422 Data Type Ethernet TCP Port 1 Data Type Ethernet TCP Port 2 Data Type EtherNet/IP Data Type Preamble Postamble Response Timeout LRC Status ACK/NAK Options Polling Mode Options Autoconfiguration Daisy Chain Protocol Selection External Data Routing Array Communication Modes
<K100,baud rate,parity,stop bits,data bits> <K101,status,baud rate,parity,stop bits,data bits> <K102,status,baud rate,parity,stop bits,data bits> <K126,status,IP address,subnet,gateway,IP address mode> <K127,TCP Port 1,TCP Port 2> <K129,status> <K130,symbol data output,extra symbol information,diagnostic output,external source processing mode> <K131,symbol data output,extra symbol information,diagnostic output,external source processing mode> <K132,symbol data output,extra symbol information,diagnostic output,external source processing mode> <K133,symbol data output,extra symbol information,diagnostic output,external source processing mode> <K134,symbol data output,extra symbol information,diagnostic output,external source processing mode> <K136,symbol data output,extra symbol information,diagnostic output,external source processing mode> <K141,status,preamble> <K142,status,postamble> <K143,response timeout> <K145,status> <K147,RES,REQ,STX,ETX,ACK,NAK> <K148,RES,REQ,STX,ETX,ACK,NAK> <K150DAISY> <K160,protocol,address,protocol port> <K161,mode,destination port,ambles to source,echo to source,output at end of read cycle,output at ETX,output at timeout> <K162,mode,source,daisy chain i.d. status,daisy chain i.d.>
RS-232 A Baud Rate, RS-232 A Serial Cmd: Default: Options:
A-26
<K100,baud rate,parity,stop bits,data bits> 8 = 115.2K 0 = 600 1 = 1200 3 = 4800 4 = 9600 6 = 38.4K 7 = 57.6K 9 = 230K
2 = 2400 5 = 19.2K 8 = 115.2K
QX-870 Industrial Raster Scanner User Manual
Page 313
Appendices Parity, RS-232 A Serial Cmd: Default: Options:
<K100,baud rate,parity,stop bits,data bits> 0 = None 0 = None 1 = Even
2 = Odd
Stop Bits, RS-232 A Serial Cmd: Default: Options:
<K100,baud rate,parity,stop bits,data bits> 0 = One 0 = One 1 = Two
Data Bits, RS-232 A Serial Cmd: Default: Options:
<K100,baud rate,parity,stop bits,data bits> 1 = Eight 0 = Seven 1 = Eight
RS-232 B Status, RS-232 B Serial Cmd: Default: Options:
<K101,status,baud rate,parity,stop bits,data bits> 1 = Enabled 0 = Disabled 1 = Enabled
Baud Rate, RS-232 B Serial Cmd: Default: Options:
<K101,status,baud rate,parity,stop bits,data bits> 8 = 115.2K 0 = 600 1 = 1200 2 = 2400 3 = 4800 4 = 9600 5 = 19.2K 6 = 38.4K 7 = 57.6K 8 = 115.2K 9 = 230K
Parity, RS-232 B Serial Cmd: Default: Options:
<K101,status,baud rate,parity,stop bits,data bits> 0 = None 0 = None 1 = Even 2 = Odd
Stop Bits, RS-232 B Serial Cmd: Default: Options:
<K101,status,baud rate,parity,stop bits,data bits> 0 = One 0 = One 1 = Two
QX-870 Industrial Raster Scanner User Manual
A-27
Page 314
Serial Commands Data Bits, RS-232 B Serial Cmd: Default: Options:
<K101,status,baud rate,parity,stop bits,data bits> 1 = Eight 0 = Seven 1 = Eight
RS-422 Status, RS-422 Serial Cmd: Default: Options:
<K102,status,baud rate,parity,stop bits,data bits> 0 = Disabled 0 = Disabled 1 = Enabled
Baud Rate, RS-422 Serial Cmd: Default: Options:
<K102,status,baud rate,parity,stop bits,data bits> 8 = 115.2K 0 = 600 1 = 1200 2 = 2400 3 = 4800 4 = 9600 5 = 19.2K 6 = 38.4K 7 = 57.6K 8 = 115.2K 9 = 230K
Parity, RS-422 Serial Cmd: Default: Options:
<K102,status,baud rate,parity,stop bits,data bits> 0 = None 0 = None 1 = Even 2 = Odd
Stop Bits, RS-422 Serial Cmd: Default: Options:
<K102,status,baud rate,parity,stop bits,data bits> 0 = One 0 = One 1 = Two
Data Bits, RS-422 Serial Cmd: Default: Options:
<K102,status,baud rate,parity,stop bits,data bits> 1 = Eight 0 = Seven 1 = Eight
Ethernet Serial Cmd: Default: Options:
A-28
<K126,status,IP address,subnet,gateway,IP address mode> 1 = Enabled 0 = Disabled 1 = Enabled
QX-870 Industrial Raster Scanner User Manual
Page 315
Appendices IP Address Serial Cmd: Default: Options:
<K126,status,IP address,subnet,gateway,IP address mode> 192.168.0.100 0.0.0.0 – 255.255.255.255
Subnet Serial Cmd: Default: Options:
<K126,status,IP address,subnet,gateway,IP address mode> 255.255.0.0 0.0.0.0 – 255.255.255.255
Gateway Serial Cmd: Default: Options:
<K126,status,IP address,subnet,gateway,IP address mode> 0.0.0.0 0.0.0.0 – 255.255.255.255
IP Address Mode Serial Cmd: Default: Options:
<K126,status,IP address,subnet,gateway,IP address mode> 1 = DHCP 0 = Static 1 = DHCP
Ethernet TCP Ports TCP Port 1 Serial Cmd: Default: Options:
<K127,TCP Port 1,TCP Port 2> 2001 1024 – 65535
TCP Port 1 Serial Cmd: Default: Options:
<K127,TCP Port 1,TCP Port 2> 2003 1024 – 65535
EtherNet/IP Serial Cmd: Default: Options:
<K129,status> 1 = Enabled 0 = Disabled
1 = Enabled
RS-232 A Data Type Symbol Data Output, RS-232 A Serial Cmd: Default: Options:
<K130,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Enabled 0 = Disabled 1 = Enabled
QX-870 Industrial Raster Scanner User Manual
A-29
Page 316
Serial Commands Extra Symbol Information, RS-232 A Serial Cmd: Default: Options:
<K130,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Enabled 0 = Disabled 1 = Enabled
Diagnostic Output, RS-232 A Serial Cmd: Default: Options:
<K130,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Enabled 0 = Disabled 1 = Enabled
External Source Processing Mode, RS-232 A Serial Cmd: Default: Options:
<K130,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Command 0 = Disabled 1 = Command 2 = Data
RS-232 B Data Type Symbol Data Output, RS-232 B Serial Cmd: Default: Options:
<K131,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Enabled 0 = Disabled 1 = Enabled
Extra Symbol Information, RS-232 B Serial Cmd: Default: Options:
<K131,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Enabled 0 = Disabled 1 = Enabled
Diagnostic Output, RS-232 B Serial Cmd: Default: Options:
<K131,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Enabled 0 = Disabled 1 = Enabled
External Source Processing Mode, RS-232 B Serial Cmd: Default: Options: A-30
<K131,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Command 0 = Disabled 1 = Command 2 = Data QX-870 Industrial Raster Scanner User Manual
Page 317
Appendices
RS-422 Data Type Symbol Data Output, RS-422 Serial Cmd: Default: Options:
<K132,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Enabled 0 = Disabled 1 = Enabled
Extra Symbol Information, RS-422 Serial Cmd: Default: Options:
<K132,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Enabled 0 = Disabled 1 = Enabled
Diagnostic Output, RS-422 Serial Cmd: Default: Options:
<K132,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Enabled 0 = Disabled 1 = Enabled
External Source Processing Mode, RS-422 Serial Cmd: Default: Options:
<K132,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Command 0 = Disabled 1 = Command 2 = Data
QX-870 Industrial Raster Scanner User Manual
A-31
Page 318
Serial Commands
Ethernet TCP Port 1 Data Type Symbol Data Output, Ethernet TCP Port 1 Serial Cmd: Default: Options:
<K133,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Enabled 0 = Disabled 1 = Enabled
Extra Symbol Information, Ethernet TCP Port 1 Serial Cmd: Default: Options:
<K133,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Enabled 0 = Disabled 1 = Enabled
Diagnostic Output, Ethernet TCP Port 1 Serial Cmd: Default: Options:
<K133,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Enabled 0 = Disabled 1 = Enabled
External Source Processing Mode, Ethernet TCP Port 1 Serial Cmd: Default: Options:
<K133,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Command 0 = Disabled 1 = Command 2 = Data
Ethernet TCP Port 2 Data Type Symbol Data Output, Ethernet TCP Port 2 Serial Cmd: Default: Options:
<K134,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Enabled 0 = Disabled 1 = Enabled
Extra Symbol Information, Ethernet TCP Port 2 Serial Cmd: Default: Options:
A-32
<K134,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Enabled 0 = Disabled 1 = Enabled
QX-870 Industrial Raster Scanner User Manual
Page 319
Appendices Diagnostic Output, Ethernet TCP Port 2 Serial Cmd: Default: Options:
<K134,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Enabled 0 = Disabled 1 = Enabled
External Source Processing Mode, Ethernet TCP Port 2 Serial Cmd: Default: Options:
<K134,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Command 0 = Disabled 1 = Command 2 = Data
EtherNet/IP Data Type Symbol Data Output, EtherNet/IP Serial Cmd: Default: Options:
<K136,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Enabled 0 = Disabled 1 = Enabled
Extra Symbol Information, EtherNet/IP Serial Cmd: Default: Options:
<K136,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Enabled 0 = Disabled 1 = Enabled
Diagnostic Output, EtherNet/IP Serial Cmd: Default: Options:
<K136,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Enabled 0 = Disabled 1 = Enabled
External Source Processing Mode, EtherNet/IP Serial Cmd: Default: Options:
<K136,symbol data output,extra symbol information,diagnostic output, external source processing mode> 1 = Command 0 = Disabled 1 = Command 2 = Data
Preamble Preamble Status Serial Cmd: Default: Options:
<K141,status,preamble character(s)> 0 = Disabled 0 = Disabled 1 = Enabled
QX-870 Industrial Raster Scanner User Manual
A-33
Page 320
Serial Commands Preamble Characters Serial Cmd: Default: Options:
<K141,status,preamble character(s)> CR (0x0D) 1 – 4 ASCII characters
Postamble Postamble Status Serial Cmd: Default: Options:
<K142,status,postamble character(s)> 1 = Enabled 0 = Disabled 1 = Enabled
Postamble Characters Serial Cmd: Default: Options:
<K142,status,postamble character(s)> CR LF (0x0D 0x0A) 1 – 4 ASCII characters
Response Timeout Serial Cmd: Default: Options:
<K143,response timeout> 5 (x10 ms = 50) 0 to 255 (x10 ms)
LRC Status Serial Cmd: Default: Options:
<K145,status> 0 = Disabled 0 = Disabled
1 = Enabled
ACK/NAK Options Serial Cmd:
<K147,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)
A-34
00 (disabled) 00 (disabled) 00 (disabled) 00 (disabled) 06 15
QX-870 Industrial Raster Scanner User Manual