Haiwell PLC’s recipe control function:
The recipe management control is often needed in the production process. The so-called recipe control is using different control parameters according to the different types or batches of the products. Forexample,assume that in the production of product A -- we use XA/YA/ZA to represent the parameter 1/2/3 respectively;ProductB - parameter 1/2/3 corresponds to XB/YB/ZB respectively;ProductC - parameter 1/2/3 corresponds to XC/YC/ZC respectively. Therefore, we can say that in this production there are three sets of recipes and each set consists of three parameters.
Usually,the recipe function can be realized by the upper computer. But in the absence of the computer, it can only be realized through PLC program.Below are the brief introduction of two ways to realize the recipe control function.
Method 1: Block moving method;
Method 2: Indexed pointer method.
Assume that we need 5 sets of recipes, each recipe has four parameters,.Firstly set up five "initial register values table", put one set of recipe with the corresponding 4 parameters in each table.The diagrams below:
Recipe Control Function: program of block moving method
Recipe Control Function: program of indexed pointer method
海为公众号
海为云APP
厦门海为科技有限公司
0592-3278716 (技术) | 4000-360-362 (商务)
海为总部:厦门市集美区软件园三期C03栋13-14层 | 制造中心:厦门市翔安区火炬高新区(翔安)产业区垵边南路336-2号4楼