Control Operation
You can use the Control Operation snippet to control equipment, circuit breakers, and to change device states. Only authorized users can perform this control operation.
warning
inaccurate data results
● | Do not incorrectly configure the software or the devices. |
● | Do not base your maintenance or service actions solely on messages and information displayed by the software. |
● | Do not rely solely on software messages and reports to determine if the system is functioning correctly or meeting all applicable standards and requirements. |
● | Consider the implications of unanticipated transmission delays or failures of communications links. |
Failure to follow these instructions can result in death, serious injury, equipment damage, or permanent loss of data.
warning
unintended equipment operation
● | Do not use the software or devices for critical control or protection applications where human or equipment safety relies on the operation of the control action. |
● | Do not use the software to control time-critical functions. |
● | Do not use the software to control remote equipment without proper access control and status feedback. |
Failure to follow these instructions can result in death or serious injury, or equipment damage.
To configure and operate controls:
- Open the Graphics Editor.
- Select the Components pane.
-
To configure the default Control component:
- Select the Control component and drag and drop it on the workspace.
NOTE: The Control component contains the Control Operation snippet, which includes two additional properties: Link and Script.
-
Select the Properties pane and enter the DataPoint value.
NOTE: The Control component contains the DataPoint attribute by default.
- Select the Control component and drag and drop it on the workspace.
- To build a custom Control component:
- Select the required component.
Drag and drop the Control Operation snippet over the selected component in the workspace.
NOTE: The Control Operation snippet adds two additional properties: Link and Script.
The Link default name is Control Popup.
The Script creates the following syntax:
Copyinvoke(connectorName, "Type = PopUp | ComponentName=" + componentName + " | InstanceID=" + instanceId + " | DataPoint = "+ dataPoint +"| Title=" + title + " | Width=" + width + " | Height=" + height + " | ShowTitleBar =" + showTitleBar + " | ShowUnamePwd =" + showUnamePwd +" | UserCredBottom = "+usercredbottom +" | UserCredLeft = "+ usercredleft+" | UserCredWidth = "+ usercredwidth +" | UserCredHeight = "+usercredheight +" | UserCredBackColor = "+usercredbackcolor+" | UnamePwdWidth = "+unamepwdwidth+" | UnamePwdColor = "+unamepwdcolor);
You can modify the following default parameters to configure the pop-up window:
Parameter Default value width 40 height
60 showTitleBar "Yes" showUnamePwd
"Yes" usercredbottom
36 usercredleft
10 usercredbackcolor
"white" usercredwidth
80 usercredheight
25 unamepwdwidth
50 unamepwdcolor
"#9FA0A4"
- Select the Properties pane and click Add.
Enter the following details:
- Attribute: Datapoint
- Value: c1.Test2\Obj_GGI01\SPCS08\ctlVal
- Click OK.
-
Navigate to the following path to save the file:
File > Save As > Project TGML
- Type the file name in the File name field.
-
Click Save.
- Open a web browser.
-
Type https://localhost/webhmi in the address bar.
NOTE: If Power Operation 2024 is installed on the remote server, type a valid URL in the address bar.
-
Click Enter. The Power Operation Web Applications Home page appears.
-
Select the new TGML file.
-
Click the Control component to open the control operation pop-up
-
Select a value (Open or Close) to perform the operation.
- Enter Username and Password.
- Click Confirm, and one of the following messages will appear:
-
Success: Appears when the selected value (Open/Close) is updated on the device.
-
Unsuccessful: Appears if the operation fails for one of several reasons, including:
- The device is already in the selected state
- The device selected by another user
- Another device problem or issue
-
Authentication failed: Appears if the provided credentials are not valid:
-
Data point does not exist: Appears if the provided tag names are not correct:
-
Network error: Appears if any network related issue occurs: