Ascii Parameter Set - Siemens SIMATIC S5-115U User Manual

Simatic s5 series cpu 941-7ub11 cpu 942-7ub11 cpu 943-7ub11 and cpu 943-7ub21 cpu 944-7ub11 and cpu 944-7ub21
Table of Contents

Advertisement

Communications Capabilities
ASCII Codes and Corresponding Hexadecimal Numbers:
RUB OUT 7F
H
XON
11
H
XOFF
13
H
12.4.4

ASCII Parameter Set

The ASCII parameter set is used to define function parameters for the ASCII driver (see
Table 12-10). There are already defaults for individual parameters according to the mode
selected. The following parameters apply to the PT 88 printer.
The parameter set is read after activation of the ASCII driver or after a change of mode; data
traffic at the interface must first be terminated (i.e. bit 7 of CBR=0 and bit 7 of CBS=0). The
parameter set is also transferred after PLC POWER ON if the ASCII driver was previously activated.
Note
The default values are used only when no ASCII parameters are initialized or if these
cannot be interpreted.
Word
Description
0
Baud rate
1
Parity
2
Data format
*
3
Waiting time CR
**
4
Waiting time LF
**
5
Waiting time FF
**
Character delay
6
time (receive
only)
x
= irrelevant
*
See Table 12-11 for the meaning of data formats 0 to 8
**
When sending
12-26
CR
0D
EOT
H
LF
0A
ETX
H
FF
0C
H
Table 12-10. ASCII Parameter Set
Value Range
2
200 bauds
3
300 bauds
4
600 bauds
5
1200 bauds
6
2400 bauds
7
4800 bauds
8
9600 bauds
0
even
1
odd
2
mark ("1")
3
space ("0")
4
no check
0 to 8
0 to 00FF
10ms
x
H
0 to 00FF
10ms
x
H
0 to 00FF
10ms
x
H
1 to FFFF
10ms
x
H
04
H
03
H
Default According to Mode
1
2
3
4
8
8
8
8
0
0
0
0
0
0
0
0
x
x
x
x
x
x
x
x
x
x
x
x
10
10
10
10
S5-115U Manual
5
6
7
8
8
8
8
8
0
0
0
0
0
1
1
0
x
0
0
x
x
0
0
x
x
0
0
x
10
x
x
x
10
EWA 4NEB 811 6130-02b

Advertisement

Table of Contents
loading

Table of Contents