Allen-Bradley PLC-5 User Manual page 331

Enhanced and ethernet plc-5 programmable controllers
Hide thumbs Also See for PLC-5:
Table of Contents

Advertisement

Category
Code Title
Arithmetic
ADD
add
SUB
subtract
MUL
multiply
DIV
divides
SQR
square root
NEG
negate
CLR
clear
AVE
average file
STD
standard deviation 262+E92.5
TOD
convert to BCD
FRD
convert from BCD
RAD
radian
DEG
degree
SIN
sine
COS
cosine
TAN
tangent
ASN
inverse sine
ACS
inverse cosine
ATN
inverse tangent
LN
natural log
LOG
log
XPY
X to the power of Y 897
SRT
sort file
(5/11, -5/20)
(-5/30, -5/40,
-5/60, -5/80)
(1)
Use the larger number for addresses beyond 2048 words in the controller's data table.
E = number of elements acted on per scan
SRT true is only an approximation. Actual time depends on the randomness of the numbers.
Execution Time ( s)
Integer
True
False
6.1
1.4
6.2
1.4
9.9
1.4
12.2
1.4
9.9
1.3
4.8
1.3
3.4
1.1
152+E25.8
30
34
7.8
1.3
8.1
1.3
57.4
1.4
55.9
1.4
409
1.4
411
1.4
1.5
276 +
227
12[E**1.34]
189
224 +
25[E**1.34]
Instruction Set Quick Reference
Execution Time ( s)
Floating Point
True
False
14.9
1.4
15.6
1.4
18.2
1.4
23.4
1.4
35.6
1.3
6.0
1.3
3.9
1.1
162+E22.9
36
295+E85.5
34
50.1
1.4
50.7
1.4
414
1.4
404
1.4
504
1.4
426
1.4
436
1.4
375
1.4
403
1.4
403
1.4
897
1.5
278 + 16[E**1.35]
227
230 + 33[E**1.35]
189
Publication 1785-UM012D-EN-P - July 2005
D-31
Words of
(1)
Memory
4-7
4-7
4-7
4-7
3-5
3-5
2-3
4-7
4-7
3-5
3-5
3-5
3-5
3-5
3-5
3-5
3-5
3-5
3-5
3-5
3-5
4-7
3-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents