Calculating The Sine - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Motion module instructions, standard functions/ function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

13.6

Calculating the Sine

SIN
These functions output the sine of an input value.
Structured text
d:=SIN(s);
Setting data
■Description, type, data type
Argument
Description
s (IN)
Input
d
Output
Processing details
■Operation processing
• These functions calculate the sine of the REAL data type value (angle) input to (s), and output the operation result from (d).
• When the input value is defined as A and the output value is defined as B, the relationship of A and B will be as follows:
B=SIN A
• Input a REAL data type value to (s). Input a value (angle) in radians (angle×π/180).
■Operation result
The operation processing is performed. The operation result is output from (d).
Operation error
Error code
Description
3402H
The data specified by (s) is -0.
Type
Data type
Input variable
ANY_REAL
Output variable
ANY_REAL
13 SINGLE VARIABLE FUNCTIONS
13.6 Calculating the Sine
13
171

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents