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.

CTopDrivePanelVariables.f90 1.2 KiB

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