This example shows an application of
QFIRE CTR-101
receiving data from CAN Bus.The Simulation blocks in QFIRE Studio can be used to simulate an application with digital communication bus, e.g. CAN. The Message Source block is able to generate messages with specific payloads and message IDs while triggering messages at given times. In this example, we use this block to generate the messages with the corresponding IDs in the table below.
| Timestamp(s) | Payload SID 0 | Payload SID 1 |
| 0 | 0 | 0 |
| 1 | 1 | 2 |
| 2 | 2 | 4 |
| 3 | 3 | 6 |
| 4 | 4 | 8 |
| 5 | 5 | 10 |
The following diagram was designed to simulate this case.

Figure 1 - Simulate message generation fed into a QFIRE CAN Input
The data from table was added into Message Source block by configuring this block as shown in Figure 2.

Figure 2 - Message Source Dialog parameterization
In the Task 0 Workspace, the diagram from Figure 3 was designed.

Figure 3 - Task 0 Diagram
As can be seen, there are two subsystems named Holder. These subsystems are responsible by holding the payload value until a new payload gets updated. The Holder diagram is shown in Figure 4.

Figure 4 - Holder diagram
After simulating this application, the received data can be seen in the Scope from Figure 5.

Figure 5 - Received data from CAN Bus
About MWF
MWF is a traditional Brazilian company that provides a wide range of electronic and mechatronic products for industry sectors such as automotive, agricultural machinery and aerospace.
Contact Us
Rua Doutor Siqueira, 139 / Sala 804 Campos dos Goytacazes - RJ, Brasil
contact@mwf-technologies.com
© 2018-2026 MWF. All rights reserved.