20.08.2013 Views

HP 8648 A/B/C/D - Changpuak.ch

HP 8648 A/B/C/D - Changpuak.ch

HP 8648 A/B/C/D - Changpuak.ch

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Pager Encoding Status<br />

(Option 1EP Only)<br />

Note<br />

2-18 <strong>HP</strong>-IB Programming<br />

Paging encoding status may be queried to detect the end of encoding,<br />

or the start of ea<strong>ch</strong> frame (for FLEX/FLEX-TD) or bat<strong>ch</strong> (for<br />

POCSAG). Figure 2-2shows the example of the outputs of these bits<br />

for the following settings.<br />

Format FLEX<br />

Output Mode Burst<br />

No. of Bursts 4<br />

Start Frame 0<br />

Collapse Cycle 0<br />

Header On<br />

Terminator On<br />

Paging Status Register<br />

Bit 0 :<br />

Start of frame/bat<strong>ch</strong><br />

Bit 1 :<br />

End of encoding<br />

Number hes- hes- he6- (ma- (wn-<br />

(idle) sage) sage) sage) sege) <strong>ch</strong>nals)<br />

Figure 2-2. F’aging Encoding Status<br />

If the pager format is POCSAG and the message extends over two<br />

bat<strong>ch</strong>es, the start of ea<strong>ch</strong> frame/bat<strong>ch</strong> bit is set at every two bat<strong>ch</strong>es.<br />

Example: Check the end of message encoding<br />

18 l:llJTF’lJT 7 1’3 j “:s-fH-/-: QIJE!;: PAI;: Ef.jAE: 2”<br />

20 [llJ-&‘lJT 719; “!sTHT: QIJES: Et$=jB 4@E,”<br />

38 l:llJTF’lJT 71’33 “s!sRE :3”<br />

48 I F :~F’IIILL(~~‘~> THEI. F’FF:It.IT “Er~codir~g ~:orqplet.e. ‘I<br />

58 l:llJTPlJT 719; “aC:L!z”<br />

E,o Et.jlJ<br />

Line 10 Enables bit 1 (decimal equivalent 2) in the PAGing<br />

register. Enabling this bit masks other bits in the<br />

PAGing register from reporting their status in the<br />

summary bit to QUEStionable.<br />

Line 20 Enables bit 12 (decimal equivalent 4096) in the<br />

QUEStionable register. Enabling this bit masks other<br />

bits in the QUEStionable register from reporting their<br />

status in the summary bit to STATUS.<br />

Line 30 Enables bit 3 (decimal equivalent 8) of the STATUS<br />

register. Enabling this bit masks other bits from<br />

reporting.<br />

Line 40 Uses the <strong>HP</strong> BASIC command, SPOLL, (Serial Poll)<br />

to see if the service request bit is reporting any<br />

interrupts.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!