Telcom Research CallShop FONE DISPLAY Скачать руководство пользователя страница 11

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 10

 

Special Characters: 

 

The “G” command allows creation of up to 8 special characters. These are characters that 
do not exist as part of the standard ASCII character set. For instance, the dollar sign is ok if 
you are working with dollars as this is a standard ASCII character, however if you are 
working in Euro’s then the Euro symbol does not exist, so you need to create it your self. 
 
The LCD display is made up of characters that are 8 dots high by 5 dots wide. For example: 
 

Bit 

 

 

 

 

4  3  2  1  0   

Binary 

Hex 

FD Hex 

 

 

 

 

 

 

 

 

 

  

  

  

  

  

 

01110 

0x07 

0x87 

  

  

  

  

  

 

10001 

0x11 

0x91 

  

  

  

  

  

 

10001 

0x11 

0x91 

  

  

  

  

  

 

10001 

0x11 

0x91 

  

  

  

  

  

 

11111 

0x1F 

0x9F 

  

  

  

  

  

 

10001 

0x11 

0x91 

  

  

  

  

  

 

10001 

0x11 

0x91 

  

  

  

  

  

 

00000 

0x00 

0x80 

 
You can see that the letter “A” is formed by dots. Each dot is either on (1) or off (0). The 
“Binary” column is the binary value of the 0’s and 1’s required to form this character. The 
“Hex” column is simply the hex version of this same value. The FD Hex column is simple the 
Hex column with bit 7 always on (or if you prefer, in “C” terms, it is Hex | 0x80). To form 
this character, you need to write 8 bytes of data 87; 91; 91; 91; 9F; 91; 91; 80. 
 
To diagram below shows how you would form the Euro character. 
 

Bit 

 

 

 

 

4  3  2  1  0   

Binary 

Hex 

FD Hex 

 

 

 

 

 

 

 

 

 

  

  

  

  

  

 

00111 

0x07 

0x87 

  

  

  

  

  

 

01000 

0x08 

0x88 

  

  

  

  

  

 

11110 

0x1E 

0x9E 

  

  

  

  

  

 

01000 

0x08 

0x88 

  

  

  

  

  

 

11110 

0x1E 

0x9E 

  

  

  

  

  

 

01000 

0x08 

0x88 

  

  

  

  

  

 

00111 

0x07 

0x87 

  

  

  

  

  

 

00000 

0x00 

0x80 

 

To form this character, you need to write 8 bytes of data 87; 88; 9E; 88; 9E; 88; 87; 80. 
The “G” command is used to send 8 special characters to the display memory. This equals 
64 bytes of information. 
 
Format: 
 

Gabcdefgh

<CR>

 

 
 

 

= “G” 

Содержание CallShop FONE DISPLAY

Страница 1: ...CallShop FONE DI PLAY Installation Protocol Manual Stand Alone Install Multiple Install via CallShop Concentrator Issue 1 10 March 24 2008...

Страница 2: ...ted to the implementation of a CallShop The device is enclosed in a small plastic enclosure and contains an LCD display and connection jacks Its internal microprocessor is capable of various functions...

Страница 3: ...Standard network cable into the Serial Interface Jack Plug an RJ45 to DB9 Adapter onto the end of the RJ45 Patch Cable Plug the RJ45 to DB9 Adapter into a spare COM port of your PC The RJ45 to DB9 Ad...

Страница 4: ...he 2 digits after the 0x are a hex value ETX The ASCII character ETX which is 0x03 or 3 Control Commands The following list of commands allows a PC program to control the operation of the CallShop Fon...

Страница 5: ...ear on line 2 of the LCD display This command is only capable of filling the entire display If you wish to modify only a portion of the display see the Message command Response L CR The CallShop Fone...

Страница 6: ...Format tx CR X Row Number 0 Do not display 1 Display Clock on Line 1 2 Display Clock on Line 2 Response t CR The CallShop Fone Display will respond with this confirmation message Example T1 CR Put th...

Страница 7: ...e Duration Counter Format dxy CR d d x Enable Disable 1 Enable 0 Disable y Optional command If this character is a C then the counter will also be reset to zero Response d CR The CallShop Fone Display...

Страница 8: ...e and the C00000 0000C CR This will cause the Cost Counter to be removed from the LCD display Cost Start Stop The c lower case C command is used to start and stop the Cost Counter Format cxy CR c c x...

Страница 9: ...rns off the prepaid function The Cost Counter will act in Standard Mode P00002000 CR This command will set the prepaid amount to 2000 units If we were working in dollars then this would represent 20 0...

Страница 10: ...cause both the duration counter and the cost counter to stop counting B1S CR This will cause both the duration counter and the cost counter to start counting Neither counter will be altered first so t...

Страница 11: ...10001 0x11 0x91 10001 0x11 0x91 00000 0x00 0x80 You can see that the letter A is formed by dots Each dot is either on 1 or off 0 The Binary column is the binary value of the 0 s and 1 s required to f...

Страница 12: ...dSpecialCharacters void Define the array to hold the 64 bytes char special_chars 0x86 0x89 0x88 0x9E 0x88 0x8D 0x92 0x80 0x87 0x88 0x9e 0x88 0x9e 0x88 0x87 0x80 euro_image 0x9F 0x91 0x91 0x91 0x91 0x9...

Страница 13: ...provides information about the change of state of the telephone hook switch Format Hx CR H H x State 0 On Hook 1 Off Hook Example State of telephone Message Sent Phone goes off hook H1 CR Phone goes...

Страница 14: ...and is working and to also verify it is the correct version Command R CR Response Format xxxxxx CR x 6 digit revision number Example 300110 CR Device is version 300110 Status Hook Switch The SH comma...

Страница 15: ...play Enabled 0 no 1 yes R Row 1 or 2 CC Column 1 to 16 d Delimiter character x 5 digit duration in seconds Example D1101 00123 CR Duration Counter is displayed at row 1 column 1 with a delimiter chara...

Страница 16: ...y 15 seconds and the actual total cost of the call is 234 which in my example would be 2 34 Status Simple Cost The SS command will return the value of the Duration and Cost counters to quickly obtain...

Страница 17: ...ters in length with a at the start and a two characters from the left The cost is to be cleared The field will look like 0000 00 At this point the first line of the LCD will be displaying 000 00 0000...

Страница 18: ...D7 User Dials 7 Destination Phone Number 011441234567 B1S B Begin the call The cost counter will immediately add 0 45 to the total so the cost will now display 0001 05 and the Duration Count shows 001...

Страница 19: ...l Port 1 Phone 2 Phone 3 Phone 4 Phone 5 Phone 6 Phone 7 Phone 8 Concentrator Serial Port 2 Cable 1 Cable 2 Cable 3 Cable 4 Cable 5 Cable 6 Cable 8 Cable 7 Booth 1 Booth 2 Booth 3 Booth 4 Booth 5 Boot...

Страница 20: ...e complicated it is actually very simple once you understand it First the CallShop Concentrator provides a single serial connection to the PC Second each Fone Display has only one cable connection fro...

Страница 21: ...the Concentrator Telephone Jack to a RJ61 Standard Jack Then connect up to 4 phone lines according to the wiring below RJ61 Standard Pin Number Jack Color Function Typical Wire Color 1 Blue Fone Disp...

Страница 22: ...a standard RJ45 network patch cable and an RJ45 to DB9 adapter This RJ45 to DB9 Adapter may be obtained directly from Telcom Research or can be built from a generic adapter The connection information...

Страница 23: ...ETXPxxmm CR ETX ASCII Character ETX 0x03 or 3 P P xx Port Number of 01 to 99 mm Message to pass to the selected port CR End of message character For Example if you wish to send the message Hello Worl...

Страница 24: ...ervice Road Burlington ON Canada L7N 3G2 Phone 905 336 2450 Fax 647 436 6954 Web www telcomresearch com Page 23 sprintf buf 3P 02d s iPortNumber pFDMessage WritetoConcentrator buf Function to send dat...

Отзывы: