TG Motion  version 502 - 4034/906 cnc 126
PG Struct Reference

Profile generator. More...

#include <tgm.h>

Public Attributes

float64_t Acc
 Desired acceleration of movement [ inc/s2 ].
 
float64_t Dec
 Desired deceleration of movement [ inc/s2 ].
 
float64_t APos
 Actual position of movement[ inc ].
 
float64_t DPos
 Destination position of movement[ inc ].
 
float64_t ASpeed
 Actual speed of movement[ inc/s ].
 
float64_t PosSpeed
 Desired speed of movement in position mode[ inc/s ].
 
float64_t Speed
 Desired speed of movement in speed mode[ inc/s ].
 
float64_t DReserve [10]
 reserved
 
uint32_t Mode
 
uint32_t Rdy
 Flag end of movement 1 = Destination position is reached.
 
uint32_t Type
 
uint32_t Jerklimitation
 0 - 100% 0 = trapeziodal, 100 = full harmonic
 
int32_t IReserve [12]
 reserved
 

Detailed Description

Profile generator.

Member Data Documentation

◆ Mode

uint32_t PG::Mode

Mode of profile generator 0 = speed mode, 1 = position mode, 2 (read only) = signalizing deceleration ramp in position mode

◆ Type

uint32_t PG::Type

Type of speed profile: 0 = harmonic non symmetric 1 = harmonic symmetric 2 = full harmonic 3 = trapezoidal 4 = trapezoidal with jerk limitation 5 = sin2 acc profile


The documentation for this struct was generated from the following file: