Jump to content

Who can help for beginner?


Recommended Posts

Sorry, great programmers, for stupid questions in this topic, but I'm study and I suggest to make this topic for beginners.

PLC V350, example, math function A+B=C . I set block ADD in Ladder,  in HMI set  3 numeric button for A,B,C. I made connections in variables  to A,B,C, I enter numbers in 1st and 2nd numeric button, but in 3rd (C) not changes (addition).

Link to comment
Share on other sites

  • MVP 2023

You should post your code, but a few things to look for are:

-Make sure the ADD function is being called - is it in a subroutine?

-Make sure A, B, or C are not being assigned elsewhere in the program.

-Double check that all the operand assignments for A, B, and C are correct, both on the HMI and in the ladder.

Link to comment
Share on other sites

18 hours ago, Flex727 said:

You need to call Subroutine 1 in your Main Routine or it will not run the ADD function.

I don't see anything wrong with Display 2 except you've changed the background color to black.

Thank you Flex727, I did it,

I thought that connects between Main Routine and Subroutine 1 is automatically and My display is open

Very pity, that in VisiLogic is no emulation and every changes must be burned by the PLC

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.