CoDeSysControlV3 FirstSteps
CoDeSysControlV3 FirstSteps
CONTENT
1 QUICKSTART 3
1.1 Getting the Binaries 3
1.2 Getting the Configuration 3
1.3 Loading and Starting the Binaries 3
1.4 Change the VendorID 4
1.5 Create a Device Description 5
1.6 Install the Device Description 5
1.7 Create a Project 6
1.8 Scan for the Target 7
1.9 Login to the Target 7
1 Quickstart
target computer. Copy the .sys file to the \system32\drivers folder of the target
computer.
o Add the SysTargetOEM component to the cfg file of the RTE (not the SysTargetOEM).
Make sure the OverloadableFunctions=1 option is set in the ComponentManager
section.
o After starting the system, the RTE should be found in a network scan using the new
vendor/device IDs.
To get active the component SysTargetOEM, you will need to add it to your *.cfg file. Just add it as a
new component. Additionally to this, you need to specify the setting „OverloadableFunctions“ in the
*.cfg file. So it will look somehow like this:
[ComponentManager]
OverloadableFunctions=1
...
Component.64=SysTargetOEM
Note: The device will be „inserted“ (or „copied“) into the project in which you are using it. So, if you
make changes in the device description, you need one additional step after installing it before the
changes will take effect:
Update your device in the project:
Note: If you don’t enable the check box „Display all Versions“, devices with the same ID are always
grouped together, and you will only see the one with the highest priority.
CoDeSys tries to authenticate itself on that target and tries to get a „communication channel“. After a
few seconds, you should get a response to acknowledge the download of the application. Most likely
you will see this window, because you have no bootproject on your PLC, yet:
tech_doc_e.doc / V1.4
You will see the status of the download in the status bar of CoDeSys:
2.1 Common
There are a few folders and files, which you will find in every delivery, because they are necessary to
do brand labeling on your PLC or to extend the CoDeSys Control runtime with I/O drivers or own
components.
Components/*Itf.h, Components/*Itf.m4
These are the interfaces of the 3S CoDeSys Control components. Those interfaces can be
used or implemented from your OEM specific components and I/O drivers.
BuildUtils/msys/bin/*.bat
This directory contains a few batch scripts that can be used to compile the M4 files of our or
your own components. Those M4 files are describing the interfaces and dependencies of the
component and generate the header and C++ files based on that.
Configuration/*.cfg
You will find several examples of configuration files in this folder. You can use them as a
starting point for your own configuration. If you want to have an overview about the available
configuration entries, you can check Runtime System Reference document, which you find in
the documentation folder.
Configuration/3S.dat
This file contains license information for your ordered field busses or advanced features, like
SoftMotion or Visualization.
Platforms/*/
Depending on the platform that you ordered, you may find a few system specific files below
this folder.
RtsConfigurator/Bin/RtsConfigurator.exe
This tool is included in every runtime delivery. However, it is only really useful for those, who
ordered the complete source code of the runtime. It is used to resolve the dependencies
between the components and create a configuration for a custom built runtime.
If you don’t have an operating system, or you have a system that we don’t yet support, you will retrieve
an embedded delivery. This kind of delivery contains all sources of the runtime, so that you can port it
to your OS or CPU.
By default you get a folder with some empty implementations of the system layer, which you can find
in the folder „Platforms/SysTemplates“. Furthermore you might get some help and maybe some
platform templates for your CPU or OS from your first level support (just ask).
3S-Smart Software Solutions GmbH Page 8 of 12
CoDeSysControlV3_FirstSteps.doc
First Steps with CoDeSys Control
Change History