Iai-america XSEL-QX Manuel d'utilisateur Page 172

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 558
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 171
148
Part 4 Commands
z TAN (Tangent operation)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1 Operand 2
Output
(Output, flag)
Optional Optional TAN
Variable
number
Data ZR
[Function] Assign the tangent of the data specified in operand 2 to the variable specified in operand
1.
The output will turn ON when the operation result becomes 0.
The setting in operand 1 must be a real variable in a range of 100 to 199, 1100 to 1199,
300 to 399 or 1300 to 1399.
The unit of data in operand 2 is radian.
(Note 1)
Radian = Angle x Sy 180
[Example 1] TAN 100 0.785398 Assign the tangent of 0.785398 (1) to variable 100.
[Example 2] LET 1 100
LET 101 45
MULT 101 3.141592
DIV 101 180
TAN *1 *101
Assign 100 to variable 1.
45 x Sy 180 (radian)
(45q will be converted to radian and assigned to
variable 101.)
Assign the tangent of the content of variable 101 (1)
to the content of variable 1 (variable 100).
Vue de la page 171
1 2 ... 167 168 169 170 171 172 173 174 175 176 177 ... 557 558

Commentaires sur ces manuels

Pas de commentaire