Transmisja Mazatrol <=> PC
Can anyone please let me know the correct wiring for RS232 comms between a pc and our Mazak VTV-20B machine with a Mazatrol M Plus controller?I have tried the following connections but so far have only managed to get the program sent out of the machine and not received by the machine.PC end, 9 Pin, Machine end is 25 PinPC-Pin 2 connected to Machine Pin 2PC-Pin 3 connected to Machine Pin 3PC-Pin 5 connected to Machine Pin 7Machine end Pins 4+5 Connected.Machine end Pins 6, 8, and 20 Connected.
---------------------
Ok, I have looked in the electrical cabinet (hey hey there is Mitsubishi everywhere!) and found the following information:The only M number I saw was M5...?Only other piece of information that looks relevant is on the unit marked: Mitusbishi Numerical Control System Type FCA535MWY.Does that information help at all?I have also tried a better sheilded cable, actually found a piece long enough from when the comms was working last time, and have tried again... (must be a sucker for punishment )I can receive programs from the mill to the pc, but everytime I send a program to the NC I get error "546 TAPE READER ERROR"Interesting point here is that I am pretty sure I have the machine set up as follows:Parameter G1 = 1 9600 Baud rate G2=3 2 stop bitsG3=0 Even ParityG5=3 8 BitsG6=1 Terminator set to EOB or EORG10=3 Handshaking method set to DC Code parityG11=1 DC Code ParityG12=0 Feed Section DC Code OutputG13=50 Reply Waiting time in units of 0.1secG17=00000000 G31=00000000G33=50 Number of Chars in feed sectionG34=10 Number of Chars in the space between programsG39=00000100G40=00000000G48=0 Selection of tape protocol set to Usual Tape Operation.With the above settings on the machine and the PC software setup as follows:Baud Rate 9600Stop Bits=1Parity=EvenFlow Control = Xon/XoffI only received (on the PC) junk.When I changed the Baud Rate to 4800 on the PC and then resent the program, I received the file without problem!IE the machine was set 9600 and the PC at 4800 for an OK result????Go figure!That last point really has me stumped, as it makes NO sense what so ever!Does this help anyone give me any idea how to proceed from here?RegardsBrian.
macmarcus