0% found this document useful (0 votes)
4 views4 pages

Continuous Arc Welding Simulation

Uploaded by

ajuthkumar3
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views4 pages

Continuous Arc Welding Simulation

Uploaded by

ajuthkumar3
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Write a program for given statement.

This problem is intended to simulate a continuous arc welding


operation. The problem is welding together 3 rectangular steel plates into a partial box. The 3 steel
plates are fixture together in preparation for welding operation. The continuous welds must be
made along the three joints as indicated in fig. All 3 joints can be assumed to involve straight line
welding. The welding torch must be held at an angle of 45° as illustrated in fig in order to provide an
even deposition of welding rod into seam.(using RAIL Language)

Answer

//Define welding parameters

WELDSPEED = 100 ; Welding speed (mm/s)

WELDPOWER = 80 ; Welding power (percentage)

WELDANGLE = 45 ; Welding torch angle (degrees)

//Define positions in world coordinates

START_POSITION = [X_START, Y_START, Z_START] ; Starting position (X, Y, Z)

JOINT1_POSITION = [X_JOINT1, Y_JOINT1, Z_JOINT1] ; Starting position of joint 1

JOINT2_POSITION = [X_JOINT2, Y_JOINT2, Z_JOINT2] ; Starting position of joint 2

JOINT3_POSITION = [X_JOINT3, Y_JOINT3, Z_JOINT3] ; Starting position of joint 3

SAFE_POSITION = [X_SAFE, Y_SAFE, Z_SAFE] ; Safe position after welding

//Define welding parameters schedule (WELDSCHED)

WELDSCHED[1] = {Speed: 100, Power: 80, Angle: WELDANGLE} ; Weld schedule 1

WELDSCHED[2] = {Speed: 120, Power: 90, Angle: WELDANGLE} ; Weld schedule 2

WELDSCHED[3] = {Speed: 80, Power: 70, Angle: WELDANGLE} ; Weld schedule 3

//Move to the starting position and orientation

MOVE TO START_POSITION WITH ORIENTATION [0, 0, 0]


//Turn on the welding torch and set welding parameters

WELD TORCH ON WITH ANGLE WELDANGLE

SET WELD SPEED TO WELDSPEED

SET WELD POWER TO WELDPOWER

//Weld the first joint

MOVE TO JOINT1_POSITION

WELD JOINT1

SELECT WELDSCHED[1]

WELD SEAM WITH SELECTED WELDSCHED

//Weld the second joint

MOVE TO JOINT2_POSITION

WELD JOINT2

SELECT WELDSCHED[2]

WELD SEAM WITH SELECTED WELDSCHED

//Weld the third joint

MOVE TO JOINT3_POSITION

WELD JOINT3

SELECT WELDSCHED[3]

WELD SEAM WITH SELECTED WELDSCHED

Turn off the welding torch

WELD TORCH OFF

//Move to a safe position

MOVE TO SAFE_POSITION

//End of program
Provide a detailed RAIL language program that simulates a continuous arc welding operation for
joining eight rectangular steel plates into a cubic framework. Explain how you would maintain a
welding torch angle of 75° for uniform deposition of the welding rod, as per the figure provided.

PROGRAM Welding_Cube

MAIN:

PROGRAM Welding_Cube

MAIN:

//Define welding parameters

WELDSPEED = 100 ; Welding speed (mm/s)

WELDPOWER = 80 ; Welding power (percentage)

WELDANGLE = 75 ; Welding torch angle (degrees)

//Define positions in world coordinates for each plate

PLATE_POSITION[1] = [X1, Y1, Z1] ; Position of Plate 1

PLATE_POSITION[2] = [X2, Y2, Z2] ; Position of Plate 2

PLATE_POSITION[3] = [X3, Y3, Z3] ; Position of Plate 3

PLATE_POSITION[4] = [X4, Y4, Z4] ; Position of Plate 4

PLATE_POSITION[5] = [X5, Y5, Z5] ; Position of Plate 5

PLATE_POSITION[6] = [X6, Y6, Z6] ; Position of Plate 6

PLATE_POSITION[7] = [X7, Y7, Z7] ; Position of Plate 7

PLATE_POSITION[8] = [X8, Y8, Z8] ; Position of Plate 8

//Define welding parameters schedule (WELDSCHED)

WELDSCHED[1] = {Speed: 100, Power: 80, Angle: WELDANGLE} ; Weld schedule 1

//Define schedules for other welding parameters as needed

//Weld the cubic framework

//Weld Plate 1 using WELDSCHED[1] and the corresponding welding path


MOVEL PLATE_POSITION[1], 10% FINE_SPEED

SETTLE_TIME 2

WELD TORCH ON WITH ANGLE WELDANGLE

SET WELD SPEED TO WELDSPEED

SET WELD POWER TO WELDPOWER

WELD PLATE1_PATH WITH WELDSCHED[1]

WELD TORCH OFF

//Move to the next plate position and repeat the welding process

MOVEL PLATE_POSITION[2], 10% FINE_SPEED

SETTLE_TIME 2

WELD TORCH ON WITH ANGLE WELDANGLE

SET WELD SPEED TO WELDSPEED

SET WELD POWER TO WELDPOWER

WELD PLATE2_PATH WITH WELDSCHED[1]

WELD TORCH OFF

; Repeat for the remaining plates (3-8)

; End of program

HALT

You might also like