Bus configuration via 'ethercat config'.

This commit is contained in:
Florian Pose
2008-06-11 15:29:47 +00:00
parent bc3c6f320a
commit 1132577dd9
10 changed files with 537 additions and 50 deletions
+3
View File
@@ -34,6 +34,7 @@ void printUsage()
<< "Usage: ethercat <COMMAND> [OPTIONS]" << endl
<< "Commands:" << endl
<< " alias Write alias address(es)." << endl
<< " config Show slave configurations." << endl
<< " data Output binary domain process data." << endl
<< " debug Set the master debug level." << endl
<< " domain Show domain information." << endl
@@ -178,6 +179,8 @@ int main(int argc, char **argv)
if (command == "alias") {
master.writeAlias(slavePosition, force, commandArgs);
} else if (command == "config") {
master.showConfig();
} else if (command == "data") {
master.outputData(domainIndex);
} else if (command == "debug") {