53
RTK Taskmanager
The task manager displays cycle times and execution times.
Cycle time (in microseconds)
Minimal, maximal and current value.
Cycle refers to the cycles of the Timerticks based on the basic time.
Execution time (in microseconds)
Minimal, maximal and current value.
RTK hardware configuration
A seperate reserved storage area is needed for the communictation with the I/O drivers (e.g. Profibus)
which are executed in the kernel mode. straton RTK and the I/O driver system agree on an area on
which both have read and write access.
54
The configuration offers three settings:
Generally prohibit access to the
physical memory.
Free access memory areas are a saftey risk with regards to malware. Thus access
to the physical memory is prohibited in the shipping state. Basic setting.
Generally allow access to the
physical memory.
Allows the communication to use the whole memory, straton RTK und Profibus
set their communication areas randomly. Unsafe setting which is not
recommended.
Allow access to a defined
physical memory area.
. straton RTK and I/O driver have a strictley allocated memory area.
55
Define memory area
In order to allocate a fixed memory area for straton and I/O driver, click on Access to the
physical memory in the left window and then on Allow access to defined physical memory area
in the right selection window.
Range
The number is assigned by the configurator automatically.
Basic address
Start address for the free memory. It can for example be determined with the help of the
Hilscher Tool (included in the delivery of the card).
Length
Length of the free area.
must be stated in Bytes.
Add
Creates a new entry in the list.
Remove
Deletes an existing entry from the list.
56
RTK Logs
Messages from the RTK are displayed in the area Log messages.
Date/Time
When did the event happen
Type
What type of message (status, error, ...)
Description
What has happened?
Close RTK configuration
By clicking button OK all changes are saved and the configurator is closed. If the system needs to reboot,
a corresponding message is displayed.
If you close the configurator by clicking the close symbol (X) or by clicking Cancel, a dialog appears
asking whether you want to save the changes.
5.7.3
Blue Screen Handling
A probable Bluescreen of Death (BSOD) is recognized by the straton RTK immediately.
57
If the straton RTK is configured for stopping in case of a BSOD, the shut down program - if defined - is
executed immediately, i.e. before the theoretically next cycle.
If the straton RTK is configured to continue running, the next cycle is executed after a short delay of ca.
10 ms (switching the graphics mode).
In order to achieve this, the straton function RTK_OnBugCheck of the straton standard library must be
set to TRUE in the straton application.
Attention
In case of a BSOD the execution of the straton application can be limited.
Following functions are no longer supported when this occurs:
File operations, TCP functions, functions of the serial interface, no real time field bus driver,
system clock functions, RETAIN variables, writing log messages (changes reserved by
product version cycles).
In order to check in the straton application if a BSOD has occurred, use the straton function
RTK_IsBugCheck.
Windows
®
XP SP2 or higher (e.g. Vista)
Pentium 3, 4 or M (Centrino) or higher
No restart after stop (keeping outputs): If this option is active, the outputs of the Profibus I/Os
remain set after the shut down. Otherwise the outputs would be set to the defined alternate values after
the shut down sequence.
5.7.4
Error codes when starting stratonRTK
The displayed error code refers to starting the STRATONRTKVM.exe.
58
0x00000000
If an error occured in the straton RTK, usually the error is explained in a message: The log
message with the error code 0x00000000 can be ignored.
0xFFFFFFFF
A timeout occured on starting the STRATONRTKVM.exe. Possible reasons:
STRATONRTKVM.exe
does not exist, too high load of the system.
After such an error make sure that the STRATONRTKVM.exe as well as the
STRATONRTK.exe
no longer run (task manager) before you restart STRATONRTK.
0x00000001 –
0x0000FFFF
Is an error code of the straton virtual machine (COPALP error message).
0xFFFF01, 0xFFFF02
Error loading the non-realtime bus drivers: probable reason: incompatible (old) version of
one or more bus driver(s).
0xFFFFF000
rtHAL error code (0xFFFFF000 is added to the rtHAL code)
0xFFFFF001
Make sure, that the rtHAL driver has been installed correctly. If the problem still exists,
contact your zenon support and tell them the Windows version (service pack, hot fix, ...)
and the used Windows HAL. The name of the used HAL is shown in the device manager
under computer.
ACPI, Pentium II or AMD Athlon or higher.
0x0
No error
0x1
Error while loading the driver.
Reason: Driver is not registered correctly.
0x2
START could not be executed.
Reason: Wrong version of the driver is installed.
0x6
SUSPEND could not be executed.
Dostları ilə paylaş: |