- 
	19-10-2021 #11
 
- 
	19-10-2021 #12
 
- 
	19-10-2021 #13Thanks. I'll try test tomorrow. 
 
- 
	20-10-2021 #14Some progress. Joined the 0V and get a reading. Its not correct, it only picks up one tool location and it seems the reason for this is, this is the only place where you have 2 outputs in pattern (++ --). The rest dont get picked up so I need to check their logic, there might be something else but at least one works which suggests that it detects something and changes state due to it. 
 
- 
	20-10-2021 #15Have you checked all inputs are switching on the relevant diagnostics screen? 
 And the inputs reflect the turret position in the manual, even if they might be flipped?Avoiding the rubbish customer service from AluminiumWarehouse since July '13.
 
- 
	20-10-2021 #16They are. Diag confirms but looks like I've not enabled the custom plc code via a tool menu. Will try it tomorrow. 
 
- 
	21-10-2021 #17So, it doesnt work. Made the change, now it recognises none of the tool locations despite being able to see the 4 bit values change. I need to look at this all again. Ive messed wiht their code too, so back to basics. 
 
- 
	21-10-2021 #18Have you got a copy of the PLC programming manual I can look at? Avoiding the rubbish customer service from AluminiumWarehouse since July '13.
 
- 
	21-10-2021 #19Yep, let me see if I upload it. HoodScotland did also link it before. I messed around again, it definately sees state change as it impacts where the turret thinks it is and stops but it doesnt show it nor match whats on the screen. 
 
 Ive also got the PLC editor and the code itself if you wanted to take a look. I can record what I see live on the machine too, what I dont understand is the relationship between the ProgramTool (M6 macro for lack of a better word) and their PLC config.
 
 HoodScotland didnt change his PLC from what I understand. Certainly doing 4 bit to 8 discrete outputs via an Arduino might be a practical solution however this should work. The macro / turret logic is very simple.
 
- 
	21-10-2021 #20User Manual of Macro(V2.2).pdfCustom macro program instruction.pdf 
 
 Documents. Ill try share the code and PLC program in a bit.
 
 This is the macro and their explanation ....
 
 PAUS100
 STAF(Unclamp Turret!)
 OUT+M63;unclamp
 WAT+X06;T07,position of unclamp
 STAF(Rotate & Select Tool!)
 OUTPY18RY19
 CASET1+X00-X01-X02-X03
 CASET2-X00+X01-X02-X03
 CASET3+X00+X01-X02-X03
 CASET4-X00-X01+X02-X03
 CASET5+X00-X01+X02-X03
 CASET6-X00+X01+X02-X03
 CASET7+X00+X01+X02-X03
 CASET8-X00-X01-X02+X03
 OUT-Y18-Y19
 PAUS50
 STAF(Clamp Turret!)
 OUT-M63;clamp
 WAT+X07; T08,position of clamp
 TS(0)=TAIM
 CURTS=TAIM
 STATUSINFO(Tool Change is Finished!)
 PAUS300
 DISP
 RETURN
 
 
 
 
 Explanation.
 
 M63:output for unclamp turret
 reset for clamp turret
 
 +T: CW Rotation_Turret
 -T: CCW Rotation_Turret
 
 
 T07: Input, Position of unlock turret
 T08: Input for detecting position of lock turret
 
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
- 
  Has anyone got any experience of SheetCNC or UK-DIY CNC?By OceanMachine in forum Gantry/Router Machines & BuildingReplies: 10Last Post: 30-04-2021, 03:59 PM
- 
  anyone had any experience of these cl motorsBy alboy in forum Stepper & Servo MotorsReplies: 1Last Post: 21-08-2018, 11:23 AM
- 
  Anyone had experience with one of these Coolubricators...By Wal in forum Swarf & Chip ManagementReplies: 4Last Post: 06-04-2014, 02:16 PM
- 
  Anyone had experience with one of these Coolubricators...By Wal in forum Marketplace DiscussionReplies: 0Last Post: 06-02-2014, 01:07 AM
- 
  EXPERIENCE: XYZ Machine - My ExperienceBy David Maybury in forum Trading Experience & FeedbackReplies: 0Last Post: 03-12-2012, 11:04 AM
 
                
 
						
					 
					
						 
		 
 Originally Posted by m_c
 Originally Posted by m_c
					
 
				
				
				
					 Reply With Quote
  Reply With Quote 
		
Bookmarks