
4
Using
Tool
210
Using Custom Command
FZ4 User's Manual
Description
The commands between For and Next are repeated and executed while changing from the initial value
of the variable to the ending value.
The commands between For and Next are repeated and executed while changing from the initial value
of the variable to the ending value.
The Step statement and <Increment> can be omitted, and when omitted, the Increment is set to +1.
The <Variable Name> after Next can be omitted.In this case it becomes equivalent to the <Variable
Name> after For.
For each time the For-Next loop is executed, the value specified by the initial value is added to and
assigned to the numeric variable.
The Exit For command is executed to forcefully exit the loop while the For ... To ... Step - Next is
executing.
Control is moved from outside the For block to within using the Goto command, etc. Moving control from
inside the block to outside it cannot be done.
Example
Output the Judgement Result of each processing unit(unit1-unit4).
DATA&=0
For I&=1 To 4
DATA&=UnitJudge(I&)
If DATA&=1 Then
DrawTextG "Unit"+Str$(I&)+" Result: OK",100,I&*100,0
Else
DrawTextG "Unit"+Str$(I&)+" Result: NG",100,I&*100,0
EndIf
Next
Input terminal all point input
GetAll(<ioIdent>)
Parameters
<ioIdent>
Identification name (string) of I/O module
Return Value
Returns the value of the integer.
The content of the value is the input binary data.
Description
Identification name (string) of I/O module that executes received processing is specified in
argument<ioIdent>.
The content of operation depends on the specification of the I/O module.
Reference:
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: ......