TSL Automation Solutions Logo

Section 11.4.4 · Chapter 11: Recipes and Recipes Objects

Transferring Recipes between the HMI and PLC/Controller

■ Using Command Block and Status Words ( )
You can use the command flag setting in Command Block to request the panel to set the current recipe number, read a recipe from a PLC or write a recipe to a PLC. You can also receive current the recipe block ID or current recipe number by checking the related status word and specifying the word variable in Status Words. For details, please see Section 3.6 Command Block and Status Words.

To change the current recipe number, the PLC first sets the Parameter Two Register to the desired recipe block and the Parameter One Register to the desired recipe number, then turns on the Set Current Recipe Number (#2) command flag. Also, $RNm (Current Recipe Number Register, m: Recipe Block ID) of the panel can be changed by the PLC.

To update a recipe in the panel, the PLC first sets the Parameter Two Register to the desired recipe block and the Parameter One Register to the desired recipe number, then turns on the Read Recipe From PLC (#3) command flag. The panel reads data in the Recipe Block to update the specified recipe in the panel.

To receive a recipe, the PLC first sets the Parameter Two Register to the desired recipe block and the Parameter One Register to the desired recipe number, then turns on the Write Recipe To PLC (#4) command flag. The panel sends the specified recipe data to the Recipe Block in the PLC.

Note: You do not need to specify the recipe block if the application has only one recipe block.
Note: To make the above operation work, the specified recipe block must exist, or else the panel ignores the request. The specified recipe number in the Parameter One Register must be between 0 and the maximum recipe number - 1.If the Parameter One Register is greater than or equal to the maximum recipe number, the panel ignores the request.

■ Using the Function Button ( )
You can use a function button to write the current recipe to the controller, or update current the recipe by reading the recipe from the controller. For details, please see Section 5.4.1 Basic Operations of function buttons.

Need PM Designer itself?

V4 for current PK, PT, ITV and PM panels, V2 for older models. Free, sent by email.

Source.Section 11.4.4 of the PM Designer Software User Manual, Edition 2.0, © Cermate Technologies Inc. (www.cermate.com, service@cermate.com). Reproduced online, with the manual's own figures, by TSL Automation Solutions, authorised Cermate distributor, for users of Cermate HMI panels. PM Designer and PanelMaster are trademarks of Cermate Technologies Inc.

Text and figures are the manufacturer's and may describe features your panel or software version does not have. For a plain-language introduction read the PM Designer guide; for help with a specific panel contact TSL Automation.