Operator ‘TAN’

This IEC operator yields the tangent value of a number.

Permitted data types for input variables that measure the angle in radians: any numeric basic data type

Permitted data types for output variables: REAL and LREAL

Examples

Result in q: 0.546302

ST:

q := TAN(0.5);

FBD:

../_images/db3ba072d122ce64c0a8640e01c5b8b3