background image

RS232 - To connect HHR to any device with RS232 interface, you have to 
connect included RS232 cable to device and turn on RS232 module with 
RSOnOff() function. Remember to turn RS232 module before connecting 
HHR to PC with USB interface.

Load New Application Menu

Load   New   Application   Menu   allows   user   to   select   interface   with   which   Master 
Device will communicate with HHR. USB and BlueTooth interface are available, 
default interface is USB. 

This menu has main usage with cooperation with PDA, where BlueTooth is one of 
communication option. There is no possibility to communicate with HHR from PC 
with BlueTooth.

MANAGING HHR 3000 PRO 

HHR   3000   PRO   is   equipped   with   newest   HHR   OS   (operating   system)   which 
enables   to   run   the     Application   Program   on   HHR.   Very   important   is   to   use 
compatible version of HHR Manager and HHR OS. It is possible to update HHR 
OS with a newer version of HHR Program Loader.

Programming Your HHR with HHR Operating System (HHR OS).

1. Run newest version of HHR Program Loader with “HHR Program 

Loader .exe”, Important: HHR Manager and HHR Program Loader can't be 
in the same catalog.

2. Connect HHR to USB port using included cable

3. Select appropriate Code page(language) and click Start Button.

4. Wait until “Programming succeed” appear in Programming Status field.

5. Disconnect Your HHR from USB port.

D01B2.4 HHR 3000 PRO Manual

 8/75

Содержание HHR 3000 PRO

Страница 1: ...HELD READER HHR 3000 PRO V2 HANDHELD READER HHR 3000 PRO V2 HHR 3000 PRO Programmers Manual This paper is compatible from 3 30 versions of HHR Manager and Operating System D01B2 4 HHR 3000 PRO Manual...

Страница 2: ...ER Section 17 Communication Possibilities 19 Frames Structures 20 HEADER example 21 TABLE Section 22 Data type 25 GLOBAL Section 28 MESSAGE Section 30 Managing Leds and Sound Signal 30 GSM Section 32...

Страница 3: ...le 71 Tru Test Scales 71 Hardware 71 Software 72 Iconix Scales 72 Hardware 72 Software 73 Appendix F HHR China code page character set 74 List of non ASCII chars 74 List of ASCII chars included in HHR...

Страница 4: ...uctions may cause harmful interference to radio communications However there is no guarantee that interference will not occur in a particular installation If this equipment does cause harmful interfer...

Страница 5: ...n simple HDS Hhr Development Script language and user input database Those 2 files combined compiled by HHR Manager are Application Project The core of Application Program are macros defining LCD scre...

Страница 6: ...s a possibility to include Log table to Application Project Log is another table which records are created during user defined events birth death The structure of Log is defined in Application Program...

Страница 7: ...so accessible from CD provided with HHR user can run this Tool by selecting appropriate button in window Establishing Connection with PC Before connecting HHR to PC all software must be installed on P...

Страница 8: ...nicate with HHR from PC with BlueTooth MANAGING HHR 3000 PRO HHR 3000 PRO is equipped with newest HHR OS operating system which enables to run the Application Program on HHR Very important is to use c...

Страница 9: ...x F You can select one of those code pages and use it in HHR Command Line Mode It is possible to run HHR Program Loader from Command Line and update HHR with hex file The syntax of command line takes...

Страница 10: ...dow will appear where user can select Log file 6 Press the E button to connect compile selected files to Application Project and send it to your HHR 7 If definition of database in Application Program...

Страница 11: ...ponder number which will be placed in Table or Log As a default this option is turned off The matching definition of database and User input database term is a little bit complicated If you are not fa...

Страница 12: ...lows you to put comments and empty lines in Application Program Comment are sign for HHR Manager that this line is a user line and won t be taken into account during compilation connecting Application...

Страница 13: ...more data can be saved in your HHR Messages can also be used for driving LEDs and Sound signal in HHR V2 GSM This section contains SMS structures that will be send from HHR MACRO this section is the...

