equal
deleted
inserted
replaced
|
1 |
|
2 (* Following taken directly from the IEC 61131.3 draft standard *) |
|
3 |
|
4 (* |
|
5 * An IEC 61131-3 IL and ST compiler. |
|
6 * |
|
7 * Based on the |
|
8 * FINAL DRAFT - IEC 61131-3, 2nd Ed. (2001-12-10) |
|
9 * |
|
10 *) |
|
11 |
|
12 |
1 FUNCTION_BLOCK DERIVATIVE |
13 FUNCTION_BLOCK DERIVATIVE |
2 VAR_INPUT |
14 VAR_INPUT |
3 RUN : BOOL ; (* 0 = reset *) |
15 RUN : BOOL ; (* 0 = reset *) |
4 XIN : REAL ; (* Input to be differentiated *) |
16 XIN : REAL ; (* Input to be differentiated *) |
5 CYCLE : TIME ; (* Sampling period *) |
17 CYCLE : TIME ; (* Sampling period *) |