class Escalator::Protocol::Keyence::KvDevice

Constants

SUFFIXES_FOR_BIT
SUFFIXES_FOR_DEC
SUFFIXES_FOR_DEC_HEX
SUFFIXES_FOR_HEX

Public Class Methods

new(a, b = nil) click to toggle source
Calls superclass method Escalator::PlcDevice::new
# File lib/escalator/protocol/keyence/kv_device.rb, line 30
def initialize a, b = nil
  super
  @suffix = "R" if @suffix.nil? || @suffix.length == 0
end

Private Instance Methods

suffixeds_for_hex() click to toggle source
# File lib/escalator/protocol/keyence/kv_device.rb, line 44
def suffixeds_for_hex; SUFFIXES_FOR_HEX; end
suffixes_for_bit() click to toggle source
# File lib/escalator/protocol/keyence/kv_device.rb, line 45
def suffixes_for_bit; SUFFIXES_FOR_BIT; end
suffixes_for_dec() click to toggle source
# File lib/escalator/protocol/keyence/kv_device.rb, line 42
def suffixes_for_dec; SUFFIXES_FOR_DEC; end
suffixes_for_dec_hex() click to toggle source
# File lib/escalator/protocol/keyence/kv_device.rb, line 43
def suffixes_for_dec_hex; SUFFIXES_FOR_DEC_HEX; end