var state = new State();
var value = project.getTag("Tag1", state, 0);
if (state.isQualityGood()) {
// do something…
}
(Available on web pages)
Keywords
Global objects are predefined and can be referenced by the following names.
page
object page
References the page object for the current page.
function btnStd04_onMouseRelease(me) {
var wgt = page.getWidget("rect1");
var name = wgt.objectName;
}
project
object project
References the project widget.
var group = new Group();
project.getGroup("GroupName", group);
var value = group.getCount("Tag1");
Global functions
print
void print( message )
Prints a message to the HMI Logger window.
Parameter Description
message Message string
print("Test message");
HMWIN Studio |User Manual| v206 (2017-06-30) | EN| © 2014-2017 Panasonic Electric Works Europe AG
369
35 JavaScript