mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 12:45:39 +01:00
14 lines
No EOL
343 B
Text
14 lines
No EOL
343 B
Text
FUNCTION_BLOCK SubFB
|
||
VAR_INPUT
|
||
TimeIN : BOOL; (* Boolean input variable *)
|
||
TimeQ : BOOL; (* Boolean input variable *)
|
||
END_VAR
|
||
VAR_IN_OUT
|
||
Timer : TON; (* pointer to instance Time1 of TON – input/output variable *)
|
||
END_VAR
|
||
VAR_OUTPUT
|
||
Time3 : TON; (* 3rd instance of TON *)
|
||
END_VAR
|
||
VAR
|
||
Start : BOOL := TRUE; (* local Boolean variable *)
|
||
END_VAR |