Example “Mapped mode” • 15
Application note
A500680e
The filter setting should be set to allow receiving the appropriate CAN telegrams. In this example
all telegrams from 0x184 up to 0x186 will be received. The first filter is enabled due
to”Feature1”=1. “Feature2” =1 activates the override mode for these CAN telegrams.
myTx_Mapping is configured to transmit byte OutData[8] within PDO 0x204 by change of value
(SendGroup:=16#0410->04 change of value, 1-> 1 Byte in PDO).
FixedValue=1 ->enable transmission of byte D0
Data_0_1=16#0008 ->take data from position 8 (OutData[8] put in PDO 0x204 at position D0)
myRx_Mapping is configured to receive two bytes from PDO 0x0184 inInData[8] and InData[9].
CopyToPDIn:=16#0000_0011 ->bitmask for byte D0 and D1 from PDO 0x184
Data_0_1:=16#0908 -> copy D0 to inData[8] and copy D1 to inData[9]