
- •Overview
- •What does "real time extension" mean?
- •The System in Detail
- •Operation via the Service Icon
- •The System Menu
- •Diagnostic
- •Startup
- •Config
- •Access
- •IO Drivers
- •License ...
- •The 3S Standard IO Drivers
- •IO driver RTIOdrvHilscherDPM
- •The SysLibDpV1.lib
- •IO driver RTIOdrvFC310x.sys
- •The library SysLibFCDPV1.sys
- •The library FC_SlaveHandling.lib
- •The FC310x card in slave mode
- •IO driver RTIOdrvCP5613.sys
- •IO driver RTIOdrvDAMP
- •IO driver RTIOdrvApplicom
- •IO driver RTIOdrvIBS (IBS = Interbus, ibpcimpm.sys)
- •IO Drivers RTIOdrvSJA and RTIOwdmPCAN
- •IO Drivers RTIOdrvAutomata and RTIOwdmAutomata
- •IO drivers RTIOdrvHMS and RTIOwdmHMS
- •IO driver RTIOdrvAPIC
- •IO Driver RTIOwdmCANAutomata
- •IO Driver RTIOwdmSofting
- •Communication
- •Shared Memory Driver
- •TCP/IP Level2 Route Driver
- •System Diagnosis
- •Bus diagnosis of the IO drivers
- •The Task Configuration together with CoDeSys V2.3
- •General
- •Task specific watchdog
- •Microseconds as time base
- •Freewheeling task
- •System events
- •System libraries
- •DllCall.lib together with SysLibSystemCall.lib
- •SysLibCallback.lib
- •SysLibCom.lib
- •SysLibFile.lib
- •SysLibPorts
- •SysLibTime
- •SysLibSockets
- •SysLibShm.lib
- •SysLibPciCards.lib
- •Behaviour in case of runtimeerrors
- •APPENDIX
- •The Registry Entries used by the Runtime System

Realtime Runtime System for Windows NT/2000/XP
8 Behaviour in case of runtimeerrors
There are some different reasons, which lead to a cycle-stop of the user application. These errors are:
Number |
Name |
Reason |
|
|
|
16 |
Watchdog |
The application needed more than the defined cycle time to |
|
|
complete the current cycle. The cycle time, which is controlled, is |
|
|
computed by the watchdog-factor (see “Config” in the chapter “ |
|
|
Operation via the Service icon”) If the CoDeSys-version 2.3 is |
|
|
used, it may support the definition of the watchdog factor within |
|
|
the task configuration. Then the factor there is used. |
|
|
|
20 |
Fieldbus error |
An IO-driver could not initialize himself. Can only happen when |
|
|
starting the PLC. |
|
Error in configuration |
One of the used fieldbus cards did not accept the data coming |
|
data |
from the PLC-configuration. |
|
|
|
21 |
Error update IOs |
Can only happen after loading the program. Happens, if an IO- |
|
|
address, which no IO-driver can handle, is used. |
|
|
|
81 |
Access violation |
The application tried to access a memory address, which is |
|
|
invalid. Maybe a pointer is used and not correctly initialized? |
|
|
|
258 |
Division by zero |
The application tried to compute a division by zero. |
|
|
|
336-343 |
FPU-Error |
An invalid or impossible floatingpoint-operation was executed.. |
|
|
|
All these errors lead to the same behaviour of the PLC:
-The outputs are, if configured, set to 1 or 0.
-The PLC-cycle is stopped. (Remember, only the task that caused the error is left immediately. The other tasks, that may be active, will complete their current cycle and not begin a new one.)
-The IO-update of all tasks will continue. (Only the PIO may have been set to 1 or 0.)
The error that occurred is shown within “Diagnostic”-tab of the service menu.
The PLC will store the error with (if possible) the callstack. After logging in with CoDeSys, the line within the application can be found. (Online -> callstack)
tech_doc_e.doc / V1.1
3S - Smart Software Solutions GmbH |
Page 31 of 35 |
CoDeSys SP RTE_E.doc |
|