app_weld_weave_cond_circular(wv_offset=[0,0], wv_ang=0, wv_param=[3,3,0.3,0.3])
Features
This sets the circular weaving condition. It is only valid within the welding section defined with the Enable Welding (app_weld_enable_analog()) and Disable Welding (app_weld_disable_analog()/ app_weld_disable_digital()) commands, and any operations starting at a point outside the welding section will generate an error. The weaving condition is defined by the weaving coordinates, which are defined with the TCP direction from the weaving x-axis as the weaving z-axis, and the vector-multiplied (cross product) direction as the weaving y-axis with the welding path direction as the weaving x-axis. Refer to the figure below for the coordinates and weaving setting factor. Only one weaving condition is allowed in a single welding section. The offset or weaving width can be adjusted during welding with the app_weld_adj_welding_cond_analog()/ app_weld_set_weld_cond_digital() command or the voltage/current/speed and the offset can be adjusted from the Welding Condition Adjustment popup of the teaching pendant. However, from the teaching pendant, welding condition adjustments are only available if the welding condition adjustment status is set to RESET using a command (the welding condition setting is designated with app_weld_set_weld_cond_analog()/app_weld_set_weld_cond_digital()).
Parameter
Parameter Name | Data Type | Default Value | Description |
---|---|---|---|
wv_offset | float[2] | 0 | Weaving Coordinate-Y Direction Offset (mm) |
0 | Weaving Coordinate-Z Direction Offset (mm) | ||
wv_angle | float | 0 | Weaving Coordinate-Weaving Plane Tile Angle centering on X-Axis (deg) |
wv_param | list(float[4]) | 3 | X Direction Weaving Width (mm) |
3 | Y Direction Weaving Width (mm) | ||
0.3 | X Direction Weaving Period (sec) | ||
0.3 | Y Direction Weaving Period (sec) |
Return
Value | Description |
---|---|
0 | Setting Success |
Negative value | Setting 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_enable_analog(ch_v_out=[1,1], spec_v_out=[0,0,300,10], ch_f_out =[2,1],
spec_f_out =[0,0,40,10], ch_v_in =[1,1], spec_v_in =[0,0,300,10], ch_c_in =[2,1],
spec_c_in=[0,0,40,10], ch_arc_on=1, ch_gas_on=2, ch_inching_fwd=3, ch_inching_bwd=4, ch_blow_out=5)
app_weld_set_weld_cond_analog(flag_dry_run=1, v_target=200, f_target=150, vel_target=10, vel_min=10,
vel_max=100, weld_proc_param=[0.5,0.3,2,1,0.7,0.4,0.7,0.6,1.5])
app_weld_weave_cond_circular(wv_offset=[0,0], wv_ang=0, wv_param=[3,3,0.3,0.3])
# Circular Weaving Pattern, Offset=0,0 Tilt Angle=0, X Direction Weaving Width=3 (mm), Y Direction Weaving=3 (mm), X Direction Weaving Period=0.3 (s), Y Direction Weaving Period=0.3 (s)
app_weld_disable_analog()