diff --git a/ethercat_generic_plugins/ethercat_generic_cia402_drive/src/generic_ec_cia402_drive.cpp b/ethercat_generic_plugins/ethercat_generic_cia402_drive/src/generic_ec_cia402_drive.cpp index f06426db..ec0a2936 100644 --- a/ethercat_generic_plugins/ethercat_generic_cia402_drive/src/generic_ec_cia402_drive.cpp +++ b/ethercat_generic_plugins/ethercat_generic_cia402_drive/src/generic_ec_cia402_drive.cpp @@ -129,6 +129,7 @@ bool EcCiA402Drive::setupSlave( if (paramters_.find("mode_of_operation") != paramters_.end()) { mode_of_operation_ = std::stod(paramters_["mode_of_operation"]); + mode_of_operation_display_ = std::stod(paramters_["mode_of_operation"]); } if (paramters_.find("command_interface/reset_fault") != paramters_.end()) {