Abstract:To apply the Petri nets on measurement and control system widely, a componentbased implementation method of time delay C/E Petri nets system was proposed, in which a graphical programming language LabVIEW was adopted. In LabVIEW, the places of Petri nets were represented by Boolean controls (‘TRUE’ of boolean control means place contains token), and the transitions of Petri nets were represented by subVIs. Transition subVI would change the value of places by the Boolean controls reference when it was fired. Four transition subVIs with different number of input/output places (SISO, SIMO, MISO, MIMO) were bound together to set up a polymorphic transition VI. Based on this method, a time delay C/E Petri net was set up by combining the place and polymorphic transition components in LabVIEW, so that the process was simplified. A specific Petri net was completed and tested. The results show that the system operating state is reflected by the front panel of the controller directly, and the topology of block diagram is similar to that of the original Petri net. Due to the combination of two graphic languages, LabVIEW and Petri net, the implementation of measurement and control system based on Petri nets becomes simpler and more visualable.
杜天艳, 赵不贿. 基于LabVIEW的Petri网控制器实现[J]. 江苏大学学报(自然科学版), 2011, 32(1): 75-78.
DU Tianyan, ZHAO Buhui. Implementation of Petri nets controller based on LabVIEW[J]. Journal of Jiangsu University(Natural Science Eidtion)
, 2011, 32(1): 75-78.