Panasonic FP-E Programming Manual page 935

Fp series
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents