Hi everybody
when we use cont ın command it can see only one command after used or ıt see more than one?
CONT
-
basbasan -
January 5, 2013 at 8:45 AM -
Thread is marked as Resolved.
-
-
CONT is not a KRL command -- it is a menu option available to menu-programmed points using Inline Forms.
If CONT is selected in the Inline Form, changes are made to the folded KRL code, like adding the C_PTP or C_DIS suffixes to PTP or LIN motion commands.
In KRL, the command CONTINUE can be used to prevent the Advance Pointer from breaking on commands that would normally break the advance run. Output commands, for example. The CONTINUE command applies only to the very next line of KRL code.
-
I mean PTP P1 CONT Vel=100%PDAT1
When we use cont here, cont start next command early,
PTP P1 CONT Vel=100%PDAT1
PTP P2 CONT Vel=100%PDAT1
here when we use cont before finish p1, p2 starts. or we write a logic command like making true an output, output will be true before p1 finish.
but how many command can be active with this. if ı write cont all of command how many commands can be active. -
As I said, CONT is not a command. It only effects the motion programmed in that Inline Form. If you program two identical motions, one with CONT and the other without, then open the Fold for each of those motions, you will see the difference.
Using Inline Forms, a simple Output command will still break the advance pointer. You would have to use a SYN OUT Inline Form to avoid this. A SYN OUT simply appends a CONTINUE command before the $OUT= command inside the Fold -- you can see this for yourself. However, since this makes the timing of outputs unpredictable, it is generally advisable to use TRIGGER commands instead.
If there is a limit on how many logic commands can execute in the advance run with CONTINUE prefixes, I have never encountered it, so I'm sure it is quite large. I know that Interrupts and Triggers have limits for simultaneous execution. 6?