Breadcrumbs

app_weld_set_interface_eip_r2m_mode()

Definition

app_weld_set_interface_eip_r2m_mode(welding_mode=[0,0,0,0,0,0,0,0,0], s_2t=[0,0,0,0,0,0,0,0,0], pulse_mode=[0,0,0,0,0,0,0,0,0],wm_opt1=[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 interface related to the welding mode in the communication data sent to the welder from the robot controller. Required modes can be additionally added with the option item (wm_opt1). Enter the setting values below along with details based on the communication signal data sheet of the corresponding welder.

Note

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

Note

EIP communication settings must be set to Monitoring+GPR.

Parameters

Parameter Name

Data Type

Default Value

Description

welding_mode

Refer to the table below

Refer to the table below




Welding Mode (specification for each welder)

s_2t

Latched/Non-latched Mode (specification for each welder)

pulse_mode

Pulse Mode (specification for each welder)

wm_opt1

Option Mode (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): 0~255

0

Communication Data Point (bit): 0~7

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

Note

For examples of data (0~2) interface settings, refer to the app_weld_set_interface_eip_r2m_process() section.

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_mode(welding_mode=[1,1,0,0,0,2,2,0,3], 
                                    s_2t=[0,0,0,0,0,0,0,0,0], 
                                    pulse_mode=[1,1,0,0,2,0,1,0,1],
                                    wm_opt1=[0,0,0,0,0,0,0,0,0])