Class: Modbus::PDU::ReadCoilsRequest

Inherits:
ReadBitsRequest show all
Defined in:
lib/modbus/pdu/read_coils.rb

Overview

PDU for modbus function “read coils” (request message)

Direct Known Subclasses

ReadInputStatusRequest

Constant Summary collapse

FUNC_CODE =
0x01

Constants inherited from Modbus::PDU

REQ_PDU_MAP, RSP_PDU_MAP

Instance Attribute Summary

Attributes inherited from ReadBitsRequest

#bit_count, #start_addr

Attributes inherited from Modbus::PDU

#creation_time, #func_code

Method Summary

Methods inherited from ReadBitsRequest

#decode, #encode, #initialize, #length, #validate

Methods inherited from Modbus::PDU

create, #encode, #initialize

Constructor Details

This class inherits a constructor from Modbus::PDU::ReadBitsRequest