Skip to main content
Submitted by Paul-997 on Wed, 01/23/2013 - 08:58

I believe I found a bug in this software. See the following commands as typed into the terminal:

:ST; 'All motion off
:PR0,0;BG; 'These commands also don't produce any motion
:PR,;BG; 'These commands also don't produce any motion
:PR 100000;BG; 'This command moves the X axis 100,000 counts positive
:PR ,-100000;BG 'This command moves the Y axis 100,000 counts negative, but also moves the X axis 100,000 at the same time
:PR,;BG; 'Produces the same movement as the previous line

The documentation I've read doesn't suggest that this is valid or to be expected.

Other possibly relevant information:
DMC32.DLL 7.1.20.0
DMCBUS32.DLL 7.0.36.0
DMCSER32.DLL 4.2.13.0
DMCShell 4.0.0.3
DMCTerminal2 5.0.12.0
DMCRegister 7.1.6.0

Comments 5

Paul-997 on 01/23/2013 - 08:59

BTW, I had previously set my AC, DC and SP to acceptable values.

Galil_AndyH on 01/23/2013 - 09:04

Paul,

When you issue the PR command, it is "queued" up for that axis, and will be executed for each BG command. You can use the BG command to specify all axes or just specific axis - BG with no axis designation specifies all axes.

For example, the follow code will move the X axis 3000 counts positive, and the B axis 2000 negative

[code]
PR 1000,-1000
BGA;'move A axis +1000 counts
BGAB;'move A axis +1000 counts and B axis -1000 counts
BG;'move A axis +1000 counts and B axis -1000 counts
[/code]

Paul-997 on 01/23/2013 - 09:07

So the movement amount stays queued even after the movement is executed, and until it's changed (manually or by program)?

Galil_AndyH on 01/23/2013 - 09:08

Yes, that is correct.

Paul-997 on 01/23/2013 - 09:08

Thanks!