LK Automation Limited LK Automation Limited
Scheme sort: OMRON | MITSUBISHI | Proface | Mennekes | Yaskawa
Home >> Scheme
MITSUBISHI FX Ethernet MC communications applications in industry 4
http://m.lk166.com
Article source: 网络 Release time: 3-29-2017

凌控导读:

Introduction

 

With the rapid development of modern society, information exchange becomes more and more important FX, the amount of data exchange is also increasing FX, more and more quickly, we are familiar with the mobile phone communication industry has developed by 2G for faster 4G MC, and immediately put into operation 5G. Similarly MC, in the industrial control industry MC MITSUBISHI , the number and speed of data exchange also raised a high demand MITSUBISHI , the original RS232 MITSUBISHI , RS485 communication has been unable to meet the needs of large data exchange. Instead of faster Ethernet communications.

Introduction

 

With the rapid development of modern society, information exchange becomes more and more important, the amount of data exchange is also increasing, more and more quickly, we are familiar with the mobile phone communication industry has developed by 2G for faster 4G, and immediately put into operation 5G. Similarly, in the industrial control industry, the number and speed of data exchange also raised a high demand, the original RS232, RS485 communication has been unable to meet the needs of large data exchange. Instead of faster Ethernet communications.

 

Project profile

 

1 project industry and background

Because of the increase of labor costs in recent years, the electronic processing industry by artificial manufacturing gradually to the original mechanical automation and robotics over an electronic factory in the processing process of LCD screen, LCD screen size to distinguish the original is done by hand, it is not only the efficiency is too slow, and the time cost and labor costs are very high, in order to save time and labor costs, effectively separate different batches of different specifications of the LCD screen area, and the effective management of products, so it is necessary to develop a sorting machine.

 

2 process introduction

 

Since each LCD screen before storage, material information is not entered into the MES system, it is necessary to contain different information on the LCD screen for classification, and each LCD screen ID information into the MES system.

 

3 project uses MITSUBISHI FA product information

 

Product selection demonstration

 

Because the machine from the station controller more, if the use of CC-Link network communication, then the master station and intelligent equipment station need to add the CC-Link module, which will increase the cost of equipment, and used with a built-in Ethernet port of the Q series of CPU and FX3GE with Ethernet port just to solve the problem of cost. Q series built-in Ethernet has 16 channels to meet the number of FX3GE and touch screen, the visual link requirements, and the use of Ethernet communication between Q PLC and FX3GE body, communication speed and volume of data and refresh time can meet the requirements, and FX3GE-40MT/ES as three can control the pulse output from the station, in the servo control on the number of to meet the requirements. The main body uses Q series CPU and QD77MS series servo positioning module, which not only saves a lot of wiring, but also saves the cost of program development, and can meet the requirements of the number of control shaft.

 

Debugging process and main difficulties

 

 with FX3GE and Q CPU communication 10, 10 sets of communication at the same time if debugging more difficult, so you can start debugging FX3GE Q CPU and a communication, communication parameters first set up Q and FX, the main parameters for the use of communication channels, communication protocol, IP address, open end, slogan, communication data code setting.

 

According to the FX3GE built-in Ethernet MC protocol command to write the corresponding program, MC protocol read and write the main commands and the maximum number of processing points

 

On the side of the programmable controller, the Ethernet adapter will be added, deleted, no user settings. A 00H, PC number FFH, watchdog timer can be set value of 0000H ~ FFFFH (1 ~ 65535) (250ms), A for data read and write commands, the end code for the other device to the programmable controller for data read / write processing results after 00H: (normal end, except 00H abnormal end).

 

According to the FX3GE built-in Ethernet MC protocol command format programming in Q CPU, first open / Q built-in Ethernet shutdown command (SP.SOCOPEN/ SP.SOCCLOSE) of each channel is opened and closed, and then prepared to send data and receive data processing program, the Q CPU program to the main program is sent to the FX3GE MC command format

 

Main difficulties:

 

A) individual FX3GE information can not be active to refresh the main PLC, the need for Q CPU program to achieve refresh, increasing the complexity of the program. And refresh speed can not be too fast, if the refresh will soon be wrong, wrong code 2560.

 

B) Q CPU in the use of Socket communication programming Ethernet port connected receive mode (SP.SOCRMODE) to select normal mode, if you choose a fixed long mode, because the Q received from the FX3GE data length is not fixed, there will be the phenomenon of displacement data, not the correct data.

 

C) due to HUB and CPU between Q and FX3GE, resulting in communication errors or intermediate Q CPU and FX3GE when unable to automatically identify, solution: in the touch screen with Q CPU and FX3GE communications by adding a manual close button, if there is a communication error or disconnection, by the operator through the touch screen button close the corresponding connection channel.

 

D) Q built-in Ethernet port using Socket communication program to open the corresponding channel to send the MC command to read and write the number of software components must be within the allowable range, or will be error, error code 2556, the maximum number of points in figure five. If the maximum number of points that can be handled in a communication is less than the number of soft components in the actual project, the QCPU will read and write the software components by the time division command.

 

Summary

 

After the system debugging, the main Q and individual FX data communication, and interaction with the MES data of the normal, the machine has been in customer workshop is put into operation, the overall stability of the operation, not only reduces the labor cost, improve work efficiency.

 

 

Related scheme