4 tangent instruction (tan) – Yaskawa Ladder Works Programming Manual User Manual

Page 90

Advertising
background image

5.4 TANGENT Instruction (TAN)

5-8

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]

Symbol : TAN
Full Name : Tangent
Category : FUNCTION

Icon :

[Parameter]

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)

[Program Example]

The tangent of the input value (X = 45.0 degrees) [TAN (X) = 1.0] is calculated.

Notes: TANGENT Instruction cannot be used for integer type and double-length integer type

data.


Advertising