# HG changeset patch # User Surkov Sergey # Date 1527761230 -10800 # Node ID ce5bd74ed55269ffdc19109930cc98b20209b1a8 # Parent baa0c511145779d4e861bc3917f5f3988e1aea69 Add function example to first_steps example It'll be used in documentation to show how to create function in Beremiz. diff -r baa0c5111457 -r ce5bd74ed552 tests/first_steps/plc.xml --- a/tests/first_steps/plc.xml Fri May 25 18:37:59 2018 +0300 +++ b/tests/first_steps/plc.xml Thu May 31 13:07:10 2018 +0300 @@ -1,7 +1,7 @@ - + @@ -17,6 +17,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -79,6 +131,11 @@ + + + + + @@ -105,24 +162,13 @@ - + - + Reset - - - - - - - - - - Cnt1 - @@ -145,19 +191,8 @@ - - - - - - - - - - Cnt2 - - - + + - - - - - - - - - - Cnt3 - @@ -232,35 +256,24 @@ - + - + Reset - - - - - - - - - - Cnt4 - - + - + Reset - + - + Reset @@ -286,24 +299,156 @@ - - - - - - - - - - Cnt5 - - + - + Reset + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AVCnt + + + + + + + + + + + + + + Cnt1 + + + + + + + + + + + + + + Cnt2 + + + + + + + + + + + + + + Cnt3 + + + + + + + + + + + + + + Cnt4 + + + + + + + + + + + + + + Cnt5 +