MODE PVT Set PVT mode |
Syntax
Binary code
The new motion mode becomes effective at the next update command UPD.
Example // PVT sequence. Position feedback: 500 lines incremental // encoder (2000 counts/rev) MASTERID = 4081; // Set host address to 255 (255<<4+1) SETPVT 0xC000; //Clear PVT buffer, disable counter check //Don’t change counter & buffer low condition MODE PVT; // Set PVT Mode TUM1;//Start from actual value of position reference CPR; // Relative mode PVTP 400L, 60, 10U, 0;//PVT(0.2[rot], 1800[rpm], 0.01[s]) UPD; //Execute immediate PVTP 400L, 0, 10U, 0;//PVT(0.4[rot], 0[rpm], 0.02[s]) !MC; WAIT!; //wait for completion
|