AS SUBJECT. THANKS
hwo to run automatically a .src file when turn on the KRc4?
-
kriti -
December 29, 2014 at 4:06 AM -
Thread is marked as Resolved.
-
-
Hi
You have to use cwrite instruction calling that particular src file in your submit like
DECL STATE_T STAT
DECL MODUS MODEMODE=#SYNC
CWRITE($CMD,STAT,MODE,"RUN/R1/ROB_CTRL ()")So, it will call the rob_ctrl.src from the sub whenever the submit is run.
Thanks
-
Just make sure you do this outside of the Submit loop!
-
You also need to set up the EXT mode,
go to the file STEU/MADA/machine.dat and connect the folllowing signals to your physical inputs:
SIGNAL $MOVE_ENABLE $IN[...]
SIGNAL $EXT_START $IN[...]
SIGNAL $CONF_MESS $IN[...]
SIGNAL $DRIVES_ON $IN[...]Then, give a pulse to drives_on, and then conf_mess, once alla the status flags are green, with a pulse to the ext_start signal the program will start the execution.
diglo