Speak with authority, quality is trustworthy.

Based on the software of PLC with PMAC trigger conditions of application

by:Coolmay     2020-10-11
Trigger condition based on the software of PLC with PMAC applications from zhong-wei wang welcome to e hall exhibition hall 3 PLC PLC programmable controller, PLC programming cable. 。 。 With the development of computer and related technology, the use of industrial PC, based on open architecture has become the main development direction of numerical control system. Adapted to this situation, based on PC platform of embedded software PLC due to no special programmer, can make full use of PC hardware and software resources, directly USES the ladder diagram or programming language, has the advantages of good man-machine interface, PLC in the numerical control system are gradually replacing hardware, become a new method of auxiliary function control in this area. With PMAC based software PLC technology is one of the typical representative, in recent years has got good use in various kinds of machinery and equipment, this article is based on the software PLC controller technology with PMAC, how reasonable and clever apply the application of the trigger condition, especially the introduction of 'shadow' variable, makes the realization of the 'edge trigger' more easy, and reliable. 1 with PMAC profile with PMAC ( Brogrammable Multiaxes控制器) Programmable motion controller is the Delat Tau's open multi-axis motion controller, the controller with high speed CPU, and to provide quick visual development platform, is among one of superior performance of the controller of motion controller. With PMAC motion controller is powerful, it integrates a control plate, multiple functions such as PLC, I/O modules, most of the CNC system of lower real-time tasks are done by with PMAC, interface of CNC system are also around with PMAC to design. It can control at the same time 1 - Eight axis, can separate executive program stored in its internal movement, also an executable program and PLC program. With PMAC with the programmable logic controller ( PLC) 。 With PMAC I/O points can be extended to 2, 018, but all I/O points by the software to control, as long as the use of a pointer variable pointing to a similar senior program in an I/O address, you can easily in the sports program and PLC program through the pointer variable input or output of the I/O point control. At the same time, the functions of PLC with strong logic judgment ability, can be compiled complex logical relations. The realization of the 2 trigger in with PMAC, most of the action depend on soft PLC program with PMAC was defined beforehand in M, P variables of state, such as input, output, and counter the conditional statement. In practical application, you may want to pass level or edge trigger to implement different control function, which can do it, but use different methods. 2. 1 level trigger condition is triggered by the level control branch, it is very easy to implement. Make an input variable M11. To control the increase of variables (P1, P2, use the following procedure: if the input is true, P1 will add hundreds of times per second; When the input into a false, P1 will cease to increase, the P2 began to increase. The increase of the P1 and P2, by variable M11 at a high level or low level to control, so called 'level trigger'. 2. 2 edge-triggered hypothesis can only hope that every time the M11 to 'on', that is, when the input variable M11 = 1, the M11 is incremental, namely P1 rising along the trigger, also known as 'trigger' or 'lock'. To do so, may be complicated, need a composite condition to trigger the action. As part of the trigger condition, set up the trigger condition in a condition is false, so the next PLC scan this action would not have happened. Do the simplest way is to use a 'shadow variables', it will follow the change of input variable values. Only when the shadow and input variables does not match action occurs. Composed of generation for: the ELSE if M11 is 'false' ( Namely: the Mll = 0) P11 = 0 shadow variable P11 with M11 transformation as 'false' ( Namely: P11 = 0) ENDIF end special it is worth noting that in with PMAC, SEND in the PLC program, the COMMAND or DISPLAY COMMAND only to perform in a edge trigger condition, because the cycle of PLC program to deal with them than these data manipulation, and if under the serial scans of PLC to perform these procedures, communication channels may be unable to work. For example, in this case, if there is no use P11 this shadow variables ( The unused edge-triggered) , due to the high speed of PLC scan, with PMAC will constantly send command '# 1 j +', system will be unable to work normally, even cause serious accidents. 3 conclusion in this paper based on with PMAC open nc system software in the PLC technology to trigger, in this research for the spark machine tool co. , LTD. CNC roll grinding machine developed by authors have been used in the system. Trigger technology used correctly, can conveniently, safely to realize all kinds of complex logical relations, fully embodies the superiority of the open numerical control system. With PMAC based software programming of PLC technology is convenient and flexible programming environment, reduces the barriers to entry of PLC programming, going to the user's use, which laid a foundation for the popularity of open CNC system.
Coolmay is the leading manufacturer of plc manufacturers and related products.
Shenzhen Coolmay Technology Co., Ltd. offers the best products, high-quality services and innovative technology.
Shenzhen Coolmay Technology Co., Ltd. incorporates average length of the workweek, average growth in number of small businesses, startup per capita, average of growth of business revenues, five-year business survival rate, industry variety, entrepreneurship index and how digital a state is.
The global market is estimated to reach a value of almost programmable control systems in the next decade. have a robust position in the plc controller price market because of its proven high potency in programmable control systems.
Chat Online
Chat Online
Chat Online inputting...
Sign in with: