![background image](http://html1.mh-extra.com/html/omron/fz4-series/fz4-series_user-manual_1633222283.webp)
4
Using
Tool
FZ4 User's Manual
Using Custom Command
281
Converts a numeric value into a numeric character string.
Str$ (<Expression>)
Parameters
<Expression>
The expression to be converted (integer type or double-precision type)
Return Value
Returns the value of the character string.
The content of the value is the converted character string.
Description
The numeric value specified by the <Expression> is converted into a character string.A numeric value
cannot be directly assigned to a character variable. It is assigned to a character variable after it has been
converted to a number in character notation using the Str$ function.
There is the reverse function val in relation to Str$ where the character string of the number is converted
to a numeric value.
Example
Convert the measurement results of each processing unit to character strings.
A#=10
B#=11
Print Str$(A#)+Str$(B#)
The results are as follows:
1011
Converts to a numeric character string with the numeric value format specified.
Str2$ (<Expression>,<Integer Part>,<Fractional Part>,<0 Suppression>,<Negative Expression>)
Parameters
<Expression>
The expression to be converted (integer type or double-precision type).
<Integer Part>
The number of digits for the integer part (integer)
<Fractional Part>
The number of digits for the fractional part (integer).
<0 Suppression>
The fill method for the region of empty spaces to the left (integer).
<Negative Expression>
The method of expressing negatives (integer).
Return Value
Returns the value of the character string.
The content of the value is the converted character string.
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: ......