Sending Texts; Sending Values; Receiving Values - Jetter JVM-104-O15 User Manual

Table of Contents

Advertisement

Jetter AG

7.4.3.5 Sending Texts

Restrictions
Sending Texts

7.4.3.6 Sending values

Restrictions
Sending values

7.4.3.7 Receiving values

Receiving values
JVM-104-O15 User Manual
An easy way to send texts via user-programmable serial interface is redirecting
the instructions DisplayText() and DisplayText2() to Device 9.
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.
ü
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.
A simple way to send values via user-programmable serial interface is to redirect
the DisplayValue() command to Device 9.
When redirecting instruction DisplayValue() to the user-programmable serial
interface, the following restriction applies:
The cursor position will not be taken into account.
ü
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.
Values are received by reading characters from registers MR 15 through MR 18
Receive buffer registers.
ü
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.
Programming | 7
33 / 60

Advertisement

Table of Contents
loading

Table of Contents