Supported platforms: CODESYS 3.5
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. |
In CODESYS IDE: Online -> Create Boot Application
Create Project folder and PlcLogic subfolder for the application packet
Create Application folder to PlcLogic folder and move Application.app and Application.crc into it
Folder structure should be:
Project/PlcLogic/Application/Application.app
Project/PlcLogic/Application/Application.crc
Project/PlcLogic/visu
Add Project folder to .tar packet using e.g. 7-Zip
Add created .tar packet to .gz packet using e.g. 7-Zip
Name the .tar.gz packet using format user4_egscore_<version>_*.tar.gz
for example user4_egscore_1_0_application.tar.gz
Create md5 checksum file for .tar.gz packet
for example user4_egscore_1_0_application.tar.gz.md5
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.
In CODESYS IDE: Online -> Create Boot Application
Create Application folder to PlcLogic folder and move Application.app and Application.crc into it
Folder structure should be:
PlcLogic/Application/Application.app
PlcLogic/Application/Application.crc
PlcLogic/visu
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
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