11 INSTRUCTIONS AND FUNCTIONS
PRINT USING
• Displays a character string or numeric value in the specified format.
PRINT USING "<display format>"; <data to be displayed>
Syntax
display format
data to be displayed
PRINT USING "###.##" ;123.56
Examples
123.56
PRINT USING "&
ABCD
• The PRINT USING instruction displays data in the specified format.
Description
• Specify the type of format for displaying a character string or numeric value in <display
format> (see the next page).
• It is possible to output the data to the console screen as well as to a general-purpose port.
11 - 345
Instruction
PRINT USING
&" , "ABCD"
• • • •
Specify the format of the character string or numeric
value to be displayed.
• • • •
Specify the character string or numeric value to be
displayed.
Displays 123.56.
Displays four letters, ABCD.
MELSEC-Q
11 - 345