Print Mode
CP 523
6.3.6
Example for Configuring the CP 523 in Print Mode
Start address 128 is set on the CP 523. Configure the CP as follows:
•
Parameters for the serial interface
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(parameter block 0)
- 2400 baud
(6)
- Even parity
(0)
- No BUSY signal
(0)
- RS-232-C (V.24) interface
(1)
- 7 data bits (11-bit frame)
(0)
- Handshake OFF
(0)
•
Parameters for waiting times
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(parameter block 1)
Not significant since XON/XOFF protocol is to be used
•
XON/XOFF protocol
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(parameter block 2)
- XON character: DC 1
(11
H
)
- XOFF character: DC 3
(13
H
)
•
Configuration data for entering message texts
. . . . . . . . . . . . . . . . . . . . . . .(parameter block 3)
No change with respect to default values
•
Configuration data for message text printout
- Time of day and date unchanged with respect
to default values
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(parameter block 4)
- Page format:
64 lines/page
. . . . . . . . . . . . . . . . .(parameter block 5)
10 characters left margin
Page number at bottom
- Header:
”Test mode”
. . . . . . . . . . . . . . . . . .(parameter block 6)
Footer:
”Laboratory”
Explanation
Entry on the PG 685 for DB 1
Parameter block 0
2400 baud (6
H
), Even parity (0
H
),
No BUSY signal (0
H
), RS-232-C (V.24)
interface (1
H
),
7 data bits (0
H
), (11-bit frame)
Handshaking OFF (0
H
),
Parameter block 2
XON character: DC 1 (11
H
)
XOFF character: DC 3 (13
H
)
Parameter block 5
64 lines/page (40
H
), 10 characters left
margin (0A
H
)
Page number at bottom
Parameter block 6
Header 1: Test mode
Footer 1. Laboratory
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
:
KS = 'Parameters for the serial';
:
S
= 'interface';
:
KS = ':0600100';
:
S
= 'XON/XOFF protocol';
:
KS = ':2';
:
KH =
1113
:
S
= 'Message text printout';
:
KS = ':5';
KH =
400A
KS =
'B'
:
S
= 'Headers and footers';
:
KS = ':6K1Test mode$';
:
S
= 'F1Laboratory$';
:
6-14
EWA 4NEB 811 6044-02a