# Modbus::Service.new(plc_id: 1, type: "int16", start_address: 0, value: 123).execute
module Modbus
module Commands
def write_int16(slave)
write_int(slave, 16)
end