Click here to Skip to main content
15,909,605 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everybody ,
i am using now a structrd text lauguage for some project , and now i need to excute
the operator ( += ) , which is not found in structured text language.
what is the other ways to excute such this operator.
thank you .

What I have tried:

BOOST_VALVE_PID.ESUM  +=: BOOST_VALVE_PID.KP

here is gives an error becuase of this operator
Posted
Updated 2-Jul-18 1:37am
Comments
Richard MacCutchan 2-Jul-18 8:04am    
Check the language documentation for available operators.

Please try:
BOOST_VALVE_PID.ESUM  =: BOOST_VALVE_PID.ESUM + BOOST_VALVE_PID.KP


In general
a += b

means
a= a+b
 
Share this answer
 
v2
Comments
BaselAla 2-Jul-18 8:26am    
thank you !
Try something like:
BOOST_VALVE_PID.ESUM  =: BOOST_VALVE_PID.ESUM  + PBOOST_VALVE_PID.KP
 
Share this answer
 
Comments
BaselAla 2-Jul-18 8:26am    
thank you !
OriginalGriff 2-Jul-18 8:38am    
You're welcome!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900