|
| | MachineActorState (int _interlock_pin=21, int _relay_pin=25, int _motor_x_pin=13, int _motor_y_pin=14) |
| |
| bool | _set_output (int pin, bool enabled) |
| |
◆ MachineActorState()
| MachineActorState::MachineActorState |
( |
int |
_interlock_pin = 21, |
|
|
int |
_relay_pin = 25, |
|
|
int |
_motor_x_pin = 13, |
|
|
int |
_motor_y_pin = 14 |
|
) |
| |
|
inline |
◆ _set_output()
| bool MachineActorState::_set_output |
( |
int |
pin, |
|
|
bool |
enabled |
|
) |
| |
|
inline |
◆ disable_interlock_tref
| TRef MachineActorState::disable_interlock_tref = NullTRef |
◆ disable_relay_tref
| TRef MachineActorState::disable_relay_tref = NullTRef |
◆ INTERLOCK_OFF
| constexpr bool MachineActorState::INTERLOCK_OFF = true |
|
static |
◆ INTERLOCK_ON
| constexpr bool MachineActorState::INTERLOCK_ON = false |
|
static |
◆ interlock_pin
| int MachineActorState::interlock_pin |
◆ last_motor_activity_timestamp
| TimeDuration MachineActorState::last_motor_activity_timestamp = 0s |
◆ last_motor_pulse_count
| int MachineActorState::last_motor_pulse_count = 0 |
◆ last_motor_pulse_timestamp
| TimeDuration MachineActorState::last_motor_pulse_timestamp = 0s |
◆ max_job_end_interval
◆ max_job_start_interval
| TimeDuration MachineActorState::max_job_start_interval = 25s |
◆ max_motor_pulse_count
| int MachineActorState::max_motor_pulse_count = 1024 |
◆ motor_activity_check_tref
| TRef MachineActorState::motor_activity_check_tref = NullTRef |
◆ motor_activity_seconds
| int MachineActorState::motor_activity_seconds = 0 |
◆ motor_x_pin
| int MachineActorState::motor_x_pin |
◆ motor_y_pin
| int MachineActorState::motor_y_pin |
◆ RELAY_OFF
| constexpr bool MachineActorState::RELAY_OFF = false |
|
static |
◆ RELAY_ON
| constexpr bool MachineActorState::RELAY_ON = true |
|
static |
◆ relay_pin
| int MachineActorState::relay_pin |
◆ threshold_motor_pulse_count
| int MachineActorState::threshold_motor_pulse_count = 25 |
The documentation for this struct was generated from the following file: