Omron FZ4 Series User Manual page 244

Vision sensor
Table of Contents

Advertisement

Gives the remainder.
<Expression 1> Mod <Expression 2>
Parameters
<Expression 1>
<Expression 2>
4
Return Value
Returns the value of the integer.
The content of the value is the remainder of <Expression 1> when divided by <Expression 2>.
Description
The value of <Expression 2> must not be 0.
Values must be from -2147483648 to 2147483647 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
Run a counter between 0 and 100.
I&=(I&+1) Mod 100
Move the processing unit
MoveUnit <srcUnitNo>, <destUnitNo>
Parameters
<srcUnitNo>
<destUnitNo>
Return Value
None.
Description
Move a disposal unit registered to apples position before a mandarin orange.
When a processing unit is registered with the position of the <destUnitNo>, insert it.
After movement, the processing unit number is waved again.
242
Using Custom Command
The expression to be divided (integer).
The expression to divide (integer).
Movement former unit number (integer type)
Movement unit number (integer type)
FZ4 User's Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fz4 series

Table of Contents