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.
 
 
 
 
 
 

42 lines
1.2 KiB

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