Setpoint Mcode

More
6 years 5 months ago #169530 by lorisdag
Replied by lorisdag on topic Setpoint Mcode
Exactly I have to do this. I don't use Mesa but it brings lpt

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #169531 by tommylight
Replied by tommylight on topic Setpoint Mcode
Something like rolling axis that changes the 0 position each time a plank passes a sensor ?
That should be fairly easy to do, until a certain point:
Have that axis set to immediate homing, so no homing or limit switches for that axis,
Set that plank sensor to home that axis, any offset can be set in the ini file,
That would leave only the issue of homing an already homed axis, as that requires pressing enter or clicking on OK on the screen, but that should also be possible as i recall a while back someone made the machine that would home automatically on power up.
The following user(s) said Thank You: Aciera

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #169533 by Aciera
Replied by Aciera on topic Setpoint Mcode
Well I'm sorry but I find this a somewhat tedious way to communicate.
If you want people here to help you with your problem it might be worth your while to write more than two sentences at a time.

Anyway :

If you need to set the X offset to 0 you could just use the laser sensor as an Hal input pin and call an MDI command when it becomes active:

Define MDI command in your INI:
[HALUI]
MDI_COMMAND = G10 L20 P0 X0 ( Set X to zero )

Then you can call this in your HAL:
net MDI-zerox <= your.sensor.input => halui.mdi-command-00
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #169534 by tommylight
Replied by tommylight on topic Setpoint Mcode
Or what Aciera said, that is even more elegant solution.
Thank you, Aciera.

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #169536 by lorisdag
Replied by lorisdag on topic Setpoint Mcode
hello nice solution tomorrow I try if it works thanks

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #169537 by lorisdag
Replied by lorisdag on topic Setpoint Mcode
you're right but translating Italian into English is sometimes very difficult for me

Please Log in or Create an account to join the conversation.

Time to create page: 0.287 seconds
Powered by Kunena Forum