EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #522 background imageLoading...
Page #522 background image
3. Instructions
484
CS/CJ/NSJ Series Instructions Reference Manual (W474)
SIN/COS/TAN
Applicable Program Areas
Operands
z Operand Specifications
Flags
Instruction Mnemonic Variations
Function
code
Function
SINE SIN @SIN 460
Calculates the sine of a 32-bit floating-point num-
ber (in radians) and places the result in the speci-
fied result words.
COSINE COS @COS 461
Calculates the cosine of a 32-bit floating-point
number (in radians) and places the result in the
specified result words.
TANGENT TAN @TAN 462
Calculates the tangent of a 32-bit floating-point
number (in radians) and places the result in the
specified result words.
Symbol
SIN COS TAN
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or
transition programs
Usage OK OK OK OK OK OK
Operand Description Data type Size
S First source word REAL 2
R First result word REAL 2
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers
TK CF
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
S
OK OK OK OK OK OK OK OK OK OK
OK
--- --- OK --- --- --- ---
R ---
Name Label Operation
Error Flag ER • ON if the source data is not recognized as floating-point data.
• ON if the source data is not a number (NaN).
• ON if the absolute value of the source data exceeds 65,535.
• OFF in all other cases.
Equals Flag = • ON if both the exponent and mantissa of the result are 0.
• OFF in all other cases.
Overflow Flag OF OFF
Underflow Flag UF OFF
Negative Flag N • ON if the result is negative.
• OFF in all other cases.
S: First source
word
R: First result
word
SIN(460)
S
R
S: First source
word
R: First result
word
COS(461)
S
R
S: First source
word
R: First result
word
TAN(462)
S
R

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals