CP 523
Technical Description
2.3
Serial Interface CP - Peripheral Device
The CP 523 is equipped with an RS-232-C (V.24) interface and a TTY interface. You can set the serial
interface parameters in two ways:
•
In the user program with job number 90
H
"Set interface parameters" parameter block
( 7.3.2).
The CP 523 copies the parameter setting data from the submodule into a RAM area on the CP
during startup. If the CPU transfers new parameter setting data to the CP during operation,
the CP continues with the new data.
•
In data block 1, parameter block 0, on the user submodule (Print mode 6.3.1,
Communications mode 7.3.1).
Data is transferred between the CP and the peripheral device in a 10-bit or 11-bit character frame.
Three data formats are available for each character frame.
10-Bit-character frame
•
1 start bit, 7 data bits, 2 stop bits
(data format 3 in parameter block 0)
•
1 start bit, 7 data bits, 1 parity bit, 1 stop bit
(data format 4 in parameter block 0)
•
1 start bit, 8 data bits, 1 stop bit
(data format 5 in parameter block 0)
11-Bit-character frame
•
1 start bit, 7 data bits, 1 parity bit, 2 stop bits
(data format 0 in parameter block 0)
•
1 start bit, 8 data bits, 1 parity bit, 1 stop bit
(data format 1 in parameter block 0)
•
1 start bit, 8 data bits, 2 stop bits
(data format 2 in parameter block 0)
Figure 2-3. 10-Bit Character Frame with 7 Data Bits, 1 Parity Bit and 1 Stop Bit
Bit no
.:
1st example:
Character frame: 10-bit
Data format: 7 data bits (1 start bit, 7 data bits, 1 parity bit, 1 stop bit)
1
2
3
4
5
6
a a a
a a a
a a a
a a a
7
8
9
10
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a a
a a a a a a a a a
a a a a a a a a a
a a a a a a a a a
a a a a a a a a a
a a a a a a a a a
a a a a a a a a a
a a a a a a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
1
a a a
a a a
a a a
a a a
0
1
0
1 start
bit
1 pari-
ty bit
1 stop
bit
7 data bits
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a a
a a a a a a a a a
a a a a a a a a a
a a a a a a a a a
a a a a a a a a a
a a a a a a a a a
a a a a a a a a a
a a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
EWA 4NEB 811 6044-02a
2-5