Natural Exponent - Mitsubishi Electric MELSEC Q Series Programming Manual

Structured text
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

6 IEC FUNCTIONS

6.3.2 Natural exponent

The natural exponent of the specified data is operated.
Function definition
Function definition
6 - 24
EXP
EXP_E
REAL EXP( REAL S1 );
Argument
Argument Name
IN/OUT
S1
IN
Return value
Return Value
REAL
Natural exponent operation result (real number data)
Remarks:
Example of use
Argument Type
REAL
r_data1 := EXP( r_data2 );
BOOL EXP_E( BOOL EN, REAL S1, REAL D1 );
Argument
Argument Name
IN/OUT
EN
IN
S1
IN
D1
OUT
Return value
Return Value
BOOL
Execution condition
Example of use
(*
When execution condition X0 turns ON, the natural exponent of the data
(*
stored in rData is found, and the result is stored into Result.
M0 := EXP_E( X0, rData, Result ) ;
Data whose natural exponent will be found (real number data)
ST Program
Conversion Result
LD
EXP
Execution condition (Function is executed only when the result is TRUE)
Data whose natural exponent will be found (real number data)
Natural exponent operation result (real number data)
Description
Description
Used Instruction
SM400
LD,EXP
r_data2
r_data1
Description
Description
*)
*)
6 - 24

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents