EasyManua.ls Logo

CipherLab 8200 User Manual

CipherLab 8200
263 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #119 background imageLoading...
Page #119 background image
107
Chapter 4 BASIC Commands
4.13 REAL-TIME CLOCK COMMANDS
This section describes the commands related to the calendar and timer.
The system date and time are maintained by the calendar chip, and they can be retrieved
from or set to the calendar chip by the commands DATE$ and TIME$. A backup
rechargeable Lithium battery keeps the calendar chip running even when the power is
turned off.
The calendar chip automatically handles the leap year. The year field set to the
calendar chip must be in four-digit format.
Commands for triggering the HOUR_SHARP event, the MINUTE_SHARP event, and the
TIMER event: OFF HOUR_SHARP, OFF MINUTE_SHARP, OFF TIMER, ON
HOUR_SHARP GOSUB..., ON MINUTE_SHARP GOSUB..., and ON TIMER GOSUB...
Up to five timers can be set by the command ON TIMER... GOSUB... for the TIMER
Event Trigger”.
Note: The system time variable TIMER is maintained by CPU timers and has nothing to
do with this calendar chip. Accuracy of this time variable depends on the CPU clock
and is not suitable for precise time manipulation. Besides, it is reset to 0 upon
powering up (as a cold start).
DATE$
Purpose To set or to get the current date.
Syntax DATE$ = X$
Y$ = DATE$
Remarks DATE$ = X$, to set the current date.
X$is a string variable in the form of yyyymmdd”.
Y$ = DATE$, to get the current date, in the form of yyyymmdd”.
Y$is a string variable to be assigned to the result.
Note that the BASIC Compiler and its Run-
time Engines do not check the
format and contents o
f the string to be assigned to DATE$. User is obliged to
check the format and contents.
Example
DATE$ = “20000103”
Today$ = DATE$
PRINT Today$
...
' set the system date to 2000/01/03
' assign the current date to Today$
' Today$ = “20000103”

Table of Contents

Other manuals for CipherLab 8200

Question and Answer IconNeed help?

Do you have a question about the CipherLab 8200 and is the answer not in the manual?

CipherLab 8200 Specifications

General IconGeneral
IP RatingIP54
Display TypeLCD
Barcode ScannerLaser
ConnectivityRS-232
I/O PortsRS-232

Summary

Chapter 1 Development Environment

1.1 Directory Structure

Details the directories included in the CipherLab BASIC Compiler Kit and their purposes.

1.2 BASIC RUNTIME ENGINES

Explains the role of BASIC Run-time Engines as interpreters for BASIC commands on mobile computers.

1.3 DEVELOPMENT FLOW

Outlines the three essential steps for developing a BASIC program for mobile computers.

Chapter 2 Using CipherLab BASIC Compiler

2.1 FILE MENU

Describes the six commands available in the File menu for managing BASIC programs.

2.2 EDIT MENU

Details the seven commands in the Edit menu for facilitating BASIC source code editing.

2.3 CONFIGURE MENU

Explains the seven items in the Configure menu for defining system settings.

2.4 COMPILE MENU

Outlines the three commands in the Compile menu for syntax checking and program compilation.

2.5 HELP MENU

Describes the single command in the Help menu for displaying program ownership and version.

Chapter 3 Basics of the CipherLab BASIC Language

3.1 CONSTANTS

Defines constants as actual values used during BASIC execution, categorizing them into String and Numeric.

3.2 VARIABLES

Explains variables as symbols representing data items and the rules for variable names and declaration characters.

3.3 EXPRESSION AND OPERATORS

Describes expressions as combinations of constants/variables with operators, covering assignment, arithmetic, relational, and logical operators.

3.4 OPERATOR PRECEDENCE

Details the order in which BASIC operators are evaluated in expressions based on precedence.

3.5 LABELS

Explains line labels used to represent special lines in BASIC programs, including valid integer and character string formats.

3.6 SUBROUTINES

Defines subroutines as sets of instructions simplified by breaking programs into logical units, executed via GOSUB.

3.7 PROGRAMMING STYLE

Provides recommended guidelines for writing readable programs, including conventions for reserved words and variable names.

Chapter 4 BASIC COMMANDS

4.1 GENERAL COMMANDS

Describes commands not confined to specific hardware features, such as ABS, BIT_OPERATOR, and DIM.

4.2 COMMANDS FOR DECISION STRUCTURES

Explains decision structures like IF...THEN...[ELSE...] and ON...GOSUB|GOTO for conditional execution.

4.3 COMMANDS FOR LOOPING STRUCTURES

Details looping structures like FOR...NEXT and WHILE...WEND for repeating statement blocks.

4.4 COMMANDS FOR STRING PROCESSING

Covers BASIC commands for manipulating ASCII character strings, including combining, comparing, and retrieving parts of strings.

4.5 COMMANDS FOR EVENT TRAPPING

Describes commands for detecting events like key presses or COM port signals and rerouting program control.

4.6 SYSTEM COMMANDS

Explains commands for system management, including changing CPU speed, checking I/O status, and program manipulation.

4.7 BARCODE READER COMMANDS

Details commands related to the reader ports for enabling, disabling, and retrieving barcode data.

4.8 RFID READER COMMANDS

Covers commands for programming the optional RFID reader, including data format and authentication.

4.9 KEYBOARD WEDGE COMMANDS

Describes commands for sending data to the host via keyboard wedge interface or alternatives like Bluetooth HID.

4.10 BUZZER COMMANDS

Explains commands for specifying beep sequences and controlling buzzer volume or playing WAV files.

4.11 LED COMMAND

Details commands for specifying LED lighting behavior, including color, mode, and duration.

4.12 VIBRATOR COMMANDS

Describes the command to set the vibrator state, turning it on or off.

4.13 REAL-TIME CLOCK COMMANDS

Explains commands for managing the system date and time via the calendar chip.

4.14 BATTERY COMMANDS

Covers commands for monitoring the voltage level of the main and backup batteries.

4.15 KEYPAD COMMANDS

Details commands related to the built-in keypad operation, including buffer clearing and reading input.

4.16 LCD COMMANDS

Explains commands for controlling the liquid crystal display, including cursor movement, display modes, and graphics.

4.17 TOUCH SCREEN COMMANDS

Describes commands for touch screen interaction, signature capture, and managing touchable items.

4.18 FONTS

Details font size options and display capabilities for alphanumeric characters on the LCD.

4.19 MEMORY COMMANDS

Covers commands related to flash memory and SRAM, including memory information and file operations.

4.20 FILE MANIPULATION

Explains commands for manipulating transaction data and implementing database systems using DAT and DBF files.

4.21 SD CARD

Describes accessing SD cards for DAT and DBF files, including file system formats and directory structure.

Appendix I ScannerDestbl Array

SYMBOLOGY PARAMETER TABLE FOR CCD/LASER/LONG RANGE READER

Lists symbology parameters and their default settings for CCD, Laser, and Long Range scanners.

SYMBOLOGY PARAMETER TABLE FOR 2D/EXTRA LONG RANGE LASER

Details symbology parameters and default settings for 2D and Extra Long Range scanners.

Appendix II Symbology Parameters

SCAN ENGINE, CCD OR LASER

Describes symbology parameters for CCD, Laser, and Long Range scan engines, including Codabar, Code 2 of 5, and Code 39.

CODE 2 OF 5 FAMILY

Details parameters for Industrial 25, Interleaved 25, and Matrix 25 symbologies.

GS1 DATABAR (RSS) FAMILY

Covers parameters for GS1 DataBar Limited, Omnidirectional, and Expanded symbologies.

UPC/EAN FAMILIES

Details parameters for UPC-A, EAN-8, EAN-13, and related addon modes.

MAXICODE, DATA MATRIX & QR CODE

Describes parameters for 2D symbologies like Maxicode, Data Matrix, and QR Code, including inverse and mirror modes.

PDF417

Explains parameters for PDF417 symbology, including Macro PDF transmit/decode modes.

Appendix III Scanner Parameters

SCAN MODE

Defines scan modes like Aiming, Laser, Continuous, and Test modes for scanner operation.

READ REDUNDANCY

Specifies the level of reading security, balancing security and decoding speed.

TIME-OUT

Sets the maximum scanning time interval for specific scan modes.

USER PREFERENCES

Covers user-configurable scanner settings like Focus Mode and Picklist Mode.

Appendix IV Reserved Host Commands

CLEAR

Erase data from a specified transaction file.

READ

Read the top most record from a specified transaction file.

REMOVE

Delete one record from the top of a specified transaction file.

TW

Set the new system time using a yyyymmddhhnnss format.

Appendix V Debugging Commands

START_DEBUG

Starts debug function by writing activities to a specified COM port.

STOP_DEBUG

Terminates the debug function initiated by START_DEBUG.

DEBUGGING MESSAGES

Lists common debugging messages and their explanations for system activity monitoring.

Appendix VI RUN-TIME ERROR TABLE

Appendix VII KEY CODE TABLE

Related product manuals