Available Dynamic Components
Optional components are used for adapting CODESYS Control RTE to specific hardware. You can also load these components to the configuration from the Component Manager tab of the PLC configuration dialog. For more information, see: Dialog: System Configuration – Component Manager
Adapting to the hardware platform
On multicore processors, CmpDrvSchedulerAMP
is always initialized by the setup. This offloads the execution of the RTE to a CPU core not used by Windows. On Windows 64-bit or Windows versions > 7, a real-time operation is possible only in this way. As a result, the setup will limit the execution of Windows to the first <number of physically available cores - 1> cores by means of the boot option numproc
. Hyperthreading cores have to be abandoned completely. The setup recognizes the platform and automatically enters the required driver as the first component in the cfg file of the RTE. This must never be changed.
The drivers save their results from the measurement at the first start when the speed of the applied hardware is determined. These are saved as their names in the path of the system services HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Service
in the key Params
. At all following system starts, the determined value is read from the registry. When values are missing, the measurement is taken again.
Support of optional fieldbus adapters
Driver: CmpEt1000Drv | This driver directly supports
If the device manager refuses to install the driver, then uninstall the original driver by Intel by pressing the <Del> key, and delete the corresponding The inf files to be used here are widely named Then when the system is restarted, Windows can no longer install the driver automatically. The hardware manager Is started and the driver in ImportantYou also have to enable the runtime components in the file
|
Driver: CmpEt100Drv | Note: This driver is supplied for compatibility purposes only. The hardware can no longer be purchased. This driver directly supports
If the device manager refuses to install the driver, then uninstall the original driver by Intel by pressing the <Del> key, and delete the corresponding The inf files to be used here are widely named Then when the system is restarted, Windows can no longer install the driver automatically. The hardware manager Is started and the driver in ImportantYou also have to enable the runtime components in the file
|
Driver: CmpSJACanDrv |
After installing the adapter, you can select and install the corresponding drivers from the directory Note: The original driver from the manufacturer must not be installed. The driver NumDevices=1 <number of SJAs> ;Number of SJAs, that are configured in the following> ;(optional: <DisableRetain=1> The driver is told that it should ; not create any retain entry in the cfg file, even if a CAN adapter is equipped with NVRAM.) 0.Address=<physical address of the SJA1000> 0.Interrupt=<interrupt vector of the SJA1000> 0.IntEdgeTrig=<0 or 1. 0 hardware dependent> 0.XtalFrequency=<frequency> ;normally 16000000Hz, 24000000Hz is also a possible variant 0.BusType=<bus type> ;depending on the type of switching of the SJA, ;1 for ISA, 3 for PCI, 0 for memory 0.Alignment=<alignment> ;normally 1, hardware dependent 0.Name=<any name> .OutputCtrl=<valid values:e.g. 0xFE, 4C, 1A> ;Depends on the CAN switching 0.PortAddress=<port address> ;This address is written one time for ;initializing the CAN switching. 0.PortValue=<vlaue> ;The value that is written for the initialization. |
Driver: CmpNetXCanDlDrv | This component is a CAN minidriver for a NetX CAN adapter. With this driver, CODESYS Control RTE can use the CAN libraries from CODESYS GmbH via a NetX adapter.
The configuration of the component in the configuration file of CODESYS Control RTE: [CmpNetXCanDlDrv]MaxNumberOfCanNetworks=0..n -> number of the CAN networks (number of the NetIds) NetId.0.Channel=0 -> mapping of the NetId onboard nad NetX channels (see CmpHilscherCIFX) NetId.0.Board=0 |
Driver: CmpRTL81x9Mpd | Note: This driver is supplied for compatibility purposes only. The hardware can no longer be purchased. This driver directly supports |
Driver: CmpRTL8169Mpd | In the same way as for |
Driver: CmpSercos3Master | This driver supports the |
Driver: CmpHilscherCIFX | This driver supports a CifX card from Hilscher. After installing the card, you can install the driver supplied by Hilscher or Specify the component in the Device.0.BootloaderFilePath=NXCIF50-RTE.bin Device.0.Channel.0.FirmwareFile=cifxdpm.nxf In this example, the The files that contain the boot loaders or firmware are delivered with the CifX card from Hilscher. You have to place them in the root file directory of the CODESYS Control RTE. You may also have to adapt the file names or entries in the configuration file. For more information, see: Commissioning the Hilscher CIFX Card |
NVRAM PCI plug-in adapters
Driver: CmpPciRetain | This driver allows for the use of NVRAM as retain memory on a PCI adapter. Requirements: The NVRAM is reachable directly via the physical address in the PCI registers, and it supports all ranges of access, for example byte, word, and double word access. You can configure the component with the following entries in the configuration file
See the documentation for the used PCI adapter for the values of The default values of the four IDs identify the MRAM device in a Siemens NanoBox PC. |
Beckhoff CX5xxx-specific components
Driver: CmpCX5000Mpd | This is a Windows network driver. It can be used only on a If the setup of CODESYS Control RTE is executed on a Additional information and manual installation: Exception: A CX-IPC was installed by default with "Windows7 embedded standard". This comprises a Beckhoff driver for the PCI device with the hardware IDs
Then a download of a CODESYS project with EtherCAT should no longer display unresolved references. |
Driver: CmpCXSecUPS | This driver can be used only on an "embedded PC" in the CX5000 or CX5100 series from Beckhoff. The component monitors a pin that monitors the state of the power supply in low-priority, cyclic call of the communication task. If a power failure is detected, then the applications are stopped and the retain data saved in a file (typically Note: The following restrictions exist when saving retain data:
Due to these restrictions, you have to test the storage of the retain data with the completed applications. Moreover, it is recommend that the validity of the remanent variables is checked at the application start. The component does not have any configuration options. You have to add them only to the component list of the controller. |
For more information, see: Registry Entries of the RTE