EasyManua.ls Logo

Omron SYSMAC FH Series

Omron SYSMAC FH Series
882 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
WWW.NNC.IR
Macro Reference
641
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
Print#
Outputs data in a file.
Format
Print #<fileNo>[, <expression>[;|, <expression>...][;|,]
Parameter
Return value
None.
Description
Outputs an expression or a character string specified in the <expression> parameter in the file with the file
number specified in the <fileNo> parameter.
If the parameters are separated with commas (,), the specified expressions and character strings in the
<expression> parameters are separated by tab delimiters and output.
If the parameters are separated with semicolons (;), the specified expressions and character strings in the
<expression> parameters are output subsequently to the output expression or text string immediately before.
If any of semicolon (;) and comma (,) are specified at the end of parameters, a line break is added after all the
parameters are output.
If an unopened file number is specified in the <fileNo> parameter, an "Illegal function call" error will occur.
If a file number of the opened file by a macro function other than the Open For Append As# function and the
Open For Output As# function is specified in the <fileNo> parameter, an "Illegal function call" error will occur.
If a value outside the range of 0 to 15 is specified in the <fileNo> parameter, an "Illegal function call" error will
occur.
If a character string longer than 127 characters is specified in the <expression> parameter, an "Illegal
function call" error will occur.
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
If the format is written incorrectly, such as writing the macro function name incorrectly, omitting a comma, or
omitting a half-width space, a "Syntax error" error will occur.
Usage Cautions
None.
Parameter
name
Data type Description
<fileNo> Integer type File number (0 to 15) of the output destination file
<expression>
Integer type
Double
precision real
number data
type
Character
string type
Array
Numerical expression or character string to be output

Table of Contents

Other manuals for Omron SYSMAC FH Series

Related product manuals