<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[CANNY logic forum — Partial Frame Manipulation]]></title>
	<link rel="self" href="https://forum.cannylogic.com/extern.php?action=feed&amp;tid=94&amp;type=atom" />
	<updated>2026-03-17T05:04:16Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.cannylogic.com/viewtopic.php?id=94</id>
		<entry>
			<title type="html"><![CDATA[Re: Partial Frame Manipulation]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=1188#p1188" />
			<content type="html"><![CDATA[<p>Yes, it is possible. Please see the example &quot;Processing received CAN messages in a custom diagram&quot; (Figure 4)&nbsp; in the documentation: <a href="https://cannylogic.com/docs/c72duo/cangateway/#sec--c72duo-cangateway-examples-processing" target="_blank">https://cannylogic.com/docs/c72duo/cang … processing</a></p>]]></content>
			<author>
				<name><![CDATA[Konstantin, CANNY logic]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=2</uri>
			</author>
			<updated>2026-03-17T05:04:16Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=1188#p1188</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Partial Frame Manipulation]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=1187#p1187" />
			<content type="html"><![CDATA[<p>Hello Konstantin, </p><br /><p>Here is a scenario that I have been trying with my CANNY 7.2 DUO. </p><p>Is it possible to block a specific byte in a data frame while allowing other bytes of that same frame to pass through unchanged?</p><p>For example: </p><p>Source CAN 0 : 0x308 [1][2] == RPM.</p><p>Target CAN 1:</p><p>0x201 [FF FF] FF 00 22 22 00 00 <br />ERL (8)</p><p>D1:D0 == RPM<br />D5:D4 == MPH</p><p>I want to block or replace D1:D0&nbsp; while passing the remaining bytes through.</p><p>The issue came about due to bench test scenario where I have <br />the replacement engine ECM on CAN 0 broadcasting RPM 0x308 [1][2] to activate the RPM gauge on the instrument cluster on CAN 1&nbsp; via 0x201 D1:D0 successfully. </p><p>However, the vehicle&#039;s overall system rely on the original engine&#039;s PCM to broadcast 0x201 byte D5:D4 for MPH.</p><p>If I allow both PCM node and CANNY node to broadcast then the RPM gauge and MPH gauge fluctuate due to contradictory data.</p><br /><p>If I try to&nbsp; block 0x201 to prevent D1:D0 (00:00) using </p><p>(1)-&gt;CANGW Selector X Drop Mode. <br />(0xFFFF)-&gt;CANGW Selector X Value Mask, CAN IDL. <br />(1)-&gt;CANGGW Selector X Replace Mask, CAN D1:D0.<br />(0)-&gt;CANGW Selector X Replace,CAN D1:D0.</p><br /><p>Then the whole frame 0x201 with all bytes are dropped.</p><p>Is it possible to replace 0x201 D1:D0 leaving the remaining bytes complete?<br />Perhaps I can put both ECM and PCM on CAN0 then only allow desired frames from to pass from CAN 0 to CAN 1 (vehicle bus)?</p>]]></content>
			<author>
				<name><![CDATA[AlxBilt]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=319</uri>
			</author>
			<updated>2026-03-17T03:57:04Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=1187#p1187</id>
		</entry>
</feed>
