![background image](http://html1.mh-extra.com/html/omron/fz4-series/fz4-series_user-manual_1633222269.webp)
4
Using
Tool
FZ4 User's Manual
Using Custom Command
267
<Case statement within the
block>
The statement to be executed (statement) when the result of the <Expression> is
equal to the <Value>.
<Case Else statement
within the block>
The statement to be executed (statement) when the result of the <Expression> is not
equal to the <Value>.
Return Value
None.
Description
Branching to each statement is done in accordance with the result of the <Expression>.
An integer value or a formula can be specified in the <Expression>.Processing will branch to the
<Value> of Case that matches the result.
When no formula matches, processing branches to that defined by Case Else.
Multiple Case statements can be used.
The Case statement and Case Else statement can be omitted.
The End Select statement can be omitted.
When multiple expression results exist that match the Case statement <Value>, only the first Case
statement from among them is executed.
Moving control from outside the Select block to the inside or moving control from inside it to the outside
using statements such as the goto statement is not possible.
Example
Distribute the processing according to the judge result of latest unit.
RESULT&=UnitJudge(Unitnum&-1)
Select RESULT&
Case 0
Print "UnMeasured"
Case 1
Print "Judge OK"
Case -1
Print "Judge NG"
END SELECT
Send data
SendData <ioIdent>, <outputData()>, <outputSize>[, <parameter()>, <parameterSize>]
Parameters
<ioIdent>
Identification name (string) of I/O module that executes send processing
<outputData()>
Data to be output (string)
<outputSize>
The size of data which is to be output (integer)
<parameter()>
Parameter of send processing (integer array type)
<parameterSize>
Size of send processing parameter (integer)
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: ......