Страница 14: ...3412331 END MESSAGE 0 value not valid 1 reenter it END MACRO begin_macro LAMBING begin_action_area ReadNew MOTHEREID FillExp DATE date end_action_area begin_screen PrintExp 46 0 0 count PrintText 115...

Страница 15: ...D01B2 4 HHR 3000 PRO Manual 15 75...

Страница 16: ...n Program If you don t want to include any in above 5 sections left it empty Example START_SCREEN END IMPORTANT Sections must be placed in program in the order mentioned in the flow chart above Every...

Страница 17: ...f characters in this parameter has got meaning 8 Decimal Point defines the decimal point used to separate integer part from fractional part in User input database it is used also during receiving User...

Страница 18: ...r one The order on which records are changed is defined in Sorting col_name function So if you want to switch records by date you have to use Sorting DATE in Action Area 13 Outgoing Frame Structure HH...

Страница 19: ...similar software for capturing messages send by HHR To connect to HHR you must know the Virtual Com Port Number VCP which HHR is using to check it please right click on My Computer and select Propert...

Страница 20: ...e separator declared in header section Current Time End line characters at C C language it is r n it take two characters 0x0D and 0x0A Frame Example 12345678901234567890123 2007 02 06 23 59 59 r n 2 I...

Страница 21: ...f User input database is 10000000982000035423300 230 00 09 02 2007 10000000982000035423301 231 23 09 02 2007 Date format and Time format parameters can contain only special characters like d m h for D...

Страница 22: ...n unique indicates that it can unique indicates that value can t be repeated in whole column This parameter will be useful for Log users because the Unique value defines the key index column in User i...

Страница 23: ...nothing to display field is empty all data from field was displayed data isn t an numerical character nothing won t be displayed _ this character is used to display special characters 0 _ this charac...

Страница 24: ...ult value this parameter defines default value after creating a new record For Date and Time now default value can be used for those types it will put date time when record is created Example of Table...

Страница 25: ...declare mask it will be declared automatically String S this type allows user to use his own alpha numerical string user declares length of field by defining mask Date D this type indicates that colu...

Страница 26: ...tes that column has predefined list of values and user of HHR can t write his own he can only select one of defined values As option has limited way of values displayed in LCD the mask is pointless so...

Страница 27: ...sist of 3 groups of digits separated with space there is no default value declared Example of TABLE section TABLE MOTHEREID R 1 1 1 0000 0000 0000 MOTHERVID S 1 1 1 NRFEMAL S 0 1 1 0 NRMALE S 0 1 1 0...

Страница 28: ...s are stored in memory and corresponding value character string is displayed on LCD screen User declares Globals by placing number of global a colon and value of Global maximum length of each global i...

Страница 29: ...ables to write a number of global After receiving database from HHR numbers of globals can be easily converted with global values HDS allows you to load Globals from text file during compilation and s...

Страница 30: ...ter Example of Message section MESSAGE 0 For sale 1 Treat 2 Separate END Managing Leds and Sound Signal Messages can also be used for driving Leds and Sound signal in HHR V2 For driving LEDs and Sound...

Страница 31: ...ff until tag is read or 2 seconds time for reading tag is finished when HHR has read tag G is On for 3s and S is On for 0 5s when HHR hasn t read tag R is On for 3s and S is On for 0 5s when HHR has r...

Страница 32: ...be sent User can put constant text or data from column in the SMS definition SMS identifier and SMS definition is separated with colon Placing field from memory in SMS is done by putting column name b...

Страница 33: ...s to GSM network After that User is able to send SMS by selecting SMS Icon created by using IconSendSMS function in Application Program Parameters for IconSendSMS are x and y which responses to coordi...

Страница 34: ...ecial Screen functions are performed or Transponder Read button is pressed other options available it depends on definitions included in Action Area Action area starts with begin_action_area and ends...

Страница 35: ...low chart 1 Description of each point on flow chart 1 1 User enters macro HHR is checking whenever a Special Action Function is in Action Area if it is HHR sets its registers to know where call back i...

