S5-95U, Second Serial Interface
ASCII Driver
DB1 parameters for the ASCII driver
In DB1, you specify the position of the ASCII parameter set, the position of the send mailbox,
receive mailbox and coordination bytes, the mode number and the ASCII parameter set.
The parameter settings in the S5-95U and in the communication partner must be identical.
Caution: If you specified a DB after the
”
PAR
”
parameter in DB1, this DB must be generated
before you switch the PLC from STOP to RUN.
Table 4-2 ASCII Driver, DB1 Parameters
1
The ”PAR” parameter must be in front of the ASCII set of parameters in the ”ASC:” parameter block.
2
Specify in 10 ms increments.
3
The order of the parameters ”HD1”, ”HD2”, ”FT1” and ”FT2” must be adhered to in the parameter block.
The DB1 interpreter automatically inserts a ”CR” after every header and/or footer.
x= 2 ... 255
y= 0 ... 255
z= 0 ... 255
n= 1 ... 8
m= 200; 300; 600;
1200; 2400;
4800;9600
p= E(
VEN
); O(
DD
);
M(
ARK
);S(
PACE
)
N(
ONE
)
q= 0 ... 5, 7, 8
r= 0 ... 2550
r= 0 ... 2550
r= 0 ... 2550
s= 10 ... 655350
t= 0 ... 1024
u= 0 ... 255
v= 0 ... 255
-
w=1 ... 255
x= 0 ... 255
z= O(
BEN
); T(
OP
);
U(
NTEN
);B(
OTTOM
)
a maximum of
120 alphanumeric
characters
ASCII Driver at Second Serial Interface
Parameter
Argument
Permissible Value
Range
Block Identification: ASC:
PAR
1
SF
EF
KBS
KBE
MOD
BDR
PRTY
DF
WCR
WLF
WFF
DT
ML
ME
SLF
LPP
LM
PN
HD1
3
HD2
3
FT1
3
FT2
3
DBxDWy
or
MBz
n
m
p
q
r
2
r
2
r
2
s
2
t
u v
J/N/Y
w
x
z
<string>
<string>
<string>
<string>
Meaning
Position of the ASCII-
PARameter
Position of the send mailbox (beg. of SF)
Position of the receive mailbox (beg. of SF)
Position of the send coordination byte
Position of the receive coordination byte
”
MODe number
”
ASCII mode number
ASCII parameter set:
”
BauD Rate
”
transmission rate bit/s
”
PaRiTY
”
Parity
”
Data Format
”
data format
”
Wait time after Carriage Return
”
in ms
”
Wait time for Line Feed
”
in ms
”
Wait time for Form Feed
”
in ms
”
Delay Time
”
character delay time in ms
”
Mail Length
”
frame length in bytes
(only optional for
”
ME
”
)
”
Mail End
”
end-of-text
(only optionally for
”
ML
”
)
”
Suppress LF
”
”
Lines Per Page
”
Number of lines per
page
”
Left Margin
”
Width of left margin in char.
”
Page Number
”
Position of page number
”
HeaDer 1
”
”
HeaDer 2
”
”
FooTer 1
”
”
FooTer 2
”
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 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 812 6095-02
4-9