Snapex7.Client.ab_read
You're seeing just the function
ab_read
, go back to Snapex7.Client module for more information.
Specs
ab_read(GenServer.server(), [data_io_opt()]) :: {:ok, bitstring()} | {:error, map()} | {:error, :einval}
This is a lean function of read_area/2 to read PLC process outputs. It simply internally calls read_area/2 with
area: :PA
word_len: :byte
The following options are available:
:start
- (int) An offset to start.:amount
- (int) Amount of words (bytes) to read/write .
For more info see pg. 104 form Snap7 docs.