![background image](http://html1.mh-extra.com/html/omron/fz4-series/fz4-series_user-manual_1633222249.webp)
4
Using
Tool
FZ4 User's Manual
Using Custom Command
247
Open "C:\input.dat" FOR INPUT As #1
For I&=0 To 255
DATA$ = Input$(8,#1)
DATA$(I&)=DATA$
If Eof(1)<>0 Then Exit For
Next
Close #1
Gets the logical sum of 2 expressions.
<Expression 1> Or <Expression 2>
Parameters
<Expression 1>
The expression (integer type) that requests the logical sum.
<Expression 2>
The expression (integer type) that requests the logical sum.
Return Value
Returns the value of the integer.
The content of the value is the logical sum of the 2 expressions.
Description
It can also be used in an If statement as an Or condition.Refer to Calculation for details on logical
expressions.
Reference:
Values from -2147483648 to 2147483647 can be specified for <Expression 1> and <Expression 2>.
When the values of <Expression 1> and <Expression 2> are double-precision type, the fractional part is
handled as a rounded value.
Example
Get the logical sum of Value EXP1 and Value EXP2.
EXPALL&=EXP1& Or EXP2&
The result is as follows:(When EXP1=1 and EXP2=4)
EXPALL&=5
Fetches the specified part separated by the specified character from the character string.
Piece$ (<Character String>,<Separation Character>,<Starting No.>,<Ending No.>)
Parameters
<Character String>
The separated Character String (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: ......