[?]: how can i introduce input and output via SCL
-
- Posts: 14
- Joined: Wed Oct 11, 2006 8:50 am
- Location: TURKEY
[?]: how can i introduce input and output via SCL
how can i introduce input and output via the SCL
-
- Posts: 2
- Joined: Mon Feb 19, 2007 1:28 pm
- Location: Europe
You can use them directly in your source
Example:
If you wish to create an FB or FC with in- and outputs, then you have to
define them as variables, example:
I hope, this will answer your question.
C U
Uli
Example:
Code: Select all
If I6.2 then Q2.2
End_if
define them as variables, example:
Code: Select all
VAR_INPUT
FAST_B : INT; // (can also be bool, dint etc.)
SLOW_B : INT;
STEP_B : INT;
END_VAR
C U
Uli