Commit 5c7ba60b authored by Claes Sjofors's avatar Claes Sjofors

Modbus RTU, replaced remaining TCP to RTU in comments and messages

parent ed10031b
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
/*----------------------------------------------------------------------------*\ /*----------------------------------------------------------------------------*\
Init method for the Modbus_TCP slave Init method for the Modbus_RTU slave
\*----------------------------------------------------------------------------*/ \*----------------------------------------------------------------------------*/
static pwr_tStatus IoRackInit ( static pwr_tStatus IoRackInit (
...@@ -85,7 +85,7 @@ static pwr_tStatus IoRackInit ( ...@@ -85,7 +85,7 @@ static pwr_tStatus IoRackInit (
int i; int i;
sts = gdh_ObjidToName(rp->Objid, (char *) &name, sizeof(name), cdh_mNName); sts = gdh_ObjidToName(rp->Objid, (char *) &name, sizeof(name), cdh_mNName);
errh_Info( "Init of Modbus TCP Slave and Modules %s", name); errh_Info( "Init of Modbus RTU Slave and Modules %s", name);
op = (pwr_sClass_Modbus_RTU_Slave *) rp->op; op = (pwr_sClass_Modbus_RTU_Slave *) rp->op;
...@@ -172,7 +172,7 @@ static pwr_tStatus IoRackInit ( ...@@ -172,7 +172,7 @@ static pwr_tStatus IoRackInit (
/*----------------------------------------------------------------------------*\ /*----------------------------------------------------------------------------*\
Read method for the Modbus_TCP slave Read method for the Modbus_RTU slave
\*----------------------------------------------------------------------------*/ \*----------------------------------------------------------------------------*/
static pwr_tStatus IoRackRead ( static pwr_tStatus IoRackRead (
io_tCtx ctx, io_tCtx ctx,
...@@ -185,7 +185,7 @@ static pwr_tStatus IoRackRead ( ...@@ -185,7 +185,7 @@ static pwr_tStatus IoRackRead (
/*----------------------------------------------------------------------------*\ /*----------------------------------------------------------------------------*\
Write method for the Modbus_TCP slave Write method for the Modbus_RTU slave
\*----------------------------------------------------------------------------*/ \*----------------------------------------------------------------------------*/
static pwr_tStatus IoRackWrite ( static pwr_tStatus IoRackWrite (
io_tCtx ctx, io_tCtx ctx,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment