For information on the latest version, please have a look at GL013301.
app_weld_enable_digital
Definition
DRFLEx.h within class CDRFLEx, public section (line 1035)
bool app_weld_enable_digital(unsigned char bMode)
{
return _app_weld_enable_digital(_rbtCtrl, bMode);
};
Features
This function activates the digital welding function using the communication interface. Only the EtherNet/IP-based digital interface is supported for this command. Once activated, the robot controller begins communication with the external welder device based on previously configured interface settings (e.g., process, mode, test, condition).
To deactivate the welding interface, call the corresponding disable command.
Arguments
Argument Name |
Data Type |
Default Value |
Description |
|---|---|---|---|
bMode |
unsigned char |
Digital welding mode setting |
Return
Value |
Description |
|---|---|
0 |
Error |
1 |
Success |
Example
// Activate digital welding interface mode
unsigned char bMode = 1; // 1: Activated
bool result = Drfl.app_weld_enable_digital(bMode);
if(result)
printf("Digital welding interface activated successfully.\n");
else
printf("Failed to enable digital welding mode.\n");
This example enables the EtherNet/IP-based digital welding interface, allowing the robot controller to communicate with the welder for real-time process control.