Hello Guest it is March 29, 2024, 01:40:47 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.


Messages - baumandr

Pages: 1
1
General Mach Discussion / Re: VB Script in Screens vs. Script editor
« on: April 04, 2012, 05:48:06 PM »
Hi!

Here ist the entire macro that caused the issue
described in the post before:

The macro is to clear the reference switch if it is
activated by trailer before starting a reference travel.


Sub Main

Pause=100
X_axis = 0
Y_axis = 1
Z_axis = 2

If getoemled(836)<>0 Then
 JogOn(Z_axis,1)
End If
 
Do While getoemled(836)<>0
 Sleep(Pause)
Loop

JogOff(Z_axis)

While ismoving()
 sleep(Pause)
Wend

If getoemled(830)<>0 Then
 JogOn(X_axis,1)
End If
 
Do While getoemled(830)<>0
 Sleep(Pause)
Loop

JogOff(X_axis)

While ismoving()
 sleep(Pause)
Wend

If getoemled(833)<>0 Then
 JogOn(Y_axis,0)
End If
 
Do While getoemled(833)<>0
 Sleep(Pause)
Loop

JogOff(Y_axis)

While ismoving()
 sleep(Pause)
Wend

 DoOemButton(1024)
 DoOemButton(1022)
 DoOemButton(1023)


End Sub


This macro is working without any error
in VB-Script window opened in Menue "Operator".
But it does not execute the command "JogOn()" when it is
embedded in screen.set

Environment:
Mach3 R3.043.060
ESS plugin ESS_v10da2.zip
Windows XP prof. SP3

Please can you verify this issue?

Thanks,
Andreas.

2
General Mach Discussion / VB Script in Screens vs. Script editor
« on: April 04, 2012, 09:49:57 AM »
Hi!

I wrote a small cript with command "JogOn()" in it.
I experienced that this script is working correctly
in Script editor window opened in Mach3 V.....60
but not if the script is embedded in screen file as button
command.
OEM codes like DoOEMButton(1024) are working good in
editor window and in screen.

Please confirm and help me to solve this issue.

Thanks,
Andreas.

3
SmoothStepper USB / Re: Ethernet SmoothStepper first test
« on: February 14, 2012, 04:52:20 PM »
Again Referencing:

Tested with Mach R3.043.058 and ESS plugin ESS_v10da2.

Commands DoOEMButton(22) (23) and (24) are working fine.

Command RefCombination(x) is not working correct.
It is working with single axis (1,2,4,8...) argument but not with combination of them.
For example: RefCombination(3) moves only x axis,
RefCombination(6) moves only y axis.

Is this bug in ESS plugin?

Regards,
Andreas.

4
SmoothStepper USB / Re: Ethernet SmoothStepper first test
« on: February 08, 2012, 01:34:31 PM »
Hi Bill,

Do You use the hall effect switch at the ends of your machines travel or in the center of it.
I use ref switch so that it is closed all the right half of travel and is open all the left half.

With PP driver referencing starts from left to right  if switch is open and right to left if switch is closed.
With ESS referencing starts always from right to left without notice of switch on or off.

Tested with identical settings in both cases.

Andreas.

5
SmoothStepper USB / Re: Ethernet SmoothStepper first test
« on: February 07, 2012, 01:39:55 PM »
Hi to developer of ESS!

First of all great work, thanks.

I use ESS on a Emco FB2 with homemade stepper motor control and Mach3

My question is about home switch handling.

Three different home switches on my machine are in the middle of travel area.
They are activated by a ramp on x,y and z support so that they are in off position
on left half of travel and in on position on right half of travel.

Referencing with parallel port driver :

Case 1:
Support moves to the right if it is on left half of travel (ref switch is open)
After ref switch is activated, support moves little bit to left to free the switch.

Case 2:
Support moves to the left if it is in the right half of travel (ref switch is closed)
and stopped if ref switch is free.

So  I never have to care if support is in left or right position of ref switch when referencing is performed.


Referencing with ESS:

Support always moves to right side without notice of ref switch status.
If ref switch is off, referencing is normal as described in case 1.
If ref switch is activated  support travels left until axis limit is reached.

Maybe this is a bug in ESS plugin.

Regards,
Andreas.

Remark:
The line:

If ref switch is activated  support travels left until axis limit is reached.

should be changed to:

If ref switch is activated  support also travels right until axis limit is reached.


Andreas.
     

6
SmoothStepper USB / Re: Ethernet SmoothStepper first test
« on: February 07, 2012, 01:12:33 PM »
Hi to developer of ESS!

First of all great work, thanks.

I use ESS on a Emco FB2 with homemade stepper motor control and Mach3

My question is about home switch handling.

Three different home switches on my machine are in the middle of travel area.
They are activated by a ramp on x,y and z support so that they are in off position
on left half of travel and in on position on right half of travel.

Referencing with parallel port driver :

Case 1:
Support moves to the right if it is on left half of travel (ref switch is open)
After ref switch is activated, support moves little bit to left to free the switch.

Case 2:
Support moves to the left if it is in the right half of travel (ref switch is closed)
and stopped if ref switch is free.

So  I never have to care if support is in left or right position of ref switch when referencing is performed.


Referencing with ESS:

Support always moves to right side without notice of ref switch status.
If ref switch is off, referencing is normal as described in case 1.
If ref switch is activated  support travels left until axis limit is reached.

Maybe this is a bug in ESS plugin.

Regards,
Andreas.





     

Pages: 1