Class: RunState

Inherits:
Object
  • Object
show all
Defined in:
lib/telegrams/commands/direct/output_state.rb

Overview

Run state defines how the motor behaves from where it is and how it gets to the new state you have given it

Class Method Summary collapse

Class Method Details

.IDLEObject

output will be idle



50
51
52
# File 'lib/telegrams/commands/direct/output_state.rb', line 50

def IDLE
  0x00
end

.RAMPDOWNObject

output will ramp-down



65
66
67
# File 'lib/telegrams/commands/direct/output_state.rb', line 65

def RAMPDOWN
  0x40
end

.RAMPUPObject

output will ramp-up



55
56
57
# File 'lib/telegrams/commands/direct/output_state.rb', line 55

def RAMPUP
  0x10
end

.RUNNINGObject

output will be running



60
61
62
# File 'lib/telegrams/commands/direct/output_state.rb', line 60

def RUNNING
  0x20
end