PLC

Version

PLC 1:

The currently used version of your template and/or project can be determined as follows:

References

PLC 2:

The following libraries are referenced in the project in addition to some general libraries from the general TwinCAT pool:

PLC 3:

Error despite existing library

For compatibility and maintenance purposes, the versions of the included libraries are fixed. If you have already worked with the mentioned libraries in past versions, you have to install the updated versions. These can be found in the TwinCAT Package Manager or in the supplied project folder under Dependencies.

  • Always make sure that your references are at least up-to-date with the template version you are using. A list of the version compilations can be found here: Reference versions

Notice

Adaptation to an older version not permitted

Do not change the library versions set in the project to an older version. Incompatibilities and unpredictable behavior of the software may occur!

Code

PLC 4:

The control code is divided into three main folders.

> _Tasks: Instantiation of the runtime and definition of the task calls

> Application: Application programs

> Version: Automatically generated GVL with the used project version

PLC 5:

Further information about the PLC code

SimPlc

PLC 6:

In the second PLC (SimPlc) a machine simulation is implemented. This can be connected to the main control via mapping (comparable to the I/O of a machine). This allows the PLC to be implemented without including simulation elements. In addition, simulation can also be extended with the elements of PLC programming. This offers the advantage that the control PLC from project preparation does not have to be adapted to operation with a real machine. Only the mapping to I/O components is required.

PLC 7:

Switching from simulation <-> real operation

The project can be switched from simulation to real operation (and vice versa) via the mapping export/import. This function can be used by right-clicking on the TwinCAT project junction "Mappings".

PLC 8: