🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

[Error]#3006: SimCoder does not support 't' and 'delt' in Simplified C Block ...again..

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

Hello,All

I have a problem in simplified C block.
At first, I simulated my "simplified-C block" FOC-PMSM circuit.
(1) It showed [Error]#3006: SimCoder does not support 't' and 'delt' in Simplified C Block …[pic1]
I solved this error by changing the "t" to another variable.
Then, I could simulate successfully.
(Is it a regular method?)
(2) But, when I deployed the "Hardware config."&"ADC"(F2806x), the [Error]#3006 appearing again!
I am sure there is no "t" in these Simplified C Blocks.
Even, I give a simpler input signal, [Error]#3006 still appears. [pic2]

I need your help, please.
Thank you!

image

 

image

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    SimCoder does not support 't' and 'delt'.

    SimCoder is to generate code which runs on target MCU.
    't' and 'delt' are the variables used in simulation, not on target. You must define those variables in your code.

    What is in your S1 block? How do you connect the 3-phase power circuit nodes inside the MCU code?