Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Exercise: Designing a Recipe Model

a)      Go to the database editor to create tags for recipe operation. Make a group tag called ‘RECIPE'. Within it, add two group tags called ‘DATA’ and ‘HANDSHAKE'. Within ‘DATA’, create four analog tags (‘WATER’, ‘ESPRESSO’, ‘SYRUP’, and ‘MILK’) for storing recipe data on the PLC. Within ‘HANDSHAKE’, add two analog tags ('WORD' and ‘GR’) and one digital tag ('BIT') for performing the communication handshake. The tag tree should then appear as shown below.

...

b)     Go  Go to [Tools] – [Recipe] or press the (blue star) icon to open the recipe editor window. Add a model called ‘COFFEE’ as shown below.

...

  • Model Name: COFFEE

  • Recipe Area Start Position: RECIPE.DATA.WATER (D100)

  • Handshake (Word): RECIPE.HANDSHAKE.WORD (D200)

  • Handshake (Bit): RECIPE.HANDSHAKE.BIT (M100)

  • Handshake (Group Number): RECIPE.HANDSHAKE.GR (D250)

  • Number of Data: 4

  • Number of Groups: 3

c)     After  After creating the model, specify names for each group (column) and data (row) as shown below.

...

d) Create a touch object to bring up the recipe dialog box.

...

e)     Launch  Launch the project in Xpanel and press the button to open the [Recipe] editor window.

...

  • You can browse for and load a recipe CSV file from the Xpanel file directory by pressing the 'CSV Read' button.

  • You can save the current recipe settings to a CSV file on the Xpanel device by pressing the 'CSV Write' button.

f)     Open  Open the CICON application. Connect the PC to the PLC, then press [Online] – [Memory Monitor].

...