Simulation Core
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

32 rindas
1.3 KiB

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