Skip to main content

10.4.1.2. PRINT

10.4.1.2. PRINT

 

Explanation

Assigned data is printed on teach pendant screen or serial port.

Grammar

PRINT <output direction>,<info,..>

Parameter

Output

direction

#0 : teach pendant

#1 : serial port COM 1

#2 : serial port COM 2

ENET1 : Common Ethernet port (EN2) object 1

ENET2 : Common Ethernet port (EN2) object 2

ENET3 : Common Ethernet port (EN2) object 3

Information

Arithmetic formula, string formula

Example

PRINT #0, "SIGNAL VALUE = "; V1!

Note

If there is ‘,’ in the space between data, the data are distinguished by printed space as a character. If there is ‘;’ no space is printed.

If there is ‘;’ at the end, new-line character is not attached.