325
OPUS Projektor Manual
CAN
Floating point value to scale the received value before applying it to the mapped
variable. Is applied after mask, shift and offset 1 but before offset 2.
Scale is not used for String variables.
Values can be entered in decimal form or in scientific notation / floating-point
representation.
Offset2
Floating point value applied after all the other calculations are done.
See section mapping calculations for details about how this property applies to
receive and transmit mappings.
Offset2 is not used for String variables.
Values can be entered in decimal form or in scientific notation / floating-point
representation.
Empty Field
This a simple information field. It shows a "Warning" icon if e.g a variable is not
completely mapped.
In the example(4) a 16 bit variable is mapped only with 8 bits, so the warning is
shown.
The calculations applied to a mapping are defined mainly for receive mappings
For transmit mappings all calculations are inverted so that the same values can be
applied to receive and transmit mappings.
The formula converting a mapped area of a CAN message into the variable value is as
follows:
variable_value = (((( CAN_value >> shift ) & mask ) + offset1 ) * scale ) +
offset2
Consequently the calculation applied to transmit mappings inverts the above:
CAN_value = (((( variable_value - offset2 ) / scale ) - offset1 ) & mask ) <<
shift
Note: For constants only "shift" and "mask" are applied.
Note: Currently signed/unsigned calculation is performed based on variable definition. If
variable is signed this means the CAN_value is considered negative if the most
significant bit of the mapped area is set.
Sequences
Sequences can be used to send several transmit mappings periodically. For example it
can be used as a simple kind of transport protocol.
Create Sequences
Before you can create Sequences you have to define transmit mappings. For more
information please have a look at chapter Defining Variable Mappings
If transmit mappings are already defined please select in the main menu "Transmit
Sequences..." as shown below:
325
322
317