6.5.7 Camera display


Video display is advanced function in PI HMI, this object displays the camera screen in HMI, there are two modes, one is IP camera, and the other is USB camera. But IP camera requires settings in [Project settings], the detailed information, please refer to [Camera].


This function requires special HMI model, the detailed information, please contact sales.

Description for IP camera

1) Mode select

It is used for selecting modes; each mode uses different settings;

2) Use dynamic control instruction

Read a string from designated system address, and then combine the instruction to control the camera image.

When the dynamic control command is disabled, the complete camera control command need to be entered in order to display the camera contents.

3) Camera control instruction

This is for entering static instruction for camera, so that users can operation camera when HMI running;

4) Enable rtsp camera

This is another way to control camera, check it and set the function address.

Description for USB camera

1) Mode select

It is used for selecting modes; each mode uses different settings;

2) Camera settings

Function address: It occupies a word for functional operation. Different value means different operations, as below table shows:




Enable the screenshot function


refresh camera display object

Camera state: It shows the current camera states. It occupies a word address. Different value means different operations, as below table shows:




Load the camera function successfully


Failed to load the camera function


Camera does not exist


Camera is not running


Initialize the camera successfully


Failed to initialize the camera


Screenshot successfully


Failed to screenshot


Connected camera


Removed camera


The cache is full


The cache is abnormal

3) Screenshot storage

The current screenshots are only allowed on the SD card. When the SD card does not exist the system will cache the latest 10 screenshots.

Picture name: The name of the image is controlled by the address. The length of the file name is limited to 64 words. If the image name address is not set, it will be named according to the time and displayed as [YYYYMMDDHHMMSS.bmp] and screenshot format is [.bmp].

4) Global screenshot

If this function is enable, camera display object can perform the screenshot operation when HMI is running and save it as a .BMP image.

If this function is disabled, camera display object only performs the screenshot operation when it is displayed on screen.

5) Resolution

The resolutions of different types of USB cameras are different, and the user can select the corresponding resolution according to the camera. When the user is unsure of the resolution of the camera, start with the smallest resolution until the image is clear.

6) Use resolution size

Coordinate displays the object location in the screen, and size is the length and width of the object.


  1. When using USB camera, HD USB camera is not recommended, which is limited by the resolution displayed by HMI itself.

  2. When HMI is displayed horizontally, the USB camera screen displays normally. If select vertical display, USB camera can't display normally. (USB camera can only display normally when the display Angle of HMI is 0.)

  3. One HMI is only allowed to connect with one USB camera device. There is only one USB camera display part in the whole project screen, and the camera display part is not allowed to be placed on the public screen (1002: common Windows).

  4. Sometimes the USB camera may lose the image because of the influence in the field, then we suggest to PI9000 HMI and the recommended USB camera model.

  5. All below USB camera model have been tested by WECON to ensure the compatibility.

  • REB-USB 100W07M (supports 720p)

  • WX152HD (supports 720p)

  • RMONCAM G200 (supports 720p)

  • ASHU S300 (640*480)

Last updated