This shows you the differences between two versions of the page.
classes:principlesofdesign:cncmechanicaltester:research [2011/02/22 13:49] misakov |
classes:principlesofdesign:cncmechanicaltester:research [2011/02/22 13:50] (current) misakov |
||
---|---|---|---|
Line 23: | Line 23: | ||
[[http://www.reportlab.com/docs/rml-for-idiots.pdf]] | [[http://www.reportlab.com/docs/rml-for-idiots.pdf]] | ||
- | There are two options for programming the CNC machine. The first consists of issuing commands directly from a port on the front of the machine. | + | There are two options for programming the CNC machine. The first consists of issuing commands directly from a port on the front of the machine. |
The drawback with such a method is that the type of the port is unknown. Our group has sought assistance in the matter from the manufacturers | The drawback with such a method is that the type of the port is unknown. Our group has sought assistance in the matter from the manufacturers | ||
of the CNC machine, Roland DG Corporation. Unfortunately, the company has not responded as of yet. | of the CNC machine, Roland DG Corporation. Unfortunately, the company has not responded as of yet. | ||
- | The second option consists of manipulating the driver software used to communicate with the CNC machine. Relative to interfacing through the | + | The second option consists of manipulating the driver software used to communicate with the CNC machine. Relative to interfacing through the |
port, this method is of greater difficulty as it requires more experience with the driver as well as additional programming experience. Given that there has | port, this method is of greater difficulty as it requires more experience with the driver as well as additional programming experience. Given that there has | ||
been little response from the manufacturer, more focus has been put into the second option. | been little response from the manufacturer, more focus has been put into the second option. | ||
- | Thus far, a basic python program has been written in order to keep track of position and time values. The position values specifically reference the | + | Thus far, a basic python program has been written in order to keep track of position and time values. The position values specifically reference the |
location of the spindle of the CNC machine at a specific time. The program hitherto stated only has changing time values, however, as information | location of the spindle of the CNC machine at a specific time. The program hitherto stated only has changing time values, however, as information | ||
from the software driver is necessary to specify the respective x, y, and z values of the CNC machine. Once the software driver has been manipulated | from the software driver is necessary to specify the respective x, y, and z values of the CNC machine. Once the software driver has been manipulated | ||
to allow for direct communication with the CNC machine (as opposed to communication through a proprietary program),the program written need only call upon | to allow for direct communication with the CNC machine (as opposed to communication through a proprietary program),the program written need only call upon | ||
the values necessary. | the values necessary. | ||
- | Hence, the main programming focus has become to find a way to communicate with the driver software in an efficient way. | + | Hence, the main programming focus has become to find a way to communicate with the driver software in an efficient way. |