<?xml version="1.0" encoding="UTF-8"?>
<cns:ch10 xmlns:cns="http://www.example.org/XMLCH10Mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="XMLCH10Mapping.xsd" xsi:schemaLocation="http://www.example.org/XMLCH10Mapping XMLCH10Mapping.xsd">
<!--  according to proposed specification with internal version number 0.3.1 -->

<!-- Default definitions for all channels to avoid repeating definitions later -->
	<cns:ChannelDefaults ChannelID="0" DataTypeVersion="106-15" DataType="TMATS" ChecksumType="Checksum0"/>
	<cns:ChannelDefaults ChannelID="1" DataTypeVersion="106-13" DataType="Time Format 1" ChecksumType="Checksum0"/>
	<cns:ChannelDefaults ChannelID="640" DataTypeVersion="106-13" DataTypeRaw ="0x30" ChecksumType="Checksum0"/>
	<cns:ChannelDefaults ChannelID="736" DataTypeVersion="106-13" DataTypeRaw ="0x78" ChecksumType="Checksum0"/>
	<cns:ChannelDefaults ChannelID="737" DataTypeVersion="106-13" DataType="CAN Bus" ChecksumType="Checksum0"/>

<!-- An ASCII TMATS packet -->
	<cns:Packet ChannelID="0" RTC="0">
		<cns:TMATSData Ch10Version="106-15">
			<cns:ASCII>G\106:15;
G\DSI\N:1;
G\DSI-1:DataSource1;
G\DST-1:STO;
R-1\ID:DataSource1;
R-1\RID:FLIDAS;
R-1\R1:generated from XML CH10 mapping;
R-1\TC1:OTHR;
R-1\COM:These CH10 files are generated by the FLIDAS software using the XML CH10 Mapping defined in the CH10 Programmers Handbook (RCC document 123-16) appendix P/Q from the definition of a user defined external XML file;
R-1\RML:E;
R-1\ERBS:AUTO;
R-1\NSB:0;
R-1\RI1:Data Bus Tools GmbH;
R-1\RI2:FLIDAS;
R-1\RI3:N;
R-1\RI6:N;
R-1\CRE:F;
R-1\RSS:R;
R-1\N:4;
R-1\TK1-1:1;
R-1\TK4-1:1;
R-1\DSI-1:TimeChannel;
R-1\CHE-1:T;
R-1\CDT-1:TIMEIN;
R-1\TTF-1:1;
R-1\TFMT-1:I;
R-1\TSRC-1:I;
R-1\TK1-2:640;
R-1\TK4-2:640;
R-1\DSI-2:DATaRec4CAN;
R-1\CHE-2:T;
R-1\CDT-2:MSGIN;
R-1\MTF-2:0;
R-1\NMS\N-2:1;
R-1\MSCN-2-1:1;
R-1\MCNM-2-1:DATaRec4CANSubchannel1;
V-1\ID:DataSource1;
V-1\VN:ZDS;
V-1\ZDS\R\MCDTS-2:0;
V-1\ZDS\R\MBR-2:40000;
R-1\TK1-3:736;
R-1\TK4-3:736;
R-1\DSI-3:RealCAN1;
R-1\CHE-3:T;
R-1\CDT-3:CANIN;
R-1\CBTF-3:0;
R-1\NCB\N-3:2;
R-1\CBN-3-1:1;
R-1\CBM-3-1:CAN1Subchannel1;
R-1\CBBS-3-1:40000;
R-1\CBN-3-2:2;
R-1\CBM-3-2:CAN1Subchannel2;
R-1\CBBS-3-2:40000;
R-1\TK1-4:737;
R-1\TK4-4:737;
R-1\DSI-4:RealCAN2;
R-1\CHE-4:T;
R-1\CDT-4:CANIN;
R-1\CBTF-4:0;
R-1\NCB\N-4:2;
R-1\CBN-4-1:1;
R-1\CBM-4-1:CAN2Subchannel1;
R-1\CBBS-4-1:40000;
R-1\CBN-4-2:2;
R-1\CBM-4-2:CAN2Subchannel2;
R-1\CBBS-4-2:40000;
</cns:ASCII>
		</cns:TMATSData>
	</cns:Packet>

<!-- First time packet -->
	<cns:Packet ChannelID="1" RTC="0" >
		<cns:TimeData MonthYearAvailable="True" TimeFormat="Internal" TimeSource="Internal">
			<cns:TimeDataContent year="2015" mth="1" day="1" hrs="0" min="0" sec="0" msec="0"/>
		</cns:TimeData>
	</cns:Packet>

<!--  same as Channel 736 below but structured definition -->
	<cns:Packet ChannelID="737" RTC="0">
		<cns:CANBusData>
 			<cns:CANBusMessage Subchannel="0" RTC="+0" CANBusID="1">
				<cns:HexBytes>00 01 02 03 04 05 06 07</cns:HexBytes>
			</cns:CANBusMessage>

			<cns:CANBusMessage Subchannel="1" RTC="+0" CANBusID="1">
				<cns:HexBytes>80 81 82 83 84 85 86 87</cns:HexBytes>
			</cns:CANBusMessage>

			<cns:CANBusMessage Subchannel="0" RTC="+10000" CANBusID="0x12345" ExtendedIdentifier="True">
				<cns:HexBytes>FF FE FD FC FB FA</cns:HexBytes>
			</cns:CANBusMessage>

			<cns:CANBusMessage Subchannel="0" RTC="+20000" CANBusID="2" RemoteTransferRequest="True"/>
		</cns:CANBusData>
	</cns:Packet>

	<cns:Packet ChannelID="737" RTC="c+1000000">
		<cns:CANBusData>
 			<cns:CANBusMessage Subchannel="0" RTC="+0" CANBusID="1">
				<cns:HexBytes>08 09 0A 0B 0C 0D 0E 0F</cns:HexBytes>
			</cns:CANBusMessage>

			<cns:CANBusMessage Subchannel="0" RTC="+10000" CANBusID="0x12345" ExtendedIdentifier="True">
				<cns:HexBytes>F9 F8 F7 F6 F5 F4</cns:HexBytes>
			</cns:CANBusMessage>

			<cns:CANBusMessage Subchannel="0" RTC="+20000" CANBusID="2" RemoteTransferRequest="True"/>
		</cns:CANBusData>
	</cns:Packet>

	<cns:Packet ChannelID="737" RTC="c+1000000">
		<cns:CANBusData>
 			<cns:CANBusMessage Subchannel="0" RTC="+0" CANBusID="1" DataError="True" >
				<cns:HexBytes>10 11 12 13 14 15 16 17</cns:HexBytes>
			</cns:CANBusMessage>

			<cns:CANBusMessage Subchannel="0" RTC="+10000" CANBusID="0x12345" ExtendedIdentifier="True" FormatError="True">
				<cns:HexBytes>F3 F2 F1 F0 EF EE</cns:HexBytes>
			</cns:CANBusMessage>

			<cns:CANBusMessage Subchannel="0" RTC="+20000" CANBusID="2" RemoteTransferRequest="True" />
		</cns:CANBusData>
	</cns:Packet>

	<cns:Packet ChannelID="737" RTC="c+1000000">
		<cns:CANBusData>
 			<cns:CANBusMessage Subchannel="0" RTC="+0" CANBusID="1">
				<cns:HexBytes>18 19 1A 1B 1C 1D 1E 1F</cns:HexBytes>
			</cns:CANBusMessage>

			<cns:CANBusMessage Subchannel="0" RTC="+10000" CANBusID="0x12345" ExtendedIdentifier="True">
				<cns:HexBytes>ED EC EB EA E9 E8</cns:HexBytes>
			</cns:CANBusMessage>

			<cns:CANBusMessage Subchannel="0" RTC="+20000" CANBusID="2" RemoteTransferRequest="True" />
		</cns:CANBusData>
	</cns:Packet>

	<cns:Packet ChannelID="737" RTC="c+1000000">
		<cns:CANBusData>
 			<cns:CANBusMessage Subchannel="0" RTC="+0" CANBusID="1" ExtendedIdentifier="True">
				<cns:HexBytes>40 41 42 43 44 45 46 47</cns:HexBytes>
			</cns:CANBusMessage>
		</cns:CANBusData>
	</cns:Packet>

	<cns:Packet ChannelID="737" RTC="c+1000000">
		<cns:CANBusData>
 			<cns:CANBusMessage Subchannel="0" RTC="+0" CANBusID="1" RemoteTransferRequest="True"/>
		</cns:CANBusData>
	</cns:Packet>


<!-- 
	Standard ID 1, 8 bytes, all UBNR:
	aaaaaaaa aaaabbbb bbbbbbbb
	a = Signal_S1_1: increasing integer, start 14 dec, Big endian
	b = Signal_S1_2: decreasing integer, start 33 dec little endian  
 -->

	<cns:Packet ChannelID="640" RTC="0">
		<cns:HexLongWords>00000003</cns:HexLongWords>  <!-- CSDW 3 messages -->

		<cns:HexLongWords>00000000 00000000</cns:HexLongWords> <!--time at RTC 0 -->
		<cns:HexLongWords>0000000C</cns:HexLongWords> <!--12 byte (4 id word, 8 payload) message, no error -->
		<cns:HexLongWords>00000001</cns:HexLongWords> <!--CAN ID 1 -->
		<cns:HexBytes>00 E1 02 03 04 05 06 07</cns:HexBytes> <!--  data -->

		<cns:HexLongWords>00002710 00000000</cns:HexLongWords> <!--time at RTC 10.000 = 1ms -->
		<cns:HexLongWords>0000000A</cns:HexLongWords> <!--10 byte (4 id word, 6 payload) message, no error -->
		<cns:HexLongWords>80012345</cns:HexLongWords> <!--CAN ID 0x12345, Extended identifier -->
		<cns:HexBytes>FF FE FD FC FB FA</cns:HexBytes> <!--  data -->

		<cns:HexLongWords>00004E20 00000000</cns:HexLongWords> <!--time at RTC 20.000 = 2ms-->
		<cns:HexLongWords>00000004</cns:HexLongWords> <!--4 byte (4 id word, 0 payload) message, no error -->
		<cns:HexLongWords>40000002</cns:HexLongWords> <!--CAN ID 2, RTR -->
	</cns:Packet>

	<cns:Packet ChannelID="640" RTC="c+1000000">
		<cns:HexLongWords>00000003</cns:HexLongWords>  <!-- CSDW 3 messages -->

		<cns:HexLongWords>00989680 00000000</cns:HexLongWords> <!--time at 1 second,  -->
		<cns:HexLongWords>0000000C</cns:HexLongWords> <!--12 byte (4 id word, 8 payload) message, no error -->
		<cns:HexLongWords>00000001</cns:HexLongWords> <!--CAN ID 1 -->
		<cns:HexBytes>00 F0 02 0B 0C 0D 0E 0F</cns:HexBytes> <!--  data -->

		<cns:HexLongWords>0098BD90 00000000</cns:HexLongWords> <!--time at 1 second 1ms -->
		<cns:HexLongWords>0000000A</cns:HexLongWords> <!--10 byte (4 id word, 6 payload) message, no error -->
		<cns:HexLongWords>80012345</cns:HexLongWords> <!--CAN ID 0x12345, Extended identifier -->
		<cns:HexBytes>F9 F8 F7 F6 F5 F4</cns:HexBytes> <!--  data -->

		<cns:HexLongWords>0098E4A0 00000000</cns:HexLongWords> <!--time at 1 second 2 ms-->
		<cns:HexLongWords>00000004</cns:HexLongWords> <!--4 byte (4 id word, 0 payload) message, no error -->
		<cns:HexLongWords>40000002</cns:HexLongWords> <!--CAN ID 2, RTR -->
	</cns:Packet>

	<cns:Packet ChannelID="640" RTC="c+1000000">
		<cns:HexLongWords>00000003</cns:HexLongWords>  <!-- CSDW 3 messages -->

		<cns:HexLongWords>01312D00 00000000</cns:HexLongWords> <!--time at 2 second,  -->
		<cns:HexLongWords>8000000C</cns:HexLongWords> <!--12 byte (4 id word, 8 payload) message, data error -->
		<cns:HexLongWords>00000001</cns:HexLongWords> <!--CAN ID 1 -->
		<cns:HexBytes>01 0F 01 13 14 15 16 17</cns:HexBytes> <!--  data -->

		<cns:HexLongWords>01315410 00000000</cns:HexLongWords> <!--time at 2 second 1ms -->
		<cns:HexLongWords>4000000A</cns:HexLongWords> <!--10 byte (4 id word, 6 payload) message, format error -->
		<cns:HexLongWords>80012345</cns:HexLongWords> <!--CAN ID 0x12345, Extended identifier -->
		<cns:HexBytes>F3 F2 F1 F0 EF EE</cns:HexBytes> <!--  data -->

		<cns:HexLongWords>01317B20 00000000</cns:HexLongWords> <!--time at 2 second 2 ms-->
		<cns:HexLongWords>00000004</cns:HexLongWords> <!--4 byte (4 id word, 0 payload) message, no error -->
		<cns:HexLongWords>40000002</cns:HexLongWords> <!--CAN ID 2, RTR -->
	</cns:Packet>

	<cns:Packet ChannelID="640" RTC="c+1000000">
		<cns:HexLongWords>00000003</cns:HexLongWords>  <!-- CSDW 3 messages -->

		<cns:HexLongWords>01C9C380 00000000</cns:HexLongWords> <!--time at 3 second,  -->
		<cns:HexLongWords>0000000C</cns:HexLongWords> <!--12 byte (4 id word, 8 payload) message, no error -->
		<cns:HexLongWords>00000001</cns:HexLongWords> <!--CAN ID 1 -->
		<cns:HexBytes>01 1E 01 1B 1C 1D 1E 1F</cns:HexBytes> <!--  data -->

		<cns:HexLongWords>01C9EA90 00000000</cns:HexLongWords> <!--time at 3 second 1ms -->
		<cns:HexLongWords>0000000A</cns:HexLongWords> <!--10 byte (4 id word, 6 payload) message, no error -->
		<cns:HexLongWords>80012345</cns:HexLongWords> <!--CAN ID 0x12345, Extended identifier -->
		<cns:HexBytes>ED EC EB EA E9 E8</cns:HexBytes> <!--  data -->

		<cns:HexLongWords>01CA11A0 00000000</cns:HexLongWords> <!--time at 3 second 2 ms-->
		<cns:HexLongWords>00000004</cns:HexLongWords> <!--4 byte (4 id word, 0 payload) message, no error -->
		<cns:HexLongWords>40000002</cns:HexLongWords> <!--CAN ID 2, RTR -->
	</cns:Packet>

	<cns:Packet ChannelID="640" RTC="c+1000000">
		<cns:HexLongWords>00000001</cns:HexLongWords>  <!-- CSDW 1 messages -->

		<cns:HexLongWords>02625A00 00000000</cns:HexLongWords> <!--time at 4 second,  -->
		<cns:HexLongWords>0000000C</cns:HexLongWords> <!--12 byte (4 id word, 8 payload) message, no error -->
		<cns:HexLongWords>80000001</cns:HexLongWords> <!--CAN ID 1, Extended identifier -->
		<cns:HexBytes>01 2D 01 43 44 45 46 47</cns:HexBytes> <!--  data -->
	</cns:Packet>

	<cns:Packet ChannelID="640" RTC="c+1000000">
		<cns:HexLongWords>00000001</cns:HexLongWords>  <!-- CSDW 1 messages -->

		<cns:HexLongWords>02FAF080 00000000</cns:HexLongWords> <!--time at 5 second,  -->
		<cns:HexLongWords>00000004</cns:HexLongWords> <!--12 byte (4 id word, 0 payload) message, no error -->
		<cns:HexLongWords>40000001</cns:HexLongWords> <!--CAN ID 1, RTR -->
	</cns:Packet>

	<cns:Packet ChannelID="736" RTC="0">
		<cns:HexLongWords>00000004</cns:HexLongWords>  <!-- CSDW 3 messages -->

		<cns:HexLongWords>00000000 00000000</cns:HexLongWords> <!--time at RTC 0 -->
		<cns:HexLongWords>0000000C</cns:HexLongWords> <!--12 byte (4 id word, 8 payload) message, no error -->
		<cns:HexLongWords>00000001</cns:HexLongWords> <!--CAN ID 1 -->
		<cns:HexBytes>00 01 02 03 04 05 06 07</cns:HexBytes> <!--  data -->

		<cns:HexLongWords>00000000 00000000</cns:HexLongWords> <!--time at RTC 0 -->
		<cns:HexLongWords>0001000C</cns:HexLongWords> <!--subchannel 1: 12 byte (4 id word, 8 payload) message, no error -->
		<cns:HexLongWords>00000001</cns:HexLongWords> <!--CAN ID 1 -->
		<cns:HexBytes>80 81 82 83 84 85 86 87</cns:HexBytes> <!--  data -->

		<cns:HexLongWords>00002710 00000000</cns:HexLongWords> <!--time at RTC 10.000 = 1ms -->
		<cns:HexLongWords>0000000A</cns:HexLongWords> <!--10 byte (4 id word, 6 payload) message, no error -->
		<cns:HexLongWords>80012345</cns:HexLongWords> <!--CAN ID 0x12345, Extended identifier -->
		<cns:HexBytes>FF FE FD FC FB FA</cns:HexBytes> <!--  data -->

		<cns:HexLongWords>00004E20 00000000</cns:HexLongWords> <!--time at RTC 20.000 = 2ms-->
		<cns:HexLongWords>00000004</cns:HexLongWords> <!--4 byte (4 id word, 0 payload) message, no error -->
		<cns:HexLongWords>40000002</cns:HexLongWords> <!--CAN ID 2, RTR -->
	</cns:Packet>

	<cns:Packet ChannelID="736" RTC="c+1000000">
		<cns:HexLongWords>00000003</cns:HexLongWords>  <!-- CSDW 3 messages -->

		<cns:HexLongWords>00989680 00000000</cns:HexLongWords> <!--time at 1 second,  -->
		<cns:HexLongWords>0000000C</cns:HexLongWords> <!--12 byte (4 id word, 8 payload) message, no error -->
		<cns:HexLongWords>00000001</cns:HexLongWords> <!--CAN ID 1 -->
		<cns:HexBytes>08 09 0A 0B 0C 0D 0E 0F</cns:HexBytes> <!--  data -->

		<cns:HexLongWords>0098BD90 00000000</cns:HexLongWords> <!--time at 1 second 1ms -->
		<cns:HexLongWords>0000000A</cns:HexLongWords> <!--10 byte (4 id word, 6 payload) message, no error -->
		<cns:HexLongWords>80012345</cns:HexLongWords> <!--CAN ID 0x12345, Extended identifier -->
		<cns:HexBytes>F9 F8 F7 F6 F5 F4</cns:HexBytes> <!--  data -->

		<cns:HexLongWords>0098E4A0 00000000</cns:HexLongWords> <!--time at 1 second 2 ms-->
		<cns:HexLongWords>00000004</cns:HexLongWords> <!--4 byte (4 id word, 0 payload) message, no error -->
		<cns:HexLongWords>40000002</cns:HexLongWords> <!--CAN ID 2, RTR -->
	</cns:Packet>

	<cns:Packet ChannelID="736" RTC="c+1000000">
		<cns:HexLongWords>00000003</cns:HexLongWords>  <!-- CSDW 3 messages -->

		<cns:HexLongWords>01312D00 00000000</cns:HexLongWords> <!--time at 2 second,  -->
		<cns:HexLongWords>8000000C</cns:HexLongWords> <!--12 byte (4 id word, 8 payload) message, data error -->
		<cns:HexLongWords>00000001</cns:HexLongWords> <!--CAN ID 1 -->
		<cns:HexBytes>10 11 12 13 14 15 16 17</cns:HexBytes> <!--  data -->

		<cns:HexLongWords>01315410 00000000</cns:HexLongWords> <!--time at 2 second 1ms -->
		<cns:HexLongWords>4000000A</cns:HexLongWords> <!--10 byte (4 id word, 6 payload) message, format error -->
		<cns:HexLongWords>80012345</cns:HexLongWords> <!--CAN ID 0x12345, Extended identifier -->
		<cns:HexBytes>F3 F2 F1 F0 EF EE</cns:HexBytes> <!--  data -->

		<cns:HexLongWords>01317B20 00000000</cns:HexLongWords> <!--time at 2 second 2 ms-->
		<cns:HexLongWords>00000004</cns:HexLongWords> <!--4 byte (4 id word, 0 payload) message, no error -->
		<cns:HexLongWords>40000002</cns:HexLongWords> <!--CAN ID 2, RTR -->
	</cns:Packet>

	<cns:Packet ChannelID="736" RTC="c+1000000">
		<cns:HexLongWords>00000003</cns:HexLongWords>  <!-- CSDW 3 messages -->

		<cns:HexLongWords>01C9C380 00000000</cns:HexLongWords> <!--time at 3 second,  -->
		<cns:HexLongWords>0000000C</cns:HexLongWords> <!--12 byte (4 id word, 8 payload) message, no error -->
		<cns:HexLongWords>00000001</cns:HexLongWords> <!--CAN ID 1 -->
		<cns:HexBytes>18 19 1A 1B 1C 1D 1E 1F</cns:HexBytes> <!--  data -->

		<cns:HexLongWords>01C9EA90 00000000</cns:HexLongWords> <!--time at 3 second 1ms -->
		<cns:HexLongWords>0000000A</cns:HexLongWords> <!--10 byte (4 id word, 6 payload) message, no error -->
		<cns:HexLongWords>80012345</cns:HexLongWords> <!--CAN ID 0x12345, Extended identifier -->
		<cns:HexBytes>ED EC EB EA E9 E8</cns:HexBytes> <!--  data -->

		<cns:HexLongWords>01CA11A0 00000000</cns:HexLongWords> <!--time at 3 second 2 ms-->
		<cns:HexLongWords>00000004</cns:HexLongWords> <!--4 byte (4 id word, 0 payload) message, no error -->
		<cns:HexLongWords>40000002</cns:HexLongWords> <!--CAN ID 2, RTR -->
	</cns:Packet>

	<cns:Packet ChannelID="736" RTC="c+1000000">
		<cns:HexLongWords>00000001</cns:HexLongWords>  <!-- CSDW 1 messages -->

		<cns:HexLongWords>02625A00 00000000</cns:HexLongWords> <!--time at 4 second,  -->
		<cns:HexLongWords>0000000C</cns:HexLongWords> <!--12 byte (4 id word, 8 payload) message, no error -->
		<cns:HexLongWords>80000001</cns:HexLongWords> <!--CAN ID 1, Extended identifier -->
		<cns:HexBytes>40 41 42 43 44 45 46 47</cns:HexBytes> <!--  data -->
	</cns:Packet>

	<cns:Packet ChannelID="736" RTC="c+1000000">
		<cns:HexLongWords>00000001</cns:HexLongWords>  <!-- CSDW 1 messages -->

		<cns:HexLongWords>02FAF080 00000000</cns:HexLongWords> <!--time at 5 second,  -->
		<cns:HexLongWords>00000004</cns:HexLongWords> <!--12 byte (4 id word, 0 payload) message, no error -->
		<cns:HexLongWords>40000001</cns:HexLongWords> <!--CAN ID 1, RTR -->
	</cns:Packet>

</cns:ch10>
