Hello Guest it is December 06, 2019, 03:20:27 AM

Author Topic: OEM DROs and OEM Buttons  (Read 4987 times)

0 Members and 1 Guest are viewing this topic.

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
« Last Edit: March 22, 2008, 05:49:36 PM by Martzis »
Re: OEM DROs and OEM Buttons
« Reply #1 on: April 24, 2008, 03:35:30 PM »
I just tested version R3.041 and the problems still exist. Brian, could you check at least the OEM DRO 2 and 3 issue. I would really like to get my interface card work with Mach properly (like it works in EMC).
 
Here is some information about my card: http://martzis.wippiesblog.com/martzis-usb-hid-interface/ (Sorry, mostly Finnish.)
Re: OEM DROs and OEM Buttons
« Reply #2 on: May 04, 2008, 02:12:57 PM »
I tested to alter OEM DRO 101-103 values using Mach3 VB Script. Same problem exists there. MPG1 values can be altered but MPG2 and 3 can not.