6 - 37 6 - 37
6 IEC FUNCTIONS
Function definition
BOOL EXPT_E( BOOL EN, REAL S1, ANY_NUM S2, REAL D1 );
Argument
Argument Name
IN/OUT
Description
EN
IN
Execution condition (Function is executed only when the result is TRUE)
S1
IN
Data used as base
S2
IN
Data used as exponent
D1 OUT
Operation
result
Remarks: The operation result is the angle data in radian unit.
Return value
Return Value
Description
BOOL Execution
condition
Example of use
(*
(*
(*
When execution condition X0 turns ON, the data stored in rData is natural
exponential-operated with the data stored in iData, and the result is stored
into Result.
M0 := EXPT_E( X0, rData, iData, Result ) ;
*)
*)
*)
For the usable data type, refer to "3.2.2 About ANY type".
Содержание MELSEC L series
Страница 1: ...Programming Manual Structured Text ...
Страница 2: ......
Страница 73: ...4 33 4 33 4 ST PROGRAM EXPRESSIONS MEMO ...
Страница 297: ......