Open, Iframe & Faceplate
Open (Screen Navigation)
Section titled “Open (Screen Navigation)”Open navigates to another animation screen when clicked. It is used to build hierarchical navigation between SCADA screens.
| Field | Value |
|---|---|
| Type | Open |
| Suitable SVG Elements | All (clickable) |
| Expression Type | Animation, Animation Popup |
SVG Preparation
Section titled “SVG Preparation”<g id="goto_motor_detail" cursor="pointer"> <rect width="120" height="35" rx="5" fill="#1CA1C1"/> <text x="60" y="22" text-anchor="middle" fill="white" font-size="13"> Motor Detail → </text></g>Expression Types
Section titled “Expression Types”| Expression Type | Behavior |
|---|---|
| Animation | Closes the current screen and opens the target animation |
| Animation Popup | Opens the target animation as a modal popup (main screen stays in the background) |
Navigation Hierarchy Example
Section titled “Navigation Hierarchy Example”Main Screen (Overview)├── [Open] → Motor Section│ ├── [Open] → Motor 1 Detail│ └── [Open] → Motor 2 Detail├── [Open] → Pump Section└── [Open Popup] → Alarm Summary (modal)Parameter Passing
Section titled “Parameter Passing”Placeholder parameters can be passed to the animation opened via Open:
Target: Motor_DetailParameters: motor_id=1, motor_name=Motor 1The {motor_id} and {motor_name} placeholders in the target screen are filled with these values.
Iframe (External URL Embedding)
Section titled “Iframe (External URL Embedding)”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.
| Field | Value |
|---|---|
| Type | Iframe |
| Suitable SVG Elements | <rect> (foreignObject), <g> |
| Expression Type | Url |
SVG Preparation
Section titled “SVG Preparation”<rect id="grafana_embed" x="10" y="300" width="600" height="400" fill="#f5f5f5" stroke="#ddd"/>Expression Examples
Section titled “Expression Examples”Static URL:
https://grafana.company.com/d/energy/panel?orgId=1&kioskIP Camera:
http://192.168.1.50/video.cgiDynamic URL — Expression:
var projectId = 153;return "https://grafana.company.com/d/energy?var-project=" + projectId + "&kiosk";Usage Scenarios
Section titled “Usage Scenarios”| Content | URL Format |
|---|---|
| Grafana Dashboard | https://grafana/d/xxx?kiosk |
| IP Camera MJPEG | http://camera-ip/video |
| PDF Report | /files/reports/daily.pdf |
| Custom Menu HTML | Platform internal Custom Menu page |
| External Web App | Any web application |
Faceplate (Component Placement)
Section titled “Faceplate (Component Placement)”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.
| Field | Value |
|---|---|
| Type | Faceplate |
| Suitable SVG Elements | <g>, <rect>, <image> |
| Expression Type | Faceplate |
SVG Preparation
Section titled “SVG Preparation”<!-- 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)"/>Configuration
Section titled “Configuration”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.
Menu (Open Menu)
Section titled “Menu (Open Menu)”The Menu type opens a Custom Menu page when clicked.
| Field | Value |
|---|---|
| Type | Menu |
| Expression Type | Custom Menu |
| Expression | Custom Menu name |
Detailed information: Faceplate → | Custom Menus →