4 tangent instruction (tan) – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual
Page 100

1 Ladder Program Instructions
1.5.4 TANGENT Instruction (TAN)
1-90
1.5.4 TANGENT Instruction (TAN)
Outline
The TAN instruction uses the Source as the input (unit
= degrees) and stores the tangent of
the input in the Dest. This instruction can be used in a real number operation.
Format
Parameter
Program Example
The tangent of the input value (X
= 45.0 degrees) [TAN (X) = 1.0] is calculated.
TANGENT Instruction cannot be used for integer type and double-length integer type data.
Parameter Name
Setting
Source
(Input)
• Any real number type register
• Any real number type register with subscript
• Constant
Dest
(Output)
• Any real number type register (except for # and C register)
• Any real number type register with subscript (except for # and
C register)
Symbol: TAN
Full Name: Tangent
Category: FUNCTION
Icon:
INFO