I have a slew of problems with the gather technique.
I need to monitor coordinated moves in the x-y plane of a 3-axis machine with all three axes in a single coordinate system. I am trying to do this using the gather technique and am running into problems.
To have everything reproducible, I am writing a single-shot PLC (no.15). All is okay except that
Define Gather 1536
gives an error 3 during download, which disappears if I drop the length parameter. Interactively in the Terminal window of PEWin32 Pro, I can give this command without problem. Because I use the rear part of the DPRAM for other things, the gather buffer there cannot be maximal and I need the size parameter.
Why can I not do this? Do I have to go into a PROG?
Next problem: How do I get the gather data out? If I go interactively and say (in the PEWin32 Pro terminal window)
Define Gather 64
Gather
Endgather
List Gather
I get an ERR003 on the "List Gather" command. Would assigning an M variable each to the first and last word respectively and saying
M(one)..(two)
do the trick? I could then simply save the terminal output ...
I work on a PMAC2-PC104 with ACC-2P, firmware version 1.17C, PEWin32 Pro 3.2.2.1 (service pack 2.0 is applied but not 4.0), Windows XP SP3, USB 2.0 communication.
I appreciate any and all suggestions.
Jochen