Yaskawa MotionSuite Series Machine Controller Programming Manuel d'utilisateur Page 162

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 187
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 161
MotionSuite™ Series Machine Controller Motion Programming Manual Chapter 4: Sequence Commands
4-30
4.6.3 Tangent (TAN)
!
!!
! Outline
The TAN command uses a designated variable and constant (unit: degree) as an input, and
leaves the tangent in the real number register.
!
!!
! Detailed Explanation
Command Method
Data Type
$
= Yes × = No
!
!!
! Program Example
Example: Calculate the tangent of input value (
θ
=45
°
): TAN (
θ)
=1.0.
Supplement
The TAN command can only be used for real number data. When a bit, integer, and 32-bit
integer are designated, an error occurs during compilation.
Bit (B) Integer (W) 32-bit Integer (L) Real (F) Constant
×× ×
$$
Type Motion Program Ladder Program
B—
W—
L—
F
DF00202
=
TAN(DF00200);
MF00100=TAN(MF00102);
MF00200=TAN(1.0);
DF00200
TANDF00202
DF00102=TAN(DF00100);
(1.0) (45.0)
Vue de la page 161
1 2 ... 157 158 159 160 161 162 163 164 165 166 167 ... 186 187

Commentaires sur ces manuels

Pas de commentaire