[2014.10.31] rare rest

Source: Internet
Author: User

I went to work for half a month from January 1, October 16 to noon today. Because the workshop was suspended for fire checks today, it was rare to go home and have a sleep in the afternoon. I woke up and asked my colleagues, I don't need to go to the night shift today. I'm so excited for a while.

The white shift is from half past eight to half past four P.M., and the night shift is from half past ten to the next day.

On the evening of April 9, 17th day of this month, the quilt was taken directly to the welding center control room. If you do not need to change the code overnight, you will have to go to bed for a while, but you will be woken up by the foreman at any time to change the plan.

Speaking of this, we have been taking a day off since we arrived at the site in September 16. At home, we have completed a whole day of computer thinking courses on MOOC at Chinese universities. The four workshops run back and forth for the rest of the time.

Of course, I had the idea of complaining and resigning, but I had to suppress it.

First of all, this job really taught me a lot of things, whether writing code or communicating with people, including some things that may happen during the project process.

Second, I watched my own program run for a month or longer. There was no major problem, and it was quite a sense of accomplishment.

Finally, I am very clear about more things I can learn in the future. Currently, I only do the C/S part of the project, and the business logic mainly written in SQL Server triggers, stored procedures, and WinCC global scripts. The other two colleagues who came from the end of September made B/S and one who used WinCC as the host computer, I have a desire to learn ...... ASP. NET does not seem to have been well performed during the university, but PHP was used in year 31, and the two seem quite similar and unknown.

I want to write a blog for a few days. I am writing code most of the time during the one and a half months after I am too busy. If I don't know what to do, I just want to read my blog, baidu did not find a solution, but he did have a "experience". However, when sitting next to a computer, he forgot what problems he had solved during this period of time ...... You can write a diary if you cannot write a technical blog.

 

If I spent more than two months in a wire assembly plant in Wuhu Chery before graduation, I am only familiar with my future work, after graduation, I came to Qingdao Faw Jiefang new factory to create a project, which was my first project.

When I first came, I felt a little idle. I sat in the center control room of the painted glass room every day, smell the pungent paint, and write the configuration part of the central control program of the welding.

Simply put, I don't know how to set the plan status, shift settings, movable Rate Settings, location settings, PLC settings, and so on, the function was developed by referring to Chery's central control program for welding. The difference is that Chery's central control team wrote it using VB6.0. Now I use C #, it is equivalent to implementing it again ...... VB Code seems a bit dizzy so far, it must be because there are no braces. The program only involves addition, deletion, modification, and query of databases. I remember that this is what the database course was designed for the next semester of the sophomore year. Well, C # was used at that time and now #. However, what I did at that time was more advanced than the course design work in my sophomore year. I learned how to download the open source code from the Internet and put the database connection in a clsdata class separately, A clssql class that specifically defines data structures and SQL operations is constructed. In the form, the clssql class method is called for addition, deletion, modification, and query.

Well, this is what we have done ...... One and a half months later, I went home.

Over the past one and a half months, I have not only written code. I have read some C # documents and read the novels. I have read the codes when I read the novels. If it is not for the painting shop, it is a bit poisonous, those days were quite good.

After a pleasant stay at home for half a month, there was an unknown hunch when I came to the site on May 1.

The welding center control room is well decorated. Although a pile of debris is accumulated, it barely looks like an office. There are two computers, one server, and the configuration is very high and the running speed is very slow. So far I have not figured out that the 32 GB memory is so slow, because the system is Windows Server 2008? The other is the monitoring computer, Dell's desktop, which is not connected to the Internet so far. It is very fast and uncured. I wrote code on the monitoring computer and copied it to the server to run (test ).

On October 13, September 16, we started the development of the LED big screen sending program in four workshops: welding, frame combination, and cab stamping. Refer to the C # Language demo provided by the LED manufacturer, it wasn't long before the project manager drew the screen and sent it.

Then I was dispatched to the painting center and started to interact with the information of the first RFID point. At that time, I felt that the logic was a little complicated. Now I can't look back at it ......

