Skip to main content
Skip table of contents

app_weld_set_interface_eip_r2m_condition

Features

This function configures the communication interface for using a welder that supports EtherNet/IP communication. It sets up the interface related to welding condition settings among the communication data sent from the robot controller to the welder.

Refer to the communication signal datasheet of the corresponding welder for details related to the settings below.

Note:

  • To properly use the welding function with an EtherNet/IP communication-capable welder, all 8 types of interface setting commands must be configured:

    • app_weld_set_interface_eip_r2m_process()

    • app_weld_set_interface_eip_r2m_mode()

    • app_weld_set_interface_eip_r2m_test()

    • app_weld_set_interface_eip_r2m_condition()

    • app_weld_set_interface_eip_r2m_option()

    • app_weld_set_interface_eip_m2r_process()

    • app_weld_set_interface_eip_m2r_monitoring()

    • app_weld_set_interface_eip_m2r_other()

Arguments

Argument Name

Data Type

Default Value

Description

pConfigdigitalweldinginterfacecondition

CONFIG_DIGITAL_WELDING_INTERFACE_CONDITION

None

Digital welding interface condition settings structure

The data type, default value, and description of the arguments within the structure are the same as below:

Argument Name

Data Type

Default Value

Description

_bEnable

unsigned char

None

Unused: 0 <br> Used: 1

_nDataType

unsigned char

None

Data type (on/off: 0, selection: 1, value: 2)

_nPositionalNumber

unsigned char

None

Data digit (1: 0, 0.1: 1, 0.01: 2)

_fMinData

float

None

Minimum data value

_fMaxData

float

None

Maximum data value

_nByteOffset

unsigned char

None

Communication data location (byte): 1~255

_nBitOffset

unsigned char

None

Communication data location (bit): 1~255

_nComnDataType

unsigned char

None

Data size <br> 1-bit (disable Low): 0 <br> 1-bit (disable High): 1 <br> 2-bit: 2 <br> 4-bit: 3 <br> 8-bit (byte): 4 <br> 15-bit: 5 <br> 16-bit (short): 6 <br> 32-bit (int): 7

_nMaxDigitSize

unsigned char

None

Effective data size <br> Value (bit)

Return

Value

Description

0

Error

1

Success

Example

CODE
CONFIG_DIGITAL_WELDING_INTERFACE_CONDITION conditionData;
conditionData._tJobNumber = {0,};
conditionData._tSynegicID = {0,};
conditionData._tWireFeedSpeed = {0,};
conditionData._tArclengthCorrection = {0,};
conditionData._tDynamicCorrection = {0,};

bool result = Drfl.app_weld_set_interface_eip_r2m_condition(conditionData);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.