plcforum.uz.ua

International PLC Forum
It is currently Thu Sep 20, 2018 6:38 am

All times are UTC + 3 hours


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Fri May 25, 2018 2:33 pm 

Joined: Sat May 14, 2011 3:39 pm
Posts: 1
Hello, please answer my two questions, they seem to be simple, but how to do it correctly in the language of LAD, I did not understand.
These two questions relate to the LAD language.

The first question is how to perform increment/decrement.
I need every 20 ms, variable to increase or decrease by 1 (well, or a fractional number).

The second question is how to protect against zero in formulas in which there is multiplication / division, just putting the comparator on the EN of the mathematical element does not work, as soon as the comparator is disabled, all the variables of this formula get some maximum values.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 3 hours


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by International PLCforum® Forum Software © PLCforum
Mobile version