Snapex7.Client.read_multi_vars

You're seeing just the function read_multi_vars, go back to Snapex7.Client module for more information.
Link to this function

read_multi_vars(pid, opt)

View Source

Specs

read_multi_vars(GenServer.server(), list()) ::
  {:ok, bitstring()} | {:error, map()} | {:error, :einval}

This function allows to read different kind of variables from a PLC in a single call. With it can read DB, inputs, outputs, Merkers, Timers and Counters.

The following options are available:

  • :data - (list of maps) a list of requests (maps with @data_io_opt options as keys) to read from PLC.

For more info see pg. 119 form Snap7 docs.