VA Motion Controller Programming Manual
153
When the contact
C300
is
ON
when this
instruction is executed, where
V 487
is
the index;
Execution of Results :
log
E
2
=
6.9314718E-001
10.1.21 LOG (Logarithmic Instruction )
LD, FBD programming language
Function: The LOG command is used to calculate the base 10 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 LOG instruction
As a result, OUT = LOG10IN=Ig ( IN )
Funtion and Action examples
On the logging log
10
100
Value
When the contact
C300
is
ON
when performing
the instruction;Where the value of address
V489
is
an index
Execution result:
log
10
100
=2.0
10.1.22 LT (less than instruction )
LD, FBD
programming language