
Jetter AG
Programming | 7
JVM-104-O15 User Manual
33 / 60
7.4.3.5 Sending Texts
An easy way to send texts via user-programmable serial interface is redirecting
the instructions
DisplayText()
and
DisplayText2()
to
Device 9
.
Restrictions
When redirecting the instructions
DisplayText()
and
DipslayText2()
to the
user-programmable serial interface the following restrictions apply:
■
The cursor position will not be taken into account.
■
The characters for "Delete Screen" and "Delete to End of Line" are of no spe-
cial significance and will be output without any changes.
Sending Texts
ü
The user-programmable serial interface is configured.
ü
The user is familiar with the options of the instructions
DisplayText()
and
DisplayText2()
(refer to the online help which comes with JetSym).
1.
Use the instruction
DisplayText()
or
DisplayText2()
.
2.
Specify
Device 9
.
ð
The task waits at this instruction until all characters have been entered into
the transmit buffer.
7.4.3.6 Sending values
A simple way to send values via user-programmable serial interface is to redirect
the
DisplayValue()
command to
Device 9
.
Restrictions
When redirecting instruction
DisplayValue()
to the user-programmable serial
interface, the following restriction applies:
■
The cursor position will not be taken into account.
Sending values
ü
The user-programmable serial interface is configured.
ü
The user is familiar with the options of the instruction
DisplayValue()
(re-
fer to the online help which comes with JetSym).
1.
Set the special registers for formatting the display, which are used in connec-
tion with the instruction
DisplayValue()
, to the desired values.
2.
Use the instruction
DisplayValue()
.
3.
Specify
Device 9
.
ð
The task waits at this instruction until all characters have been entered into
the transmit buffer.
7.4.3.7 Receiving values
Values are received by reading characters from registers MR 15 through MR 18
Receive buffer registers
.
Receiving values
ü
The user-programmable serial interface is configured.
1.
Check the filling level of the receive buffer to make sure that it contains at
least 2 or 4 characters.
2.
Read the values from
Receive buffer
registers MR 15 through MR 18.
ð
The characters are read from the receive buffer.