- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am working on editing wdio.lsp, the PLC IO Import Utility lisp function.
Within it, I am using functions such as insert, explode, and c:wd_wire to draw wires.
I now want to use more functions, like c:AESOURCE, c:AELINK, and c:AEEDITCOMPONENT.
The problem is, I am not sure of the syntax for these functions. In the lisp, if I type in (c:AELINK), then the system stops and prompts me to select the first device to link. However, (c:AELINK "0,0" "1,1" "") and (c:AELINK "0,0" "1,1") both do not work and I simply get a "too many arguments" error for both. I have a component at both of these locations, and typing in those arguments from the command line works perfectly.
Why won't this work in lisp? Any thoughts?
Thanks
Solved! Go to Solution.