overall the answer is a clear yes, that is how the CSE works. In most cases some customization is needed when going that way. That depends on what is part of the subprogram and if all that is part of the MCF/CCF. For sure the OOTB CCF do not include any special Machine tool OEM stuff, but can be customized.
Hope it helps
thanks for short and direct request. Thats what i want to listen. I also have think that, because everything is inside the toolchange.h You only need to customize a bit the CSE. Not more. Not rebuild the complete toolchange function.
Sure .. you can use it but you have to check which parts of it are PLC related and which parts are NC related. For the PLC part is customization needed which means you have to customize the part where the tool mount process starts. CSE emulates the NC (e.g. iTNC, Sinumerik) and not the PLC (e.g. Simatic S7). For PLC driven axis/processes you need the AnyController capability. Keep in mind that, in the most cases, there is no much benefit to simulate the entire toolchange process from the machine subprogram. In the most cases its fully sufficent to pop the tool into the spindle.
i think i understand what you mean. Here a snippet of the tool change program (inside)
29 LBL 2 30 ; * wait plc request 31 FN 20: WAIT FOR B2301!=0 32 ; * Q8 1 = tool change required 2 = end
Something like that.
You need to read, understand what happen while this function and translate to clear code.