Hello Guest it is April 20, 2024, 06:05:06 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Martzis

Pages: 1
1
VB and the development of wizards / Problem with SetOEMDRO
« on: May 04, 2008, 02:10:09 PM »
I would like to alter the values of MPG 1-3 but I can only set the value of MPG1.

Command "SetOEMDRO(101, 123)" sets the value of MPG1 to 123. So it is working as it should.

Commands "SetOEMDRO(102, 123)" and "SetOEMDRO(103, 123)" will not change the value of MPG 2 and 3.
Does anyone know what is causing this? Is there something wrong in the Mach 3 VB API? This same problem also exists in VC++ plugin API.


2
Mach SDK plugin questions and answers. / OEM DROs and OEM Buttons
« on: March 20, 2008, 07:34:50 AM »
I have been writing a plugin for my USB input card. Card has 64 digital inputs, 4 encoders and 4 analog inputs.

During implementation I have encountered some problems:
(Mach Demo Version R3.037)
(Mach SDK 2.62)

1#
I can read encoder value from my card and set it to OEM DRO 101 "MPG 1".
I would like to do the same also with OEM DRO 102 & 103 (MPG 2 & 3) but I can not get them working. Setting a new value does nothing.

I have enabled all three MPG:s from MACH configuration, but is there something else I should configure also?

2#
Is there a DRO which would allow to change Spindle Override (SRO)? Absolute speed can be set via DRO and there are also buttons to increase or decrease override value by 10% but I can not find a DRO to do this.

3#
OEM Button 1007 "Zero All"
When this is called first time all axis DROs will go to zero. If this OEM button is called again, then old axis value may come back. The sign of old value may also change.
Doing OEM 1008 - 1013 (Zero single Axis) will not cause this odd behavior.

Edit: The problem exists also with OEM Buttons 1008-1013

Pages: 1