app_weld_adj_welding_cond_analog
Features
This function adjusts welding and weaving conditions during analog welding. It is typically used immediately before calling motion commands (movel(), movec(), moveb(), movesx()) when you want to change welding conditions for each section in a continuous path.
When you input adjustment parameters with this command, the corresponding welding and weaving conditions are adjusted. In this case, you cannot adjust the welding/weaving conditions in real-time in the welding monitoring information window of the TP (Teaching Pendant).
To return to the original conditions (welding/weaving conditions set by app_weld_set_weld_cond_analog() and app_weld_weave_cond_trapezoidal(), etc.) from the adjusted conditions, execute with flag_reset=1. When flag_reset=1 is set, it returns to the final condition adjusted in real-time from the TP (the ratio of the weaving width (wv_width_ratio), which cannot be adjusted in real-time, is changed to 1), and you can adjust the welding conditions in real-time from the TP.
Arguments
Argument Name | Data Type | Default Value | Description |
|---|---|---|---|
| unsigned char | 0: present <br> 1: realtime | |
| unsigned char | - | 0: Apply adjusted value 1: Apply reference target ( |
| float | - | Target voltage (V) |
| float | - | Feeding speed (m/min) |
| float | - | Target speed (mm/sec) Note that the input unit of the teaching pendant is different (Cm/min) |
| float | - | Weave coordinate system, y-direction offset (mm) |
| float | - | Weave coordinate system, z-direction offset (mm) |
| float | - | Ratio of changed weaving width to set weaving width (0~2) |
Return
Value | Description |
|---|---|
0 | Error |
1 | Success |
Example
CODE
|