10/10 MN05003004Z-EN
25
4 Program processing and system time
The application program is processed cyclically. The states of the
inputs are read before the start of each program cycle, and the
output states are written to the physical outputs at the end of the
cycle. In addition, all system activities carried out before or after
the processing cycle.
Among these are:
• Communication with easySoft-CoDeSys
• Online modifications
• Processing of the CANopen protocol stack, etc.
As a result of the software architecture of the run-time system,
timing jitter may occur between individual processing cycles.
Cycle-time monitoring
The cycle-time monitoring monitors the cyclic task of the
application program using a hardware timer. If the time exceeds
the parameterized time, the outputs of the controller will be
disconnected and the XC100 is put into the “Stop” state.
System libraries, function blocks and functions
You can use various system libraries with the respective functions
and function blocks for your application.
Generally, the following libraries are available after the target
system selection:
• Standard.lib
• RTCLib.lib
• Counter.lib
• SYSLIBCALLBACK.LIB
In these libraries, general IEC modules and functions for the XC
PLCs are included. You will find the above mentioned libraries in
the easySoft-CoDeSys under ‹Resources
l
Library manager›.
Further libraries which are subsequently installed are also
displayed in the library manager.
The description of the function blocks and functions can be found
in the Library/Online help of the programming system:
X
Start the easySoft-CoDeSys, click on the “Help” button and
select “Contents“. In this window you can choose between
"Contents", "Index", and "Search".
Library manager
The installed libraries are placed in the Library Manager.
Figure 27: Standard libraries in the library manager
Содержание XC200 Series
Страница 4: ...II ...
Страница 8: ...10 10 MN05003004Z EN 4 ...
Страница 28: ...10 10 MN05003004Z EN 24 ...
Страница 50: ...10 10 MN05003004Z EN 46 ...
Страница 74: ...10 10 MN05003004Z EN 70 ...