Страница 36: ...mentioned after entering the macro and action area HHR only check if Special Action Area function is in code if it is HHR sets its registers if there isn t any nothings happens next HHR move to screen...

Страница 37: ...ection MACRO begin_macro SETTING begin_action_area ReadNew MOTHERID end_action_area begin_screen PrintText 0 0 0 RECORDS PrintExp 46 0 0 count PrintText 115 0 0 2 1 DrawLine 0 6 127 6 PrintText 0 10 1...

Страница 38: ...fix the value or finish editing with Enter key HHR enables to use Speed Mode which allows user to finish editing with a Up or Down Arrow and move to next previous record The mode can be turned off on...

Страница 39: ...or is in field input box starts editing a value in field input box Transponder Read Depending on App Program reads transponder number Power On Off Moves to the next screen if HHR reaches last screen m...

Страница 40: ...rn to screen where user was at the beginning User won t even see any changes on the screen everything will be done in background the only change that will be performed is that current record might be...

Страница 41: ...be used to design a start screen for HHR such start screen helps to identify the application program that HHR is programmed with Data validation masks give an opportunity to control entering data The...

Страница 42: ...t after a start screen The menu design syntax is following just after enumeration and colon you define list of menu elements in curly brackets each menu element is in bracket Brackets are separated ea...

Страница 43: ...inal step for each element in menu or sub menu You can put maximum 10 elements in each menu or sub menu The maximum length of menu value which displays on the screen is 12 characters The maximum level...

Страница 44: ...on HHR s LCD according to function syntax you have to take the text in quotation marks Example PrintText 0 0 0 TABLE ESPANA 01BT PrintVersion x y font PrintVersion functions prints a number of HHR OS...

Страница 45: ...irst corner and x2 y2 is the opposite corner Example DrawRec 12 32 12 45 Start Screen Example START_SCREEN begin_screen PrintText 0 0 0 TABLE PRACTISE 02 DrawLine 0 6 127 6 PrintText 33 20 5 MY_COMPAN...

Страница 46: ...t That line would turn off w_TAGEXIST warning in HHR so it would be never displayed in HHR Below a list of standard warning is presented during creating Application Program you don t have to declare a...

Страница 47: ...CONNECTED USB connected w_NEW_REC Creating new record w_CHOICE Choice w_FIND Find w_TAGNOTFIND Transponder number not find w_TAGEXIST Transponder already exist w_YES YES w_NOT NOT w_ADD_REC Do you wan...

Страница 48: ...to DEL rel rec w_RSACTIVE RS232 is activated w_RSNOACTIVE RS232 is closed w_GSMACTIVE GSM is activated w_GSMNOACTIVE GSM is closed Example WARNING w_NOTAG Tag missing w_WAIT Wait w_UNIQUE This value i...

Страница 49: ...no 2 and 3 if you need more information concerning HEADER Section refer to its chapter TABLE Section TABLE C_ID_ELEC R 1 1 1 0000 0000 0000 BREED S 0 1 1 00 00 SEX O 0 1 1 H M M END Table section is u...

Страница 50: ...henever you would like to change a message value in App program don t hesitate the only restriction is that message has to be shorter then 30 characters You can define actions of LEDs and Sound signal...

Страница 51: ...0 end_screen END Start Screen according to the name is a screen which appear just after HHR is turn on Start Screen section has a few function mainly a text function so you can change the text display...

Страница 52: ...nts global on HHR s LCD DrawLine x1 y1 w h Draws a line DrawRec x1 y1 w h Draws a rectangle EditMaskedField x y font col_name EditReadField x y font col_name EditChoiceField x y font col_name EditChoi...

Страница 53: ...ew x y font col_name Gets transponder number by TR button EditReadSeek x y font col_name Gets transponder number by TR button IconAddRec x y font db_ident oper_el Place icon creating a record EditNewF...

Страница 54: ...joined record only for PrintExp Parameters description x the horizontal coordinate on the screen take values 0 127 y the vertical coordinate on the screen take values 0 63 col_name name of column decl...

