ex_modbus v0.1.6 ExModbus.Client

ModbusTCP client to manage communication with a device

Link to this section Summary

Link to this section Functions

Link to this function

generic_call(pid, unit_id, arg)

Link to this function

handle_call(_, s)

Link to this function

read_coils(pid, unit_id, start_address, count)

Link to this function

read_data(pid, unit_id, start_address, count)

Link to this function

recv(conn, bytes, timeout \\ 3000)

Link to this function

send(conn, data)

Link to this function

start_link(args, opts \\ [])

Link to this function

write_multiple_registers(pid, unit_id, address, data)

Link to this function

write_single_coil(pid, unit_id, address, state)

Write a single coil at address. Possible states are :on and :off.

Link to this function

write_single_register(pid, unit_id, address, data)