Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 14 of 23

CiMAX 75xxA/76xx Scanner Technical Reference Manual: CHAPTER 6 Host Commands & Downloads, pages 113 to 122

Pages 113 to 122 of 206, from CiMAX 75xxA/76xx Scanner Technical Reference Manual

The original document is the PDF (3.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.

For the RVSI CiMatrix 7500, RVSI CiMatrix 7555A, Sick 7555A, RVSI CiMatrix 7600, RVSI CiMatrix 7655, Siemens 7500, Siemens 7555A, Sick 7600, and 2 more models

Page 113

Control Commands from the Host

ASCII ? Command - Setup The ASCII ? (question mark; decimal 63; hexadecimal 3F) command tells the scanner that this is a Setup command. These allow the network or application running at the host to change or read the scanner's parameters, as well as to control the execution of any resident C program running on the scanner. Message Format - ?NNN<new parameter value> or ?8NN<new group parameter values> or ?9NN or ?9N where: ? - The ASCII character that indicates a setup command NNN - A parameter number, which must be followed by the new parameter value, with the appropriate number of characters. When the first digit of the parameter number is an 8, then the next two digits NN is the parameter group number to be downloaded to set parameters to new values. The rest of the string contains the new parameter values for that group.

When the first digit is a 9, and there is only a single following digit N, one of five C program control commands:

6

–

Upload C program to host computer

–

The Erase C program command

–

The Stop (but not erase) C program command

–

The Suspend C program command

–

The Resume C program command

Host Commands & Downloads

When the first digit is a 9, then the next two digits NN is the parameter group number to be uploaded from the scanner to permit their values to be reviewed.

Downloading Individual Parameters To download an individual parameter to change it, you use the command ?NNN, where NNN equals the parameter number, followed by the parameter value. The number of digits and valid range for the parameter value must be correct. Refer to the Scanner Parameters Reference Guide for more information.

Example To change parameter 007 NULL SCAN COUNT to a new value of 33, using the Host or Setup port, send: ~?00733~

Rev F, February 2002

CiMAX 75xxA/76xx Scanner Technical Reference Manual

6-11

Page 114

Chapter

6

Host Commands & Downloads

Note: You must follow all parameter changes with a ; command to reboot the scanner, in order for the changes to take effect.

Downloading Groups of Parameters The command ?8XY is used to change many parameters at once where X = 0 through 8 for the general region Y = 0 through 9 for the particular group string in that region Refer to the Scanner Parameters Reference Guide and Appendix A, “Group Setup Strings” for a description of group setup strings and their uses. The group setup strings are useful when configuring multiple units or transferring one unit’s setup configuration to another. The number of digits, order, and valid ranges for the parameter values must be correct.

Example To change parameter 007 NULL SCAN COUNT to 33, and to set all other parameters in that group to their default values, using the Host or Setup port, send: ~?801 043201330000000100000~ Refer to Appendix A, “Group Setup Strings” for more information. Note: You must follow all parameter changes with a ; command to reboot the scanner, in order for the changes to take effect.

Uploading Groups of Parameters When you want the scanner to send a group setup string to a Host or Setup terminal to review the current settings of the parameters, use the command ?9XY where: X = 0 through 9 for the general region Y = 0 through 9 to select the particular group string in that region Refer to Appendix A, “Group Setup Strings” for more information. These commands allow an operator at the host or network to determine how a scanner is currently configured. This is useful when configuring multiple scanners or transferring one scanner's setup configuration to another. Because the setup string returned will be framed by the currently set MESSAGE CHARACTER (by default, a ~ ), the string can be downloaded to another scanner without any changes. When a group setup string is returned to a terminal, the flow control protocol and all other communication characteristics currently configured for the port will be observed. You can communicate through the Host or Setup ports or through the Ethernet or Starnode ports. 6-12

CiMAX 75xxA/76xx Scanner Technical Reference Manual

Rev F, February 2002

Page 115

Control Commands from the Host

Example To solicit a scanner's region/group 01 group setup string, send: ~?901~ The scanner will then return its entire region/group 01 group setup string, framed by ~ (tilde) characters.

Uploading All Group Setup Strings at Once All of the scanner group setup strings can be uploaded for review at one time by using the ~?999~ command. If you wish to upload all parameter settings, with the exception of digital pot settings, use the ~?997~ command. Refer to Appendix A, “Group Setup Strings” for more information. Since these strings are primarily used to download parameters to another scanner, they will be sent framed by MSGCHARs. The list of group setup strings downloaded must be followed by a ~;~ (reboot) command to instruct the scanner to use the new parameter values. Command ~?997~ is used to extract all parameters except digital pot settings. This is useful when copying parameters from one scanner to another without overwriting the digital pot settings that are unique to each scanner. Command ~?998~ can be used to extract all endpoint group setup strings.

Set Time & Date Command

The command is - ~?THH:MM:SS,mm-dd-yy~ where: HH - hours, 24-hour format (00 to 23) MM - minutes SS - seconds mm - month dd - day yy - year All parameters must be entered as two-digit numbers, using leading zeros where necessary. The clock time and date can be read and used for any purpose by a user C program.

Rev F, February 2002

CiMAX 75xxA/76xx Scanner Technical Reference Manual

6 Host Commands & Downloads

This command is used to set the on-board real-time clock (RTC). If Starnode is connected, the RTC will be set to the Starnode time, and this command need not be used. A battery backs up the RTC, and it continues to keep time when the scanner power is Off. The command can be used over any serial port.

6-13

Page 116

Chapter

6

Host Commands & Downloads

ASCII A or Greater Command - User Program Data Any value greater than an ASCII A (decimal 65; hexadecimal 41) will be forwarded to the C program running the scanner for execution. Message Format - A<MESSAGE> Where: A (or any greater ASCII character) tells the operating system to pass this message to the C program running the scanner. <MESSAGE> is the remainder of the string of up to 126 ASCII characters that will be passed to the C program. This will be stored in the buffer for the receiving port, and can be retrieved using a dta_get() call. Refer to the C Programmer's Platform Users Manual for more information.

6-14

CiMAX 75xxA/76xx Scanner Technical Reference Manual

Rev F, February 2002

Page 117

Control Commands from the Host

~TOTAL~ Command When sent over STARNODE or TCP/IP, this command must be prefixed with / . The ~TOTAL~ command is used to display a report such as: 0 boxes, 0 no reads where: boxes - Total box count no-reads - No-read count You can view a running display of boxes and no reads in the status line by setting parameter 012 NORMMD RPT = 2, 3, 4 or 5. The totals in the first line will not be cleared (even if the power is cycled Off and On) until ~TOT00~ is sent.

Host Commands & Downloads

6

Rev F, February 2002

CiMAX 75xxA/76xx Scanner Technical Reference Manual

6-15

Page 118

Chapter

6

Host Commands & Downloads

~DATA~ Command 3 bad checksums, 3 restored defaults, 0 last bad param Max Scan Delay 55374, Min Scan Delay 0, Unassigned Label 0, Overlapping 0 DSP Buffer Overflows [0-7] 0, 0, 0, 0, 0, 0, 0, 0 where: bad checksums - Number of bad checksums detected restored defaults - Number of restored default parameters last bad param - Number (in the Setup menu) of the last parameter that was found to be outside its range Max Scan Delay - Number of scans barcode data processing is lagging Min Scan Delay - Number of scans barcode data processing is lagging Unassigned Label - Number of unassigned labels to no box Overlapping - Number of overlapping labels to more than one box DSP Buffer Overflows - Number of buffer overflows per DSP Refer to “Memory Error Detection, Response & Reporting” on page 5-4 for bad checksums, restored defaults and bad last parameter. When parameter 002 OPMODE is set to 7, Polling Mode D information will also be reported, as shown below: Polling Mode D Communication Stats Slave Request Response Consecutive No Responses 1 3 3 0 2 3 3 0 3 3 0 3 •

Slave - Polling Mode D slave number

•

Request - Number of times that data was solicited from a slave

•

Response - Number of times that the slave responded

•

Consecutive No Responses - Current number of times that the slave did not respond

The Polling Mode D totals can be cleared by sending ~TOT00~ and will also be cleared when the power is cycled Off and On.

6-16

CiMAX 75xxA/76xx Scanner Technical Reference Manual

Rev F, February 2002

Page 119

Control Commands from the Host

~TOT00~ Command The ~TOT00~ command (T, alpha-O, T, numeric zero, zero) clears all of the totals reported in response to the ~TOTAL~ command and generates the message: Clearing box count

Host Commands & Downloads

6

Rev F, February 2002

CiMAX 75xxA/76xx Scanner Technical Reference Manual

6-17

Page 120

Chapter

6

Host Commands & Downloads

~!~ & ~$~ Commands In some installations, an external system may be used to detect when boxes have entered and exited the scan zone, replacing the inzone and outzone photoeyes normally used. The serial commands ~!~ and ~$~ are provided to permit an external system to send Presence signals to the scanner. ~!~ replaces the inzone photoeye signal, ~$~ replaces the outzone photoeye signal. Parameter 501 PRESENCE ENABLE must be on (set to 1) when using these serial commands. These commands will produce zone errors if two ~!~ are received before a ~$~ is received. These commands are not compatible with gap tracking, because no box length timing information is available. Therefore, parameter 700 TRACKING should be disabled (set to 0).

6-18

CiMAX 75xxA/76xx Scanner Technical Reference Manual

Rev F, February 2002

Page 121

Control Commands from the Host

~LASxx~ Command This command, when sent over STARNODE or TCP/IP, must be prefixed with / . On power-up, all laser diodes are turned On. This command can be used to turn the laser diode On and Off. This command is useful when measuring the inzone-center / outzone-center parameters in a Tunnel configuration. It is also used for isolating the performance of a single scanner. The value of xx in the command determines which diodes are turned on and which are turned off each time the command is sent. xx is a summed value of: •

+01 - turn on laser 1

If a bit is not set, the associated diode will be turned Off; if it is set, the laser diode will be turned On. For example: •

To turn the laser diode Off, send ~LAS00~

•

To turn the laser diode On, send ~LAS01~

Host Commands & Downloads

6

Rev F, February 2002

CiMAX 75xxA/76xx Scanner Technical Reference Manual

6-19

Page 122

Chapter

6

Host Commands & Downloads

~QSNDx~, ~QGETx~ & ~QFLS~ Commands This command, when sent over STARNODE or TCP/IP, must be prefixed with / . These commands are provided for debugging when parameter 002 OPMODE is set to 7 or 8 to enable the RS-422 multi-drop/ Intermec Polling Mode D protocol, which allows the use of Host ports to communicate among scanners. Information about the Intermec Polling Mode D protocol is provided in the descriptions of parameters 002 OPMODE, 111 SCANNER ADDR and 112 SLAVE NO/ADDR. For a complete description of the protocol and the communications system, refer to Intermec Data Communications Reference Manual. Sending ~QSNDx~ will send the ~5~ command (Request Status Information) to slave x. Setting x to 0 will send the ~5~ command to all slaves. Sending ~QGETx~ will query slave x for bar code data. Setting x to 0 will query all slaves. Sending ~QFLS~ will send a Flush Data command to all slaves.

6-20

CiMAX 75xxA/76xx Scanner Technical Reference Manual

Rev F, February 2002