Omron FZ4 Series User Manual page 250

Vision sensor
Table of Contents

Advertisement

<Separation Character>
<Starting No.>
<Ending No.>
Return Value
Returns the value of the character type string.
The content of the value is the extracted character string.
Description
4
Fetches the part of the character string separated by the <Separation Character> from the specified
<Character String> in the range indicated by the <Starting No.> and <Ending No.>.
If the part of the character string separated by the <Separation Character> does not exist, the entire
character string is returned.
Specify a number of 1 or more in <Starting No.> and <Ending No.>.
When the <Starting No.> is greater than the <Ending No.> the Null string (" ") is returned.
When the <Ending No.> exceeds the numerical range that can be specified, it is assumed to be the
largest specifiable number and the character string is returned.
Example
Fetch the character string separated with semicolons (;).
STRING1$=Piece$ ("PIECE1;PIECE2;PIECE3;PIECE4",";",1,1)
STRING2$=Piece$ ("PIECE1;PIECE2;PIECE3;PIECE4",";",3,4)
The results are as follows:
STRING1$="PIECE1"
STRING2$="PIECE3
PIECE4"
Output data to the file
Print# <File No.> [,<Expression> [;|,<Expression> ...]][;|,]
Parameters
<File No.>
<Expression>
Return Value
None.
Description
Output the character string to the file.
248
Using Custom Command
The character used for separation (character string).
The starting number for extraction (integer).
The ending number for extraction (integer).
The file number (integer) of the file with the data to be read in.
The expression to be output and the character string (integer, double-precision, character
string).
FZ4 User's Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fz4 series

Table of Contents