Automatic adding symbols to recipe types
As the recipe type ActRcpDataType
is created by the RecipeHelper package, it does not have any member variables. The user can add the members of the recipe type. Some controls provided by the Beckhoff.TwinCAT.HMI.Plastic package can automatically add symbols to this recipe type and recipes that are based on this type with using the JavaScript API functions.
For example, if a FB_Axis
symbol for PTP motion is bound to a FB_Axis
attribute of an ArrowMotionGraph control, the control on initialization will add all user configurable variables under given FB_Axis
symbol to the ActRcpDataType
type. Any changes by the user on the control from a browser will automatically be updated and saved into the active temporary recipe.
Adding new symbols to recipe types is only possible in the engineering environment, i.e. while editing contents and in live view. |
If any content has not initialized in live view or any member symbol of the recipe is changed or removed in the PLC this must be checked in engineering before publishing the project. |
After publishing the project to the target device the package will not add new symbols to the recipe. If any of the recipe symbols are not found on the target this will cause an error and recipe operations will not perform. |