Utry2win
Aluminum
- Joined
- Aug 17, 2011
- Location
- Lakeland, FL
Ok, I have a sub program I am trying to run, where I would like a the part to rotate back and forth. Unfortunately, the rotary seems to only want to rotate in the positive direction. Here is a sample of my code. I have tried it with A180. and A-180. Both always continue in the positive direction on the return pass. Mori Seiki SV5020 MSG-805 control (mitsubishi).
(BEGIN SUB)
O8718
G90 G59 G1 Y1.1456 F20.
G19 G03 Y-1.1456 R1.25 A0. F500.
G01 Y-2.2456 F20.
G91 X-.03
G90 G59 Y-1.1456
G19 G02 Y1.1456 R1.25 A180. F500.
G01 Y2.2456 F20.
G91 X-.03
M99
(BEGIN SUB)
O8718
G90 G59 G1 Y1.1456 F20.
G19 G03 Y-1.1456 R1.25 A0. F500.
G01 Y-2.2456 F20.
G91 X-.03
G90 G59 Y-1.1456
G19 G02 Y1.1456 R1.25 A180. F500.
G01 Y2.2456 F20.
G91 X-.03
M99