You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
FUNCTION_BLOCK BS_Average
|
|
|
|
|
|
|
|
|
|
|
|
VAR_INPUT
|
|
|
|
Input : INT ;
|
|
|
|
Num : INT := 20 ;
|
|
|
|
Delay : Time := t#100ms ;
|
|
|
|
END_VAR
|
|
|
|
|
|
|
|
VAR_OUTPUT
|
|
|
|
Output : INT ;
|
|
|
|
END_VAR
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
END_FUNCTION_BLOCK
|