Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Program

Code Block
languagescalacpp
linenumberstrue
//Move 1 parameters
a1=100			//acceleration value
a2=10			//deceleration value
s1=100			//target speed
p1=10000		//final position

//Move 2 parameters
a3=50			//acceleration value
a4=5			//deceleration value
s2=50			//target speed
p2=0			//final position
p3=5000			//midpoint position used by both moves

//Example bank
B1
X0
A1,S1,P3,A2,P1		//move 1
A3,S2,P3,A4,P2		//move 2
X-
END.1

...