Skip to content

Iframe and Faceplate

Iframe embeds an external web page inside the SVG screen. It integrates content such as Grafana dashboards, IP cameras, external web applications, and PDF documents into the SCADA screen.

FieldValue
TypeIframe
Suitable SVG Elements<rect> (foreignObject), <g>
Expression TypeUrl
<rect id="grafana_embed" x="10" y="300" width="600" height="400"
fill="#f5f5f5" stroke="#ddd"/>

Static URL:

https://grafana.company.com/d/energy/panel?orgId=1&kiosk

IP Camera:

http://192.168.1.50/video.cgi

Dynamic URL — Expression:

var projectId = 153;
return "https://grafana.company.com/d/energy?var-project=" + projectId + "&kiosk";
ContentURL Format
Grafana Dashboardhttps://grafana/d/xxx?kiosk
IP Camera MJPEGhttp://camera-ip/video
PDF Report/files/reports/daily.pdf
Custom Menu HTMLPlatform internal Custom Menu page
External Web AppAny web application

Faceplate places a pre-designed reusable SVG component into the animation screen. It allows the same symbol to be used multiple times with different parameters.

FieldValue
TypeFaceplate
Suitable SVG Elements<g>, <rect>, <image>
Expression TypeFaceplate
<!-- Motor 1 area -->
<g id="motor1_area" transform="translate(100, 200)"/>
<!-- Motor 2 area -->
<g id="motor2_area" transform="translate(350, 200)"/>
<!-- Motor 3 area -->
<g id="motor3_area" transform="translate(600, 200)"/>

The same Faceplate for each area, with different placeholder values:

motor1_area:

  • Faceplate: Motor_Standard
  • Placeholders: {motor_name}=Motor 1, {speed_var}=M1_Speed, {status_var}=M1_Status

motor2_area:

  • Faceplate: Motor_Standard
  • Placeholders: {motor_name}=Motor 2, {speed_var}=M2_Speed, {status_var}=M2_Status

motor3_area:

  • Faceplate: Motor_Standard
  • Placeholders: {motor_name}=Motor 3, {speed_var}=M3_Speed, {status_var}=M3_Status

3 motors, 1 faceplate design, 3 placeholder sets.

The Menu type opens a Custom Menu page when clicked.

FieldValue
TypeMenu
Expression TypeCustom Menu
ExpressionCustom Menu name

Detailed information: Faceplate → | Custom Menus →