Hi! I need to operate a machine with 3 channels. 1 channel - upper turret, 2 channel - lower turret, 3 channel - subspindle (for transfering from 1 to 2 spindle or back).
I made a machine based on Sim15 Fanuc. However, the simulation doesn't stop on the labels M100, M101, M102 etc.
If I remove the 3rd channel - the simulation works correctly.
I want to modify the method "GMe_SetSyncPointByMCode" (see photo) - I want to add a channel "3", but it is closed from editing (red colour).
What can I do?
before starting some coding. Please clarify how or which controller command on the real machine syncronizes the motions. The M10x are for the sample machine. This can be different to the real machine. The M10x approach works for 2 channel properly but for 3 channels there are more information needed in the nc code for the controller.
Where should the information come from that e.g. ch1 and ch3 are syncronized and not ch2 with the simple M101?
In your case you have to at first clarify the snyc command and then use the CSE command SetSyncPoint for the implementation. You can also look into the WAITM implementation from Siemens CCF. This is open and shows how it can look like. But as I said M101 is not enough to syncronize 3channels.
Labels have this form:
!1 L100 - for 1 channel
!2 L100 - for 2 channel
!3 L100 - for 3 channel
where !1, !2, !3 - number of channel
L100, L110, etc. - number of label
Where ic CSE command SetSyncPoint?
1 channel: 3 channel:
!3 L100 !1 L100
!3 L200 !1 L200
(transfer to subspindle)
!3 L300 !1 L300
Hi all and Thomas too! I decided to take the synchronization procedure from Sim15 Siemens. For example. I transferred the WAITM-command to my FANUC-postprocessor and CSE-driver. However, this procedure gives an error (photo). The error occurs when I start the "Sync Manager". What could be my problem? Thanks!
That is a topic of the parser.
Which controller you like to simulate?
"WAIT" is not Fanuc code for sure, but also "!3 L100" is not part of the OOTB Fanuc Parser.