Multiple Motion system configuration and setup
-
@SANJR
My suggestion to start a new thread was specifically about whether the IO you were planning to use is suitable to drive a particular relay.
However in your new post, you have effectively duplicated this thread.
There is not really any more advice I can offer except to read the documentation in that regard.
https://docs.duet3d.com/en/How_to_guides/Wiring_your_Duet_3 -
-
There are some errors with the PintHeadState ON and PrintHeadState OFF. Error message is displayed as
M98 P¨0:/macros/Print Head State ON¨
Error: Bad command: global.PrintHeadState = 1M98 P¨0:/macros/Print Head State OFF¨
Error: Bad command: global.PrintHeadState = 0I have declared the global PrintHeadState = 0 in the config.g file before the Fans section where the OUT_6 pin is configured.
What could be the reason for the error bad command? And how to solve this issue plz......
-
-
Thanks Owen
So in the config.g file the global variable is to declared as
global PrintHeadState = 0; Assume initially offAnd in the macros to PintHeadState ON
set global.PrintHeadState = 1& in the PrintHeadState OFF
set global.PrintHeadState = 0What i mentioned above is correct?
-
@SANJR
Yes, that is correct -
Observed two strange conditions
-
After changing the syntax of the global variable. For the first few minutes, I was getting the same error message. But when i shutdown and restarted the machine after a few minutes, for the first time the motor started rotating. And when I tried to repeat it for a few more trials, the motor was not responding.
-
And during the first trial the motor did not stop when the PrintHeadState OFF macro was called. It was rotating for the U99999. So i had to force stop by pressing the emergency button in the DWC
For the first condition where the changes made to was not being updated. Is there any reason for residual voltage is being circulated due to voltage drop down....... Just a guess not sure if this the reason. How to resolve this issue plz...
Second how to control the motor U99999 stop?....
-
-
@SANJR
I can't offer any more help.
I have said all along I didn't like the way you were doing it and recommended other possibilities.
I merely offered a method that may or may not work the way you were trying to do it, but it's up to you to debug any issues.
Good luck with your project. -
I can understand
This method may not be the best way
Is there any other alternate way to get this requirement.
Only constraint which i face is the welder doesn´t have an feeder motor. It could perform in autogeneous mode (without filler wire) only. So i need to setup the feeder motor.
Previously tried a DC motor controlling them via OUT pin but i was not able to control the feed rate. But lately i learnt that a ESC can be used which helps to set the desired feedrate.
Any suggestions would be welcome please
-
This setup is completed. Hence can be closed
-
-