Are some DRO's Write protected?
Here is a section of my macropump:
sov=GetoemDRO (202)
If (sov <= 9500) Then
'set spindle speed to 9000 RPM
ActivateSignal (output6)
DeActivateSignal (output7)
DeActivateSignal (output8)
DeActivateSignal (output9)
SetOEMDRO (39,9000)
End If
If (sov > 9500) And (sov <= 10500) Then
'set spindle speed to 10000 RPM
DeActivateSignal (output6)
ActivateSignal (output7)
DeActivateSignal (output8)
DeActivateSignal (output9)
SetOEMDRO (39,10000)
End If
Everthing is working fine except the SetOemDro command. Any ideas?
Thanks
Eugene