EtherCAT Graphical User Interface Code 0.0.1
EtherCAT GUI that uses different communication protocols with EtherCAT Master server.
Loading...
Searching...
No Matches
Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
EcGuiStart Class Reference
Inheritance diagram for EcGuiStart:
Inheritance graph
Collaboration diagram for EcGuiStart:
Collaboration graph

Public Member Functions

 EcGuiStart (QWidget *parent=nullptr)
 

Private Slots

void onEcMasterProcessChanged (int index)
 
void onStartEtherCATSystem ()
 
void onStopEtherCATSystem ()
 
void onScanDeviceReleased ()
 
void ExpertUserPassChanged ()
 
void onFirmwareUpdateReleased ()
 
void onFirmwareUpdateCopyFiles ()
 
void onFirmwareUpdateOpenConfig ()
 
void onFirmwareUpdateStart ()
 
void onFirmwarewizardClosed (int ret)
 

Private Member Functions

void error_on_scannig ()
 
void restart_gui ()
 
void add_device ()
 
void scan_device ()
 
void read_sdo_info (const int32_t device_id, const std::vector< std::string > sdo_name, std::vector< float > &sdo_info)
 
void setup_motor_device (int32_t device_id, int32_t device_type)
 
void clear_device ()
 
void clear_gui ()
 
bool create_ec_iface ()
 
void stopping_ec_sys ()
 
void disable_ec_system ()
 
void enable_ec_system ()
 

Private Attributes

EcGuiWrapper::ec_wrapper_info_t _ec_wrapper_info
 
EcGuiWrapper::Ptr _ec_gui_wrapper
 
EcGuiNet::Ptr _ec_gui_net
 
QPushButton * _ec_sys_start
 
QPushButton * _ec_sys_stop
 
QPushButton * _firmware_update_btn
 
QLabel * _ec_system_status
 
bool _ec_sys_started
 
QTreeWidget * _net_tree_wid
 
QLineEdit * _expert_user
 
EcGuiFirmware_firmware_update_wizard
 
QComboBox * _master_process_type
 

Member Function Documentation

◆ setup_motor_device()

void EcGuiStart::setup_motor_device ( int32_t  device_id,
int32_t  device_type 
)
private

0x60A9 SI unit velocity 1 RPM (value 0x00B44700 or 11814656) - default, but may not be precise enough for some applications. 0.1 RPM (value 0xFFB44700 or 4290004736) 0.01 RPM (value 0xFEB44700 or 4273227520) 0.001 RPM (value 0xFDB44700 or 4256450304)


The documentation for this class was generated from the following files: