View Single Post
Old January 12th, 2021, 06:10 AM   #1
xzen
Lifetime Supporting Member
Norway

xzen is offline
 
xzen's Avatar
 
Join Date: Jun 2006
Location: Oslo
Posts: 90
Edge trigging in ST or SCL

What is your best practice for edge trigging in structured text language?

Code:
#condition := (Value1 > 0 OR NOT Tag1) AND Tag2;
IF #condition_positive_edge THEN
    some_code();
END_IF;
__________________
http://www.slauto.no
  Reply With Quote