The machine is a Lux Mill 650H VMC vertical center and the manufacturer is Twinhorn Taiwan.
Due to memory loss,I contacted Mitsubishi and they contacted the manufacturer and sent me the parameters and macros for changing the tool.
I managed to load the parameters with difficulty, the machine works well but does not change the tool.
I also loaded the macro but I think it's not very accurate (the manufacturer says it can be modified or adapted).
this is the macro for ATC:
%
:9000(20T.MACRO)
#3003=1
#3004=3
G80G40
N10#100=#4003
N15#101=#4006
N20#1100=0
N21#1101=0
N22#1102=0
N23#1103=0
N24#1104=0
G91G30Z0.
N40M19
N45T#20
N59IF[#1005EQ1]GOTO120
N60IF[#1000EQ1]GOTO118
N61IF[#1001EQ1]GOTO70
N62IF[#1002EQ1]GOTO117
N65GOTO59
N70G91G30Z0.
M90
M80
G04X0.5
N75#1101=1
G91G28Z0.
N77IF[#1004EQ1]GOTO100
N80IF[#1003EQ1]GOTO90
N85GOTO77
N90G91G30Z0.
M81
M91
N95#1103=1
N98GOTO120
N100M81
M91
N105#1104=1
G04X0.5
G91G30Z0.
M81
M91
N115#1102=1
N116GOTO120
N117M89
N118#1100=1
N120G#100
G#101
#3003=0
#3004=0
M99
%
The tool changer is an umbrella type
I have attached the picture of the M codes of the machine.
When I give the command to change the tool, the Z axis comes in position and the spindle is oriented but it stops like this, it does not change the tool.
Macro stops at N117M89, If I replace M89 with M09 the macro runs to the end but does not change the tool and the Z axis remains in the tool change position.
Can someone help me? maybe someone has a similar machine...
Click image for larger version. 

Name:	CUHN0164.JPG 
Views:	4 
Size:	97.1 KB 
ID:	441325