SETPT        Setup PT mode operation

Syntax                        

SETPT value16

SETup PT mode operation

 

Operandsvalue16: 16-bit integer immediate value

PlaceTMLOnline

 

Binary code

DescriptionSets the PT mode operation as specified by the value16. Value16 has the following significance:

SETPVTDescription_2

       Remark: after SETPT execution, a copy of value16 is saved in the TML variable PVTMODE.

 

Example        

SETPT 0xE02F;        //Leave PT buffer intact; Change integrity

//counter value to 17

MODE PVT;                // Set PVT Mode

TUM1;//Start from actual value of position reference

CPR;

PVTP 2000L, 0.0667, 500U, 17;//PVT(1[rot], 1.9[rpm], 0.5[s])

UPD;                        //Execute immediate

PVTP 0L, 0.0667, 500U, 18;//PVT(1[rot], 1.99997[rpm], 1[s])

PVTP 6000L, 0, 500U, 19;//PVT(4[rot], 0[rpm], 1.5[s])