Aymannn

Hi everyone,
I’m working on a project in OpenPLC and I need to add two values together inside a Ladder diagram (e.g., Total = Value1 + Value2).

I can’t seem to find a clear way to do this — is there a specific function block for addition in OpenPLC Ladder, or another method to achieve it?
thiagoralves
Use the ADD block. To avoid adding the numbers every scan cycle, enable execution control on the ADD block (double click the block for properties) and then use your logic to activate the sum on the EN pin of the ADD block
Reply 0 0
Reply