Config
This method configures the function generator based on the selected signal sampling mode (eMode), the PLC cycle time, the PLC cycle time correction factor (fCycleTimeCorrectionFactor), the configured oversampling factor (nOversampleFactor), the configured sampling rate (nSpecifiedSmpRate), and the signal frequency (fFrequency). The Config method is automatically called internally whenever these configuration parameters are changed.
METHOD FINAL Config: BOOLReturn parameter: Positive feedback (TRUE) on success or negative feedback (FALSE) on error. Invalid configuration parameter values, such as nOversamplingFactor = 0, fFrequency <= 0.0, nSpecifiedSmpRate = 0, or fCycleTimeCorrectionFactor <= 0.0, result in a negative acknowledgment.