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

Gear generator. More...

#include <tgm.h>

Public Attributes

float64_t Position
 Output position for linear gearing or pointer to CAM for cam gearing [ inc ].
 
float64_t CamPosition
 Output position for cam gearing [ inc ].
 
float64_t Offset
 Offset of output position [ inc ].
 
float64_t Shift
 Desired shift of pointer to cam [ inc ].
 
float64_t ActualShift
 Actual shift of pointer to cam [ inc ].
 
float64_t IncShift
 Increment of shift pointer to cam [inc / servo tick].
 
float64_t IncIn
 Increment of ramp Gear.ActualIn [inc / servo tick].
 
float64_t CamIncPosition
 Increment of position incremental cam [ inc ].
 
float64_t CamScale
 Scaling factor of cam profile.
 
float64_t DReserve [8]
 reserved
 
uint32_t SourceNumber
 Number of logical servo used for source of master position.
 
uint32_t SourcePosition
 
uint32_t Mode
 
int32_t In
 Numerator of gear ratio.
 
int32_t Out
 Denominator of gear ratio.
 
int32_t ActualIn
 Actual value of numerator gear ratio.
 
uint32_t CamLine
 Offset in bytes to first data of cam profile in CAM_PROFILE_MEMORY or DATA_MEMORY.
 
uint32_t CamLen
 Number of data in cam profile.
 
uint32_t CamType
 Type of cam 0 = reversible cam, 1 = forward cam.
 
uint32_t CamTab
 
uint32_t CamExpControl
 
uint32_t CamExpLine1
 Offset in byte to first data of external cam 1 in CAM_PROFILE_MEMORY or DATA_MEMORY.
 
uint32_t CamExpLine2
 Offset in byte to first data of external cam 2 in CAM_PROFILE_MEMORY or DATA_MEMORY.
 
uint32_t CamExpAddress1
 Offset in bytes to output value of external cam 1.
 
uint32_t CamExpAddress2
 Offset in bytes to output value of external cam 2.
 
int32_t IReserve [15]
 reserved
 

Detailed Description

Gear generator.

Member Data Documentation

◆ CamExpControl

uint32_t GEAR::CamExpControl

Control of external cam data: bit0 = 1 - external cam data 1 active bit1 = 1 - external cam data 2 active

◆ CamTab

uint32_t GEAR::CamTab

Location of cam profile: 0 = cam profile is in CAM_PROFILE_MEMORY 1 = cam profile is in DATA_MEMORY

◆ Mode

uint32_t GEAR::Mode

Gear generator modes: 0 = gear generator off 1 = linear gearing is active 2 = cam gearing is active

◆ SourcePosition

uint32_t GEAR::SourcePosition

Type of master position: 1 = WritePosition 2 = Position 3 = servo tick 4 = ExtPosition


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