The Craftmans Shop > New from Old

The Sequel - Oh Blimey I bought a CNC Lathe (Beaver TC 20)

<< < (83/260) > >>

DICKEYBIRD:

--- Quote from: awemawson on September 20, 2018, 06:15:26 AM ---Well PK has VERY kindly offered to take a look at this unit as I understand his company has the suitable facilities, so it's started on a long journey to the other side of the world this morning on a '5 day target' service from the Royal Mail.

Very many thanks to PK who is definitely a 'good chap'  as I was going cross eyed chasing this problem :thumbup:

--- End quote ---
Another example of "It's not what 'ya know, it's who 'ya know!"

awemawson:
Or rather:

 :mmr:

kayzed1:
 Is it back yet dad? :) :) :lol:
Lyn.

awemawson:
Still going round in circles as usual Lyn !

The OMM pcb has left these shores and hopefully will arrive in Oz any day soon  :thumbup:

The M19 spindle orientation issue is still eluding me. Contacts on the Siemens support forum assure me that it's just a option that needs enabling by setting a 'bit' but which bit !

I have obtained a full back up from a Beaver TC10 lathe that DOES spindle orientate using M19, and I've been through the files byte by byte comparing them with mine trying to account for differences. However nothing yet shouts at me saying 'It's ME !'

. . . madness beckons  :clap:

awemawson:
OK a tiny weenie bit of progress on spindle orientation. The format of the code is:

M20 (which enables  the servo / closes the loop for spindle positioning)
M19 S180 (which should do the actual motion.

Well, it turns out that the M20 is setting the correct bits in the PLC (Q100.6 & Q100.7) for loop enabling, but then putting the 820 Control into ' STOP:READ-IN ENABLE' . This prevents the control reading the next instruction (the M19) hence the control 'hanging'

Now poking around in the PLC documentation 'QB87 bit 5' is apparently the 'Read-In Enable' bit, and sure enough before the M20 is executed it is 'true', but once the M20 runs it goes low (false) preventing the next instruction being read.

As I understand it, for testing I should be able to force it back to true to see if the M19 works, but it resolutely stays as a '1'

Sorry if this all sounds somewhat arcane, but getting it down helps me sort it out in my head - well it should, I'm not there yet  :bang:

I strongly suspect that the back up copy of the PLC program is corrupt.(*) I do have a copy from the other lathe that I got back ups from, but it is only 6K long whereas mine is 18K, probably as my lathe has gear changing built in with the PLC doing the clever bits to prevent gear crashing - I'm not at all sure it's safe to load the shorter version, even for testing  :scratch:

(* an alternative theory is that perhaps a bit of memory that the PLC program sits in is faulty  :scratch:)

. . . as before . . . madness beckons  :med:

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version