Difference between revisions of "Program Examples:Cyclic recording of one Axis"

From SoftMC-Wiki
Jump to: navigation, search
(Plots)
Line 30: Line 30:
  
 
= Plots =
 
= Plots =
[[Image:GearMotor.png|GearMotor.png]]
+
[[Image:GearMotor.png|GearMotor.png|250px]]

Revision as of 13:36, 18 April 2017

Introduction

Inon

Program flow

Inon

Program

SETUP.PRG

Program
	Call SetAxis(a1)
	Call SetAxis(a2)	
	…
End Program

Sub SetAxis(ax as generic axis)
With ax
	Attach
		En = 0
		…
		<stuff goes here>
		…
	Detach
End With
End Sub

Plots

GearMotor.png