Omron FZ4 Series User Manual page 187

Vision sensor
Table of Contents

Advertisement

Example
Get the logical product of 2 values X and Y.
X&=15
Y&=8
DATA&=X& And Y&
The result is as follows:
DATA&=8
Get approximate circle
ApproximationCircle <count>, <x()>, <y()>, <centerX>, <centerY>, <radius>
Parameters
<count>
The number of coordinates that will be calculated for the approximate circle
X coordinate array of the point for calculating the approximate circle (integer or
<x()>
double-precision array)
Y coordinate array of the point for calculating the approximate circle (integer or
<y()>
double-precision array)
<centerX>
X coordinate of approximate circle
<centerY>
Y coordinate of approximate circle
<radius>
radius of approximate circle
Return Value
None.
Description
Calculate approximate circle from multiple coordinates.
<count> is the number of coordinates that will be calculated for the approximate circle.
The integer type or double-precision type array variables of one dimension that stores the coordinates of
the point for calculating the approximate circle are specified for the argument <x()> and <y()> in shape to
add only () without specifying the element number like X&().
<centerX>, <centerY>, and <radius> are center X, Y coordinate, and radius of the approximate circle.
Example
Generate the approximation circle from three coordinate (X1,Y1)(X2,Y2)(X3,Y3) and acquire a central
coordinate and radius.
FZ4 User's Manual
Using Custom Command
4
185

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fz4 series

Table of Contents