Visual Basic writes medium application in foreword of numerical control stroke

  • Time:
  • Click:133
  • source:XIMENG CNC Machining
The author did a few beneficial exploration in respect of Visual Basic application, and actual effect was gotten in practice, be as follows a few example introductions now, the hope can have the effect of cast a brick to attract jade-offer a few commonplace remarks by way of introduction so that others may come up with valuable opinions. One, the program after generating a spare parts automatically to rotate raises spare parts composing to cover cut flexibility into parts to pursue 1   is in effective treatment process, often encounter same need presses a spare parts different azimuth composing, in order to improve the utilization rate condition of material. For example, the composing that the composing means affirmation that the graph shows 1 times shows 2 times than the graph saves stuff, and when program, if press a plan the means composing of 2, need to make up foreword of stroke of a numerical control to be able to complete a plan only the composing means of 2, and if press a plan the means composing of 1, should make up A, B ability of foreword of stroke of two numerical control completes a plan the composing means of 1. Graph 2   make up A, B foreword of stroke of two numerical control compares take time apparently, want in be machined actually far more complex than this, may write a program only and receive another order through some kind of means? The author wrote foreword of stroke of a numerical control to rotate through VB a little software that makes automatically, graph the 3 working interfaces that are little software. After be being spent through inputting corner coming back, can generate automatically rotate the spare parts the foreword of numerical control stroke after aleatoric angle, and generate the program is OK and direct beat is used into equipment, improved work efficiency greatly. Graph 3 2, strong to numerical control program undertakes groovy examination write the program error to fall to be written to program of lowermost numerical control after finishing, whether does its grammar have by accident, or whether be put in mistake of sex of a few common sense? The numerical control that like me the company uses is strong for product of Italian EUROTECNICA company, numerical value of its order demand must be taken " .

" , namely when numerical value is integer must with " .

" terminal, for instance program   ...     N50 G72 X50.

Y50.

C60.

T8 (among them T8 is mould date)     N60 G86 I20.

J60.

G41 (among them the outline length that I value machines for the mould)     ...   is written into   by accident...     N50 G72 X50 Y50.

C60.

T8 (attention: This paragraph in do not have in X value " .

" )     N60 G86 I20.

J60.

G41     ...   criterion equipment is carrying out process lieutenant general to regard 0 processing as X value, is not to serve as 50 processing. Still be with afore-mentioned programs exemple, if the mould is the square mould of 30mm × 30mm, cannot machine length to be the outline of 20 apparently. The problem of similar above, whether do not need to be able to be checked artificially come out. The author wrote the little software that convention of foreword of stroke of a numerical control checks through VB likewise, graph the 4 working interfaces that are little software, its use the effect likewise pretty good. Graph 4 3, last word above listed two instance, we still can be written with VB generate semmetry automatically or to same sort model after the spare parts inputs eigenvalue create order of numerical control stroke automatically... actually, present CNC Machining device is commonner and commonner, the program that VB develops in numerical control not just is written in can produce effect, in the program of other numerical control equipment main effect can be produced likewise in writing. The author also has this experience (if my company introduces the profile machining center of German ELUMATEC company,wait) , we cannot be satisfied at mastering the software that equipment manufacturer provides to use to go up only merely, the software that provides because of manufacturer has catholicity, if can the process designing of VB and numerical control equipment organic union rises, yu Ruhu of as good as adds a wing. What the article discusses is VB writes medium application in foreword of numerical control stroke, actually VC or other languages also can achieve this goal likewise, and be in other numerical control equipment can produce main effect likewise, hope this article draws lessons from a meaning to using the person of the same trade of numerical control equipment to be able to have. CNC Milling CNC Machining