VA Motion Controller Programming Manual
152
Funtion and Action examples
Selected from the selection
number output
5-9
between integer
When
the contact C300 is ON when performing the instruct
ion ;
Input value IN in the MN ~
MX between output IN ,
When IN is greater than equal to MX when
the output MX;
When IN is less than equal to MN output MN:
Execution result: 5<7 <9 output 1
10.1.20 LN (Natural Logarithmic Instruction )
LD, FBD programming language
Function: The LN instruction is used to calculate the natural logarithm of the input.
Note : IL, ST language programming needs to insert variables IN and OUT or use constants in
the current POU variable worksheet
Data type processed by LN instruction
Funtion and Action examples
Seeking to log
E
2
is the value of