11 - 138 11 - 138
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
LPRINT USING
Instruction
LPRINT USING
• Outputs data in the specified format to the printer.
LPRINT USING ” <display format> “; <expression> [, <expression> ] ... [;]
display format
• • • •
Specify the format for the character string or numeric
values to be displayed.
Syntax
expression
• • • •
Specify the character string or numeric values to be
displayed.
SIN(12
0°)
Examples
LPRINT USING
“SIN(###°)”;120
• • • •
Displays SIN(120°) on the printer.
Description
• The LPRINT USING instruction outputs data in the specified format to the printer.
• This instruction is the same as the PRINT USING instruction except for the fact that it
outputs data to the printer.
• The output printer is specified with the ZLDV instruction.
• While printing is in progress, all keys will not be accepted, including the Break ,
Ctrl + C keys. To stop printing, turn off the printer or set it to the offline status.
The printer output process will stop after approximately 5 seconds.
• For <display format> setting using the LPRINT USING instruction, see the format
specification of the PRINT USING instruction.
REMARK
See the PRINT USING instruction and Section 7.3.3.
Содержание A1SD51S
Страница 183: ...11 13 11 13 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS RUN Before swap A 0 H924 A 1 H1159 After swap A 0 H1159 A 1 H924 OK...
Страница 331: ...11 161 11 161 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CON ON OFF STOP and ZOPEN functions and Section 7 4...
Страница 557: ...11 387 11 387 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CHR SPACE and SPC functions...
Страница 629: ...11 459 11 459 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZOPEN ZSEND and ZCNTL instructions and Section 7 3 4...
Страница 645: ...11 475 11 475 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZEVENT ZSIGNAL and DEF ZEVENT instructions...