- Posts: 4793
- Thank you received: 1480
movement pauses during the execution of an MCode
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
4 years 1 month ago #251290
by Todd Zuercher
Replied by Todd Zuercher on topic movement pauses during the execution of an MCode
All of the above is still true if you are using a stepgen to control your extruder motor (which you probably need to do anyway,)
The following user(s) said Thank You: tommylight, mich94
Please Log in or Create an account to join the conversation.
- mich94
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
4 years 1 month ago #251406
by mich94
Replied by mich94 on topic movement pauses during the execution of an MCode
You are my saviour, yes i was misunderstanding: i was wondering wich was the motion analog pin out, the robotic platform i'm working on use the Mesa 7i76 as doughtercard and on the manual/datasheet/pin map i have seen i can't find analogs output.
This sounds strange to me because on the Hal Meter on the AXIS of linuxcnc that i'm using there are 4 motion.analog-out-00 as you previously said...
have u ever had the 7i76? is there something i don't know about the position of these analog pins?
the robot also mounts a 7i80 only for the motors, can those pins be there?
thank you for all the time you dedicated to this
This sounds strange to me because on the Hal Meter on the AXIS of linuxcnc that i'm using there are 4 motion.analog-out-00 as you previously said...
have u ever had the 7i76? is there something i don't know about the position of these analog pins?
the robot also mounts a 7i80 only for the motors, can those pins be there?
thank you for all the time you dedicated to this
Please Log in or Create an account to join the conversation.
- mich94
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
4 years 1 month ago #251407
by mich94
Replied by mich94 on topic movement pauses during the execution of an MCode
this is the pinmap i use
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
-
Less
More
- Posts: 4819
- Thank you received: 2177
4 years 1 month ago #251413
by Aciera
Replied by Aciera on topic movement pauses during the execution of an MCode
" motion.analog-out-00" is an internal pin that holds your analog value and you would then connect that pin to to other pins in HAL, like a hardware analog output or another software analog pins.
As far as I know the 7i76e has no analog output capability, for that you could use something like this board to connect to the smart serial on your card:
store.mesanet.com/index.php?route=produc...oduct&product_id=122
However if you are using a stepper motor on the extruder you might want to run that from a step generator on your 7i76e and set the speed in hal using the "motion .analog-out-00" value.
As far as I know the 7i76e has no analog output capability, for that you could use something like this board to connect to the smart serial on your card:
store.mesanet.com/index.php?route=produc...oduct&product_id=122
However if you are using a stepper motor on the extruder you might want to run that from a step generator on your 7i76e and set the speed in hal using the "motion .analog-out-00" value.
The following user(s) said Thank You: mich94
Please Log in or Create an account to join the conversation.
- mich94
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
4 years 1 month ago #251469
by mich94
Replied by mich94 on topic movement pauses during the execution of an MCode
ok thank you very mutch for all 
now: i'm using a 7i76 that for what i read is slightly different from the "e" version but not so mutch about the analog output i guess.
i have a pneumatic extruder, so until now we utilized the spindle output just because it provides a voltage out in the range 0-5V that we need for the air valve.
from what you said and what i found on the datasheets can i connect the hardware pin (phisically present on the board) "SPINDLE OUT" with the internal pin "motion.analog-out-00" (i guess by changing some commands in the HAL file)?
Would this allow me to set the value of the motion.analog-out-00 with the M67 gcode and have the voltage output i need on the "SPINDLE OUT" pin?
thank you people for the patience
now: i'm using a 7i76 that for what i read is slightly different from the "e" version but not so mutch about the analog output i guess.
i have a pneumatic extruder, so until now we utilized the spindle output just because it provides a voltage out in the range 0-5V that we need for the air valve.
from what you said and what i found on the datasheets can i connect the hardware pin (phisically present on the board) "SPINDLE OUT" with the internal pin "motion.analog-out-00" (i guess by changing some commands in the HAL file)?
Would this allow me to set the value of the motion.analog-out-00 with the M67 gcode and have the voltage output i need on the "SPINDLE OUT" pin?
thank you people for the patience
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4793
- Thank you received: 1480
4 years 1 month ago - 4 years 1 month ago #251481
by Todd Zuercher
Replied by Todd Zuercher on topic movement pauses during the execution of an MCode
I think you have a lot of things very confused. Do you have a machine configuration that "mostly" works for you except for the pauses in motion when you try to change the extruder feed using M3Snnn?
If so post your hal and ini config files here by adding them as attachments to your message. Then we can suggest the proper changes you will need to make to those files to get the desired affect.
The hal pin "motion.analog-out-00" has nothing really to do with any true hardware analog outputs, other than being one of many possible ways of sending a float value to one. In this case you should probably be using a hardware stepgen to control your extruder so "motion.analog-out-00" will merely be the means for sending the float value of the speed you want to that stepgen. (All digital nothing analog about it other than the name of the hal pin.)
PS: The name of the hal pin "motion.analog-out-00" is really a bit of a misnomer, a more accurate descriptive name for it would have been "motion.float-out-00". But it is a long standing historic error in semantics that would be more trouble to change than to leave it alone.
If so post your hal and ini config files here by adding them as attachments to your message. Then we can suggest the proper changes you will need to make to those files to get the desired affect.
The hal pin "motion.analog-out-00" has nothing really to do with any true hardware analog outputs, other than being one of many possible ways of sending a float value to one. In this case you should probably be using a hardware stepgen to control your extruder so "motion.analog-out-00" will merely be the means for sending the float value of the speed you want to that stepgen. (All digital nothing analog about it other than the name of the hal pin.)
PS: The name of the hal pin "motion.analog-out-00" is really a bit of a misnomer, a more accurate descriptive name for it would have been "motion.float-out-00". But it is a long standing historic error in semantics that would be more trouble to change than to leave it alone.
Last edit: 4 years 1 month ago by Todd Zuercher. Reason: Added PS comment
Please Log in or Create an account to join the conversation.
Time to create page: 0.169 seconds