Skip to Main Content
コグネックスサポートハブ
Logo

How to Make Cells in the Spreadsheet Available in the Web HMI using EasyView Tags

A step by step guide on how to use EasyView tags in the spreadsheet including screenshots with example

2025/05/06

Details

This document is intended to show how a basic Web HMI can be built from the Spreadsheet environment. A step by step example follows below.

  1. Start by creating an EditRegion function in the spreadsheet, Name the function "Pattern Region". This region will be the region for a TrainPatMaxRedLine function.

    placeholder
  2. Create a Button, name the button "Train". This will be the Training event for the TrainPatMaxRedLine function.

    placeholder
  3. Create the TrainPatMaxRedLine function and link the External Region parameter to the EditRegion function and the Train Event to the Button.

    placeholder
  4. Click on the Pattern Region button and position the region around the pattern you want to train, Press Enter to return to the spreadsheet.
  5. Click on the Train button to execute the training.
  6. Create a FindPatMaxRedLine tool that uses the pattern.

    placeholder
  7. Add an If statement that returns 1 if Pattern was found and 0 if not.

    placeholder
  8. Add a Status function monitoring the returned value from the If statement. This will now show a Green light when a pattern is found, else it will be Red.

    placeholder
  9. In order to make a cell visible in the Web HMI we need to Publish it to EasyView. This can be done by right clicking on the cell and choose Publish to EasyView.        

    placeholder
  10. Do this for the cells containing the EditRegion, Button and Status functions.
  11. Go to the View menu and click EasyView. This will add an EasyView tab next to the Function and Acquisition tabs.
  12. Here you can change the order of the EasyView tags and also rename them. Captions will be shown in the Web HMI so change them to something that makes sense.    

    placeholder
  13. Close the connection to the device in In-Sight Vision Suite and connect using Open HMI instead.

    placeholder
  14. The cells you have published using EasyView tags should now appear in the Web HMI.

    placeholder

関連リソース