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
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: ......