[r4]: / trunk / SM3_Drive_RaspiStepper / SM3_Drive_RaspiStepper / Function Blocks / StepperControl / ClearOutputPins / svnobj  Maximize  Restore  History

Download this file

9 lines (8 with data), 1.3 kB

1
2
3
4
5
6
7
8
METHOD ClearOutputPins : BOOL
VAR_INPUT
END_VAR
GVL.GPIO.axOutputs[iA] 	:= xA 	:= FALSE;
GVL.GPIO.axOutputs[iA_] := xA_ 	:= FALSE;
GVL.GPIO.axOutputs[iB] 	:= xB 	:= FALSE;
GVL.GPIO.axOutputs[iB_] := xB_ 	:= FALSE;
GVL.GPIO.SetOutputs();