Using The Math Instructions - Allen-Bradley MicroLogix 1400 Instruction Manual

Programmable controllers
Hide thumbs Also See for MicroLogix 1400:
Table of Contents

Advertisement

efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive
198
Math Instructions
Using the Math
Instructions
Publication 1766-RM001A-EN-P - October 2008
Advanced Math Instructions
Instruction
Used To:
SIN
Take the sine of a number and store the result in the destination. 211
COS
Take the cosine of a number and store the result in the
destination.
TAN
Take the tangent of a number and store the result in the
destination.
ASN
Take the arc sine of a number and store the result(in radians) in
the destination.
ACS
Take the arc cosine of a number and store the result (in radians)
in the destination.
ATN
Take the arc tangent of a number and store the result (in radians)
in the destination.
DEG
Convert radians (source) to degrees and store the result in the
destination.
RAD
Convert degrees (source) to radians and store the result in the
destination.
LN
Take the natural log of the value in the source and store it in the
destination.
LOG
Take the log base 10 of the value in the source and store it in the
destination.
XPY
Raise a value to a power and stores the result in the destination. 231
CPT
Evaluate an expression and store the result in the destination.
Most math instructions use three parameters, Source A, Source B, and
Destination (additional parameters are described where applicable, later
in this chapter). The mathematical operation is performed using both
Source values. The result is stored in the Destination.
When using math instructions, observe the following:
Page
214
216
218
220
221
223
225
227
229
234

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents