I'm posting this in CNC section, since I think the question is more CNC control related rather than automation/robotics, here goes:
Would the following logic be doable on a Fanuc 21-M control, reason for asking is that we haven't bought the machine yet, but the one that would fit the purpose and budget is an early 2000s Chiron FZ 08 W, they seem to come with this Fanuc control, and if this is doable on it, I can go ahead and buy one to push the project further along.
Description:
1) a mini pallet with parts is placed on the machine table, fixed via Zero point mounting system
2) besides the parts, there is an "ID" block mounted on this plate, every pallet will have this ID block at the same place, they might come in sizes (X axis) 10mm/12mm/14mm etc.
3) The main program on the control would first probe this block in X axis and do something like this:
#X=(probe measurement of the right)-(probe measurement on the left)
4) the main program then would call another program with the name stored in the X variable
The idea here is that the pallets would loaded from racks by a robot arm (KUKA 761 will be used if that matters), the VMC then identifies which type of part is loaded and executes the machining program, some pallets may have 5 parts on them, some 20, and there might be 20 pallets of 1st type, 10 of the second and 10 of 3rd type all ran overnight unattended, that is the current idea.
For safety the "sub" programs would still probe the parts on the pallets to make sure they are seated properly etc, but the main "feature" would be the IDing of the pallet by probing the "ID" block on each pallet and calling specific machining program to be executed.
Full disclosure - I have no experience programming Fanuc controls, I have taught myself to use older Haidenhain controls in conversational mode (TNC155 and 355), can do basic CAM work, I know my way around electronics, IC programming, can write an app for a phone or a piece of software on a PC, but I only glanced over the G code basics so far, and from what I've gathered so far there are numerous versions of controls, and all sorts of different options on them that may allow or prevent doing what I described above, I just need someone with experience to tell me that I'm digging in the right direction, or pointer/keywords to use to search the forum to solve my problem, or even look for a machine with a different control.
Would the following logic be doable on a Fanuc 21-M control, reason for asking is that we haven't bought the machine yet, but the one that would fit the purpose and budget is an early 2000s Chiron FZ 08 W, they seem to come with this Fanuc control, and if this is doable on it, I can go ahead and buy one to push the project further along.
Description:
1) a mini pallet with parts is placed on the machine table, fixed via Zero point mounting system
2) besides the parts, there is an "ID" block mounted on this plate, every pallet will have this ID block at the same place, they might come in sizes (X axis) 10mm/12mm/14mm etc.
3) The main program on the control would first probe this block in X axis and do something like this:
#X=(probe measurement of the right)-(probe measurement on the left)
4) the main program then would call another program with the name stored in the X variable
The idea here is that the pallets would loaded from racks by a robot arm (KUKA 761 will be used if that matters), the VMC then identifies which type of part is loaded and executes the machining program, some pallets may have 5 parts on them, some 20, and there might be 20 pallets of 1st type, 10 of the second and 10 of 3rd type all ran overnight unattended, that is the current idea.
For safety the "sub" programs would still probe the parts on the pallets to make sure they are seated properly etc, but the main "feature" would be the IDing of the pallet by probing the "ID" block on each pallet and calling specific machining program to be executed.
Full disclosure - I have no experience programming Fanuc controls, I have taught myself to use older Haidenhain controls in conversational mode (TNC155 and 355), can do basic CAM work, I know my way around electronics, IC programming, can write an app for a phone or a piece of software on a PC, but I only glanced over the G code basics so far, and from what I've gathered so far there are numerous versions of controls, and all sorts of different options on them that may allow or prevent doing what I described above, I just need someone with experience to tell me that I'm digging in the right direction, or pointer/keywords to use to search the forum to solve my problem, or even look for a machine with a different control.