|
- module CTdsSpineEnum
- use COperationScenariosVariables
- implicit none
- contains
-
- subroutine Evaluate_TdsSpine()
- implicit none
-
- if (DriveType == TopDrive_DriveType) then
- #ifdef OST
- print*, 'Evaluate_TdsSpine=TopDrive'
- #endif
-
- !TOPDRIVE-CODE=83
- if (Get_TdsStemIn() .and.&
- Get_TdsConnectionModes() == TDS_CONNECTION_NOTHING .and.&
- !Get_TdsConnectionPossible() .and.&
- TopDriveTdsPowerState == TdsPower_FWD .and.&
- TopDriveDrillTorqueState == TdsMu_SPINE) then
-
- call Set_TdsSpine(TDS_SPINE_CONNECT_BEGIN)
- return
- end if
-
- !TOPDRIVE-CODE=84
- if (Get_TdsStemIn() .and.&
- Get_TdsTong() == TDS_TONG_BREAKOUT_END .and.&
- Get_TdsConnectionModes() == TDS_CONNECTION_SPINE .and.&
- TopDriveTdsPowerState == TdsPower_REV .and.&
- TopDriveDrillTorqueState == TdsMu_SPINE) then
-
- call Set_TdsSpine(TDS_SPINE_DISCONNECT_BEGIN)
- return
- end if
-
-
-
- endif
-
-
-
-
-
-
-
-
-
- if (DriveType == Kelly_DriveType) then
- #ifdef OST
- print*, 'Evaluate_TdsSpine=Kelly'
- #endif
- endif
-
- end subroutine
-
- subroutine Subscribe_TdsSpine()
- use CDrillingConsoleVariables
- implicit none
- end subroutine
-
- end module CTdsSpineEnum
|