ASCII Driver
S5-95U, Second Serial Interface
End-of-text identifier (ME)
You can parameterize either one or two end-of-text characters for sending data frames with variable
length. You limit the length of the respective data frame by means of the end-of-text characters
selected. You can send or receive a maximum length of 1024 bytes. For the end-of-text, there is no
default in DB1 since the parameter can only be set optionally to
”
ML
”
(frame length).
Please make sure that the same end-of-text is parameterized in the S5-95U and in the node.
Suppress LF (SLF)
The driver requires the LF control characters in the send mailbox for the correct placement of the
headers and footers. A double line feed is achieved if your printer automatically carries out an
”
LF
”
(line feed) at every
”
CR
”
(carriage return ) and an
”
LF
”
character is additionally transmitted within
the frame.
In order to prevent the double
”
LF
”
you can suppress the output of the LF control character to the
printer through the parameter assignment
”
SLF J
”
.
Number of lines per page (LPP)
For the correct placement of the headers and footers the transmitted lines are counted internally by
the driver by means of the
”
LF
”
xharacter.
Width of left margin (LM)
You can define a left margin for the text lines (not for headers and footers) in DB1 (with blanks). The
driver sends the number of blanks according to the character combination
”
CR
”
and
”
LF
”
. The
charactrer combination must be specified in the send mailbox.
Position of the page number (PN)
You place the page number either on the third line (
”
PN O
”
) or on the third last line (
”
PN U
”
) of
the respective page.
Headers and footers (HD1, HD2, FT1, FT2)
The text for the headers and footers must be included in quotes (
”
). Control characters in KS
format must be entered as follows:
$hh (
”
dollar sign
”
and hexadecimal code of the control character).
4-16
EWA 4NEB 812 6095-02