Страница 55: ...d from TABLE and appropriate record from LOG there is a possibility to display next or previous records from LOG concerning selected record in TABLE If you are familiar with database technique Table a...

Страница 56: ...R 1 1 1 0000 0000 0000 DATE D 0 1 1 00000000000 EVENT S 0 1 1 VALUE S 0 1 1 END The relations are defined by Join function in Action Area there can only be one Join function in each macro The syntax...

Страница 57: ...lumn LEID in Log in current record number is fulfill with transponder number read by ReadSeek function PutGlobal log EVENT 1 FillExp log DATE date FillExp log TIME time According to example above ONLY...

Страница 58: ...in memory put a instead of column name Function Sorting may be used without Log this function define actions taken when buttons are pressed and it is usable even if user is operating only on Table Th...

Страница 59: ...n begin_control_area end_control_area end_macro END Using Log You can manage Log on HHR by two functions Sorting Join Join function defines relation between Table and Log if you change a current recor...

Страница 60: ...ord number in table without changing current record number in Log Example MACRO begin_macro VIEWLOG begin_action_area ReadSeek log MOTHEREID Sorting log Join table MOTHEREID log MOTHEREID end_action_a...

Страница 61: ...l screen function each of those define Transponder Read button to work so there if there is BT_true in Header and Bluetooth is activated HHR will send a frame containing information about just read tr...

Страница 62: ...1 Retagging PrintRetagging 117 25 1 end_screen begin_control_area end_control_area end_macro begin_macro BLUETOOTH begin_action_area end_action_area begin_screen PrintText 0 0 0 RECORDS PrintExp 46 0...

Страница 63: ...BLUETOOTH Macro enables to activate Bluetooth set a name for HHR in Bluetooth network and BT Pin Those Macros has been placed in MENU section the menu elements important for us has been made bold Blue...

Страница 64: ...COM port The Settings 115200 baud 8 data bit 1 stop bit No parity Hardware Flow Control Enabled Connecting HHR to PC with Bluetooth 1 HHR Settings Turn on Bluetooth in HHR set Name and Pin in Bluetoot...

Страница 65: ...by SetBTPin function this function has to be included in one of Screens When motion appears click to it and enter PIN 5 COM Port Number After HHR connects to PC a COM port will be open you will have...

Страница 66: ...Terminal and establish connection After HHR has successfully connected to PC you have to run Hyper Terminal or similar to it PC program define port and set communication parameters Series of pictures...

Страница 67: ...D01B2 4 HHR 3000 PRO Manual 67 75...

Страница 68: ...he appropriate COM Port has to be selected in upper window the information about used COM port was presented in point 5 The setting for COM port has to be set as upper D01B2 4 HHR 3000 PRO Manual 68 7...

Страница 69: ...This is part of Hyper Terminal window this should be displayed if connection has been established successfully and user has read a transponder D01B2 4 HHR 3000 PRO Manual 69 75...

Страница 70: ...2 functions TTWeight and TTAVG for Iconix there is one function IconixWeight Please remember to open RS232 port before using any of those function see below RS232 Port RS232 Port has to be turned on w...

Страница 71: ...RxD 5 GND 1 4 6 7 8 9 no connection You can use our RS232 cable part 55007 or cable from 55008 to connect directly to any PC RS232 socket Tru Test Scales HHR can cooperate with Tru Test series 2000 sc...

Страница 72: ...ll save it in memory and move to next field on the screen Both of those function are screen functions so to activate it user has to put frame screen cursor when HHR receives message from scale it will...

Страница 73: ...ction This function will wait until scale send message with weight IconixWeight function just as Tru Test functions is screen function so to activate it user has to put a frame on it When HHR receives...

Страница 74: ...anumerical chars both low and upper case and elementary punctuation chars To use this char set special OS HHR China has to be loaded to HHR with Program Loader Please use UTF 16LE or UTF 16BE standard...

Страница 75: ...ars included in HHR China Odd columns represent ASCII number of char and even its graphical symbol Please use UTF 16LE or UTF 16BE standard for User Application Program and DB files D01B2 4 HHR 3000 P...

Отзывы: