28.11.2012 Views

Table of Contents - TG Drives

Table of Contents - TG Drives

Table of Contents - TG Drives

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

EXTENDED REGISTER GROUPS<br />

Gear.Incr<br />

Gear.Offset<br />

Gear.CamPos<br />

Gear.CamCurLine<br />

RELATED ITEMS<br />

Gear, Electronic gearbox<br />

position, pointing to values in an array <strong>of</strong> waypoints in the<br />

camshaft emulation. The way points are defined in a Pdata<br />

array with up to 1000 rows<br />

Since the camshaft is a repetitive function, the array must<br />

be defined with continuos segments. The camshaft pr<strong>of</strong>ile<br />

between waypoints is determined by linear interpolation<br />

between adjacent waypoints.<br />

Sets the number <strong>of</strong> ”cogs” that Gear.In increases with each<br />

cycle (mS) The momentary value can be observed in<br />

Gear.InAct.<br />

The resulting Gear.Pos can also be modified directly with<br />

Gear.Offset.<br />

The resulting position, Gear.CamPos, is the current pr<strong>of</strong>ile<br />

value (interpolated) times Gear.CamScale.<br />

Indicate relative position in cam.<br />

PData Defines one waypoint <strong>of</strong> cam pr<strong>of</strong>ile.<br />

Pos Mod On (clr) Connects additional command values from gearbox function.<br />

EXAMPLE USAGE<br />

.<br />

Gear.CamLine , @CamPr<strong>of</strong><br />

Gear.CamLen , 100<br />

Gear.CamScale , 1024<br />

Gear.In , 1000<br />

Gear.Out,1000<br />

Pos Mod On clr<br />

Gear.Incr , 1<br />

.<br />

; Array <strong>of</strong> waypoints defining a cam pr<strong>of</strong>ile<br />

CamPr<strong>of</strong>:<br />

pdata 0<br />

pdata <br />

pdata <br />

pdata <br />

pdata <br />

pdata <br />

POSITION LOCK CAM<br />

;pointer to pr<strong>of</strong>ile array<br />

;length <strong>of</strong> pr<strong>of</strong>ile<br />

;scale <strong>of</strong> pr<strong>of</strong>ile<br />

;set up gearing<br />

;<br />

;<br />

;this will give 1000 ms ramp time <strong>of</strong><br />

;gearing<br />

;first point<br />

;next point<br />

next point<br />

next point<br />

next point<br />

last point<br />

The gearbox is also used to scale the input signal for the ”Position lock CAM”. In<br />

this mode, the system emulates a cam-wheel. The CAM pr<strong>of</strong>ile is defined by a<br />

number <strong>of</strong> PDATA statements and the gearbox is used to create the index into that<br />

table.<br />

The start <strong>of</strong> the table is set by the Gear.CamLine variable and the length (in<br />

User's Manual 5.1 Inmotion Technologies AB<br />

Doc. No.9032 0027 01 (B), Rev. 11.07.2001<br />

87

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!