Exponentiation - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Exponentiation

EXPT(_E)
High
Basic
Process
performance
Structured ladder/FBD
EXPT_E
EN
ENO
s1
s2
The following function(s) can go in the dotted squares.
EXPT, EXPT _E
■Argument
Input/output
argument
Input argument
Output argument
Processing details
■Operation processing
• Performs exponentiation (s2) on single-precision real or double-precision real type data input to (s2) and word (signed),
double word (signed), single-precision real or double-precision real type data input to (s1), and outputs the operation result
from (d).
s1
4.0
Word (signed) type
Single-precision real type
• Rounding error may occur when specifying single-precision real or double-precision real type data to (s1), (s2) by
programming tool.
For precautions when setting an input value using a programming tool, refer to the following.
 MELSEC-Q/L/F Structured Programming Manual (Fundamentals)
■Operation result
• Function without EN/ENO
An operation is executed and the operation value is output from (d).
• Function with EN/ENO
The following table shows the executing conditions and operation results.
EN
TRUE (Operation execution)
FALSE (Operation stop)
*1 When FALSE is output from ENO, the data output from (d) is undefined. In this case, create a program so that the data output from (d) is
not used.
5 APPLICATION FUNCTIONS
136
5.3 Standard Arithmetic Functions
Redundant Universal
LCPU
ST
ENO:=
EXPT_E
d
Name
Description
EN
Executing condition (TRUE: Execution, FALSE:
Stop)
s1(_IN1)
Input
s2(_IN2)
Input
ENO
Execution result (TRUE: Normal, FALSE: Error)
d
Output
s2
2
Single-precision real type
ENO
TRUE
FALSE
(EN, s1, s2, d);
d
16.0
*1
Data type
Bit
ANY_REAL
ANY_NUM
Bit
ANY_REAL
(d)
Operation output value
Undefined value

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents