![]() ![]() In case you did not know usb devices have a VID (vendor ID) and PID (Product ID), all contour products use a VID of 0B33 and a PID of 0020 for the Xpress and 0030 for the Pro stays at 10%)ģ) rapid jog (outer) wheel currently only one jog rate 100,75,50,40,20,10,5, would like linear, squared and cubicĬouple of things which may be of use to others. Thanks very much for the advice, I learnt something else new with using try, catch and messageboxĪll the buttons rapid jog and incremental jog are working, and I've updated the files on the google drive linkġ) incremental jog (centre) wheel can miss steps if jogged very fast (problem is related to jog speed, see item 2)Ģ) rapid jog speed, initial jog speed setting (field 913) not being reset after rapid jog (i.e. Think we probably need a few more plugin examples included with the code as I'm sure that there are other ways of dealing with this. I've not given up with it yet, but someone will probably see the error of my ways right away. The button presses and the external rapid jog wheel work fine in my code, it was just the last but that was not at the moment, I've got a plan to change the outer code a little to allow for linear, squared and cubed rapid jog motion but I was just going to get the basic stuff sorted first. I've tried two approaches and the current bit of code seems to work ok, but if I jog the inner jog wheel fast uccnc crashes, but this may be because the byte array is increasing too quickly.Īs can be seen from the code, I've used StreamReader / Writer to store the default 5 buttons within a text file which can be located in the plugins folder. Hence I've been trying to deal with the rollover first. The problem I'm having is with the inner jog wheel, and I'm sure its me as I'm new to c sharp, done a bit of other coding but am by no means proficient in code (day job does not involve code).īasically the usb outputs a byte array, and position 2 in the stack provides the output of the inner jog wheel which is output as a byte and increments for each position jog increment of the inner jog wheel from 0-254, as the inner jog wheel has 12 positions for 1 revolution, there are around 22 revolutions before the jog wheel rolls over. Trying to set up a plugin for the Contour Shuttle Xpress and then hopefully port it to the Shuttle Pro (i've got both).Īttached is the sourcecode and the current plugin First off, thanks for setting up the new forum ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |