Skip to main content

4.9. Spot welding point calculation

4.9. Spot welding point calculation​

 

The following system variable saves the count of times that WI was inputted during the execution of the spot welding command.

 

 

Item

Content

Welder number (1–4]

Designates the welder number (up to four welders in total)

 

The variable above will be initialized to 0 when a new job program is executed after one cycle of the job program is completed or when [R] + [Enter] is pressed to move to the first line of the job program.

 

Usage example 1)

V1%=_SpotRunNo[1]         The count of WIs inputted through welder no. 1 up to now will be saved in V1%.

 

Usage example 2)

IF 10<>_SpotRunNo[1]       “If the count of WIs inputted through welder no. 1 up to now is not 10”

PRINT #0,“Welding count(“; _SpotRunNo[1];”) error !!” “Error message print”

STOP                                                                                   “Stop”

ENDIF

END

 

Caution) The SPOT command executed in the subtask is not calculated.