19 * |
19 * |
20 * This code is made available on the understanding that it will not be |
20 * This code is made available on the understanding that it will not be |
21 * used in safety-critical situations without a full and competent review. |
21 * used in safety-critical situations without a full and competent review. |
22 *) |
22 *) |
23 |
23 |
24 (* |
24 (* This is the library conatining the standard function blocks defined in the standard. *) |
25 * An IEC 61131-3 compiler. |
|
26 * |
|
27 * Based on the |
|
28 * FINAL DRAFT - IEC 61131-3, 2nd Ed. (2001-12-10) |
|
29 * |
|
30 *) |
|
31 |
25 |
32 (******************************************************************************************************* |
26 (* FINAL DRAFT - IEC 61131-3, 2nd Ed. (2001-12-10) *) |
33 * This is the library conatining the standard functions and function blocks defined in the standard. * |
|
34 ******************************************************************************************************* |
|
35 *) |
|
36 |
|
37 (* The standard functions *) |
|
38 (*{#include "standard_functions.txt" }*) |
|
39 |
|
40 (* The standard function blocks *) |
|
41 {#include "edge_detection.txt" } |
27 {#include "edge_detection.txt" } |
42 {#include "bistable.txt" } |
28 {#include "bistable.txt" } |
43 {#include "counter.txt" } |
29 {#include "counter.txt" } |
44 {#include "timer.txt" } |
30 {#include "timer.txt" } |
45 {#include "derivative_st.txt" } |
31 {#include "derivative_st.txt" } |
46 {#include "hysteresis_st.txt" } |
32 {#include "hysteresis_st.txt" } |
47 {#include "integral_st.txt" } |
33 {#include "integral_st.txt" } |
48 {#include "pid_st.txt" } |
34 {#include "pid_st.txt" } |
49 {#include "ramp_st.txt" } |
35 {#include "ramp_st.txt" } |
50 |
36 |
51 (* Some usefull non-standard function blocks *) |
37 (* Frome later versions of the standard *) |
52 {#include "sema.txt" } |
38 {#include "sema.txt" } |
|
39 |