[r4]: / trunk / SM3_Drive_RaspiStepper / SM3_Drive_RaspiStepper / Function Blocks / AXIS_REF_RaspiStepper / Implicitly called / AfterReadInputs / svnobj  Maximize  Restore  History

Download this file

14 lines (13 with data), 1.7 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
IF m_xSkipNextAfterReadInputs THEN
	m_xSkipNextAfterReadInputs := FALSE;
	RETURN;
END_IF
IF NOT bVirtual THEN
	IF wCommunicationState>=90 AND wCommunicationState<=100 THEN
		PrepareOutputs();
		ProcessInputs();
	ELSE
		sc.bRegulatorOn := bRegulatorOn;
		sc.lrFreq := 0;
	END_IF
SUPER^.AfterReadInputs();