4
Using
Tool
248
Using Custom Command
FZ4 User's Manual
<Separation Character>
The character used for separation (character string).
<Starting No.>
The starting number for extraction (integer).
<Ending No.>
The ending number for extraction (integer).
Return Value
Returns the value of the character type string.
The content of the value is the extracted character string.
Description
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.>
The file number (integer) of the file with the data to be read in.
<Expression>
The expression to be output and the character string (integer, double-precision, character
string).
Return Value
None.
Description
Output the character string to the file.
Acesst 1.0 6251194
Summary of Contents for FZ4 Series
Page 1: ...User s Manual Cat No Z318 E1 02B Vision Sensor FZ4 Series...
Page 38: ...1 Before Operation 36 Setting Operation Mode FZ4 User s Manual 1 CPU 2 CPUs FZ4 11 H11 only...
Page 330: ...4 Using Tool 328 Remotely Operating the Controller Remote Operation FZ4 User s Manual...
Page 566: ......
Page 648: ...8 Appendixes 646 Manual Revision History FZ4 User s Manual...
Page 654: ...652 FZ4 User s Manual...
Page 655: ......