Panasonic FP-E Programming Manual page 955

Fp series
Table of Contents

Advertisement

F314
(SIN)
P314
(PSIN)
Outline
Triangle functions, This instruction calculates sine [SIN ( )].
For the FP0R/FPΣ/FP−X/FP0/FP−e, the P type high−level instruction
"P314 (PSIN)" is not available.
Program example
Trigger
R0
F314 SIN, DT10, DT20
10
S
D
Operands
Relay
Operand
Operand
WX WY WR WL
S
A
A
D
N/A
A
Description
The SIN([S+1 and S]) of an angle data (units are radians) specified by S+1 and S is calculated and the result
stored in D+1 and D.
SIN ([S+1, S]) → [D+1, D]
Specifying the integer device with [S], the integer data is internally converted to real numbers before
operations continue.
R0
F314 SIN, % DT 0, DT 4
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Floating point data Sine operation
Ladder Diagram
Ladder Diagram
S
D
Angle data (2 words) or lower 16-bit area of 32-bit data where angle data is
stored
Lower 16-bit area of 32-bit data where calculated result is stored
Timer/Counter
SV
EV
A
A
A
A
A
A
A
A
Index
Register
register
DT
LD
FL
I
A
A
A
A
A
A
A
A
* Index modification of a real number is not possible.
High−level Instructions
Boolean
Address
Instruction
10
ST
R
11
F314
DT
DT
Constant
Index
modifier device
modifier
K
H
f
A
A
A
A*
N/A N/A N/A
A
A:
Available
N/A: Not Available
0
(SIN)
10
20
Integer
device
A
A
3 − 691

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents