![AXIOMATIC AX030541 User Manual Download Page 31](http://html1.mh-extra.com/html/axiomatic/ax030541/ax030541_user-manual_3037091031.webp)
User Manual UMAX030541. Version V1 31-116
This allows for more versatility within the Math Block. For a valid result in each Function,
both inputs must be non-zero value (other than
‘Control Source Not Used’
). Otherwise,
the corresponding Function is ignored. Furthermore, for a valid/expected output result in
each Math Block, it is necessary to keep in mind how the Functions link to one another
within the Math Block. As an example, consider all 6 inputs to be CANopen® Messages
1 to 6 (thus using all 3 Functions). Since all 3 functions are used but Function 3 has no
relation to Function 1 or 2, the result of the Math Block will be the result of Function 3,
thus, ignoring Functions 1 and 2.
For logical operators (6 to 11), any SCALED input greater than or equal to 0.5 is treated
as a TRUE input. For logic output operators (0 to 11), the result of the calculation for the
function will always be 0 (FALSE) or 1 (TRUE).
Error data (i.e. input measured out of range) is always treated as a 0.0 input into the
function.
For the arithmetic functions (12 to 17), it is recommended to scale the data such that the
resulting operation will not exceed full scale (0 to 100%) and saturate the output result.
When dividing, a zero InB value will always result is a zero output value for the associated
function. When subtracting, a negative result will always be treated as a zero, unless the
function is multiplied by a negative one, or the inputs are scaled with a negative coefficient
first.
The resulting final mathematical output calculation is in the appropriate physical units
using object 4021h
Math Output Scaling 1 PV
and 4023h
Math Output Scaling 2 PV
.
These objects are also considered the Min and Max values of the Math Block output and
apply the resolution shift defined by object 4032h
Math Output Decimal Digits PV
. The
result is written to read-only object 4030h
Math Output PV
. These scaling objects should
also be taken into account when the Math Function is selected as the input source for
another function block, as outlined in Table 5.