Simulation Core
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

34 righe
1.3 KiB

  1. # 1 "/mnt/c/Projects/VSIM/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