Snapex7.Client.write_multi_vars

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

write_multi_vars(pid, opts)

View Source

Specs

write_multi_vars(GenServer.server(), [data_io_opt()]) ::
  :ok | {:error, map()} | {:error, :einval}

This function allows to write 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.