Control Techniques UD70 User Manual page 94

Large option module and software
Hide thumbs Also See for UD70:
Table of Contents

Advertisement

PRINT
Syntax
PRINT Expression list separated with a ",".
The
PRINT
the
. All items in the expression listing must be separated by commas.
UD70
Strings are enclosed in double quotes (" ").
A tab character (
separated by a comma. Negative values are prefixed by a – – sign; positive
values have no prefix.
Operation in
The way this instruction operates depends on the task, as follows:
various
In
BACKGROUND
tasks
characters are transmitted. It is recommended to use the
in the
BACKGROUND
In the
CLOCK
waiting. At 19200 baud rate, it takes 0.5ms to transmit one character. The
instruction would then quickly over-run the
PRINT
If another
instruction is finished the remaining characters are not printed.
The string can contain non–printable characters by using an escape
sequence. This begins with a back-slash [\] character followed by the non–
desired character.
The available characters are as follows:
Character
\b
\p
\t
Table continued...
Character
\f
\r
\v
\\
\NNN
Example
PRINT
This prints the following words:
Hello
Goodbye
7-18
Reference
instruction outputs strings or values to the
09) is automatically printed between each character
ASCII
Task, the
instruction halts program execution until all
PRINT
task only.
and
Tasks, program execution continues without
ENCODER
instruction is executed before the previous
PRINT
Function
Backspace
Line feed
Tab
Function
Form feed
Carriage return
Vertical tab.
Single back-slash
(N is an octal number)
"Hello\r\n Goodbye\r\n"
serial port of
PC RS232
instruction
PRINT
or
Task.
CLOCK
ENCODER
PRINT
ASCII Character
8
9
10
ASCII Character
12
13
11
92
UD70
Issue code: 70nu2

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UD70 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF