NOMURA, two channel swiss type CNC. Part in sub-spindle (2nd cnannel), but tools in 1st channel. All tool motions - in programm for 1st channel. I have M242 for synchronisation Z1 and Z2, no problem.
And - S1=2700 (for sub-spindle) spindle speed and M04 spindle mode in programm for 1st channel. But - S1=2700 is for Spindle in 2nd channel, of course, I have a message "Axis C2 not registered".
Any Global Vars for channel 2 invisible for Channel1 and vice versa....
How I can send command to Spindle in Channel2 from Channel1?
Solved! Go to Solution.
Maybe my answer you have tried.
If not, you can try to use the "AttachJoint" command for register the ''C2" axis in the channel 1 and set the spindle speed.
I hope this help.
How does the NC Code look like?
For channel 1
G0 X#620 T2020 (T20000) (OD_35_R0.1_T20_COPY) - tool change
G97 S1=2800 M04 - spindle speed for sub-spindle
!L10 (!!!!) - sysc label
M242 - sync Z1 and Z2
G99 G01 Z.3 F.015 Start Cutting
G02 X13. Z-.557 R.65
G01 X13.18 Z-.467
!L10 - sync label
G114.1 H1 D2 R0 - sync spindles for speed and phase. May be - answer here?
Ok, Now I have Sub-Spindle spinning, but - no material removing....... TOOL No 20 in 1st channel.
Tool is active?
Correct tracking points used?
Yes... Tool is active, TP = 1, single TP, standard tool from NX. Spindle speed 2800, feed 0.03 mmpr. MUST CUT!!
let me exaplin one overall limitation we activly doing. That might be related here.
All active tools (check with getCurrentTool("") ) in each channel will perform material removal, but
ONLY if a motion is programmed in the channel.
Which axis are moving in your case in channel two (I assume Z2) which should make the tool cut?
If in your case the 2nd channel do not perform any motion that can result in the described behaviour.
How do you implement the connection between Z1 and Z2?
These limitation is done due to performance improvement. Maybe you have a case we do not cover yet and we like t find it out. Do you have a video for the overall motion, which you can share? Also per mail if you like.
I have 2 channel machine.
X1 Z1 for first channel X2 Z2 for second
C1 spindle for 1 channel C2 for second.
I have block tools, no-drived, turn tools, all motions for this block from channel 1.
This block have tool 20 (looking for C1) and tool 200 (looking for C2).
When I use tool 200, I use AttachJoint Z2 from channel 2 to channel 1. Working. No Problem.
BUT! Tool 20 I attach to 1 channel, tool 200 - to 2nd Channel!! Thanks, I think this is a problem.
Now I try to transfer 200 tool to 1 channel.
But. In this case - which spindle must be MAIN???
Later I will prepare video.
I transfer tool from 2nd channel to 1st.
Thank you, Thomas!