YASKAWA NX100 Operator's Manual page 472

Hide thumbs Also See for NX100:
Table of Contents

Advertisement

10 Table of Basic Instructions
10.5 Operating Instructions
Function
CLEAR
Additional
Item
Example
Function
SIN
Additional
Item
Example
Function
COS
Additional
Item
Example
Starting with the variable number in Data1, clears (sets to zero) as
many variables as specified by a number in Data2.
Format:CLEAR<Data1><Data2>
Data1
B<variable number>,I<variable
number>,
D<variable number>,R<variable
number>,
$B<variable number>,$I<variable
number>,
$D<variable number>,$R<variable
number>,
Data2
<number of variables>,
ALL,STACK
CLEAR B000 ALL
CLEAR STACK
Obtains the sine of Data2, and stores the result in Data1.
Format:SIN<Data1><Data2>
Data1
R<variable number>
Data2
<constant>,R<variable number>
SIN R000 R001 (Sets the sine of R001 to R000.)
Obtains the cosine of Data2, and stores the result in Data1.
Format:COS<Data1><Data2>
Data1
R<variable number>
Data2
<constant>,R<variable number>
COS R000 R001 (Sets the cosine of R001 to R000.)
10-17
149235-1CD
ALL:Clears
variables of the
variable
number in
Data1 and of all
the variable
numbers that
follow.
STACK: Clears
all variables in
the job call
stack.
Data1 must
always be a
real type
variable.
Data1 must
always be a
real type
variable.
472 of 493
RE-CSO-A031

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents