Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

void  MB_WrEnSet (MODBUS_CH  *pch,
                  CPU_INT08U  wr_en)

Arguments

pch

is a pointer to the channel (returned by MB_CfgCh()). This pointer specifies onto which channel the Modbus master will be communicating on. This channel must have been configured as a Modbus slave.

...

wr_en determines whether writes are enabled or not. You must pass either: MODBUS_WR_EN or MODBUS_WR_DIS.

Returned Value

None

Notes / Warnings

None

Called By

Your Modbus master or slave application.