fhervrylesestoso
Member
GOOD DAY:
we have problems regarding math functions DIV INT dont do any calculations, all parameters are met.
we do it like this:
from function block "CSS1"
we get the variables "SET_SPEED_K8" (%R00708)(word)
then we use it on the DIV_INT as dividend.
8260 as divisor.
at start "SET_SPEED_K8" has a value of 15000
so we expect to have a quotient of 1 (since this is in INT form)
but there is no qoutient at all.
we also try to convert it from INT to REAL then use DIV_REAL but still nothing happened..
the variables "SET_SPEED_K8" are originally from CSS1 LD block.,
the math functions wherein SET_SPEED_K8 were used are located in "CSS2" a new LD block.. does math function requires it input to be in same LD block?? thank you.
thanks!!!
we have problems regarding math functions DIV INT dont do any calculations, all parameters are met.
we do it like this:
from function block "CSS1"
we get the variables "SET_SPEED_K8" (%R00708)(word)
then we use it on the DIV_INT as dividend.
8260 as divisor.
at start "SET_SPEED_K8" has a value of 15000
so we expect to have a quotient of 1 (since this is in INT form)
but there is no qoutient at all.
we also try to convert it from INT to REAL then use DIV_REAL but still nothing happened..
the variables "SET_SPEED_K8" are originally from CSS1 LD block.,
the math functions wherein SET_SPEED_K8 were used are located in "CSS2" a new LD block.. does math function requires it input to be in same LD block?? thank you.
thanks!!!