I have a CNC Machine Centre with a Fagor 8055MC controller.
When doing repetitive operations I'm continuously hitting Softkeys: Main Menu, Execute (F1) and Enter for each part.
I would like to fit a hard button which when pressed will replace these three moves.
The three keys, Logic Output: B6 R561, B0 R562 and B13 R561 with Key Codes 027, 64512 and 013.
With this info, is it possible to add some lines to the PLC program to trigger these three moves?
Any help will be appreciated.
Last edited by Kiwi; 06-07-2012 at 06:52 AM. Reason: Fagor. Sorry for incorrect spelling, don't see how to correct.
After reading about Fagor PLC programing this is what I have to date.
DFU I33 = SET M120 = ERA M121 122 ; I33??
= MOV PLCKEY KEYBOARD = CNCWR (KEYBOARD, KEYSRC, M100)
= MOV 027 = SET SENDKEY ; "MAIN MENU" (027)
M120 AND SENTOK = RES M120 = RES SENTOK = SET M121
= MOV 64512 = SET SENDKEY ; "EXECUTE" (64512)
M121 AND SENTOK = RES M121 = RES SENTOK = SET M122
= MOV 013 = SET SENDKEY ; "ENTER" (013)
M122 AND SENTOK = RES M122 = RES SENTOK
= MOV CNCKEY KEYBOARD = CNCWR (KEYBOARD, KEYSRC, M100)
Is anyone able to confirm if any of this is correct?
Should the KeyCodes be hexidecimal?