Versions in this module Expand all Collapse all v0 v0.0.3 May 21, 2020 v0.0.2 May 20, 2020 Changes in this version + const PvBool + const PvF32 + const PvF64 + const PvI16 + const PvI32 + const PvI64 + const PvU16 + const PvU32 + const PvU64 + const PvUnknown + var DecoderMap = map[PvType]pvDecoder + var EncoderMap = map[PvType]pvEncoder + var ErrTimeout = errors.New("timeout") + var ErrUnknownPvType = errors.New("Unknown pv type") + var RegisterLengthMap = map[PvType]uint16 + func PvI16Encoder(data Payload) ([]byte, error) + type ModbusPV interface + Get func(context.Context) (Payload, error) + Name func() string + Put func(context.Context, Payload) error + PvType func() PvType + Writable func() bool + func NewModbusPV(name string, handler modbus.ClientHandler, pvType PvType, offset uint16, ...) ModbusPV + type Payload = interface + func PvI16Decoder(data []byte) (Payload, error) + type PvType uint16