Versions Compared

Key

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

Function

int16 dm_Start(uint16 uiPortNo, uchar08 ucSpeed, char08 *cpErrMsg);

...

Start direct mode between Master and IO-Link device on required speed (COM1 / COM2 / COM3).

Input Parameters

  • uchar08 uiPortNo – (virtual) comport number in order to communicate with Master
  • uchar08 ucSpeed – direct mode speed (0 - COM0, 1 - COM1, 2 - COM3)

...

  DM_SPEED_COM3 /* 230.4 kBps */,

};

int16 iRes = dm_Start(DMiPortNo, DM_SPEED_COM2);