Omron FZ4 Series User Manual page 198

Vision sensor
Table of Contents

Advertisement

Description
Copy the processing unit modle data.
Example
Copy the model 0 of processing unit 3 for scene 2 to model 0 of processing unit 5.
CopyUnitModel 2, 3, 0, 5, 0
Gets the cosine of the specified expression.
4
Cos (<expression>)
Parameters
<expression>
Return Value
Returns the value of the double-precision type number.
The content of the value is the cosine of the specified expression.This is returned as a numeric value
within the range of -1 to 1.
Description
Specify the angle in the <Expression> as a radian. In the case of angle notation (X degrees), it is
necessary to convert to a radian by multiplying pi/180.
Specify either an integer type or double-precision type real number in the <Expression>.
Example
Get the cosine of 60 degrees.
DATA#=Cos(60/180*3.141592)
The result is as follows:
DATA#=0.5
Gets the intersection between 2 straight lines.
Crspoint <Straight Line 1st Component>,<Straight Line 2nd Component>,<X Coordinate>,<Y
Coordinate>
Parameters
<Straight Line 1st
Component>
196
Using Custom Command
The expression that gets the cosine (integer type or double-precision type real numbers)
The parameter of Straight Line 1 for getting the intersection (double-precision type
array)
FZ4 User's Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fz4 series

Table of Contents