High
−
level Instructions
3
−
671
Outline
Triangle functions, calculates trigonometric functions and the cosine
[COS ( )] of BCD code angular data, and stores it as BCD.
Program example
Ladder Diagram
Boolean
Ladder Diagram
Address
Instruction
S
Trigger
D
F301 BCOS, DT10, DT20
10
R0
10
11
ST
R
0
F301
(BCOS)
DT
10
DT
20
S
Area where angle data is stored or angle data
D
Starting 16-bit area where calculated result is stored (3 words)
Operands
Operand
Relay
Timer/Counter
Register
Index
register
Constant
Index
modifier
Integer
device
Operand
WX WY WR WL
SV
EV
DT LD
FL
I
K
H
f
modifier device
S
A
A
A
A
A
A
A
A
A
A
A
A
N/A
A
N/A
D
N/A
A
A
A
A
A
A
A
A
A
N/A N/A N/A
A
N/A
Explanation of example
H30
H 0
Calculates the COS ( ) of the angle 30 degrees.
H 0
H8660
DT10:
DT20:
DT21:
DT22:
Calculates the COS ( ) of the angle 135 degrees.
H135
H 1
H 1
H7071
DT10:
DT20:
DT21:
DT22:
F301
P301
(PBCOS)
(BCOS)
BCD type Cosine operation
A: Available
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for FP-X
Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 2: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 24: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 1333: ...5 245 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...