X-ray machine communication design technology based on Delta EX PLC

3.2 Processing, sending, and receiving data sequentially

Figure 2 Processing, sending, and receiving data sequentially

The process of sequentially processing, sending, and receiving data is shown in Figure 2.

(1) First, the mnemonic is translated. The mnemonic is divided into two categories. One is commonly used in computers. For example, the newline LF has a fixed sixteen-digit value of 0A. The carriage return CR has a fixed sixteen-digit value. 0D, these values ​​do not need to be translated directly to transfer the value to the corresponding register with the MOV instruction; another type of mnemonic is not a mnemonic used by the computer, these mnemonics are not fixed values, such as: power on The mnemonic of the instruction is PI, so the value H50 representing P and the value H49 representing I are respectively transferred to the corresponding registers by the MOV instruction; the numbers 0~9 are also respectively converted into corresponding hexadecimal values, and the transfer is performed. Go to the corresponding register.

(2) Secondly, the connection is made through the fixed communication format of the program, and the command and the value are transmitted to the controlled machine by using the RS serial data transmission instruction. For example: boot command:

SET M1122 //delivery request

MOV 0A D200 // LF line break

MOV 0D D203 // CR carriage return

LD M100 // send start

3.3 EX communication instructions in-depth discussion

Usually, after receiving the correct command, the controlled machine will respond according to the pre-ordered instructions. For the answers, these commands need to be judged first. For example, D206 corresponds to LF, D207 corresponds to P, and D208 corresponds to P. Is I, D209 corresponds to CR, correctly handle these instructions and values, the results can be expressed through the internal intermediate relays and registers, so that through RS232 communication to the touch screen to let the doctor get the correct judgment, know the current state of the controlled machine, Then proceed to the next step; if the data is incorrect, make a corresponding prompt, and know the bad state of the machine through the prompt list, it is also convenient for the doctor to make the next judgment.

X-ray machine high-frequency high-voltage generator communication instructions have many, can be used all, can also be selected according to needs. This is because some instructions are commonly used in normal treatment. These instructions are usually used frequently. Some instructions are used by the debugging machine. These instructions are used to make a single debugger. They are only used when debugging the machine. Generally, they are not provided. The doctor usually uses it; some instructions are used when inputting from the keyboard, such as: increase or decrease the key, you can directly input the parameters by using the touch screen, etc., etc., the instruction mnemonics to be processed are performed as described above. After finishing, basically, the data exchange operation can be performed.

4 Conclusion

Through the application of the RS command of Delta PLC, the processing method and use of Delta PLC communication between different devices are further understood. Nowadays, the ever-changing equipment has intelligent control, and has various methods and means of communication. It is necessary to continuously explore the application of various functions of PLC, find more specific application methods, and bring into play the actual functions of PLC new technology and new functions. Use ergonomics.

Xie Zhifan, a senior electrical engineer, has worked in China's famous textile machinery group for many years. He is very familiar with the application of Delta Automation in the textile industry. He used Taida Automation to carry out partial transformation of various cotton spinning equipments with remarkable results. He is now a senior electrical engineer in a foreign company.

Previous page 1 2 Next page

Commercial Plywood

Black Film Faced Plywood,Phenolic Film Faced Plywood,Commercial Plywood

Melamine MDF Co., Ltd. , http://www.luliboard.com