{"action":"created","issue":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/2923","labels_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/2923/labels{/name}","comments_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/2923/comments","events_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/2923/events","html_url":"https://github.com/MarlinFirmware/Marlin/issues/2923","id":128312349,"number":2923,"title":"How to make driver of E1 for motor Z2?","user":{"login":"releyshic","id":16849515,"avatar_url":"https://avatars.githubusercontent.com/u/16849515?v=3","gravatar_id":"","url":"https://api.github.com/users/releyshic","html_url":"https://github.com/releyshic","followers_url":"https://api.github.com/users/releyshic/followers","following_url":"https://api.github.com/users/releyshic/following{/other_user}","gists_url":"https://api.github.com/users/releyshic/gists{/gist_id}","starred_url":"https://api.github.com/users/releyshic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/releyshic/subscriptions","organizations_url":"https://api.github.com/users/releyshic/orgs","repos_url":"https://api.github.com/users/releyshic/repos","events_url":"https://api.github.com/users/releyshic/events{/privacy}","received_events_url":"https://api.github.com/users/releyshic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-23T07:53:51Z","updated_at":"2016-01-23T16:05:18Z","closed_at":null,"body":"Переводчик\r\nActively build 3D printer from old inkjet printers )\r\nI have a Chinese Arduino Mega and RAMPS 1.4, DRV8825 drivers (purple, or notebook which), the firmware is Marlin\r\nIn test mode all twisted (SM) works\r\nBut the main problem is the following -> I have on the z-axis of SM c two gears of different number of steps and straps of different pitch, those physically not able to connect two of these SM's on a single driver the z axis.\r\nRAMPS 1.4 Board has 3 channels for stepper motor 3 axes X, Y, Z and two extruders for E0 and E1. The extruder I have one, so it remains a free driver E2. To it just I want to connect a second stepper motor Z-axis different from the first parameters.\r\nBut here is just big problem - motor control of the extruder differs from the management of SM axis, and plus and myself configuring Marlin to work with 2 extruders are not simple and little information at Russian.\r\nThe settings of the axes are stored in the header Configuration.h\r\n#define DEFAULT_AXIS_STEPS_PER_UNIT {80,(100*1)/(1.05*40),(100*1)/(1.25*20),(3200 * 39.0)/(11.0 * 6.75 * 3.45)}// X Y Z E0 E1 100 - the number of steps per revolution stepper motor, 1.05 - step belt, 40 is the number of gear teeth \r\nEach Driver receives 4 parameters: MS1, MS2 - microstepping mode(1, 1/2, 1/4,1/8,1/16,1/32); STEP, DIR as I understood - step (pulse) and direction of rotation. However, I do not understand why the code is MS1, MS2 although in the diagram to the controller is not connected\r\nI guess the easiest option would be to find where in the code the firmware sends commands to the outputs of Arduini -> driver-E1 and write down the values for Z, but given its parameters, naturally there will be several edits on the way from DEFAULT_AXIS_STEPS_PER_UNIT to the programming outputs of the mega.\r\nHere's what I can't find where it is set to output mega for STEP, DIR\r\nWell, maybe somebody is already doing? or well versed in the code?"},"comment":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/comments/174196409","html_url":"https://github.com/MarlinFirmware/Marlin/issues/2923#issuecomment-174196409","issue_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/2923","id":174196409,"user":{"login":"releyshic","id":16849515,"avatar_url":"https://avatars.githubusercontent.com/u/16849515?v=3","gravatar_id":"","url":"https://api.github.com/users/releyshic","html_url":"https://github.com/releyshic","followers_url":"https://api.github.com/users/releyshic/followers","following_url":"https://api.github.com/users/releyshic/following{/other_user}","gists_url":"https://api.github.com/users/releyshic/gists{/gist_id}","starred_url":"https://api.github.com/users/releyshic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/releyshic/subscriptions","organizations_url":"https://api.github.com/users/releyshic/orgs","repos_url":"https://api.github.com/users/releyshic/repos","events_url":"https://api.github.com/users/releyshic/events{/privacy}","received_events_url":"https://api.github.com/users/releyshic/received_events","type":"User","site_admin":false},"created_at":"2016-01-23T16:05:18Z","updated_at":"2016-01-23T16:05:18Z","body":"\"sarf2k4 commented 4 hours ago\r\nyou probably wanna try to look into configuration_advance.h area, I remember there's an option for dual motor mode for each axis but not sure about using assigned pins such as your case. It should be doable\"\r\n\"doable\" thanks fo new word/ never dont heard =))\r\n\"option for dual motor mode for each axis\" do you have description for this option? or better - work project with this, or more better - all inclusive =))"}}