Definition
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.
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_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): 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 |
Communication Interface Setting Example (EWM Welder)
Data Type (on/off: 0): Item selected On/Off
Ewm Welder Data Sheet
|
Byte no. |
Bit no. |
Function/description |
Bit assignment |
|---|---|---|---|
|
0 |
4 |
Start signal welding process |
0 switched off 1 switched on |
Specification Entry Method
|
Item |
Setting Value |
|---|---|
|
Usage Status |
1 (Used) |
|
Data Type |
0 (on/off) |
|
Data Digits |
0 (1) |
|
Communication Data Point (byte) |
0 |
|
Communication Data Point (bit) |
4 |
|
Data Size |
0 (1 bit, disable Low) |
|
Valid Data Size |
1 (1 bit) |
|
Minimum Data Value |
0 |
|
Maximum Data Value |
1 |
Data Type (Select: 1): If data with an integer of 1 is selected
Ewm Welder Data Sheet
|
Byte no. |
Bit no. |
Function/description |
Bit assignment |
|---|---|---|---|
|
3 |
0-7 |
Selection JOB |
Range 1-255 |
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 |
Data Type (Value: 2): If a real number value is entered
Ewm Welder Data Sheet
|
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 |
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) |
Note
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
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])