CoDeSys (Controller Development System) is the widest-spread IEC 61131-3 development tool in Europe for industrial automation technology developed by Smart Software Solutions (3S). Basically it consists of two parts: * the programming system CoDeSys on the PC (downloadable for free after registration at 3S download link) and
The runtime system turns any device into an IEC 61131-3 controller programmable with CoDeSys.
Integrated compilers make sure that the program code is processed with optimal speed.
The camera supports the programming system 2.3.x and NOT version 3.x.
ATTENTION: The camera DOES NOT support retain variables itself because of performance reasons, but you can access the FRAM using functions from the Festo_System.lib
.
ipkg-cl install crypt_1.0-3.1.4-festo0_arm.ipk
ipkg-cl install codesys_2.0.0-3.1.4-festo0_arm.ipk
Furthermore you can also check the state of your CoDeSys license with
/ffx/codesys $ ./check_codesys_license license ok /ffx/codesys $
- download the actual CoDeSys programming system version 2.3.x from 3S and install it
Open
*.tnf
fileInstall
Also remember the general Status LEDs settings!!
The following example implements a binary counter for the camera outputs with an outputchange intervall of 500 milliseconds
OUT_ALL := OUT_ALL + 1;
don't forget the semicolon at the end of the line!!
Ressurces
→ Task configurationt#500ms
192.168.2.10
) and push RETURN key (ESSENTIAL or your new settings would not be stored) → OK[Projects]/[Options]/[Build]
→[Exclude objects…]
select the unwanted BCD_TO_INT
and INT_TO_BCD
functions and activate the Exclude
option box.General of Target Settings
/ffx/codesys
clr_codesys
OR delete the following files manually