Guy Lavoie Posted August 4 Author Posted August 4 18 hours ago, Jim P said: If I remember my Ocelot ran programs basically like a ladder logic program going from line or row 1 sequentially through each row of logic commands. Where UD devices are able to run specific rows or programs based on other programs... ie. program b is able to run if or then sections of program a or what ever program you want to call. Yes, with the Ocelot the "Skip to" command that was added in C-Max 2.0 allowed that kind of nested programming, where a logic test allowed you to skip over one or more logic tests. It really came a full ladder logic machine with that. I had asked Dan Smith at ADI to add that, along with the modulo math operator. Good memories of those days! With that, it became possible to script programs like the C language: If (condition) { If (other tests) Then.... } As I told some C programmers at the time, the "Skip to" command translates to a "{" in C (that skips to the matching "}" ) if the logic test is false. The complier hides that from you! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.