Supported platforms: CODESYS 3.5

 

 

Creating USB Memory for Updating Application (6500 units)

Display's firmware uses .tar.gz packet for installing user application.

CODESYS application's user folder in display is at path /opt/Project/PlcLogic

.tar.gz packet is extracted by FW to /opt/ folder, so .tar.gz packet needs to have /Project/PlcLogic/ folder structure

md5 checksum file is required for .tar.gz packet.

 

md5 filename is same than .tar.gz packet's but file extension is .tar.gz.md5.

 

md5 checksum accepts only lower case characters. Some Windows based md5 generators use upper case characters which will result in invalid checksum validation at display.

 

Example md5 checksum file:

 

md5 file:

 

6c6be8772d8743ae64c6c8aaa374b9fc user4_egscore_1_application.tar.gz

 

 

 

It is possible to use MultiTool Creator's SW update .zip package as application package if the /Project/PlcLogic folder structure is created and package format is converted to .tar.gz.

 

Using WindowsUsing Windows

  1. In CODESYS IDE: Online -> Create Boot Application

  2. Create Project folder and PlcLogic subfolder for the application packet

  3. Create Application folder to PlcLogic folder and move Application.app and Application.crc into it

  4. Folder structure should be:

Project/PlcLogic/Application/Application.app

Project/PlcLogic/Application/Application.crc

Project/PlcLogic/visu

  1. Add Project folder to .tar packet using e.g. 7-Zip

  2. Add created .tar packet to .gz packet using e.g. 7-Zip

  3. Name the .tar.gz packet using format user4_egscore_<version>_*.tar.gz

  4. Create md5 checksum file for .tar.gz packet

 

Windows has command line tool CertUtil which can be used to create md5 checksum:

certutil -hashfile <filename> MD5

 

It is also possible to use md5 tools available online.

 

Using LinuxUsing Linux

  1. In CODESYS IDE: Online -> Create Boot Application

  2. Create Application folder to PlcLogic folder and move Application.app and Application.crc into it

  3. Folder structure should be:

PlcLogic/Application/Application.app

PlcLogic/Application/Application.crc

PlcLogic/visu

  1. Execute the following commands in the folder where the PlcLogic folder exists. In this example, the application version number is 1.0.0

chmod 755 Project

chmod 755 Project/PlcLogic

chmod 755 Project/PlcLogic/Application

chmod 755 Project/PlcLogic/visu

chmod 644 Project/PlcLogic/Application/*

chmod 644 Project/PlcLogic/visu/*

tar -czvf user4_egscore_1.0.0_application.tar.gz Project/

md5sum user4_egscore_1.0.0_application.tar.gz > user4_egscore_1.0.0_application.tar.gz.md5

 

 

Installing application to display

Move created .tar.gz packet and md5 checksum file to USB drive

Connect the operating voltage to Serv_EN connector (pin no. 23)

Power up display

Wait for display's FW to install package

Disconnect Serv_EN connector from operating voltage

Reboot

 

 

Source file topic1003016.htm

Last updated 21-Feb-2025