no_assign C0540 message

2024-01-25
2024-01-25
  • masmith1553 - 2024-01-25

    I am receiving warnings for no assign warning messages after I updated my project from SP18 to SP19. How do I fix these warnings?

     
  • i-campbell

    i-campbell - 2024-01-25

    add the attribute to your FB like this

    {attribute 'no_assign'}
    FUNCTION_BLOCK UDFB_FinActuator_Rx
    VAR_INPUT
    ...
    

    source

     
    πŸ‘
    1

Log in to post a comment.