Omron SYSMAC FH Series User Manual page 643

Vision sensor vision system
Hide thumbs Also See for SYSMAC FH Series:
Table of Contents

Advertisement

Print#
Outputs data in a file.
Format
Print #<fileNo>[, <expression>[;|, <expression>...][;|,]
Parameter
Parameter
Data type
name
<fileNo>
Integer type
Integer type
Double
precision real
number data
<expression>
type
Character
string type
Array
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.
Vision System FH/FZ5 Series
User's Manual (Z340)
File number (0 to 15) of the output destination file
Numerical expression or character string to be output
WWW.NNC.IR
Description
8
641
Macro Reference

Advertisement

Table of Contents
loading

Table of Contents