You're reading the documentation for an older, but still supported version
(GL013300).
For information on the latest version, please have a look at GL013301.
For information on the latest version, please have a look at GL013301.
app_weld_reset_interface
Definition
DRFLEx.h within class CDRFLEx, public section (line 1033)
bool app_weld_reset_interface(unsigned char bReset)
{
return _app_weld_reset_interface(_rbtCtrl, bReset);
};
Features
This function resets the welding communication interface to its initial state. It clears all EtherNet/IP configuration data, welding condition parameters, and signal mappings previously set using EtherNet/IP interface setup functions.
Use this function when you need to reinitialize or clear all welding interface settings before reconfiguring new digital welding communication conditions.
Arguments
None
Return
Value |
Description |
|---|---|
0 |
Error |
1 |
Success |
Example
// Reset all EtherNet/IP welding interface configurations
unsigned char bReset = 1;
bool result = Drfl.app_weld_reset_interface(bReset);
if(result)
printf("Welding interface successfully reset to default state.\n");
else
printf("Failed to reset welding interface.\n");
This example resets all configured EtherNet/IP welding interface settings, returning the robot controller’s welding communication state to factory defaults.