Allen-Bradley PLC-5 User Manual page 308

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

Advertisement

D-8
Instruction Set Quick Reference
Instruction
ASN
ARCSINE
Source
Dest
ATN
ARCTANGENT
Source
Dest
AVE
AVERAGE FILE
File
Dest
Control
Length
Position
Publication 1785-UM012D-EN-P - July 2005
Arc sine
ASN
F8:17
0.7853982
F8:18
0.9033391
Arc tangent
ATN
F8:21
0.7853982
F8:22
0.6657737
Average
AVE
#N7:1
Status Bits:
N7:0
EN - Enable
R6:0
DN - Done bit
4
ER - Error Bit
0
Description
When input conditions go true, take the arc sine of the
value in F8:17 and store the result in F8:18.
Status
Description
Bit
C
always resets
V
sets if overflow is generated;
otherwise resets
Z
sets if the result is zero;
otherwise resets
always resets
S
When input conditions go true, take the arc tangent of the
value in F8:21 and store the result in F8:22.
Status
Description
Bit
C
always resets
V
sets if overflow is generated;
otherwise resets
Z
sets if the result is zero;
otherwise resets
S
sets if the result is negative;
otherwise resets
When the input conditions go from false-to-true, take the
average of the file #N7:1 and store the result in N7:0.
Status
Description
Bit
C
always resets
V
sets if overflow is generated;
otherwise resets
Z
sets if the result is zero;
otherwise resets
S
sets if the result is negative;
otherwise resets

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents