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