E783D Bedienungsanleitung Ventura Skaleo PDF
E783D Bedienungsanleitung Ventura Skaleo PDF
Operating Manual
Ventura Skaleo 100 RS232
Ventura Skaleo 100 RS485
Table of contents
1 Introduction ......................................................................................................................................................5
1.1 EtherCAT – Ethernet Control Automation Technology.............................................................................5
1.2 Ventura – the automation platform ...........................................................................................................5
1.3 Ventura Skaleo – the mini IPC in FIO design ...........................................................................................5
1.4 Product range ...........................................................................................................................................6
1.5 Models ......................................................................................................................................................6
2 Reliability and safety........................................................................................................................................7
2.1 Application range ......................................................................................................................................7
2.2 Target group .............................................................................................................................................7
2.3 Reliability...................................................................................................................................................7
2.4 Notes.........................................................................................................................................................7
2.4.1 Danger................................................................................................................................................8
2.4.2 Attention .............................................................................................................................................8
2.4.3 Note....................................................................................................................................................8
2.4.4 Under development............................................................................................................................8
2.4.5 Operating instruction ..........................................................................................................................8
2.5 Safety ........................................................................................................................................................8
2.5.1 During project design and installation ................................................................................................9
2.5.2 During repair and maintenance..........................................................................................................9
2.6 Electromagnetic compatibility .................................................................................................................10
2.6.1 Definition ..........................................................................................................................................10
2.6.2 Electromagnetic interferences..........................................................................................................10
2.6.3 General installation notes.................................................................................................................10
2.6.4 Protection against external electric influences.................................................................................11
2.6.5 Wiring ...............................................................................................................................................11
2.6.6 Place of installation ..........................................................................................................................11
2.6.7 Special interference sources............................................................................................................12
3 Ventura Skaleo 100 .......................................................................................................................................13
3.1 Description of system with FIO modules ................................................................................................13
3.2 Mechanical design ..................................................................................................................................13
3.2.1 Mounting...........................................................................................................................................14
3.3 System power supply..............................................................................................................................15
3.3 System power supply..............................................................................................................................16
3.3.1 General notes...................................................................................................................................16
3.3.2 24 V DC power supply ....................................................................................................................16
3.3.3 Grounding.........................................................................................................................................17
3.4 Interfaces ................................................................................................................................................18
3.4.1 Interrupt input ...................................................................................................................................18
3.4.2 LAN interface....................................................................................................................................19
3.4.3 COM interface ..................................................................................................................................19
3.4.4 SD-card slot......................................................................................................................................21
3.5 Control and display elements .................................................................................................................22
3.5.1 Stop/reset key ..................................................................................................................................22
3.5.2 Status indicators...............................................................................................................................22
3.6 System memory ......................................................................................................................................24
3.6.1 Data ranges......................................................................................................................................24
3.6.2 Retain variables................................................................................................................................24
3.7 Web server..............................................................................................................................................25
3.8 Web visualization ....................................................................................................................................26
E 783 GB 3
01.03.13/10144408
Table of contents
3.9 Watchdog................................................................................................................................................28
4. Installation ....................................................................................................................................................29
4.1 CoDeSys installation on the programming PC .......................................................................................29
4.2 Target installation in CoDeSys ...............................................................................................................29
4.3 Settings of the IP address of the Skaleo IPC .........................................................................................30
4.4 Settings of the CoDeSys programming PC ............................................................................................30
4.4.1 Ethernet interface settings on the programming PC ........................................................................30
4.4.2 Setting the communication parameters within CoDeSys .................................................................31
4.5 Create a CoDeSys project with EtherCAT..............................................................................................32
4.5.1 Loading a CoDeSys boot project onto the SD-card .........................................................................33
4.5.2 Loading a CoDeSys boot project from the SD-card.........................................................................33
4.5.2.1 Loading a boot project without version information.......................................................................33
4.5.2.2 Loading a boot project with version information............................................................................34
4.6 Operation of EtherCAT slaves ................................................................................................................34
4.6.1 System requirements .......................................................................................................................35
4.6.2 Install EasiCat configurator ..............................................................................................................35
4.6.3 Select EtherCAT participant.............................................................................................................38
4.6.4 Importing configuration data into CoDeSys .....................................................................................43
4.6.5 Changing of the control configuration with EasiCat .........................................................................44
4.6.6 Renaming a CoDeSys project..........................................................................................................45
4.6.7 Including an EtherCAT master into CoDeSys ..................................................................................46
4.7 SPS function libraries..............................................................................................................................48
4.7.1 Skaleo100.lib....................................................................................................................................48
4.7.2 SkaleoRS485.lib...............................................................................................................................49
4.7.3 KuhnkeECatLibSkaleo.lib.................................................................................................................50
4.7.4 KubesPrtLib.lib .................................................................................................................................50
5 Special functions of the Skaleo 100 ..............................................................................................................51
5.1 Time synchronization with an NTP server ..............................................................................................51
5.2 Update of the runtime system with an SD card ......................................................................................52
5.2.1 Update without version information..................................................................................................52
5.2.2 Update with version information.......................................................................................................53
5.3 Hardware stamp......................................................................................................................................53
5.4 Deactivation of slaves of a control system configuration........................................................................54
5.5 Customer specific error HTML pages for the web server .......................................................................54
5.6 Sending a ping ........................................................................................................................................55
5.7 Reading of the Skaleo100.lib version .....................................................................................................56
5.8 Reading of SD-card specific information ................................................................................................56
5.9 Writing data on drive A............................................................................................................................56
6 Error treatment after a system crash.............................................................................................................57
7 Appendix........................................................................................................................................................58
7.1 Technical specifications ..........................................................................................................................58
7.2 Ordering information ...............................................................................................................................58
7.3 Further reading .......................................................................................................................................59
8 Sales & Service .............................................................................................................................................60
8.1 Malente headquarter...............................................................................................................................60
8.2 Customer service / customer care ..........................................................................................................60
9 Index ..............................................................................................................................................................61
4 E 783 GB
01.03.13/10144408
Introduction
1 Introduction
The automation platform Ventura was especially developed for machine con-
trol applications. Ventura offers flexible automation solutions with hard and
soft PLCs on the basis of industry PCs, remote I/Os, remote PLCs and dis-
tributed drives. For networking, Ventura supports EtherCAT, PROFIBUS-DP,
CANopen and AS-Interface.
Ventura industry PCs as EtherCAT master offer defined real time perform-
ance and are equipped a CoDeSys SPS.
The Mini PC Ventura Skaleo 100 was designed for automation processes
with medium complexity. Thanks to numerous interfaces it can be used for
distributed structures and can easily be integrated into existing control con-
cepts.
An integrated digital input with interrupt capability allows fast reactions to
process events. The built-in serial interface (RS232 or RS485) allows data
exchange with other devices, as well as the connection of cost-effective ter-
minals for visualization. In addition, a built-in web server supports web-
based visualization. An SD-card slot allows the local storage of process
data and the exchange of control software. In addition, the Mini IPC offers a
built-in real time clock, as well as numerous status LEDs for easy error
analysis.
Using Ventura FIO I/O modules as EtherCAT slaves, the Mini IPC Ventura
Skaleo 100 IPC provides easy expansion to match customer-specific re-
quirements.
Programming is achieved via CoDeSys, the comfortable standard IEC
61131-3 programming and commissioning tool with the programming lan-
guages AWL, KOP, FUP, ST, SFC and CFC.
The multitasking system of the Ventura Skaleo 100 IPC allows time or
event controlled processing of program segments.
E 783 GB 5
01.03.13/10144408
Introduction
The I/O system Ventura FIO is described in the operating manual E 747.
1.5 Models
The Mini IPC Ventura Skaleo is available in two models with different serial
interfaces.
Ventura Skaleo 100 RS232
with RS232 interface
Ventura Skaleo 100 RS485
with RS485 interface
Terminology
The following terms are used in this operating manual:
Skaleo
Abbreviation of the Ventura Skaleo 100 IPC
Ventura Skaleo 100
Information referring to all models of the IPC
Ventura Skaleo 100 RS232
Information referring to the model with RS232 interface
Ventura Skaleo 100 RS485
Information referring to the model with RS485 interface
6 E 783 GB
01.03.13/10144408
Reliability and safety
This operating manual contains all information required to use the product
described therein for the purpose it is intended for (control unit, operating
terminal, software etc.). It is directed to skilled personnel in fields such as
product design, project development, service and implementation. Compre-
hensive knowledge in the field of automation technology is required to fully
comprehend and apply the technical descriptions contained in this manual,
as well as to understand the respective warnings and dangers associated
with the use of the product.
2.3 Reliability
2.4 Notes
2.4.1 Danger
This symbol refers to dangers which might lead to personal injuries or death,
if the preventive measures described are not observed.
2.4.2 Attention
This symbol points out to information that needs to be observed by all
means, in order to prevent malfunctions, the destruction of materials or even
dangerous situations.
2.4.3 Note
This symbol refers to additional information referring to the application of the
product described. This might also be a reference to information contained in
external sources (such as other operating manuals).
2.5 Safety
Our products are usually integrated into larger systems or become part of a
machine. The following instructions are helpful to integrate the product into
an infrastructure without any danger for humans or the machine/system.
In order to gain the highest level of safety when developing and installing
and electronic control device, it is vital to carefully follow the instructions pro-
vided in this operating manual. Incorrect handling may prevent features de-
signed to exclude fatal errors from functioning correctly or may lead to addi-
tional safety hazards.
8 E 783 GB
01.03.13/10144408
Reliability and safety
• During measuring and testing while the control unit is activated, all
related accident prevention regulations according to VGB 4.0 need to be
observed. This refers especially to § 5 (accepted deviations when
working with system components).
• Repairs must be performed by Kuhnke specialists exclusively (which
normally takes place at the Malente headquarters). Any other repairs will
void the guarantee.
• Spare parts: Only use spare parts authorized by Kuhnke. Only original
Kuhnke modules may be inserted into modular control units.
• With modular systems: Insert or remove modules only while the power is
switched off. Not observing this rule might destroy a module or result in
limited functionality (which might not be obvious immediately)
• Dispose of batteries and rechargeable batteries according to local
regulations.
E 783 GB 9
01.03.13/10144408
Reliability and safety
2.6.1 Definition
If the control unit will be operated within residential areas, its electromagnet
emissions must conform to threshold class B according to EN 55011 or EN
61000-6-3.
This can be achieved for example be integrating the control unit into
grounded metal cabinets or by integrating filters into all input and output
lines.
For the safe installation of our control system, the following instructions need
to be observed (→ 2.6.4)
10 E 783 GB
01.03.13/10144408
Reliability and safety
2.6.5 Wiring
Parallel wiring: Power supply lines and data signal lines can be run together,
if the following precautions are observed:
Select a place of location which does not lead to any interferences by envi-
ronmental influences, such as temperature, contaminations, shocks, vibra-
tions or electromagnetic interferences.
2.6.6.1 Temperature
Take the presence of heat sources into consideration, such as radiators,
sunlight, as well as the accumulation of heat inside rooms and control cabi-
nets.
2.6.6.2 Contamination
Use suitable cabinets to avoid possible negative influences caused by hu-
midity, corrosive gases, fluids and conductive dust.
E 783 GB 11
01.03.13/10144408
Reliability and safety
12 E 783 GB
01.03.13/10144408
Ventura Skaleo 100
The Ventura Skaleo 100 IPC serves as a controller module. It provides the
supply voltage for all connected Ventura FIO I/O modules and drives the in-
ternal bus (E bus). Just as an EtherCAT master it sends EtherCAT tele-
grams to write output data and read input data. Doing so, the EtherCAT pro-
tocol is maintained all the way until the last I/Omodule. The extender module
can be used to connect additional EtherCAT slaves to the Skaleo IPC.
The system consists of various individual components which can be com-
bined according to individual requirements.
Additional I/O modules of the Ventura FIO range are available to expand the
Ventura Skaleo 100 Mini IPC.
Skaleo
E 783 GB 13
01.03.13/10144408
Ventura Skaleo 100
completely enclose the module. The light guides of the status LEDs are lo-
cated next to the the module lock and are slightly elevated. This allows
monitoring the status of the device at one glance.
Expansion:
The Ventura Skaleo 100 IPC allows the connection of up to 15 I/O modules
of the Ventura FIO product range. Each expansion module has a length of
112 mm.
3.2.1 Mounting
14 E 783 GB
01.03.13/10144408
Ventura Skaleo 100
2 3
E 783 GB 15
01.03.13/10144408
Ventura Skaleo 100
Please note while connecting the device: Always connect the 0 V lead first
and disconnect it last. Otherwise it is possible that compensating currants
flow via the interface, if a device is connected to the RS232 interface. This
will trigger the electronic fuse and the device will only be ready for opera-
tion after a delay of appx. 1 minute (cooling phase).
Pin Function
DI Interrupt input
L+ Supply voltage +24 VDC
L- GND
16 E 783 GB
01.03.13/10144408
Ventura Skaleo 100
3.3.3 Grounding
The Skaleo 100 IPC needs to be grounded. For this purpose, the metal case
needs to be connected to a ground connection.
The ground connection serves to dissipate HF currants and is of vital impor-
tance for the resistance of the module against interferences.
HF interferences are transferred from the electronic board to the metal case
of the device. This is why the case needs to be attached to a ground con-
nection.
In general it is important to make sure that
the case of the module has a well conductive connection to the DIN rail
the DIN rail has a well conductive connection to the switching cabinet
the switching cabinet is grounded sufficiently
In special situations, the grounding can also be connected directly to the
module.
Connect with
M3x5 bolts
E 783 GB 17
01.03.13/10144408
Ventura Skaleo 100
3.4 Interfaces
The Ventura Skaleo IPC offers an interrupt capable digital input. For connec-
tions to this input, use the connector included in the package. The status
LED D1 informs about the status of this input.
Address %IB0
Voltage 24 V DC -20%+25%
Interrupt delay >1 ms
Signal detection on rising flange only
Connection 1-pin
Pin Function
DI Interrupt input
L+ Supply voltage +24 VDC
L- GND
18 E 783 GB
01.03.13/10144408
Ventura Skaleo 100
A RJ-45 plug is needed to use the LAN interface of the Ventura IPC. The
LAN interface can be used as a CoDeSys programming interface or for the
data exchange with dialog terminals, bar code readers and other devices.
For this purpose, the library SysLibSockets.lib needs to be used. The
status LEDs LAN (link) and LAN (active) indicate a successful network con-
nection.
If the Skaleo IPC does not communicate via a switch or a local network, but
is connected directly to a programming PC, a cross-over cable needs to be
used to connect the PC.
E 783 GB 19
01.03.13/10144408
Ventura Skaleo 100
3.4.3.1 RS232
For connecting devices to the Skaleo IPC via the RS232 terminal, a 9pin D-
Sub connector (male) is used. It matches the terminal of the device (female).
The RS232 interface can be used for data communication with dialog termi-
nals, bar code readers and other devices.
3.4.3.2 RS485
For connecting devices to the Skaleo IPC via the RS485 terminal, a 9pin D-
Sub connector (male) is used. It matches the terminal of the device (female).
The RS485 interface can be used for data communication with dialog termi-
nals, bar code readers and other devices.
20 E 783 GB
01.03.13/10144408
Ventura Skaleo 100
The SD-card contains a DOS file system. During operation of the IPC, the
SD-card may only be removed while no program accesses the card and wile
no file is opened.
For Skaleos of the revision 2 or younger inserting the SD-Card during opera-
tion can lead to communication errors depending on the type of card which is
used.
The following SD-Cards have been tested without communication errors:
Producer: Type:
Swissbit 1GB SFSD1024L4BN2SA-I-D1-131-STD
Swissbit 2GB SFSD2048L3BN2SA-I-D1-121-STD
While booting the system, the SD-card is initialized via the autoexec.bat file
and is available as drive B: From the CoDeSys application as well, the card
can be accessed via the drive letter B:
Sample project:
After having called this program the root-directory of the drive B: (SD-card)
contains a data file with the name Myname.txt and the stated content.
E 783 GB 21
01.03.13/10144408
Ventura Skaleo 100
The stop/reset key is located at the front of the module below the status indi-
cators.
In order to prevent unintentional activation, the stop/reset key can only be
activated with a pointed devices (such as ball point pen, screw driver).
Pressing it once for less than 5 seconds causes the Skaleo IPC to go into
stop mode. Pressing it again with a duration of less than 5 seconds re-
activates the start mode of the Skaleo IPC.
Pressing the key for more than 5 seconds activates a reset of the Skaleo
IPC. After doing so, an SD-card can be inserted or a new project can be
loaded into the control unit.
While the unit is in reset mode, no communication with the Ventura Skaleo
100 is possible. All CoDeSys connections are terminated, resulting in a
“communication terminated” error message.
A hardware reset means total deactivation of the SPS processor. This ef-
fects the SPS program as well as all interfaces. After the reset is completed,
the unit will restart again. All variables with the exception of the RETAIN
variables will be reset into their initialization state (default value “0”).
22 E 783 GB
01.03.13/10144408
Ventura Skaleo 100
3.5.2.5 DI LED
The DI LED indicates the condition of the digital interrupt input.
3.5.2.6 24 V LED
The 24 V LED indicates the condition of the power supply.
E 783 GB 23
01.03.13/10144408
Ventura Skaleo 100
The Ventura Skaleo 100 IPC is equipped with the following memory chips:
Initially, the memory range for data is smaller than 64 kByte. Using the func-
tion SkaleoGetMemoryPtr(), additional memory ranges can be allocated. A
total of 192 kBytes is available. However, it is not possible to allocate indi-
vidual data ranges of more than 64 kByte. Access to all allocated data
ranges is achieved by means of pointers.
Presently, the memory range for retain variables has a size of 1024 bytes.
During power down, this range is saved to the internal flash memory and will
be restored from there during the next boot procedure. This range is secured
by means of a check sum.
24 E 783 GB
01.03.13/10144408
Ventura Skaleo 100
The system features a web server which presently consists of the following
pages:
Start page
“Skaleo settings”
The start page can be accessed via: http://[IP address of the Skaleo
100]/kuhnke.htm
The illustration above shows the start page with the IP address 172.25.1.195
of the Skaleo 100 IPC. See chapter 4.3 to determine the IP address.
The settings page can be accessed by clicking onto the button “Settings”.
This page allows the configuration of settings, such as IP address, subnet
mask, date and time.
E 783 GB 25
01.03.13/10144408
Ventura Skaleo 100
In order to use the the web visualization of the Skaleo IPC, the setting “web
visualization” needs to be selected in the settings of the target system.
CoDeSys generates the required files for the target system and automati-
cally loads them to the system as soon as an online connection is estab-
lished.
26 E 783 GB
01.03.13/10144408
Ventura Skaleo 100
It is necessary to activate the Java applets of the browser. This will auto-
matically start the respective Java engine for using the visualizations.
The name of a visualization as well as the name of any bitmaps must not
exceed a length of 8 characters!
Web server and Web Visu can be used at the same time.
E 783 GB 27
01.03.13/10144408
Ventura Skaleo 100
3.9 Watchdog
With the Skaleo 100 IPC, activating the watchdog requires slightly more ef-
forts than with other CoDeSys-based systems.
For a watchdog to become active at all, the task configuration needs to be
set accordingly:
This will result in monitoring the respective task. Whenever the selected time
is exceeded, the task will be suspended automatically. However, this operat-
ing condition is not indicated by the Skaleo 100 IPC in any way.
For this reason, the following code needs to be integrated into the applica-
tion program to cause the error LED to flash.
This initialization may only take place once at the start of the application.
28 E 783 GB
01.03.13/10144408
Installation
4. Installation
You can download the latest installation version of the CoDeSys program-
ming system from www.3s-software.com.
In order to create a CoDeSys project for the Ventura Skaleo 100 IPC, the
Target Support Package (TSP) “Target_Skaleo100_VXX_XX” needs to be
installed before starting the programming system.
You can download the latest TSP free of charge from www.kuhnke.com.
The target needs to be installed by means of the batch file install.bat (which
needs to be extracted from the ZIP file prior to starting it). It must not be in-
stalled by means of the program InstallTarget.exe from 3S.
Presently, the batch file will not be installed into the standard directory
C:\programs\common files\CAA-Targets,
but into the directory
C:\programs\3S Software\CoDeSys V2.3\Targets\Kuhnke
Before installing a new version of the target, the old target needs to be dein-
stalled with the program InstallTarget.exe from 3S. After that, the directory
A TSP contains all configuration and extension files (target system, target)
required to operate a specific control system by means of an application.
The configuration data include: code generator, memory layout, functional
scope of the control system and I/O modules
In addition, libraries, as well as error and ini files for the PLC browser will be
integrated. After successful installation the Skaleo IPC can be accessed via
the programming system.
E 783 GB 29
01.03.13/10144408
Installation
It will show you the IP address and the subnet mask of the Skaleo IPC.
30 E 783 GB
01.03.13/10144408
Installation
• From the start menu, select Start – Settings – Network Connections: LAN
Connection – Properties
• Select the tab “General” and select “Internet protocol (TCP/IP)” from the
list. Select “Properties”.
• Select the tab “General”. Under “Use the following IP address”, enter an
IP address which must be identical to the one you noted according to the
instructions in Chapter 4.3, except for the last three digits. Type the
subnet mask noted according to chapter 4.3.
Example: 172.25.1.100 (instead of 137), subnet mask 255.255.0.0
If you connect the programming PC directly to the Skaleo IPC, “File and
Printer Sharing” needs to be activated. Any active firewall needs to be deac-
tivated at least for this connection.
The “name” field will automatically show the name of the channel which was
entered last. You may edit the name of the channel. The channel number is
for information purposes only. Unambiguity is not mandatory, but recom-
mended.
The table in the “devices” field lists all device drivers available on the gate-
way computer. Your options depends on the drivers installed on your com-
puter.
E 783 GB 31
01.03.13/10144408
Installation
32 E 783 GB
01.03.13/10144408
Installation
This function is offered by all Skaleo IPCs from version 1.60 onward:
This function is offered by all Skaleo IPCs from version 1.60 onward:
The boot project will only be transferred to the Skaleo IPC if ether no boot
project is available on the Skaleo IPC or if the project on the SD-card has a
later date than the one on the Skaleo IPC.
E 783 GB 33
01.03.13/10144408
Installation
This function is offered by all Skaleo IPCs from version 2.12.3 onward:
The boot project will only be transferred to the Skaleo IPC if no version file is
available on drive A:\ of the Skaleo or if the version file on the SD-card is not
identical with the one on the IPC. When comparing the files ct the beginning
the first 31 characters of the name, then the size of the file and finally the
date of the file are taken into consideration. The version file is the last file
which is copied. Accordingly an incorrect copying process will be detected at
the next boot-up.
Presently, the FIO thermo modules are not released for use with the Ventura
Skaleo IPC.
34 E 783 GB
01.03.13/10144408
Installation
The firmware of the Ventura Skaleo IPC needs to be version 1.62 or higher.
To determine the firmware version of the Skaleo IPC, use the command
“ver” in the PLC browser of CoDeSys. The last line contains a reference to
the version number.
Example: OEM Impl.Version: Skaleo100 V01.62 Build 1 001 2701
• Determine the directory you want to use for the installation of EasiCat
E 783 GB 35
01.03.13/10144408
Installation
Next, setup will ask for the program group to install the link for starting the
program.
36 E 783 GB
01.03.13/10144408
Installation
E 783 GB 37
01.03.13/10144408
Installation
• Copy the file Skaleo.XML and the device description files (XML files) for
all devices to be included into the directory you selected.
• Save the CoDeSys project. The project needs to be saved once before
the configurator can be activated! Please also note the descriptions in
chapter 4.6.6 “Renaming a CoDeSys project”.
• Go9 to the control configuration and click onto “Ventu-
raSkaleo100[SLOT] while you keep the right mouse button pressed, in
order to select “Attach EtherCAT UDP Master”.
38 E 783 GB
01.03.13/10144408
Installation
• Click onto “EtherCAT UDP Master[VAR]” and then click in the right hand
window onto “Configurator”.
• Right click on the symbol of the target system and select “add module”.
E 783 GB 39
01.03.13/10144408
Installation
• Click onto the entry “Skaleo” at the upper left side and select the I/O
modules connected to the Skaleo IPC. Please observe the correct or-
der. In case several identical modules are connected next to each other,
you can select the number in the field at the bottom of the window.
40 E 783 GB
01.03.13/10144408
Installation
• After concluding the module selection, click onto “Close” to return to the
main window.
• Click onto the “Modules” tab in order to get an overview of all selected
participants.
• Make sure that all positions are marked as shown in the figure above.
• Select the “File” menu and click onto “Exit” to save the configuration.
E 783 GB 41
01.03.13/10144408
Installation
EasiCat will now save the data under the project name in the directory con-
taining the CoDeSys project you created.
After the process is concluded, the configurator will close and CoDeSys will
appear in the foreground again.
42 E 783 GB
01.03.13/10144408
Installation
This will include the configuration of the EtherCAT participant into the pro-
ject. The configuration data will be stored in the subdirectory “Global vari-
able” of a new directory KUECAT .
The new variables – meaning the input and output data of the configured
Ethernet slaves – are not stored in the directory containing the control con-
figuration, but are stored unter global variables.
E 783 GB 43
01.03.13/10144408
Installation
If you want to change the control configuration after the configuration file
was already imported into CoDeSys, the following procedure needs to be
observed:
• First delete the directories KUECAT from the list of global variables,
from the visualizations and from the components!
This step can be omitted, if the configuration file was not imported yet. In this
case, proceed as described in the following steps:
44 E 783 GB
01.03.13/10144408
Installation
If you want to change the project name after the configuration file was al-
ready imported into CoDeSys, the following procedure needs to be ob-
served:
This step can be omitted, if the configuration file was not imported yet. In this
case, proceed as described in the following steps:
If no configuration file was created with the configurator, the name of CoDe-
Sys project can be changed without limitations. However, generating a valid
project always requires importing a configuration file with the same name as
the respective CoDeSys project.
E 783 GB 45
01.03.13/10144408
Installation
Thus the number of deactivated slaves is set to 0 (see also chapter 5.4), the
EtherCAT program is called up and the program code will be started, as
soon as the EtherCAT bus runs without errors. There is no need to activate
the module InitKuhnkeECat.
• Name this task – for example “EC” – and enter the time interval for
cyclic sending of telegrams. The time cycle should be > 10 ms (by
entering t#10ms).
46 E 783 GB
01.03.13/10144408
Installation
• Right click in the center window onto the clock symbol next to the task
“EC” and select “Attach program execution”.
In the browser view, some odd characters will appear. This is a result of the
high number of parameters of the module and is not of importance. You can
avoid the display of these odd characters by directly entering the program
name “ECat” into the field “Program execution” without stating any additional
parameters.
E 783 GB 47
01.03.13/10144408
Installation
With the target installation (see page 29) CoDeSys also will receive a num-
ber of function libraries for the target system Ventura Skaleo 100.
Skaleo100.lib contains functions to access resources on the Skaleo 100
IPC.
SkaleoRS485.lib contains functions for using the RS485 interface.
KuhnkeECatLibSkaleo.lib contains functions to use the EtherCAT master
functions with the Skaleo IPC. This library allows the access of EtherCAT
devices and the exchange of process data with such devices.
Kubes PrtLib.lib contains functions to use the Kubes protocol on CoDeSys-
SPS controls.
4.7.1 Skaleo100.lib
Skaleo100.lib contains the following functions:
Name Purpose
48 E 783 GB
01.03.13/10144408
Installation
SkaleoGetSDCardInfo Reads the internal registers CSD and CID of the SD-card
SkaleoIsPingDone Checks whether ping was successful
4.7.2 SkaleoRS485.lib
The function library SkaleoRS485 is available at the target, but will not be
loaded automatically with the start of a new project.
E 783 GB 49
01.03.13/10144408
Installation
4.7.3 KuhnkeECatLibSkaleo.lib
4.7.4 KubesPrtLib.lib
Name Purpose
50 E 783 GB
01.03.13/10144408
Special functions
The Skaleo IPC is able to synchronize the realtime clock with an NTP time
server at defined intervals. This function is implemented as follows.
E 783 GB 51
01.03.13/10144408
Special functions
This function is available with Skaleo IPCs with firmware version 1.60 and
later.
The system files will only be transferred to the Skaleo IPC if no system file is
available on drive A:\ of the Skaleo or if the system file on the SD-card is a
newer version than that on the IPC.
This function is available with Skaleo IPCs with firmware version 1.60 and
later.
52 E 783 GB
01.03.13/10144408
Special functions
The system files will only be transferred to the Skaleo IPC if no version file is
available on drive A:\ of the Skaleo or if the version file on the SD-card is not
identical with the one on the IPC. When comparing the files only the first 31
characters of the Name are taken into consideration. The version file is the
last file which is copied. Accordingly an incorrect copying process will be
detected at the next boot-up.
This function is available with Skaleo IPCs with firmware version 2.12.3 and
later.
From version 1.63, the Skaleo IC is delivered with a hardware stamp. This
provides increased know-how protection and offers the following function:
The hardware stemp prevents that the runtime system on the chip of a
Skaleo IPC can be copied to another chip.
E 783 GB 53
01.03.13/10144408
Special functions
From version 1.62 onward, the Skaleo IPC is able to de-activate a defined
number of salves of a control configuration.
5.5 Customer specific error HTML pages for the web server
54 E 783 GB
01.03.13/10144408
Special functions
Sample program:
E 783 GB 55
01.03.13/10144408
Special functions
From version 1.64 onward, the library Skaleo100.lib defines two global vari-
ables which can be used by the application program:
From version 1.64 onward, the internal registers CSD and CID of the SC-
card can be read with the function “SkaleoGetSDCardInfo”.
To gather this information, the operating system needs some time. After in-
serting the card it can take up to 500 ms until the correct information is dis-
played in the field.
http://www.sdcard.org/developers/tech/sdcard/pls/Simplified_Physical_Layer
_Spec.pdf
When writing data on driva A the following limitations have to taken into con-
sideration:
Writing data on drive A is only save, if it can be ensured that all files are clo-
sed accordingly before the Skaleo will be shut down!
If it can not be ensured that all files will be closed accordingly, the files have
to be stored on drive B (SD-card)!
56 E 783 GB
01.03.13/10144408
Error treatment
In case the SPS program (with boot project) should repeatedly crash shortly
after program start and initiate a restart of the system, it is not possible to
use the RESET key to stabilize the system again.
Alternatively, it is also possible to copy a fault-free boot project via the SD-
card. Further details are described in chapter 4.5.2.
E 783 GB 57
01.03.13/10144408
Appendix
7 Appendix
IO/Power
Name Order no.. Ident no.
plug
Ventura Skaleo 100 RS232 694.300.00 157.090 3-pin
58 E 783 GB
01.03.13/10144408
Appendix
E 783 GB 59
01.03.13/10144408
Sales & Service
Please visit our website to find further information on our sales and service
network and the respective addresses. Feel free to also contact us at our
headquarter in Malente/Germany:
60 E 783 GB
01.03.13/10144408
Index
9 Index
E 783 GB 61
01.03.13/10144408
Sales & Service
62 E 783 GB
01.03.13/10144408