ifm
System Manual
ecomat
mobile
SmartController (CR2500) V05
Annex
Overview of the files and libraries used
275
12.3
Overview of the files and libraries used
(as on 2 Feb. 2009)
Depending on the unit and the desired function, different libraries and files are used. Some are
automatically loaded, others must be inserted or loaded by the programmer.
Installation of the files and libraries in the device:
Factory setting: the device contains only the boot loader.
►
Load the operating system (
*.H86
)
►
Create the project (*.PRO) in the PC: enter the target (
*.TRG
)
►
(Additionally for targets before V05:) define the PLC configuration (
*.CFG
)
> CoDeSys
®
integrates the files belonging to the target into the project:
*.TRG, *.CFG, *.CHM, *.INI, *.LIB
►
If required, add further libraries to the project (
*.LIB
).
Certain libraries automatically integrate further libraries into the project.
Some functions in
ifm
libraries (
ifm_*.LIB
) e.g. are based on functions in CoDeSys
®
libraries
(
3S_*.LIB
).
12.3.1
General overview
File name
Description and memory location *)
ifm_CRnnnn_Vxxyyzz.CFG ¹)
ifm_CRnnnn_Vxx.CFG ²)
PLC configuration
per device only 1 device-specific file
inlcudes: IEC and symbolic addresses of the inputs and outputs, the flag
bytes as well as the memory allocation
…\CoDeSys V*\Targets\ifm\ifm_CRnnnncfg\Vxxyyzz
CAA-*.CHM
Online help
per device only 1 device-specific file
inlcudes: online help for this device
…\CoDeSys V*\Targets\ifm\Help\…
(language)
ifm_CRnnnn_Vxxyyzz.H86
Operating system / runtime system
(must be loaded into the controller / monitor when used for the first time)
per device only 1 device-specific file
…\CoDeSys V*\Targets\ifm\Library\ifm_CRnnnn
ifm_Browser_CRnnnn.INI
CoDeSys browser commands
(CoDeSys
®
needs the file for starting the project)
per device only 1 device-specific file
inlcudes: commands for the browser in CoDeSys
®
…\CoDeSys V*\Targets\ifm
ifm_Errors_CRnnnn.INI
CoDeSys error file
(CoDeSys
®
needs the file for starting the project)
per device only 1 device-specific file
inlcudes: device-specific error messages from CoDeSys
®
…\CoDeSys V*\Targets\ifm
ifm_CRnnnn_Vxx.TRG
Target file
per device only 1 device-specific file
inlcudes: hardware description for CoDeSys
®
, e.g.: memory, file locations
…\CoDeSys V*\Targets\ifm