Body Text_Chapter 6 Computer Programming
Although Lin Fan had never been in contact with programming before, he had never even touched the control panel of the machine tool in front of him. But now because he has learned the intermediate lathe operation skills of the system, the whole person is like a master who has worked for many years, and his fingers are moving quickly on the controller keyboard.
“……
G00Z100
G00X2800
M30”
"Congratulations to the host, +1 proficiency in intermediate lathe operation skills. As soon as he finished programming the program, the system said in Lin Fan's mind.
Lin Fan raised his head and said to Liu Jian apologetically: "I'm sorry, master, I didn't specifically measure the size of this part, so I had to program the last knife according to the drawings......"
Liu Jian didn't answer, and checked the program that Lin Fan had just written with a solemn face.
Zero errors!
Liu Jian gasped and checked it from the beginning again.
Still zero errors!
The program that Lin Fan wrote just now even took into account the interpolation of the radius of the tip of the knife!
Liu Jian unwillingly transferred the original program, and the two programs were re-compared. This newly written program is actually more concise and easy to use than the original program!
Liu Jian asked himself, even if he was afraid that he would not be able to write such a perfect program for a while. If there is a comparison, there may be only a few veteran programmers in the workshop who can write this program so lightly.
What kind of monster is you teaching!?
Liu Jian raised his head, looked at Lin Fan in disbelief, and asked with difficulty, "This procedure...... Did you really improvise it against the drawings?"
"yes. Lin Fan nodded as a matter of course. Although I opened the plug-in of the system, this program was made up by myself.
"It's impossible to !!," Zhou Fulai, who was originally going to stand aside and join in the fun, screamed, "How could he program it?
Lin Fan looked at the hysterical Zhou Fulai, and there was a sneer in his heart. The program I wrote just now has thousands of characters, and it is much more difficult to memorize it completely and then write it out silently than to rewrite it all over again.
Liu Jian glanced at Zhou Fulai and said coldly: "I'll listen to you recite a program!"
Zhou Fulai immediately shut up and didn't dare to speak again.
"Lin Fan, you just said that you have work experience in CNC lathes, and you told me honestly, have you ever processed this type of parts in other factories before?" Liu Jian looked at Lin Fan and asked solemnly. It is only for this reason that Lin Fan can accurately program it.
"This ...... Really not!" Lin Fan said with sincerity on his face.
Lin Fan knew that Liu Jian's suspicion of him still had some justification. If it weren't for the help of the powerful part-time job system, let alone being able to make up such a long program, even if he picked out a random paragraph from it, Lin Fan would not have been able to know him.
"Okay, then you can reprogram another part for me. Liu Jian saw that Lin Fan did not admit it, and directly re-found the electronic drawing of a part from the computer.
Lin Fan walked to the computer, looked at the electronic diagram carefully, looked up and asked, "Master, can you program it with a computer?"
"You can also use computer programming?!" Liu Jian instantly felt that his head was about to explode.
Computer programming and manual programming are two different concepts. It requires the operator to be proficient not only in writing programs, but also in using computer graphics and using CAXA and other drawing software...... I've been running for programmers for many years, and every time I'm stuck on computer programming.
If this newcomer Lin Fan can use a computer to program, doesn't this mean that he has the ability to be a programmer?!
"Master?" Lin Fan saw that Liu Jian was distracted, so he had to call him again.
"Ah...... Well, you can program with a computer. Liu Jian came back to his senses and replied hesitantly.
"Okay. Lin Fan skillfully opened a software called CAXA CNC lathe, copied the electronic drawings given by Liu Jian, and 30 seconds later, a complete program appeared on the computer.
Copy and paste the software's automatically generated program into a new document, double-check it from start to finish, and fix a few obvious mistakes.
"Congratulations to the host, +1 proficiency in intermediate lathe operation skills. The system said in Lin Fan's mind again.
"Master, the program is ready. Lin Fan showed the program to Liu Jian with a relaxed face.
Liu Jian subconsciously looked at the time: 3 minutes!
In other words, from Lin Fan to start opening the software with his consent, to a complete program being programmed and inspected, it only took 3 minutes to add up to the whole time!
Liu Jian patted his head and began to wonder if he was dreaming. Secretly pinched himself, and it hurt.
Could it be that Lin Fan, this kid, is cheating?
I was watching from the side, although I didn't see much of how Lin Fan operated, but it was clear whether he was cheating or not.
Zhou Fulai on the side looked stupid directly, pointed to the computer screen and shouted: "Master, this program is not made by him at all, you see, it was made up by the computer itself!"
Listening to Zhou Fulai's idiotic words, Lin Fan couldn't hold back, and laughed out loud.
Liu Jian glared at Zhou Fulai and said fiercely: "If you don't understand, don't follow it!
As soon as Zhou Fulai heard this, he immediately quit. Directly pointed at Liu Jian's nose and scolded: "The surname Liu, who the hell do you say is embarrassing! Obviously, this computer has programmed the program by itself, and this surnamed Lin has copied the program even if he made it up himself? !
Lin Fan thought to himself that Fulai was too much of a dish for himself this week, who had the kung fu to act and tease him.
However, seeing that Zhou Fulai was showing signs of losing control, Lin Fan hurriedly persuaded him: "Senior brother, senior brother, you dissipate your anger, aren't I learning programming from my master?" Don't get excited, I have something to say." ”
"The surname Lin, do you think you are a fucking good thing?!Who is your senior brother? Go home and play with the eggs!" At this time, Zhou Fulai is like a mad dog, catching and biting whom, "I put my words here today, if this surnamed Liu dares to put a stinky shelf in front of Lao Tzu again, Lao Tzu will let him roll up and get out of the house immediately!"
"You...... You ......" Liu Jian was so angry with this disobedient apprentice that he couldn't even say a complete sentence.
The workshop in the morning was quite clean, so Zhou Fulai's roar at this time was particularly harsh in the workshop. Seeing that he was about to hit someone, several workers from adjacent machine tools ran over and grabbed him.
"Let go, you let me go......" Zhou Fulai was crazy by himself, seeing so many people coming around to join in the fun, not only did he not stop, but he was even more energetic.