22.6.7 Data Binding
After completing the dashboard edit, make I/O bound point or the action of macro programming, and the animation results will be displayed in the dashboard view mode.
22.6.7.1 Animation not included Macro
The animation I/O measuring point setting is located in the dashboard edit property page; first, after editing the dashboard, click "WebAccess data source" in the widget property page.
22.6.7.2 Animation included Macro
The animation macro instruction setting is also located in the property page of the dashboard edit.
l First select the dashboard edit and edit widget; click the WebAccess data source in the widget property page to set the macro instruction.
l Click the macro instruction input position and select from the macro list drag down menu, including such options as「<SETVAL>」、「<GOTO>DASHBOARD=」、「<ALMACK>」、「<ALMACKS>」,「<DIALOG>TAGVALCHG」;finally, a macro instruction via I/O measuring point drag-down menu is created.
For example:
1. Set the 02001A6266:DO_00 measuring point value as 1
<SETVAL>02001A6266:DO_00=1
2. Widget jump to the path /Express/XXX
<GOTO>DASHBOARD=/Express/XXX
3. Perform 02001A6266:DO_01 alarm confirmation
<ALMACKS>02001A6266:DO_01
4. A digital input dialog box pops up to manually change the numerical value of 02001A6266:DO_00
<DIALOG>TAGVALCHG=02001A6266:DO_00
Examples:
<SETVAL> :
<SETVAL>TAGNAME=VALUE
Set a tag with a specified amount value.
<SETVAL>TAGNAME=%REVERSE
Flip the state of the tag. Although intended for use with digital tags, it will work with analog tags. Used with SETVAL. If the digital state is 0 and is a two-state digit, %REVERSE will flip its state from 0 to 1. If an analog tag, %REVERSE will flip it based on the percent of span. If the current value is 25% of the span, %REVERSE will make it 75% of the span.
<SETVAL>TAGNAME=%PLUS VALUE
Increment tag with a specified amount value.
<SETVAL>TAGNAME=%MINUS VALUE
Decrement tag with a specified amount value.
<GOTO>:
<GOTO>DASHBOARD=/PROJECT_NAME/SAVED_DASHBOARD
Change Dashboard.
<ALMACK>:
<ALMACK>
Acknowledge all alarms.
<ALMACKS>:
<ALMACKS> TAGNAME
Acknowledge alarms for a single tag.
<ALMACKS> TAGNAME1<ALMACKS> TAGNAME2 …..
<DIALOG>:
<DIALOG>TAGVALCHG=TAGNAME
Change Dialog Box.