You can link an HTML5 control in the CODESYS development environment.
Preparation
-
Create a JavaScript wrapper file
ElementWrapper.js
for the control. -
Specify any files which are required to run the element, such as style files (CSS), JavaScript files (JS), or image files (SVG).
-
Create an element image
ElementImage.svg
which is displayed in the toolbox.
Integration into the programming system
-
In CODESYS, create an XML file (
.html5control.xml
) with general information. -
Create the mapping of the properties of the HTML5 control to the CODESYS visualization element properties.
-
Localize the interface texts.
-
Install the element.
-
Sign the element.