Author Topic: MFoutput Reflexion question  (Read 1945 times)

Offline macbahi

  • PLUS+1 Guru
  • *****
  • Posts: 113
  • Karma: +1/-0
MFoutput Reflexion question
« on: March 15, 2022, 06:01:40 PM »
Hi!

Using MFoutput of MC050 or SC050 and mybe all controllers as MC050 C1p37 why currentOut is S32 but DutyOuT is U16.

Look please   OutputMode (3,4,5,6) can be U16.    see picture   because we most change every time our program
 
So if it's possible to change it definitively it will be better.

Thank you very much
Cordially
Mac Bahi

Offline Tor

  • Administrator
  • PLUS+1 Guru
  • *
  • Posts: 275
  • Karma: +26/-1
Re: MFoutput Reflexion question
« Reply #1 on: March 18, 2022, 06:44:51 AM »
Hello Mac Bahi,

Yes, it would be sufficient with a U16.
I asked around and no one really know why this is a S32, this was probably just decided in the beginning that currentOut "needs" to be S32.

You can use the "Retype" component between your logic and the currentOut. If that helps.


Have a nice day.
Best regards,
Tor
PLUS+1® SW PAE Team

Offline macbahi

  • PLUS+1 Guru
  • *****
  • Posts: 113
  • Karma: +1/-0
Re: MFoutput Reflexion question
« Reply #2 on: April 05, 2022, 06:22:47 PM »
Hi sir Tor,

Thank you for your response.  Yes I use Retype.

With best regards
Mac bahi