Skip to main content
Skip table of contents

app_weld_set_interface_eip_m2r_process

Features

This function configures the communication interface for using a welder that supports EtherNet/IP communication. It allows you to set the interface for the interlocking signals between the controller and the welder, which are necessary for welding execution, among the communication data sent from the welder to the robot controller.

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

Note:

  • To properly execute the welding function using an EtherNet/IP communication method 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()

  • Robot motion start is interlocked with the current_flow signal from the welder, but when the main_current item is set, it is interlocked with that signal.

  • Robot motion end is interlocked with the current_flow signal from the welder, but when the process_active item is set, it is interlocked with that signal.

Arguments

Argument Name

Data Type

Default Value

Description

_tCurrentFlow

See below

See below

Current flow during welding (welder specific)

_tProcessActive

Welding process activation (welder specific)

_tMainCurrent

Main welding current flow (welder specific)

_tMachineReady

Welder standby (welder specific)

_tCommReady

Communication standby (welder specific)

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

Argument Name

Data Type

Default Value

Description

_bEnable

unsigned char

None

Unused: 0

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

1-bit (disable Low): 0,

1-bit (disable High): 1, 2-bit: 2,

4-bit: 3,

8-bit (byte): 4,

15-bit: 5,

16-bit (short): 6,

32-bit (int): 7

_nMaxDigitSize

unsigned char

None

Effective data size, Value (bit)

Return

Value

Description

0

Error

1

Success

Example

CODE
CONFIG_DIGITAL_WELDING_INTERFACE_PROCESS2 process2Data;
process2Data._tCurrentFlow = {0,};
process2Data._tProcessActive = {0,};
process2Data._tMainCurrent = {0,};
process2Data._tMachineReady = {0,};
process2Data._tCommReady = {0,};
// app_weld_set_interface_eip_m2r_process2 Call
bool result = Drfl.app_weld_set_interface_eip_m2r_process2(process2Data);
JavaScript errors detected

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

If this problem persists, please contact our support.