Breadcrumbs

app_weld_set_interface_eip_r2m_process(welding_start=[0,0,0,0,0,0,0,0,0], robot_ready=[0,0,0,0,0,0,0,0,0], error_reset=[0,0,0,0,0,0,0,0,0])

Features

This sets the communication interface setting to use welders that support EtherNet/IP communication. This sets the link signal interface between the robot controller and welder used for welding in the communication data sent to the welder from the robot controller. Enter the setting values below along with details based on the communication signal data sheet of the corresponding welder.


To ensure proper welding using an EtherNet/IP remote control welder, all of 8 interface commands must be set up.

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()

Parameters

Parameter Name

Data Type

Default Value

Description

welding_start

Refer to the table below

Refer to the table below



Start Weld Command (specification for each welder)

robot_ready

Robot Status (specification for each welder)

error_reset

Reset Welder Error (specification for each welder)

The data type, default value and description are identical to the below

Parameter Name

Data Type

Default Value

Description


list(int[7])

0

Not Used: 0

Used: 1

0

Data Type (on/off: 0, Select: 1, Value: 2)

0

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

0

Communication Data Point (byte): 1~255

0

Communication Data Point (bit): 1~255

0

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

0

Valid Data Size

Value (bit)

list(float[2])

0

Minimum Data Value

0

Maximum Data Value


Communication Interface Setting Example (EWM Welder)

  1. Data Type (on/off: 0): Item selected On/OffEwm Welder Data SheetByte no.Bit no.Function/descriptionBit assignment04Start signal welding process0 switched off1 switched onb. Specification Entry MethodItemSetting ValueUsage Status1 (Used)Data Type0 (on/off)Data Digits0 (1)Communication Data Point (byte)0Communication Data Point (bit)4Data Size0 (1-bit, disable Low)Valid Data Size1 (1 bit)Minimum Data Value0Maximum Data Value1

  2. Data Type (Select: 1): If data with an integer of 1 is selected

    Byte no.

    Bit no.

    Function/description

    Bit assignment

    3

    0-7

    Selection JOB

    Range 1-255

    b. Specification Entry Method

    Item

    Setting Value

    Usage Status

    1 (Used)

    Data Type

    1 (Select)

    Data Digits

    0 (1)

    Communication Data Point (byte)

    3

    Communication Data Point (bit)

    0

    Data Size

    4 (8-bit)

    Valid Data Size

    8 (8 bit)

    Minimum Data Value

    0

    Maximum Data Value

    255

    3. Data Type (Value: 2): If a real number value is entered

      Byte no.

      Bit no.

      Function/description

      Bit assignment

      6

      0-15

      Welding voltage(current actual value)

      0 to 0x7FFF (High-Byte first)equivalent to 0.0V to 100.0V

      b. Specification Entry Method

      Item

      Setting Value

      Usage Status

      1 (Used)

      Data Type

      2 (Value)

      Data Digits

      1 (0.1)

      Communication Data Point (byte)

      6

      Communication Data Point (bit)

      0

      Data Size

      6 (16-bit)

      Valid Data Size

      15 (15 bit)

      Minimum Data Value

      0.0 (V)

      Maximum Data Value

      100.0 (V)

      • If the data type is 2 (Value), a valid data size (0x7FFF → 15 bit), minimum data value (0.0V) and maximum data value (100.0V) must be entered.

      Return

      Value

      Description

      0

      Success

      Negative Value

      Failure

      Exception

      Exception

      Description

      DR_Error (DR_ERROR_TYPE)

      Parameter data error

      DR_Error (DR_ERROR_VALUE)

      Invalid parameter value

      DR_Error (DR_ERROR_RUNTIME)

      C Extension module error

      DR_Error (DR_ERROR_STOP)

      Program terminated forcibly

      Example

      Python
      app_weld_set_interface_eip_r2m_process(welding_start=[1,0,0,0,4,0,1,0,0], robot_ready=[1,0,0,0,5,0,1,0,0], error_reset=[1,0,0,1,4,0,1,0,0])
      

      Related commands