Repetier-Firmware 0.2
PrintLine Struct Reference

#include <Reptier.h>

Data Fields

byte primaryAxis
byte flags
byte joinFlags
byte halfstep
 0 = disabled, 1 = halfstep, 2 = fulstep
byte dir
 Direction of movement. 1 = X+, 2 = Y+, 4= Z+, values can be combined.
long delta [4]
 Steps we want to move.
long error [4]
 Error calculation for Bresenham algorithm.
float speedX
 Speed in x direction at fullInterval in mm/s.
float speedY
 Speed in y direction at fullInterval in mm/s.
float speedZ
 Speed in z direction at fullInterval in mm/s.
float fullSpeed
 Desired speed mm/s.
float acceleration
 Real acceleration mm/s²
float distance
float startFactor
float endFactor
unsigned long fullInterval
 interval at full speed in ticks/step.
unsigned long stepsRemaining
 Remaining steps, until move is finished.
unsigned int accelSteps
 How much steps does it take, to reach the plateau.
unsigned int decelSteps
 How much steps does it take, to reach the end speed.
unsigned long accelerationPrim
 Acceleration along primary axis.
unsigned long facceleration
 accelerationPrim*262144/F_CPU
unsigned int vMax
 Maximum reached speed in steps/s.
unsigned int vStart
 Starting speed in steps/s.
unsigned int vEnd
 End speed in steps/s.

Field Documentation

float acceleration

Real acceleration mm/s²

unsigned long accelerationPrim

Acceleration along primary axis.

unsigned int accelSteps

How much steps does it take, to reach the plateau.

unsigned int decelSteps

How much steps does it take, to reach the end speed.

long delta[4]

Steps we want to move.

byte dir

Direction of movement. 1 = X+, 2 = Y+, 4= Z+, values can be combined.

float distance
float endFactor
long error[4]

Error calculation for Bresenham algorithm.

unsigned long facceleration

accelerationPrim*262144/F_CPU

byte flags
unsigned long fullInterval

interval at full speed in ticks/step.

float fullSpeed

Desired speed mm/s.

byte halfstep

0 = disabled, 1 = halfstep, 2 = fulstep

byte joinFlags
float speedX

Speed in x direction at fullInterval in mm/s.

float speedY

Speed in y direction at fullInterval in mm/s.

float speedZ

Speed in z direction at fullInterval in mm/s.

float startFactor
unsigned long stepsRemaining

Remaining steps, until move is finished.

unsigned int vEnd

End speed in steps/s.

unsigned int vMax

Maximum reached speed in steps/s.

unsigned int vStart

Starting speed in steps/s.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Friends Defines