Class: Plc::Raspberrypi::RaspberrypiPlc
- Inherits:
-
Emulator::EmuPlc
- Object
- Emulator::EmuPlc
- Plc::Raspberrypi::RaspberrypiPlc
- Defined in:
- lib/plc/raspberrypi/raspberrypi_plc.rb
Constant Summary
Constants inherited from Emulator::EmuPlc
Emulator::EmuPlc::CLEAR_PROGRAM_FLAG, Emulator::EmuPlc::CYCLE_RUN_FLAG, Emulator::EmuPlc::INDEX_BIT_STACK, Emulator::EmuPlc::INDEX_BIT_STACK_COUNT, Emulator::EmuPlc::SAVE_INTERVAL, Emulator::EmuPlc::SIZE_OF_BIT_STACK, Emulator::EmuPlc::STOP_PLC_FLAG, Emulator::EmuPlc::SUFFIXES
Instance Attribute Summary
Attributes inherited from Emulator::EmuPlc
#config, #device_dict, #errors, #program_data, #program_pointer
Instance Method Summary collapse
-
#initialize(config = {}) ⇒ RaspberrypiPlc
constructor
A new instance of RaspberrypiPlc.
Methods inherited from Emulator::EmuPlc
#bool, #bool=, #device_by_name, #device_by_type_and_number, #execute_console_commands, #keep_device?, #reset, #run, #run_cycle
Constructor Details
#initialize(config = {}) ⇒ RaspberrypiPlc
Returns a new instance of RaspberrypiPlc.
36 37 38 39 |
# File 'lib/plc/raspberrypi/raspberrypi_plc.rb', line 36 def initialize config={} super setup_io end |