GAI-Tronics IPE2500A, IPE2500A-MLS Paging Encoder / Desktop Controller User and Installatoin Manual User Manual

Page 42

Advertising
background image

Operation

IPE2500A and IPE2500A-MLS Paging Encoder/Desktop Controller

03/12 36

Example:

The frequency constant is calculated as (using C syntax):

MSW = 0x00ff & round (frequency * 8.192 ) >> 1

LSW = 0xFF00 & round (frequency * 8.192 ) >> 8

Therefore, to generate 1234 Hz followed by 567 Hz the frequency constants must first be calculated.
For 1234 Hz:

MSW = (0x00ff & round (1234 * 8.192 ) ) >> 1

= (0x00ff & round (10108.928) ) >> 1

= (0x00ff & 10109) >> 1

= (0x00ff & 0x277d) >> 1

= 0x7d >> 1

=

0x3e

MSW = ‘3’, ‘E’ or (0x33), (0x45)

LSW = (0xff00 & round (1234 * 8.192 ) ) >> 8

= (0xff00 & 0x277d) >> 8

= 0x2700 >> 8

=

0x27

LSW = ‘2’, ‘7’ or (0x32), (0x37)

For 567 Hz

MSW = (0x00ff & round (567 * 8.192 ) ) >> 1

= (0x00ff & 0x1225) >> 1

= 0x25 >> 1

=

0x12

MSW = ‘1’, ‘2’ or (0x31), (0x32)

LSW = (0xff00 & round (567 * 8.192 ) ) >> 8

= (0x00ff & 0x1225) >> 8

= 0x12 >> 8

=

0x12

LSW = ‘1’, ‘2’ or (0x31), (0x32)

To generate the tone sequence, the following must occur:

PC to IPE2500A:

‘^’, <CR>

IPE2500A to PC:

‘0’, ‘1’, ‘8’ (Response)

PC to IPE2500A:

‘4’, ‘1’, ‘3’, ‘E’, ‘2’, ‘7’, ‘~’ (Initiate transmission and generate 1234

Hz)
IPE2500A to PC:

‘~’ (Acknowledge that tone is being generated)

<PC must time the duration for the tone.>
PC to IPE2500A:

‘^’, <CR>

IPE2500A to PC:

‘0’, ‘1’, ‘8’ (Response)

PC to IPE2500A:

‘4’, ‘1’, ‘1’, ‘2’, ‘1’, ‘2’, ‘~’ (Keep transmission and generate 567 Hz)

IPE2500A to PC:

‘~’ (Acknowledge that tone is being generated)

<PC must time the duration for the tone.>
PC to IPE2500A:

‘^’, <CR>

IPE2500A to PC:

‘0’, ‘1’, ‘8’ (Response)

PC to IPE2500A:

‘4’, ‘0’, ‘~’ (Cease transmission)

IPE2500A to PC:

‘~’ (Acknowledge transmission has ceased)

Advertising