Simulation Core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

46 lines
1.3 KiB

  1. # 1 "/mnt/c/Projects/VSIM/SimulationCore2/CSharp/Equipments/ControlPanels/CTopDrivePanelVariables.f90"
  2. module CTopDrivePanelVariables
  3. implicit none
  4. public
  5. ! const
  6. integer :: TdsPower_REV = 1
  7. integer :: TdsPower_OFF = 0
  8. integer :: TdsPower_FWD = -1
  9. integer :: TdsMu_TORQ = 1
  10. integer :: TdsMu_SPINE = 0
  11. integer :: TdsMu_DRILL = -1
  12. integer :: TdsLinkTilt_TILT = 1
  13. integer :: TdsLinkTilt_OFF = 0
  14. integer :: TdsLinkTilt_DRILL = -1
  15. integer :: LED_OFF = 0
  16. integer :: LED_ON = 1
  17. integer :: LED_BLINK = 2
  18. ! Input vars
  19. Type::TopDrivePanelType
  20. ! Input vars @mahmood
  21. integer :: TopDriveTdsPowerState
  22. logical :: TopDriveTorqueWrench
  23. integer :: TopDriveDrillTorqueState
  24. integer :: TopDriveLinkTiltState
  25. logical :: TopDriveIbop
  26. real :: TopDriveTorqueLimitKnob
  27. real :: RpmKnob
  28. ! Output vars
  29. integer :: TopDriveOperationFaultLed
  30. integer :: TopDriveTdsPowerLed
  31. integer :: TopDriveTorqueWrenchLed
  32. integer :: TopDriveLinkTiltLed
  33. integer :: TopDriveIbopLed
  34. real :: TopDriveTorqueLimitGauge
  35. real :: TopDriveTorqueGauge
  36. real :: TopDriveRpmGauge
  37. end type TopDrivePanelType
  38. contains
  39. end module CTopDrivePanelVariables