![background image](http://html1.mh-extra.com/html/omron/fz4-series/fz4-series_user-manual_1633222294.webp)
4
Using
Tool
292
Using Custom Command
FZ4 User's Manual
Description
The number specified by the <Character String> is converted into a numeric value.
Specify an integer type notation of +, -, 0 to 9 for the head in <Character String>, or a character constant
or a character variable for the character string in real number notation.
When a character that cannot be converted to a numeric value has been mixed in the character string
specified for <Character String>, the characters up to that character will be converted to numeric values.
When there is no +, -, 0 to 9 at the head of the <Character String> the value returned will be 0.
There is the reverse function str$ in relation to Val where the numeric value is converted to a character
string.
Example
A#=10
B#=20
C#=Val(Str$(A#)+Str$(B#))+10
The result is as follows:
C#=1030
Returns saved variables.
Varpop
Parameters
None.
Return Value
None.
Description
Returns variables saved by the Varpush command.
The variable returned is that which was saved by the nearby Varpush command.
Example
Declare an array.
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: ......