KronoTech
PLC
Ladder Logic
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:
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;
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
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;
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;
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;
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;
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;
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;
|
|