1.33 1.32 1.31 1.30 1.29 1.28 1.20 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish
1.33 1.32 1.31 1.30 1.29 1.28 1.20 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

set_on_monitoring_analog_welding_data

Features

This function transmits requested analog welding status information from a lower-level controller to a higher-level controller. This is likely done using a callback mechanism.

Arguments

Field

DataType

Value

Remarks

pCallbackFunc

TOnMonitoringAnalogWeldingDataCB

-

This function will be called by the lower-level controller to deliver the analog welding status data. Refer to the definition of TOnMonitoringAnalogWeldingDataCB.

Return

  • None: The function doesn't return a specific value.

Example

void AnalogWeldingDataCallback(const LPROBOT_ALALOG_WELDING_DATA pData)
{
    std::cout << "Adj Available: " << static_cast<int>(pData->_iAdjAvail) << std::endl;
    std::cout << "Target Voltage: " << pData->_fTargetVol << std::endl;
    std::cout << "Target Current: " << pData->_fTargetCur << std::endl;
    std::cout << "Target Velocity: " << pData->_fTargetVel << std::endl;
    std::cout << "Actual Voltage: " << pData->_fActualVol << std::endl;
    std::cout << "Actual Current: " << pData->_fActualCur << std::endl;
    std::cout << "Offset Y: " << pData->_fOffsetY << std::endl;
    std::cout << "Offset Z: " << pData->_fOffsetZ << std::endl;
    std::cout << "Arc On: " << static_cast<int>(pData->_iArcOnDO) << std::endl;
    std::cout << "Gas On: " << static_cast<int>(pData->_iGasOnDO) << std::endl;
    std::cout << "Inching Plus: " << static_cast<int>(pData->_iInchPDO) << std::endl;
    std::cout << "Inching Minus: " << static_cast<int>(pData->_iInchNPO) << std::endl;
    std::cout << "Status: " << static_cast<int>(pData->_iStatus) << std::endl;
    std::cout << "Blow Out: " << static_cast<int>(pData->_iBlowOut) << std::endl;
    std::cout << "Feeding Velocity: " << pData->_iFeedingVel << std::endl;
}

 
int main()
{
    Drfl.set_on_monitoring_analog_welding_data(AnalogWeldingDataCallback);
}