GreenEnergy (Customer) asked a question.

WPS SoftPLC to WEG inverter ?

I have a WEG CFW300 VFD that I built a PLC ladder and now I want to somehow use BIT5 to command VFD to run fwd then BIT6 for rev. Is it in parameter settings or do I have to change BIT5 to something different ?


  • ADC Community_03 (AutomationDirect)

    I'm not entirely sure what you are referring to with "BIT5" or "BIT6" but if you add a DIRECTCOIL instruction in your ladder, you will see a list of available bits to choose from. One of those is "CFW_CMD_SPEED_DIRECTION". If this bit is false, the drive will run in Reverse. If this bit is true, it runs Forward.

  • GreenEnergy (Customer)

    I was using BIT5 in my directcoil instruction, I didn't realized that CFW_CMD_SPEED_DIRECTION is made for this fwd/rev control. Thank you for pointing that out.

     

    I still am not able to make motor to run off of SoftPLC, HMI only. I believe its something to do with my parameter settings ?Parameter Settings

    Expand Post
  • ADC Community_03 (AutomationDirect)

    Yes, you don't have your parameters set for SoftPLC. You need to choose to use LOC or REM and set those parameters for SoftPLC. You would then choose to run with LOC or REM. As an example way to run, set P220 to 0, P221 to 12, P223 to 12, P224 to 5. In your ladder code, you use the MW_RefVelocity to set the speed in the units you want. Be sure to also enable the CFW_CMD_GENERAL_ENABLE bit.

  • GreenEnergy (Customer)

    Yes that was helpful, I set P221 to 1 instead so it read off potoimeter.

     

    It will run fwd but not rev...I used CFW_CMD_RUN_STOP along with CFW_CMD_GENERAL_ENABLE and it won't work. If I use CFW_CMD_RUN_STOP , CFW_CMD_GENERAL_ENABLE , CFW_CMD_SPEED_DIRECTION then it will work one direction only. Is there something in parameter that prevent rev rotation or is it something in ladder logic that I am missing ?

    Expand Post
  • ADC Community_03 (AutomationDirect)

    Did you set P223 to SoftPLC as well? This allows for direction change from the SoftPLC. When I do this and change the state of CFW_CMD_SPEED_DIRECTION I see the direction change.

  • GreenEnergy (Customer)

    It was in ladder logic...see attached pics. Parameter pic is for others' reference. It works now !

     

    Many Thanks !

     

    Bad Logic 

    Good Logic 

    Parameter

    Expand Post