![background image](http://html1.mh-extra.com/html/omron/fz4-series/fz4-series_user-manual_1633222187.webp)
4
Using
Tool
FZ4 User's Manual
Using Custom Command
185
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()>
X coordinate array of the point for calculating the approximate circle (integer or
double-precision array)
<y()>
Y coordinate array of the point for calculating the approximate circle (integer or
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.
Acesst 1.0 6251194
Summary of Contents for FZ4 Series
Page 1: ...User s Manual Cat No Z318 E1 02B Vision Sensor FZ4 Series...
Page 38: ...1 Before Operation 36 Setting Operation Mode FZ4 User s Manual 1 CPU 2 CPUs FZ4 11 H11 only...
Page 330: ...4 Using Tool 328 Remotely Operating the Controller Remote Operation FZ4 User s Manual...
Page 566: ......
Page 648: ...8 Appendixes 646 Manual Revision History FZ4 User s Manual...
Page 654: ...652 FZ4 User s Manual...
Page 655: ......