E_GseSvGeneratorMode

Configures the sampling mode of the sine wave signal generator.

Namespace: Tc3_Gse
Library: Tc3_Gse (Tc3_Gse.compiled-library)

{attribute 'qualified_only'}
{attribute 'strict'}
TYPE E_GseSvGeneratorMode :
(
    AtSmpRatePerPeriod:=0,
    AtSmpRatePerSecond:=1,
    AtPlcTaskCycleTime:=2
)SINT:=AtPlcTaskCycleTime;
END_TYPE

Values

Name

Description

AtSmpRatePerPeriod

Generates samples at a specified sampling rate per period.

AtSmpRatePerSecond

Generates samples at a specified sampling rate per second.

AtPlcTaskCycleTime

The sample values are generated during the PLC task cycle. For the oversampling factor: 1, one sample value is generated per PLC cycle, and with an oversampling factor of n, n sample values are generated per PLC cycle (the signal generator’s call method is called n times in each cycle).