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_digital_welding_data

Features

This function transmits requested digital welding status information from a lower-level controller to a higher-level controller.

Arguments

Field

DataType

Value

Remarks

pCallbackFunc

  • TOnMonitoringDigitalWeldingDataCB

-

This function will be called by the lower-level controller to deliver the digital welding status data. See the definition of TOnMonitoringDigitalWeldingDataCB.

Return

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

Example

void DigitalWeldingDataCallback(const LPROBOT_DIGITAL_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->_fFeedingVel << std::endl;
    std::cout << "Actual Feeding Velocity: " << pData->_fActualFeedingVel << std::endl;
    std::cout << "Error Number: " << pData->_iErrorNumber << std::endl;
    std::cout << "Wire Stick: " << pData->_fWireStick << std::endl;
    std::cout << "Error: " << pData->_iError << std::endl;
    std::cout << "Option 1: " << pData->_fOption1 << std::endl;
    std::cout << "Option 2: " << pData->_fOption2 << std::endl;
    std::cout << "Option 3: " << pData->_fOption3 << std::endl;
    std::cout << "Option 4: " << pData->_fOption4 << std::endl;
    std::cout << "Option 5: " << pData->_fOption5 << std::endl;
    std::cout << "Option 6: " << pData->_fOption6 << std::endl;
    std::cout << "Option 7: " << pData->_fOption7 << std::endl;
    std::cout << "Option 8: " << pData->_fOption8 << std::endl;
    std::cout << "Option 9: " << pData->_fOption9 << std::endl;
    std::cout << "Option 10: " << pData->_fOption10 << std::endl;
    std::cout << "Current Flow: " << static_cast<int>(pData->_iCurrentFlow) << std::endl;
    std::cout << "Process Active: " << static_cast<int>(pData->_iProcessActive) << std::endl;
    std::cout << "Machinery Ready: " << static_cast<int>(pData->_iMachineryReady) << std::endl;
    std::cout << "Voltage Correction: " << pData->_fVoltageCorrection << std::endl;
    std::cout << "Dynamic Correction: " << pData->_fDynamicCorrection << std::endl;
}

int main()
{
    Drfl.set_on_monitoring_digital_welding_data(DigitalWeldingDataCallback);
}