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

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

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 3

 

The CallShop Fone Display is controlled by a PC via serial communications. The PC’s COM 
Port settings must be: 
 
 

Baud Rate 

 

2400 

 

Data Bits 

 

 

Stop Bits 

 

 

Parity   

 

None 

 
Using this serial interface you can send message packets to the device to control its 
behavior. Each message packet is ASCII data with a carriage return at the end of each 
packet. This simple serial protocol allows for easy implementation and testing using 
common tools. 
 
 

Document Conventions: 

 
In this document the following names and symbols will have the following meanings: 
 
 

<CR>

  Carriage Return 

the hex value 0x0d (‘\r’) 

 

0x 

Hex Character Representation. The 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 Fone Display

 as part of an overall call shop solution. 

 
Each command is a single ASCII character followed by 1 or more parameters as text, ending 
with a 

<CR>

 Each command will cause the device to perform some function and respond 

with a confirmation message which is the command character proceeded by the “^” and 
ending with a 

<CR>

 

 
Blank LCD Line X: 
 

The “l” (lower case ‘L’) command will cause a line of the LCD display to be cleared or 
blanked. This command is a 3 character command with the 2

nd

 character being the line 

number, 1 for top, and 2 for bottom. 
 
Format: 
 

lR

<CR> 

 

 

= “l” (Lower case “L” 

 

 

R   

= Row (1 for line 1 and 2 for line 2) 

 
Response: 
 

^l

<CR> 

The CallShop Fone Display will respond with this confirmation message 

 
Example: 
 

l2

<CT> 

 

 

Clear line 2 of the LCD  display 

Содержание 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...

Отзывы: