Unable to control an I/NET DO object from a TGML graphic in HTML5

Issue

Unable to control an I/NET DO object from a TGML graphic in HTML5, works in Workstation and Java based webstation

Product Line

SmartStruxure Solution

Environment

WebStation

Cause

The data type may not be correct.  The value should be written to PvControl as either a 0 or a 1.  If this is set as a string data type, Workstation can correct for this error, but HTML5 is less forgiving.

Resolution

  1. locate the line of javascript where you write the value to the bind. this is typically a setValue(bind, value) function. bind = the full bind name of the pvControl binding. value = the value that is intended to be written to the pvControl bind.
  2. One line before the setValue command, enter the line " parseFloat(value)"  - This will convert that value to float. If the value is a 0 or a 1, the setValue command will now correctly set the I/NET value.