Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Bugs in IMC object

Bugs in IMC object 7 years 4 days ago #8914

  • brunad
  • brunad's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 247
  • Thank you received: 48
  • Karma: 11
Hello (Claes)

Thank you for give the new graphical interface to IMC object.
I noticed a bug or two in pwr_c_compimc.pwg:


cmps_2.jpg






File Attachment:

File Name: pwr_c_compimc.pwg.zip
File Size: 11 KB









Furthermore I have put protections against possible divisions by zero due to user configuration errors causing the code to crash and Replacing the Normalize macro by a function (Changes are made in this new rt_plc_bcomp.c file).


File Attachment:

File Name: rt_plc_bcomp.c
File Size: 29 KB



Best Regards B) B)

/Bruno
Last Edit: 7 years 4 days ago by brunad.
The administrator has disabled public write access.

Bugs in IMC object 7 years 2 days ago #8920

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3176
  • Thank you received: 502
  • Karma: 133
Thanks Bruno,

I'll add the modifications to the next release.

For what I can see the decimal positions where correctly connected but notice that there is a DecimalDecrement that is set to 2. This will decrease the number of decimals with 2 compared with the input or output value. You usually don't need that many decimals in the range specifiers.

/Claes
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 9.340 seconds