Omron FZ4 Series User Manual page 285

Vision sensor
Table of Contents

Advertisement

Reboot the controller
SystemReset
Parameters
None.
Return Value
None.
Description
In the case of a controller, reboot the controller.
In the case of a PC, do nothing.
Example
If a date changes, reboot the controller.
*MCRINIT
   'Acquire a day when it was loaded.
   STARTDAY$ = Left$(Date$,2)
Return
*MEASUREPROC
   'If a date changes, reboot the controller.
   If Left$(Date$,2) <> STARTDAY$ Then
     SystemReset
   Endif
Return
Gets the tangent of the specified expression.
Tan (<Expression>)
Parameters
<Expression>
The expression that gets the tangent (integer type or double-precision type)
Return Value
Returns the value of the double-precision type number.
The content of the value is the value of the tangent that is fetched.
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>.
FZ4 User's Manual
Using Custom Command
4
283

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fz4 series

Table of Contents