Using CPCmd and PTPCmd for axis and Gripper movement in dobot magician problem


#1

Hey all, I am using dobot magician and I am trying to use PTPCmd with CPCmd. CPCmd is for moving one coordinate to other and PTPCmd is for gripper.
but i need smooth motion as i posted here Dobot Magician taking pause when moving between two points , but when I am doing same, it take little pause (first i am passing CPCmd then PTPCmd with same coordinate). code is like this

moveCP(206,0,135);
movePTP(206,0,135,40);
moveCP(275,0,147);
movePTP(275,0,147,35);


#2

is there any way to move gripper only along with CPCmd ?