equal
deleted
inserted
replaced
|
1 (* Following taken directly from the IEC 61131.3 draft standard *) |
|
2 |
|
3 (* |
|
4 * An IEC 61131-3 IL and ST compiler. |
|
5 * |
|
6 * Based on the |
|
7 * FINAL DRAFT - IEC 61131-3, 2nd Ed. (2001-12-10) |
|
8 * |
|
9 *) |
|
10 |
1 FUNCTION_BLOCK PID |
11 FUNCTION_BLOCK PID |
2 VAR_INPUT |
12 VAR_INPUT |
3 AUTO : BOOL ; (* 0 - manual , 1 - automatic *) |
13 AUTO : BOOL ; (* 0 - manual , 1 - automatic *) |
4 PV : REAL ; (* Process variable *) |
14 PV : REAL ; (* Process variable *) |
5 SP : REAL ; (* Set point *) |
15 SP : REAL ; (* Set point *) |