TSL Automation Solutions Logo

Section 15.4.11 · Chapter 15: Using Macros

Recipe Operation

■ RB2ROM

Format P1 = RB2ROM(P2 ) Data Type U
Function Saves the data of recipe block P2 to the flash ROM and saves the completion code in P1.
P1 (I) The word to receive the completion code. If the completion code is 0, the operation succeeded; otherwise the operation failed.
P2 (I/C) The ID of the recipe block to be saved. The option "Need space in flash ROM to save backup" must be selected for the recipe block.
Example 1 $U10 = RB2ROM(3) /* Save recipe block #3 to the flash ROM. */

■ ROM2RB

Format P1 = ROM2RB(P2 ) Data Type U
Function Restores the data of recipe block P2 from the flash ROM and saves the completion code in P1.
P1 (I) The word to receive the completion code. If the completion code is 0, the operation succeeded; otherwise the operation failed.
P2 (I/C) The ID of the recipe block to be restored. The option "Need space in flash ROM to save backup" must be selected for the recipe block.
Example 1 $U10 = ROM2RB(3) /* Restore recipe block #3 from the flash ROM. */

■ REF_RCP_OBJ

Format REF_RCP_OBJ(P1 ) Data Type U
Function Refreshes the recipe objects associated with the specified recipe block P1. The recipe objects include recipe selectors and recipe tables. You can use this command to update the display of associated objects after changing the data of a recipe block in a macro program.
P1 (I/C) The ID of the associated recipe block.
Example 1 REF_RCP_OBJ(3) /* Refresh the recipe objects associated with recipe block #3 */

Need PM Designer itself?

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

Source.Section 15.4.11 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.