This is a conversion point of welding and painting. When the heavy truck cab is transported from welding to painting, the car body contains the Load Code body, and the load code body contains the welding control code and the welding serial number of the cab, A team responsible for PLC reads the data on the carrier code body and sends it to me through PLC for the coating Central Control Program (CR ), using the welding control code to generate the coating control code according to certain rules, in the process of generating the code, we need to compare the two tables to obtain the data and send the welding serial number to MES, MES quickly returns the corresponding painting serial number. After obtaining the coating control code and coating serial number, the two data are written into the PLC, and the PLC writes the data into the carrier code body. After the data is written, the carrier code body data is read into the PLC, send a request record signal to the Cr. Does the CR read the two codes and slide management of the coating and record them to a table in the database.

Basically, this is the process. The central control system itself is implemented by C #, And the OPC server used is a remote daserver. Is PLC data directly collected for Mao without WinCC? This is a good question, because the coating server is provided by Party A and Party A does not want to install WinCC on the server. I originally wanted to learn how to configure a kepserver for the Chery Welding Project. Our Party A also said that it would be okay to use their daserver. I was very happy to hear that, creating something in the future is what they do ...... Connecting to the remote daserver is still a little broken. After the connection, using the OPC class library in C # is also a little challenging. Although I have not yet understood what the principle is, but later the program was able to run.

Of course, this half-month cannot be used only for controlling the painting, because I also did the control for welding ......

In October 1, it was a node of Faw Jiefang Qingdao. Before that, the painting and welding assembly were completed and the MES Reading Plan was planned. The Welding Assembly plan was issued, and six LED screens of the welding assembly, frame and cab were displayed.

At the end of September, I was really busy working overtime until half past four every day (Qingqi got off work ), several other times I ran out of the central control room at eight o'clock and watched the factory be full of shadows. By the day of the 11th day, we finally finished our work before the node. I felt that it was time to watch the MOOC video for a day, and it was a busy month.

From the second to the 14th, I stayed in the center control room of the painting and continued to do the business logic of the welding transfer point. Finally, on the 15th, I looked forward to a software group colleague, simply handed over the painting program with him, and ran the central control program for welding in the welding center.

At that time, a production line began to use the MES read plan and plan that I previously wrote to the PLC, and the operation was in good condition. Of course, the problem still persists until now, but the overall trend is becoming more and more stable ...... (I will talk about the bug that caused the welding workshop to stop working for an hour the day before yesterday? =)

Well, I have been paying attention to the welding assembly for half a month since middle October, and spent about one night on the Central Control Program of the frame and the cab. According to the contract, the Central Control Program of the welding package only sends a small screen (this is a self-generated function, and it is estimated that it will take time to explain it later ). There is also a question about how to postpone the plan in production. There are a lot of solutions in the discussion. No matter which one is used, it is tricky, this problem must be solved at the site, or when the ERP generates a plan, or MES issues a plan to the central control. In addition, the functions of C/S are roughly completed. I optimized the program interface and operation logic last night, after a long time, I wrote a lot of code, such as the actual computing cycle, plan cycle, plan progress, actual completion, and activity rate. It's a mess. Forget it. Let's change it later.

It was said that the change was made after a while because the Central Control Program of the frame and the cab workshop started yesterday afternoon (in fact, it was mainly an LED Screen Display) and the data source was basically discussed at the same time, some read from the MES intermediate table, and some use WinCC to collect data from on-site devices. I have not started ...... Tomorrow is busy in the daytime.

In addition, I heard that my wife was pregnant a few days ago and went home by train this morning, I handed over the central control procedure that he had completed for half a month to me. In addition to an RFID point I made earlier, 13 RFID items have been completed, and 12 RFID items have been completed. In addition, the group before and after painting has not yet started, and visual testing is more complex.

In this case, in May November, When I hoped that I was not very busy and seemed very busy, I had to start welding, painting, frame, and four workshops in the cab ......

Busy. I am too busy to find objects.

......

 

Sorry, I opened the blog park at night and prepared to write a few paragraphs of inspirational text. I accidentally wrote a little more, probably because I decided to write online novels before I became a programmer.

It is estimated that no one else looks at it. \ ("begin □success )/

Above.

[2014.10.31] rare rest

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.