Pyroelk Posted September 8, 2022 Posted September 8, 2022 Feel like I'm missing something in my IDE. Using PowerPMAC IDE 4.3.0.107 with an arm,LS1021A Firmware 2.6.0.0 When adding new variables, they do not seem to populate. Hovering over the tags shows this: Type : Global Name : homingSlvEpoxyChanger Value : stdin:9:2: error #20: ILLEGAL CMD: homingSlvEpoxyChanger Also tried to add a new .pmc and get ProjectLoadErr. The project will build but will not download. Output shows this: Error: Opening File: "/var/ftp/usrflash/Project/PMAC Script Language/Libraries/homeSlvEpoxyChanger.pmc" I've tried just building, build and download, saving, $$$. Feel like something is missing in the complier, but im stuck here. Quote
Omron Forums Support Posted September 8, 2022 Posted September 8, 2022 PowerPMAC IDE 4.3.0.107 is compatible with an arm, 1020 CPU with Firmware 2.6.0.0. Are you able to build and download a new project after $$$***? Is the name "homingSlvEpoxyChanger" used for anything else in the project like a program name? Quote
Pyroelk Posted September 8, 2022 Author Posted September 8, 2022 This is an existing project that I am just beginning to edit. I can make code changes as long as I use the existing routines and variables. homingSlvEpoxyChanger is a new global variable I just added. It is not used for anything else. It doesn't give me any build and download issues, just does not have a valid value. homeSlvEpoxyChanger.pmc is a new subroutine I just created. I can edit it, and build the program, but it will throw the error I listed above when attempting a download. I cannot complete a build and download unless I delete the freshly made homeSlvEpoxyChanger.pmc Quote
Omron Forums Support Posted September 8, 2022 Posted September 8, 2022 The name "homeSlvEpoxyChanger.pmc" is not really used. What name appears after open subprog? Does it say "open subprog homeSlvEpoxyChanger"? Quote
Pyroelk Posted September 8, 2022 Author Posted September 8, 2022 Yes, the name to call the subprog is the same as the title of the file in the solution tree. Should the actual name of the subprog in the solution tree "homeSlvEpoxyChanger.pmc" differ from the open subprog name "homeSlvEpoxyChager" ? Quote
Omron Forums Support Posted September 9, 2022 Posted September 9, 2022 (edited) The name "homeSlvEpoxyChanger.pmc" does not matter. The problem is that homeSlvEpoxyChanger is used for a global variable name as well as after "open program". I would suggest changing it to "Open Prog homeSlvEpoxyChangerProg" to make the program name unique. Edited September 9, 2022 by Eric Hotchkiss clarification 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.