eWON General Reference Guide


Add to my manuals
238 Pages

advertisement

eWON General Reference Guide | Manualzz

General Reference Guide eWON Configuration

3.7 Script Setup

The Script setup page that you can reach by clicking on the Script Setup link from the configuration navigation bar is used to create, modify or erase the scripts in the eWON and to test them.

Basic is the language that is used to write these scripts.

Further information about the structure and the syntax of this language is given in "eWON Programming Manual".

Figure 75: eWON script section page

The 3 available links in the script setup page are:

• The Edit Scripts link: to create, modify or delete the scripts

• The Script Control link: to test the scripts and enter one-shot commands

• The Run/Stop link: to run or stop the Basic scripts

3.7.1

The Edit script link

The 2 predefined scripts that are present in the eWON are:

• The Init section, which is executed once at the startup of the eWON.

• The Cyclic section, which is executed cyclically by the eWON.

This page is used to create, delete or edit script sections.

• The cycle time of the eWON BASIC is not pre-determined!

• This cycle depends on script itself.

• If well programmed, you can achieve the cycle time within one second.

RG-001-1-EN rev. 2.1

eWON® - 14/01/2014 - ©eWON sa Page 93

General Reference Guide eWON Configuration

• To edit a script section

Select the script that you want to display the code of from the Script Sections list, and then click on the Edit button, in order to display it in the edition window:

Figure 76: eWON Edit script section page

Click on the Update button to validate your modifications or on the Cancel button to quit without saving.

• To erase a script section:

Select the script section to delete and click on the Delete button.

• To create a new script section:

Click on the New Section button.

Enter the name of the script in the Script Name field and the code to execute in the blank edition area.

Figure 77: eWON new script section page

Click then on the Update button to validate your script, or on the Cancel button to quit without saving.

RG-001-1-EN rev. 2.1

eWON® - 14/01/2014 - ©eWON sa Page 94

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

advertisement

Table of contents