
4
Using
Tool
244
Using Custom Command
FZ4 User's Manual
Description
The value given by the <Expression> will be a 32-digit binary number and each bit will be given a
reversed value.
Specify a value from -2147483648 to 2147483647 in the <Expression>.
When the value of the <Expression> is a double-precision type, the fractional part is handled as a
rounded value.
Example
Get the negation of Variable X.
X&=0
XX&=Not X&
The result is as follows:
XX&=-1
Branches in accordance with the specified condition.
On <Expression> Gosub <Label>[,<Label>...]
Parameters
<Expression>
The condition expression that controls branching (integer).
<Label>
Label name for the migration (label).
Return Value
None.
Description
The flow of the program processing branches to the subroutine <Label> that corresponds to the value
given in <Expression>.
When the value given by the <Expression> is 1, branching is done to the location specified by the 1st
<Label>.When it is "n", branching is done to the location specified by the nth <Label>.
When the value given by the <Expression> is 0, or when the <Label> has been omitted, program
processing moves to the next line.
When the value given by the <Expression> is 0, or when it has become larger than the number of
<Labels>, program processing moves to the next line.
When the value of the <Expression> becomes negative, it becomes an error.
Even when the <Label> of the migration destination does not exist, it will not become an error, and
program processing will be moved to the next line.
After the execution of the specified subroutine, processing is returned to the statement following the On
Gosub statement by the return statement in the subroutine.
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: ......