ASCII Driver
S5-95U, Second Serial Interface
ASCII mode number (MOD)
You can define the type of data traffic by means of the mode number (1 ... 8).
Two protocol types can be distinguished:
•
Non-interpreting mode (mode no. 1, 2, 3)
Data is exchanged without XON/XOFF protocol.
•
Interpreting mode (mode no. 4 ...8)
Data is exchanged with XON/XOFF protocol. When the signal state of the bit
”
receiving
allowed
”
changes, the ASCII driver sends:
-
XOFF
at the falling edge or
-
XON
at the rising edge.
Table 4-3 shows the meanings of the individual mode numbers. The definitions of the DB1
parameters
”
ML
”
or
”
ME
”
in Table 4-3 serve as an example. All parameters of the permissible
range of values are valid ( Table 4-2).
Table 4-3 Meaning of the Mode Number
*
n is variable when sending
**
m is fixed in the case of the receiver
Mode
Meaning
Definition of
the ML/ME
Parameters
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
Transmitting n bytes; n
*
must be specified in the first word of the send
mailbox.
Receiving m bytes; m
**
is specified in the ASCII parameter set.
ML 64
1
As mode 2 but ASCII characters are interpreted when received:
RUB OUT : Delete last character
XON
: Continue to send
XOFF
: Abort transmission and wait for XON
ME 0 13
4
Transmitting or receiving data until the end-of-text character defined in
the parameter set (low-order byte) is sent or received. The end-of-text
character is transferred.
ME 0 13
2
Transmitting or receiving data until the two end-of-text characters
defined in the parameter set are sent or received. The two end-of-text
characters are transferred.
End of text is only recognized if the character defined in the high-order
byte is sent or received prior to the character defined in the low-order
byte.
ME 13 10
3
As mode 3 but ASCII characters are interpreted when received:
RUB OUT : Delete last character
XON
: Continue to send
XOFF
: Abort transmission and wait for XON
ME 13 10
5
4-10
EWA 4NEB 812 6095-02