
4
Using
Tool
238
Using Custom Command
FZ4 User's Manual
Description
The base of the natural log is e=2.71828...
The number specified in the <Expression> must be a positive number.
Specify either an integer type or double-precision type real number in the <Expression>.
Example
Get the natural log of Variable X.
XLOG#=Log(X&)
The result is as follows:(When X=25)
XLOG#=3.21887582487
Gets the approximate line from multiple point coordinates using the method of least squares.
Lsqumeth <No. of Coordinates>,<X Coordinate>,<Y Coordinate>,<Straight Line Component>
Parameters
<No. of Coordinates>
The number of coordinates that will be calculated for the approximate line (integer).
<X Coordinate>
X coordinate array of the point for calculating the approximate line (double-precision
array).
<Y Coordinate>
Y coordinate array of the point for calculating the approximate line (double-precision
array).
<Straight Line
Component>
Approximate straight line parameter (double-precision array).
Return Value
None.
Description
Specify the array to store the point of each coordinate in the <X Coordinate> and <Y Coordinate>. When
the specified <Number of Coordinates> is less than the number of array elements, an error will occur.
The parameters a, b and c that make up the straight line ax+by+c=0 are stored in <Straight Line
Component>."a" to "c" are each stored in array elements 0 to 2.
It is necessary to specify a number greater than or equal to 2 for <Number of Coordinates>.
When all of the specified points are the same coordinate, 0 is stored in the a, b and c listed above.
This is mainly used to get the straight line expression of an edge from the edge points measured by
multiple Edge measurements.
Example
Calculate the line expression of an edge on a piece of work from 4 edge points.
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: ......