Hello Guest it is April 26, 2024, 11:28:35 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 - bcoop

Pages: 1 2 3 4 5 6 7 »
1
Solved this problem User Error  ;D - I was using the PC ID from within Windows system information, not the correct one, which is located in Mach4 menu - Help/About 
Once I put the correct PC ID in, the email was sent immediately .

Bob

2
Have a new PC to run the Mach4 CNC Router, went to the License maintenance - followed the instructions below,
when I press the “resend/email license”  button, I get taken to a new screen which simply says  "Please ensure your PCID is no more than 45 characters"
I never receive an email with my new license file. I have only this new PCID set as active, two others set as inactive,
anyone have any suggestions on how to get the new license file ?


To create a new PCID license

1)  Check that your account email is correct.  Change your account email on the “My Account” page.

2)  If the maximum number of licenses has not been reached, the text “New PCID” will appear over a data entry box.  These items will appear directly under the product, order number, and license id for which you are creating a sub-license.

3)  Enter the PCID code from the product and from the computer you wish to create a new license.

4)  Push the “Add” button and a license will be created and also emailed to you.  There is no need to push the “resend/email license” when creating a new license.

5)  A green highlighted message will appear indicating that your license has been emailed.

6)  If the dark red text “You cannot create any more licenses” appears, you have reached the new license creation limit for this calendar year, total new licenses limit, or you have reached the active license limit.

7)  If licenses are no longer being used, push the “De-activate” license button.  This will reduce the number of active licenses and allow the creation of additional licenses if no other limits have been exceeded.  Return to step #2 to create new licenses.

3

Enabling all axis' allows the pendant to work, (kind of)  the command waits until all axis arrive at home position, so it never completes. 

Also Mach4 throughs some errors, saying I need to assign a Motor to Axis 5, 
I am using motors 0-5 for X, Y, Z, A  (Y Using M1 and M3)   So I am assigning M6 to Axis 5 and Mach doesn't recognize that as a valid motor for some reason, maybe because ESS only supports 5 ?  as a test, I removed M3 from Y Slave, and assign to Axis 5, the error goes away. but can't run it like that, 

So it appears that mcCntlGotoZero(inst = 0) (unknown caller)  executes zero of all Axis X,Y,A,B,C and then the Z regardless if they are enabled or not. So it appears that this command can only be used if all axis are configured and functional.

So I have learned a lot but it doesnt appear i can use this function in the pendant the way the API functions, would be nice if it only executed the moves for Axis; that are enabled.

4
Correct, no axis' will move just display of the message, and  what is confusing is that if I enable my A-Axis, then the message changes from Axis 3 to Axis 4 commanded while disabled,  its like if the axis is enabled it generates the error, just the opposite of what is expected

5
there is a plugin for it but appears that there is no user configuration, 
scratching head here,   :-\

6
GotoWorkZero code in the screen load script works fine, its the pendant command that doesnt work correctly mcCntlGotoZero(inst = 0)


This works fine
Function GoToWorkZero()
    mc.mcCntlMdiExecute(inst, "G00 G53 Z0\nG00 X0 Y0 \nG00 Z0")--With Z moves
end

7
Additional Information

Turned on logging  (log file data attached) 
found that when using GoToWorkZero Screen Button, the following command is issued
API: mcCntlMdiExecute(inst = 0, commands = 'G00 G53 Z0G00 X0 YO G00 Z0') (unknown caller)

When using the VistaCNC P2-S4 Pendant, this command is issued
API: mcCntlGotoZero(inst = 0) (unknown caller)

-----------------------------------------------------------------------------
From the API reference document,

rc = mc.mcCntlGotoZero(number mInst)

Description:
Move the X,Y,A,B,C and then the Z axis to zero of the current fixture offset.
-----------------------------------------------------------------------------
I have A,B,C all disabled, only using X,Y,Z and getting the error message "Axis 3 commanded while disabled"
If I enable Axis A , then I get and error "Axis 4 commanded while disabled"  which makes no sense to me.

it appears that possible something is not quite right in the API, enabling an Axis, causing the "Axis x commanded while disabled" error to occur.

anyone have any thoughts?



8
I believe I  found it in the Machine,ini file,  will use WinMerge to correct my problem

9
Accidently deleted some of my modbus configuration, going to a backup copy of mach4 and looking for the config files,
Anyone know what folder the Modbus user Configuration file stored - Mach4

THanks in Advance.
Bob

10
thanks for the response,
the on-screen button runs the script, (attached)  which works fine and includes A, so I assume that the Pendant has its own method in the plugin, but no way to verify

Pages: 1 2 3 4 5 6 7 »