    KronoTech RSLogix 5000 Ladder Logic Structured Text HMI Search Contact us

KronoTech

PLC

Basic

Counters

Timer

Arithmetic

Comparison

Functions

Trig Functions

Cosine

Arc Cosine

Sine

Arc Sine

Tangent

Arc Tangent

Log

Natural Log

RSLogix 5000

Structured Text

HMI

Instruments

## Introduction

The next step in math instruction is Trigonometric functions. These functions are very useful when trig functionality is need. These functions are more advanced than math instruction.

## Definition

The following is a list of the Trigonometric Functions in SLC 500:

## ASN - Arc Sine

#### Symbol #### Definition

Takes the arc sine of a number and stores the result (in radians) in the destination

• Carry (C), Always resets
• Overflow (V), Sets if overflow or an unsupported input is detected
• Zero (Z), Sets if the result is Zero; otherwise resets;
• Sign (S), Sets if result is negative; otherwise resets;

### ACS - Arc Cosine

#### Symbol #### Definition

Takes the arc cosine of a number and stores the result (in radians) in the destination

• Carry (C), Always resets
• Overflow (V), Sets if overflow or an unsupported input is detected
• Zero (Z), Sets if the result is Zero; otherwise resets;
• Sign (S), Always resets

### ATN - Arc Tangent

#### Symbol #### Definition

Takes the arc tangent of a number and stores the result (in radians) in the destination

• Carry (C), Always resets
• Overflow (V), Sets if overflow; otherwise resets
• Zero (Z), Sets if overflow or an unsupported input is detected
• Sign (S), Sets if result is negative; otherwise resets;

### COS - Cosine

#### Symbol #### Definition

Takes the cosine of a number and stores the result in the destination.

• Carry (C), Always resets
• Overflow (V), Sets if overflow; otherwise resets
• Zero (Z), Sets if overflow or an unsupported input is detected
• Sign (S), Sets if result is negative; otherwise resets;

### LN - Natural Log

#### Symbol #### Definition

Takes the natural log of value in the source and stores it in the destination

• Carry (C), Always resets
• Overflow (V), Sets if overflow; otherwise resets
• Zero (Z), Sets if overflow or an unsupported input is detected
• Sign (S), Sets if result is negative; otherwise resets;

### LOG - Log to the Base 10

#### Symbol #### Definition

Takes the log base 10 of the value in the source and stores the result in the destination

• Carry (C), Always resets
• Overflow (V), Sets if overflow; otherwise resets
• Zero (Z), Sets if overflow or an unsupported input is detected
• Sign (S), Sets if result is negative; otherwise resets;

### SIN - Sine

#### Symbol #### Definition

Takes the sine of a number and stores the result in the destination.

• Carry (C), Always resets
• Overflow (V), Sets if overflow; otherwise resets
• Zero (Z), Sets if overflow or an unsupported input is detected
• Sign (S), Sets if result is negative; otherwise resets;

### TAN - Tangent

#### Symbol #### Definition

Takes the tangent of a number and stores the result in the destination

• Carry (C), Always resets
• Overflow (V), Sets if overflow; otherwise resets
• Zero (Z), Sets if overflow or an unsupported input is detected
• Sign (S), Sets if result is negative; otherwise resets;