Gocator Line Profile Sensors - User Manual
Gocator Web Interface • Measurement • 234
Function
Description
float sqrt(float x)
Calculates square root of x
float sin(float x)
Calculates sin(x) (x in radians)
float cos(float x)
Calculates cos(x) (x in radians)
float tan(float x)
Calculates tan(x) (x in radians)
float asin(float x)
Calculates asin(x) (x in radians)
float acos(float x)
Calculates acos(x) (x in radians)
float atan(float x)
Calculates atan(x) (x in radians)
float pow (float x, float y)
Calculates the exponential value. x is the base, y is the exponent
float fabs(float x)
Calculates the absolute value of x
Math Functions
Example: Accumulated Volume
The following example shows how to create a custom measurement that is based on the values from
other measurements and persistent values. The example calculates the volume of the target using a
series of box area measurement values.
/* Calculate the volume of an object by accumulating the boxArea measurements*/
/* Encoder Resolution is 0.5mm. */
/* BoxArea Measurement ID is set to 1*/
long long encoder_res = 500;
long long Volume = Memory_Get64s(0);
Memory_Set64s(0, Volume);
if (Volume > 1000000)
{
Output_Set(Volume, 1);
}
else
{
Output_Set(Volume, 0);
}
Содержание Gocator 2100 Series
Страница 10: ...Gocator Line Profile Sensors User Manual 10 Return Policy 515 Software Licenses 516 Support 522 Contact 523 ...
Страница 193: ...Gocator Line Profile Sensors User Manual Gocator Web Interface Measurement 193 2D View 3D View Measurement Panel ...
Страница 197: ...Gocator Line Profile Sensors User Manual Gocator Web Interface Measurement 197 ...
Страница 209: ...Gocator Line Profile Sensors User Manual Gocator Web Interface Measurement 209 2D View 3D View ...
Страница 214: ...Gocator Line Profile Sensors User Manual Gocator Web Interface Measurement 214 2D View 3D View ...
Страница 215: ...Gocator Line Profile Sensors User Manual Gocator Web Interface Measurement 215 ...
Страница 225: ...Gocator Line Profile Sensors User Manual Gocator Web Interface Measurement 225 2D View 3D View ...
Страница 462: ...Gocator Line Profile Sensors User Manual Specifications Sensors 462 Dimensions Envelope ...
Страница 464: ...Gocator Line Profile Sensors User Manual Specifications Sensors 464 Envelope ...
Страница 466: ...Gocator Line Profile Sensors User Manual Specifications Sensors 466 Dimensions Envelope ...
Страница 468: ...Gocator Line Profile Sensors User Manual Specifications Sensors 468 Dimensions Envelope ...
Страница 470: ...Gocator Line Profile Sensors User Manual Specifications Sensors 470 Dimensions ...
Страница 471: ...Gocator Line Profile Sensors User Manual Specifications Sensors 471 Envelope ...
Страница 473: ...Gocator Line Profile Sensors User Manual Specifications Sensors 473 Dimensions ...
Страница 474: ...Gocator Line Profile Sensors User Manual Specifications Sensors 474 Envelope ...
Страница 476: ...Gocator Line Profile Sensors User Manual Specifications Sensors 476 Dimensions ...
Страница 477: ...Gocator Line Profile Sensors User Manual Specifications Sensors 477 Envelope ...
Страница 479: ...Gocator Line Profile Sensors User Manual Specifications Sensors 479 Dimensions ...
Страница 480: ...Gocator Line Profile Sensors User Manual Specifications Sensors 480 Envelope ...
Страница 484: ...Gocator Line Profile Sensors User Manual Specifications Sensors 484 Dimensions ...
Страница 485: ...Gocator Line Profile Sensors User Manual Specifications Sensors 485 Envelope ...
Страница 487: ...Gocator Line Profile Sensors User Manual Specifications Sensors 487 Dimensions ...
Страница 488: ...Gocator Line Profile Sensors User Manual Specifications Sensors 488 Envelope ...
Страница 491: ...Gocator Line Profile Sensors User Manual Specifications Sensors 491 Dimensions ...
Страница 492: ...Gocator Line Profile Sensors User Manual Specifications Sensors 492 Envelope ...
Страница 506: ...Gocator Line Profile Sensors User Manual Specifications Master Hubs 506 Master 810 Dimensions ...
Страница 512: ...Gocator Line Profile Sensors User Manual Specifications Master Hubs 512 Master 2410 Dimensions ...