SoftMotion: DriveInterface: Bosch Rexroth SercansII PCI
4 Referenced Libraries
The BRCSercansII.lib needs the following libraries:
-Standard.lib
-SysLibMem.lib
-SysLibPCICards.lib
-SysLibShm.lib
-SysLibTime.lib
-SysLibCallback.lib
tech_doc_e.doc / V1.1
© 3S - Smart Software Solutions GmbH |
Page 6 of 9 |
SercansII_E.doc |
|
SoftMotion: DriveInterface: Bosch Rexroth SercansII PCI
5 Configuration
By changing the following variables of the structure g_sercansII.config during the first IEC cycle some configuration settings of the card can be influenced:
wY9LifecounterDiff |
Y9: max. lifecounter difference |
|
|
dwY13TimeCNC |
Y13: access time for CNC |
|
|
wY23Language |
Y23: language |
|
|
tech_doc_e.doc / V1.1
© 3S - Smart Software Solutions GmbH |
Page 7 of 9 |
SercansII_E.doc |
|
SoftMotion: DriveInterface: Bosch Rexroth SercansII PCI
6 Detect and Solve Problems
A: The system seems to be unable to communicate with the drives:
A1: The following variables might give you a hint what causes the problem:
-check Global_Variables_SercansII -> g_SercansII.strDiagnosis
-check Global_Variables_SercansII -> g_SercansII.sb.scr.psY31SysErrorSercans
-check Drive_Basic global variable g_strBootupError
A2: If there is no error information:
-check if interrupts occur. Therefore force Global_Variables_SercansII -> g_sercansII_bDebug to TRUE and watch Global_Variables_SercansII -> g_sercansII_udiSercansInterrupts. This number should be increased with every Sercos cycle.
A3: only CoDeSys SP RTE:
-check whether you have installed the driver RTIOdrvBRCSerc under RT Service->System- >IOdrivers
A4: If interrupts occur:
-check whether your task is triggered by the “external event” <name of AxisGroup>.bSync or g_bSercosInterrupt. If no interrupts occur, then there is a problem with the IRQs on your system
B:The drives start up, but seem to be non-synchronized:
B1: task configuration
-check whether your task is triggered by the “external event” <name of AxisGroup>.bSync or g_bSercosInterrupt. If no interrupts occur, then there is a problem with the IRQs on your system
B2: only CoDeSys SP RTE:
-check whether you have installed the driver RTIOdrvBRCSerc under RT Service->System- >IOdrivers
B3: interrupt timing
-force Global_Variables_SercansII -> bDebug to TRUE and watch Global_Variables_SercansII -> g_SercansII_Times.uiMinDiff and g_SercansII_Times.uiMaxDiff. They should be about the cycle time of the AxisGroup.
tech_doc_e.doc / V1.1
© 3S - Smart Software Solutions GmbH |
Page 8 of 9 |
SercansII_E.doc |
|
SoftMotion: DriveInterface: Bosch Rexroth SercansII PCI
Change History
Version |
Description |
Editor |
Date |
|
|
|
|
--- |
Issued |
HP |
09.11.2005 |
|
|
|
|
1.00 |
Adapted to V1.9.1.0 of SercansII.lib |
HP |
13.01.2006 |
|
|
|
|
1.01 |
V1.9.1.1 |
HP |
09.03.2006 |
|
|
|
|
1.02 |
V1.9.1.3 |
HP |
28.07.2006 |
|
|
|
|
tech_doc_e.doc / V1.1
© 3S - Smart Software Solutions GmbH |
Page 9 of 9 |
SercansII_E.doc |
|