![background image](http://html1.mh-extra.com/html/omron/fz4-series/fz4-series_user-manual_1633222251.webp)
4
Using
Tool
FZ4 User's Manual
Using Custom Command
249
Example
Output the character string to the file "C:\sample.txt".
Open "C:\sample.txt" For Append As #1
STRING$ = "Sample"
Print #1, STRING$ + " Print#"
Close #1
Writes data (macro console).
Print <Expression>[;|,<Expression>...]][;|,]
Parameters
<Expression>
The expression to be output and the character string (integer, double-precision, character
string).
Return Value
None.
Description
Output the variables and character strings to the macro console.
When the <Expression> is delimited with commas, it is output delimited by tabs.
When the <Expression> is delimited with semicolons, it is output after what was output immediately
before.
When the final semicolon (;) is deleted, the delimiter is attached and output.
The delimiter is that which is set in [SYS] -> [Communications] -> [Normal (ignored process)].
Example
Output the measurement results.
GetUnitData Unitnum&,"CR",CR#
GetUnitData Unitnum&,"X",X#
GetUnitData Unitnum&,"Y",Y#
Print CR#;",";X#;",";Y#
Output terminal all point output
PutAll <ioIdent>, <data>
Parameters
<ioIdent>
Identification name (string) of I/O module that executes send processing
<data>
Data to be output (integer)
Acesst 1.0 6251194
Содержание FZ4 Series
Страница 1: ...User s Manual Cat No Z318 E1 02B Vision Sensor FZ4 Series...
Страница 12: ...1 Before Operation 10 Operation Flow FZ4 User s Manual Operation Flow Here describes the operation flow...
Страница 38: ...1 Before Operation 36 Setting Operation Mode FZ4 User s Manual 1 CPU 2 CPUs FZ4 11 H11 only...
Страница 112: ...3 Performing Test Measurement Starting Operation 110 Useful Functions for Operation FZ4 User s Manual...
Страница 326: ...4 Using Tool 324 Remotely Operating the Controller Remote Operation FZ4 User s Manual Enter the IP address...
Страница 330: ...4 Using Tool 328 Remotely Operating the Controller Remote Operation FZ4 User s Manual...
Страница 351: ...6 Changing the System Environment FZ4 User s Manual Setting the System Operation Environment 349 Communication...
Страница 566: ......
Страница 648: ...8 Appendixes 646 Manual Revision History FZ4 User s Manual...
Страница 654: ...652 FZ4 User s Manual...
Страница 655: ......