![]() |
UNEXPECTED OUTPUT BEHAVIOUR
Make sure that the function block is always invoked in the first program cycle.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
|
CAL FGEN_Instance (R:=ResetFlag, START:=StartFlag, PARA:=Parameter, YOFF:=Output_Y_Offset, Y=>FunctionGeneratorOutput, ACTIVE=>FunctionGeneratorActiv, N=>NumberOfPeriods)
FGEN_Instance (R:=ResetFlag, START:=StartFlag, PARA:=Parameter, YOFF:=Output_Y_Offset, Y=>FunctionGeneratorOutput, ACTIVE=>FunctionGeneratorActiv, N=>NumberOfPeriods) ;
Parameter
|
Data type
|
Description
|
---|---|---|
R
|
1: Reset
|
|
START
|
BOOL
|
1: Start function generator
|
PARA
|
Parameter
|
|
YOFF
|
Offset for output Y
|
Parameter
|
Data type
|
Description
|
---|---|---|
Y
|
REAL
|
Function generator output
|
ACTIVE
|
BOOL
|
ACTIVE = 1: Function generator is active
|
N
|
Number of intervals since start
|
Element
|
Data type
|
Description
|
---|---|---|
func_no
|
Generator function choice (1-8)
|
|
amplitude
|
Function amplitude
|
|
halfperiod
|
Half cycle duration
|
|
t_off
|
TIME
|
Idle time constant
|
t_rise
|
TIME
|
Rise time constant
|
t_acc
|
TIME
|
Smoothing time
|
unipolar
|
"1 "= Signal unipolar
"0 "= Signal bipolar
|