Overview
Engineers frequently attempt to feed an analog VGA signal from a Keyence machine vision camera into a SIMATIC HMI Comfort Panel, but SIMATIC Comfort Panels do not include an analog VGA or composite video input. There is no frame grabber, no BNC connector, and no progressive-scan RGB input on any TP700 / TP900 / TP1200 / TP1500 / TP1900 / TP2200 Comfort device. The only supported path for displaying live or stored camera images on a Comfort Panel is the IP camera / network camera route, in which the panel acts as an HTTP client pulling JPEG snapshots or MJPEG streams from the camera's embedded web server or video server.
This guide documents the correct procedure for streaming Keyence vision system images to a SIMATIC HMI Comfort Panel using TIA Portal, the "Internet" browser control, and the panel's network interface. The workflow is anchored in the official Siemens application note 62383298 - Monitoring Machines and Plants with Network Cameras and SIMATIC HMI Comfort Panels, which lists approved IP cameras, supported image formats, and firmware prerequisites for the panel image.
Why VGA Does Not Work on a Comfort Panel
| Interface | Available on Comfort Panel? | Use for Keyence camera? |
|---|---|---|
| VGA / DVI / HDMI / DisplayPort input | No - these are display outputs only | Not possible |
| Composite video (CVBS, BNC) | No | Not possible |
| USB video capture (UVC) | No - USB host supports storage, keyboard, mouse, printer | Not possible |
| PROFINET / Ethernet | Yes - integrated switch on all Comfort panels | Recommended path |
| Web browser control (HTML / JavaScript) | Yes - "Internet" object in TIA Portal from V13 SP1 upward | Primary mechanism for IP camera display |
The VGA "OUT" connector on a Keyence CV-series controller or XG-series image-processing unit is intended to drive an industrial monitor for on-machine viewing. It carries the controller's local display buffer, not a streamed, network-addressable image. Comfort Panels are HMI clients, not frame grabbers, so the only architecturally correct integration is Ethernet.
Prerequisites
Verify the following before commissioning. Each item links to the relevant official reference.
- Comfort Panel hardware: TP700 Comfort, TP900 Comfort, TP1200 Comfort, TP1500 Comfort, TP1900 Comfort, or TP2200 Comfort. The integrated PROFINET interface (X1) provides 10/100 Mbit/s on the 4" / 7" / 9" / 12" models and 10/100/1000 Mbit/s on the 15" / 19" / 22" models. Reference: SIMATIC HMI device manuals in the Siemens SIOS portal.
- Panel firmware: Comfort image V13 SP1 Update 6 or higher for stable HTTPS handling. The web control was enhanced in V14 SP1 to allow self-signed certificates; the V15 / V16 / V17 / V18 images add cookie caching. See the firmware download section in the Siemens entry 62383298 for the specific version that qualifies each Comfort panel.
- TIA Portal: V16 or higher recommended to match current panel images and to expose the "Internet" control under Toolbox > Controls. Use the project version that matches the panel image (for example, TIA V17 with a V17 panel image).
- Keyence vision system: A network-capable Keyence smart camera. The Keyence Vision Systems family - in particular the VS Series (VS-070, VS-080, VS-090) and the CV-5000 / CV-X series controllers with the optional Ethernet unit - all expose an embedded web server. The Keyence Machine Vision FAQ clarifies which models offer HTTP image export.
- Keyence configuration software: VS Creator for the VS Series or CV Creator for the CV / XG series. Setup videos are listed in the VS Series Setup Procedure Videos page.
- Network: Managed or unmanaged switch, Cat 5e or higher cabling, IP addressing scheme (panel and camera on the same subnet, default gateway configured if remote viewing is required).
- Memory card (optional): A SIMATIC HMI Memory Card is required for Comfort panels to enable audit, recipe, or browser logs. Not strictly required for camera display but recommended for logging.
Architecture and Network Topology
Place the Keyence smart camera and the Comfort Panel on the same IP subnet. The panel does not perform image processing; it only requests and renders snapshots. Use the following baseline addressing.
| Device | Default IP | Recommended IP | Subnet mask | Default gateway |
|---|---|---|---|---|
| Keyence VS Series smart camera | 192.168.100.10 (factory) | 192.168.10.50 | 255.255.255.0 | 192.168.10.1 |
| Comfort Panel PROFINET (X1) port 1 | 0.0.0.0 (DHCP) | 192.168.10.20 | 255.255.255.0 | 192.168.10.1 |
| Comfort Panel PROFINET (X1) port 2 | 0.0.0.0 (DHCP) | 192.168.10.21 | 255.255.255.0 | 192.168.10.1 |
| Engineering PC running TIA Portal | DHCP / static | 192.168.10.100 | 255.255.255.0 | 192.168.10.1 |
If the machine already uses PROFINET for I/O, use the second port of the Comfort Panel to keep the camera traffic on a parallel subnet. This isolates the camera stream from real-time I/O and avoids PROFINET update time violations.
Step 1 - Configure the Keyence Smart Camera for Network Access
- Install VS Creator on the engineering PC and connect to the camera with the USB or Ethernet setup cable. The connection procedure is documented in the VS Series Setup Procedure Videos.
- In VS Creator, open Communication > Ethernet and assign a static IP address (192.168.10.50), subnet mask 255.255.255.0, and default gateway 192.168.10.1. Disable DHCP on the camera to prevent address drift after power cycles.
- Enable the embedded web server. On VS Series firmware, the toggle is Settings > Network > Web Server = ON. CV / XG controllers expose the same function under System > Network > Web Function.
- Set a snapshot URL. The default Keyence snapshot endpoints follow the pattern:
-
http://192.168.10.50/liveimg.cgi(older VS firmware) -
http://192.168.10.50/snapshot.jpg(newer VS firmware) -
http://192.168.10.50/img/snapshot.cgi?size=3(CV / XG series)
-
- Configure authentication. Use a dedicated camera-read user, not the administrator. Comfort Panels V14 SP1 and higher support HTTP basic authentication. The Siemens entry 62383298 lists which panel images accept self-signed certificates without operator action.
- Set the JPEG quality to 70 - 80% and the snapshot resolution to 640 x 480 or 800 x 600. Higher resolutions saturate the panel's browser cache and slow screen updates. Reference: Keyence Machine Vision FAQ.
Step 2 - Configure the Comfort Panel IP Address
- Open the TIA Portal project that contains the Comfort Panel device.
- In the project tree, select the HMI device, then open Device configuration > PROFINET interface [X1] > Ethernet addresses.
- Set IP address to
192.168.10.20, Subnet mask to255.255.255.0, and disable "Use router" if no off-subnet access is required. - If the panel has two PROFINET ports (TP1500 / TP1900 / TP2200 Comfort), bind the second port to
192.168.10.21on the camera subnet and the first port to the PLC subnet. This avoids routing camera traffic through the PLC. - Compile and download the panel image. Confirm the panel boots to the configured IP and that a ping from the engineering PC succeeds.
Step 3 - Add the Internet Control to the HMI Screen
- In the HMI project tree, expand the target screen (for example, Screen_1).
- Drag the Internet control from the toolbox into the screen layout. The control renders an embedded browser engine based on Chromium on newer Comfort images and an older WebKit variant on legacy images.
- Resize the control to the desired live-view area. For a 1280 x 800 panel image, a 1024 x 600 control gives the best balance between image size and refresh performance.
- In the control properties, configure the URL field with a tag-driven string, for example
"http://192.168.10.50/snapshot.jpg". Use a string tag (WString[254]orString[254]) so operators can change cameras at runtime without reloading the project. - Set Refresh to a tag-driven integer (in seconds). The Siemens entry 62383298 recommends a 2 - 5 s refresh interval. Faster refresh consumes CPU and competes with screen redraws.
- If the camera uses authentication, enter the username and password in the control properties. The credential is stored in the project; restrict project access accordingly.
Step 4 - Drive the Browser URL with a Script
For dynamic updates, drive the URL tag from a button or a VBScript on the panel. Example panel VBScript that updates the camera URL from a tag:
Sub UpdateCameraURL(ByVal newIP)
Dim sUrl
sUrl = "http://" & newIP & "/snapshot.jpg"
SmartTags("CameraURL") = sUrl
SmartTags("RefreshTime") = 3
End Sub
Bind the URL and Refresh properties of the Internet control to the tags CameraURL and RefreshTime. The panel reloads the image on the next refresh interval.
Step 5 - Camera Selection Reference
Not every Keyence model can act as an IP camera. The Keyence Machine Vision FAQ clarifies which product lines ship with a web server. The table below summarizes typical capability.
| Keyence family | Embedded web server | Snapshot URL | Authentication | Notes |
|---|---|---|---|---|
| VS-070 / VS-080 / VS-090 Series | Yes (firmware-dependent) |
/snapshot.jpg or /liveimg.cgi
|
HTTP basic | Confirm with VS Creator under Network > Web Server |
| CV-5000 / CV-X Series | Yes (with Ethernet unit option) | /img/snapshot.cgi?size=3 |
HTTP basic / digest | Enable Web Function in System > Network |
| XG-8000 / XG-X Series | Yes (controller option) | /cgi-bin/snapshot.cgi |
HTTP basic | Enable HTTP service in controller settings |
| CV-3000 Series (older) | No native web server | N/A | N/A | Requires external IP video server (Axis, Moxa, etc.) |
| Microscope / digital VCR-only models | No | N/A | N/A | Display only; cannot stream |
Step 6 - Network Security Hardening
Industrial HMI panels should not be exposed to the office network without a firewall. Apply the following baseline controls.
- Place the camera subnet behind a managed switch with ACL rules. Permit HTTP (TCP 80) or HTTPS (TCP 443) only from the Comfort Panel IP to the camera IP.
- Disable HTTP on the Keyence camera if HTTPS is available. Comfort panels from V15 onward accept self-signed certificates without operator interaction; older images require the certificate to be loaded into the project.
- Change the default camera administrator password. The Keyence default
admin / adminmust be replaced before deployment. - Disable the Keyence FTP, Telnet, and UPnP services if they are enabled by default. These are not used by the Comfort Panel integration.
- Document the IP addressing, switch port assignments, and credential storage location in the project Functional Specification.
Step 7 - Performance Tuning
Image size and refresh rate dominate the load on the Comfort Panel. The browser control shares CPU time with the screen redraw, alarm logging, and recipe services. Tune as follows.
| Parameter | Conservative | Balanced | Aggressive |
|---|---|---|---|
| Snapshot resolution | 320 x 240 | 640 x 480 | 800 x 600 |
| JPEG quality | 50% | 70% | 85% |
| Refresh interval | 5 s | 3 s | 1 s |
| Concurrent cameras on one panel | 4 | 2 | 1 |
Avoid running more than two simultaneous Internet controls on a TP700 / TP900 Comfort. The 4" and 7" panels share a slower CPU than the 12" / 15" / 19" / 22" models and will exhibit screen redraw lag if the camera refresh interval is below 2 s.
Step 8 - Verification
- On the engineering PC, open a browser and load the camera snapshot URL. Confirm the JPEG returns with HTTP 200 and a
Content-Type: image/jpegheader. - On the Comfort Panel, open a Windows CE / Windows Embedded Standard command shell (Control Panel > OP) and run
ping 192.168.10.50. The round-trip time should be below 5 ms on a Cat 5e link. - On the HMI screen, navigate to the Internet control. The first snapshot should appear within one refresh interval. If the page shows "Page cannot be displayed", verify the URL string tag value and the panel proxy settings.
- Cycle power to the camera and confirm the panel recovers the image within the next refresh without operator action.
- Trigger a Keyence inspection result (OK / NG) from a PLC tag and confirm the panel can display the last-result image as a still snapshot. The Keyence VS Creator provides an Output result image to FTP function for this purpose.
- Record the final settings in the project Functional Specification: camera IP, snapshot URL, refresh interval, authentication credential storage location, and switch port assignment.
Troubleshooting Matrix
| Symptom | Likely cause | Diagnostic | Remedy |
|---|---|---|---|
| Panel shows "Page cannot be displayed" | Wrong URL string or wrong IP | Open URL on engineering PC browser | Correct the string tag; verify in TIA Portal properties |
| Panel shows "401 Unauthorized" | Camera requires authentication but credentials are blank | Check the Internet control properties | Enter username and password; re-download project |
| Panel shows "Certificate error" | HTTPS enabled on camera with self-signed cert on legacy image | Check panel image version | Switch camera to HTTP, or load the cert into the TIA project, or upgrade the panel image |
| Snapshot loads but image is corrupted | Camera returns MJPEG, not JPEG | Inspect the Content-Type header in the response |
Use a CGI endpoint that returns a single frame, or add an MJPEG-capable IP video server |
| Image refreshes slowly (> 10 s) | Refresh tag not bound, or proxy enabled | Check Internet control properties > Refresh | Bind Refresh to a tag with the desired interval; disable proxy on the panel |
| Panel redraw is choppy while image is loading | Snapshot resolution too high | Reduce camera JPEG resolution | Set 640 x 480 @ 70% and 3 s refresh |
| Camera offline after power cycle | DHCP lease expired and camera fell back to default IP | Ping the camera from the engineering PC | Set a static IP on the camera and disable DHCP |
| VGA signal present at the camera but panel still blank | Wrong integration approach (VGA cannot reach the panel) | Confirm the panel model | Switch to the IP-based architecture described in this guide |
| Panel boots with IP 0.0.0.0 | No PROFINET configuration downloaded | Check device configuration in TIA | Download the HMI project, then transfer the configuration from the panel |
Frequently Asked Questions
Can a Keyence camera output VGA into a Siemens Comfort Panel directly?
No. SIMATIC Comfort Panels (TP700 to TP2200) do not provide a VGA, DVI, HDMI, or composite video input. They expose only PROFINET / Ethernet and USB host ports. Use the IP-based integration described in this guide instead.
Which Keyence cameras act as IP cameras?
The VS Series (VS-070 / VS-080 / VS-090) and the CV-5000 / CV-X / XG-X controllers ship with an embedded web server option that exposes a snapshot URL. Older CV-3000 and digital-microscope models do not and require an external IP video server such as Axis M-series or Moxa VPort. Always verify web-server availability in the current Keyence manual or the Keyence Vision FAQ.
What TIA Portal version supports camera display on Comfort Panels?
The Internet control is available from TIA Portal V13 SP1 upward. For self-signed HTTPS certificates and improved JavaScript handling, use TIA V14 SP1 or higher. Match the TIA Portal version to the Comfort Panel image (for example, TIA V17 with a V17 panel image). See the firmware matrix in the Siemens entry 62383298.
What snapshot URL should I use for a Keyence VS-080?
Most VS-080 firmware builds accept http://<camera-IP>/snapshot.jpg or http://<camera-IP>/liveimg.cgi. CV / XG controllers typically use http://<camera-IP>/img/snapshot.cgi?size=3. Test the URL on the engineering PC browser first; the exact path is firmware-dependent.
How many cameras can one Comfort Panel display at once?
Up to four Internet controls per screen is technically possible, but performance is acceptable only on TP1500 / TP1900 / TP2200 Comfort panels with a 5 s refresh and a 640 x 480 snapshot. On TP700 / TP900 Comfort, limit to two concurrent controls with a 3 s refresh and a 320 x 240 snapshot to avoid screen redraw lag.
Does the Comfort Panel support MJPEG video or only JPEG snapshots?
The Comfort Panel Internet control renders JPEG snapshots reliably. MJPEG streams render only on Comfort panels running Windows Embedded Standard 7 (TP1500 / TP1900 / TP2200) and only when the camera exposes a multipart MJPEG endpoint. For predictable behavior, drive the camera in JPEG snapshot mode and refresh the URL at 1 - 5 s intervals.