EasyManua.ls Logo

Allen-Bradley PLC-5 - Page 309

Allen-Bradley PLC-5
388 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Publication 1785-UM012D-EN-P - July 2005
Instruction Set Quick Reference D-9
Clear
CLR
Cosine
COS
Instruction Description
Division
DIV
Instruction Description
CLR
CLR
Dest D9:34
0000
When the input conditions are true, clear decimal file 9, word
3
(set to zero).
Status
C
V
Z
S
Description
always reset
Bit
always reset
always set
always reset
COS
COSINE
Source
Dest
F8:13
F8:14
0.7853982
0.7071068
When input conditions go true, take the cosine of the value
in F8:13 and store the result in F8:14.
always resets
sets if overflow is generated;
sets if the result is zero;
Status
C
V
Z
S
Description
Bit
otherwise resets
otherwise resets
sets if the result is negative;
otherwise resets
DIV
DIVIDE
Source A
Source B
Dest
N7:3
N7:4
N7:12
3
1
3
When the input conditions are true, divide the value in
Source A (N7:3) by the value in Source B (N7:4) and store
the result in the Destination (N7:12).
Status
C
V
Z
S
Description
always resets
Bit
sets if division by zero or overflow;
sets if the result is zero;
sets if the result is negative;
otherwise resets
otherwise resets; undefined if overflow is set
otherwise resets; undefined if overflow is set

Table of Contents

Other manuals for Allen-Bradley PLC-5

Related product manuals