Difference between revisions of "Program Examples:Cyclic recording of one Axis"
(Created page with "Inon") |
|||
| Line 1: | Line 1: | ||
| + | = Introduction = | ||
Inon | Inon | ||
| + | |||
| + | = Program flow = | ||
| + | Inon | ||
| + | |||
| + | = Program = | ||
| + | |||
| + | |||
| + | '''SETUP.PRG''' | ||
| + | <pre> | ||
| + | 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 | ||
| + | |||
| + | </pre> | ||
| + | |||
| + | = Plots = | ||
| + | [[Image:GearMotor.png|GearMotor.png]] | ||
Revision as of 13:34, 18 April 2017
Contents
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
