Foo Fighter
Member
I'm looking for some help trying to figure out how to call subroutines in structured text using GX Works2.
I'm new to ST (have done a little C prog before) and am trying to write some useless programs just for practice. I've searched and searched (forums, manuals, tutorials, even CD based tutorials from Melsoft...) and cannot find what I'm looking for.
I just want to know the proper syntax for calling subroutines either using the CALL() or CJ() functions. I cannot for the life of me figure out how to create a pointer that it will jump to.
Any help would be appreciated, I'm running out of hair to pull out!
- Adam
I'm new to ST (have done a little C prog before) and am trying to write some useless programs just for practice. I've searched and searched (forums, manuals, tutorials, even CD based tutorials from Melsoft...) and cannot find what I'm looking for.
I just want to know the proper syntax for calling subroutines either using the CALL() or CJ() functions. I cannot for the life of me figure out how to create a pointer that it will jump to.
Any help would be appreciated, I'm running out of hair to pull out!
- Adam