308guru Posted October 11, 2004 Report Posted October 11, 2004 I don't have a manual for GX-DEV and I can't figure out how to add a subroutine. Any help appreciated. Thanks. Quote
navillusi Posted October 12, 2004 Report Posted October 12, 2004 This only applies to QnA & Qn processors, you cannot have multiple program files in A or FX: Expand "Program" in the project manager tree Right click on "main" select "new" Enter the name of the new program file in "data name" Select whether Ladder or SFC in "program type" Open the PLC parameter dialog and select the "program" tab Insert each program in the order you want and select the execution type, i.e. scan, low speed, wait etc. To create a subroutine in a single program file, you will need the "Call" command to call a subrotine which lives between the FEND and END instructions. Call commands use a reference pointer, such as P1000 for example. Quote
KenE Posted October 13, 2004 Report Posted October 13, 2004 With GX IEC Developer you can add function calls and function blocks and have multiple programs on PLCs from FX to Q series. 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.
Note: Your post will require moderator approval before it will be visible.