I'm getting Warning W130 when using PWM Out

[Warning]   FAN_CTRL#2(@13)   W130 PWMOUT parameter #3 writing to High Speed Output Y14 that is bound to @FAN_CTRL - Pulse Width Modulation - Output: Y14 (instruction has no effect)

 

I have the HSIO1 module configured to to Step and Direction x (3) for three servos, as well as two PWM outputs for controlling a cooling fan an an IR illuminator. I get W130 warnings on the two PWM outputs. The PWM outputs are configured properly via the Dashboard tab in DoMore Designer. Can I safely ignore these warnings?

 

 

Thanks,

Ryan Poethke


  • HOST_franji1 (HOST Engineering)

    Yes, it can be ignored. That was a bug that we fixed.

     

    The Program Check warning W130 was implemented before we added the PWMOUT instruction. So in 2.9 that warning gets flagged (improperly) in the new PWMOUT instruction (the ONE situation where the Y CAN be "written" to). It's been fixed and will be in the next release.

    Selected as Best
  • ADC Community_02 (Automationdirect.com)

    Per help file topic DMD0469 it is stating W130 is a warning. That if you are using Y14 anywhere else in your program that it will have no effect. So not sure if you have Y14 referenced anywhere else in your program?

    image

    • Ryan Poethke (Customer)

      I don't have Y14 used anywhere else in my program, and that's why the warning message was so confusing. Glad to know it's a bug that can be ignored. The program was functioning just fine, but I wanted to ensure it wouldn't cause any issue down the road.

       

      Thanks!

  • HOST_franji1 (HOST Engineering)

    Yes, it can be ignored. That was a bug that we fixed.

     

    The Program Check warning W130 was implemented before we added the PWMOUT instruction. So in 2.9 that warning gets flagged (improperly) in the new PWMOUT instruction (the ONE situation where the Y CAN be "written" to). It's been fixed and will be in the next release.

    Selected as Best
  • HOST_franji1 (HOST Engineering)

    We added the PWMOUT instruction to help be a "place holder" for the Y referenced in the System Configuration. Since Designer's Find and Cross Reference do not apply to System Configuration, only logic, we thought it would be "nice" to create this non-functioning placeholder instruction in logic to point to the System Configuration reference. It mostly works how we hoped.