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.1 KiB

1 year ago
12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. integer :: TopDriveTdsPowerState
  19. logical :: TopDriveTorqueWrench
  20. integer :: TopDriveDrillTorqueState
  21. integer :: TopDriveLinkTiltState
  22. logical :: TopDriveIbop
  23. real :: TopDriveTorqueLimitKnob
  24. real :: RpmKnob
  25. ! Output vars
  26. integer :: TopDriveOperationFaultLed
  27. integer :: TopDriveTdsPowerLed
  28. integer :: TopDriveTorqueWrenchLed
  29. integer :: TopDriveLinkTiltLed
  30. integer :: TopDriveIbopLed
  31. real :: TopDriveTorqueLimitGauge
  32. real :: TopDriveTorqueGauge
  33. real :: TopDriveRpmGauge
  34. contains
  35. end module CTopDrivePanelVariables