|Question:||Is it possible to set up ASCII text fields in an HMI Recipe to specify recipe name so it can be modified and stored in an MP9** Controller?|
|Answer:||Yes. Recipe names can be programmed in the HMI and stored/changed during runtime along with the rest of the recipe data (the recipe names are stored in register blocks inside the MP products). When the HMI product is connected to an MP9** series product, the "Yaskawa MP/CP" driver will be selected. This driver supports both Numeric (M or I registers) and ASCII (text) data formats. |
To create a text-based recipe name, first select Recipe Data for Data Field Source. Next, click on the Designer development screen to place the Recipe Data item on the panel (will look like "RRRRRR"). From the field definition screen, select "ASCII" from the Display Format dropdown. Next, set the Address Offset to a known unused register number. MW registers will be used here (or select from a TAG list). Next set the Field Width to the maximum number of characters for the text based recipe name. At this point, it is important to note that each character defined takes up a total of 8 bits, and MW registers in the MP9** controllers are 16 bits wide. Because of this, it will be necessary to use caution when specifying the Address Offset, and insure that there are enough registers unused to support the entire Field Width.
For Example - Suppose Field Width is set to 10 (to support a recipe name of up to 10 characters long), and Address Offset is set to an arbitrary number of 10. This means that 10/2=5 MW registers will need to be reserved starting at MW00010 (MW00010, MW00011, MW00012, MW00013, MW00014). If the Controller or HMI use these registers for anything else, the data will be overwritten and the data will appear garbled on the screen.
After this is done, it is now possible to set up the recipe name row from the "Recipe Configuration" Screen. Do this by highlighting the row, and clicking on the "Set As Recipe Name" button. The row will show a * next to the register or tag name. Next it will be necessary to add the "upload", "Download", and recipe control variable to the screen. After downloading and running, it will now be possible to cycle through the recipes and view the different recipe names loaded. If Read/Write was selected on the Recipe Data source, then it will be possible to modify the name.
The attached file is an example Designer Application Project for an eTOP11 communicating to an MP940 (Etop11~2.zip). It shows a simple recipe configuration with text recipe names on page 3 and 4. Both are tied together in a Recipe Menu shown on page 5.
To allow the user to edit the text recipe names during runtime, it will be necessary to prepare an ASCII or alpha numeric text entry screen. An example of this is shown below using the UniKey keypad development tool (found on the Uni-Win installation disk). See alphakey.kbd for an example.
|Product:||MP920 Machine Controller, MP930 Machine Controller, MP940 Machine Controller |
SAFETY PRECAUTIONS AND INSTRUCTIONS FOR USE OF FAQ INFORMATION!
Please read and understand the product instruction manual before installing, servicing or operating Yaskawa products. FAQ content and illustrations are provided as technical advice to augment the information in manual, not superceed it. It is not possible to give detailed instructions for all types of installation or support activities. The information described in the FAQs are subject to change without notice to improve the product or FAQ. Yaskawa assumes no responsibility for errors or omissions or damages resulting from the use of the information contained in any FAQ.
All warnings, cautions and product instruction for product use must be followed. Installation, operation and maintenance should be carried out by qualified personnel. Failure to observe these and other precautions highlighted in the product manuals will expose the user to high voltages resulting in, serious injury or death. Qualified personnel are defined as individuals who are familiar with the installation, starting, operation and maintenance of Yaskawa products of the type described and have proper qualifications to perform the work.