Simulation Core
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

RTable_Outputs.i90 1.3 KiB

1 år sedan
1 år sedan
123456789101112131415161718192021222324252627282930313233
  1. # 1 "/home/admin/SimulationCore2/Equipments/RotaryTable/RTable_Outputs.f90"
  2. subroutine RTable_Outputs
  3. use CDrillingConsoleVariables
  4. use SimulationVariables
  5. use SimulationVariables
  6. use CDataDisplayConsole
  7. use SimulationVariables
  8. use SimulationVariables !@
  9. use SimulationVariables !@
  10. Use CSounds
  11. IMPLICIT NONE
  12. data%Equipments%DrillingConsole%RTBLWR = data%State%RTable%BLWR
  13. Call SetSoundBlowerRT(data%State%RTable%SoundBlower) !.true. or .false.
  14. Call SetSoundRT( data%State%RTable%SoundRPM ) ![RPM] , integer
  15. !data%State%RTable%Speed !to other modules
  16. Call Set_RotaryRPMGauge( sngl(1-data%State%RTable%RpmGaugeMalf)*real(data%State%RTable%RpmGaugeOutput,8) ) ![RPM]
  17. data%Equipments%DataDisplayConsole%RotaryTorqueGauge = data%State%RTable%TorqueGaugeOutput ![ft.lbf]
  18. data%Equipments%DrillingWatch%Torque = data%State%RTable%TorqueGaugeOutput
  19. Call Set_RotaryTorque(sngl(1-data%State%RTable%TorqueGaugeMalf)*real(data%State%RTable%TorqueGaugeOutput,8)) ![ft.lbf]
  20. !RT_RPMUnityOutput = sngl(data%State%RTable%Switch)*-1.d0*RotaryRPMGauge
  21. end subroutine RTable_Outputs