Hello Guest it is March 28, 2024, 07:48:19 PM

Author Topic: MAch 4 and Darwin Homing Problems  (Read 2629 times)

0 Members and 1 Guest are viewing this topic.

MAch 4 and Darwin Homing Problems
« on: September 05, 2016, 10:36:19 AM »
Good Day All,
I am new to the forum but have been playing with ArtSoft software for some time now. I recently download latest versions of Mach 4 and Darwin Plugin and purchased a licenece for Darwin. I have the setup everything and everything is functioning except the homing.
I have homing switches setup in Darwin using inputs 11, 12, and 13 and they all funtion in the Mach Diagnostic tab but when i hit home all the machine makes a quick noise like it wants to home and then disables.

In my version of Mach 3 running on same system everything funtions fully.  I have tried pretty much everything i can think of and am looing for help. Maybe i am not setting something up right in Mach configure or setting too many things.

Any help or Thoughts would be greatly appreciated.

« Last Edit: September 05, 2016, 10:43:42 AM by Bachman »
Re: MAch 4 and Darwin Homing Problems
« Reply #1 on: September 05, 2016, 10:48:52 AM »
Also i have gone into logging and captured what is happening when i try to home.
2016-09-05 10:18:12.886 - API: mcJogVelocityStart() called. Axis 2, dir = 1
2016-09-05 10:18:12.886 - Attempt transition from "Idle" on event "Jog" Axis.cpp:619
2016-09-05 10:18:12.886 - S_IDLE_on_exit
2016-09-05 10:18:12.886 - MACH_STATE_start_jogging
2016-09-05 10:18:12.886 - S_JOGGING_on_entry
2016-09-05 10:18:13.058 - API: mcJogVelocityStop() called. Axis 2
2016-09-05 10:18:13.167 - Requesting a stopped report for axis 2 motors. Axis.cpp:794
2016-09-05 10:18:13.167 - Requesting a stopped report for motor 2.
2016-09-05 10:18:13.542 - All motors marked as still.
2016-09-05 10:18:13.542 - Main planner updated from last mcMotionSetPos().
2016-09-05 10:18:13.542 - Attempt transition from "Jogging" on event "Stop Jog" Controller.cpp:1300
2016-09-05 10:18:13.542 - S_JOGGING_on_exit
2016-09-05 10:18:13.542 - MACH_STATE_stop_jogging
2016-09-05 10:18:13.542 - S_IDLE_on_entry
2016-09-05 10:18:14.743 - API: mcJogVelocityStart() called. Axis 2, dir = -1
2016-09-05 10:18:14.743 - Attempt transition from "Idle" on event "Jog" Axis.cpp:619
2016-09-05 10:18:14.743 - S_IDLE_on_exit
2016-09-05 10:18:14.743 - MACH_STATE_start_jogging
2016-09-05 10:18:14.743 - S_JOGGING_on_entry
2016-09-05 10:18:14.946 - API: mcJogVelocityStop() called. Axis 2
2016-09-05 10:18:15.055 - Requesting a stopped report for axis 2 motors. Axis.cpp:794
2016-09-05 10:18:15.055 - Requesting a stopped report for motor 2.
2016-09-05 10:18:15.429 - All motors marked as still.
2016-09-05 10:18:15.429 - Main planner updated from last mcMotionSetPos().
2016-09-05 10:18:15.429 - Attempt transition from "Jogging" on event "Stop Jog" Controller.cpp:1300
2016-09-05 10:18:15.429 - S_JOGGING_on_exit
2016-09-05 10:18:15.429 - MACH_STATE_stop_jogging
2016-09-05 10:18:15.429 - S_IDLE_on_entry
2016-09-05 10:18:16.537 - API: mcJogVelocityStart() called. Axis 0, dir = 1
2016-09-05 10:18:16.537 - Attempt transition from "Idle" on event "Jog" Axis.cpp:619
2016-09-05 10:18:16.537 - S_IDLE_on_exit
2016-09-05 10:18:16.537 - MACH_STATE_start_jogging
2016-09-05 10:18:16.537 - S_JOGGING_on_entry
2016-09-05 10:18:16.662 - API: mcJogVelocityStop() called. Axis 0
2016-09-05 10:18:16.786 - Requesting a stopped report for axis 0 motors. Axis.cpp:794
2016-09-05 10:18:16.786 - Requesting a stopped report for motor 0.
2016-09-05 10:18:17.161 - All motors marked as still.
2016-09-05 10:18:17.161 - Main planner updated from last mcMotionSetPos().
2016-09-05 10:18:17.161 - Attempt transition from "Jogging" on event "Stop Jog" Controller.cpp:1300
2016-09-05 10:18:17.161 - S_JOGGING_on_exit
2016-09-05 10:18:17.161 - MACH_STATE_stop_jogging
2016-09-05 10:18:17.161 - S_IDLE_on_entry
2016-09-05 10:18:17.925 - API: mcJogVelocityStart() called. Axis 0, dir = -1
2016-09-05 10:18:17.925 - Attempt transition from "Idle" on event "Jog" Axis.cpp:619
2016-09-05 10:18:17.925 - S_IDLE_on_exit
2016-09-05 10:18:17.925 - MACH_STATE_start_jogging
2016-09-05 10:18:17.925 - S_JOGGING_on_entry
2016-09-05 10:18:18.097 - API: mcJogVelocityStop() called. Axis 0
2016-09-05 10:18:18.253 - Requesting a stopped report for axis 0 motors. Axis.cpp:794
2016-09-05 10:18:18.253 - Requesting a stopped report for motor 0.
2016-09-05 10:18:18.627 - All motors marked as still.
2016-09-05 10:18:18.627 - Main planner updated from last mcMotionSetPos().
2016-09-05 10:18:18.627 - Attempt transition from "Jogging" on event "Stop Jog" Controller.cpp:1300
2016-09-05 10:18:18.627 - S_JOGGING_on_exit
2016-09-05 10:18:18.627 - MACH_STATE_stop_jogging
2016-09-05 10:18:18.627 - S_IDLE_on_entry
2016-09-05 10:18:19.095 - API: mcJogVelocityStart() called. Axis 1, dir = -1
2016-09-05 10:18:19.095 - Attempt transition from "Idle" on event "Jog" Axis.cpp:619
2016-09-05 10:18:19.095 - S_IDLE_on_exit
2016-09-05 10:18:19.095 - MACH_STATE_start_jogging
2016-09-05 10:18:19.095 - S_JOGGING_on_entry
2016-09-05 10:18:19.220 - API: mcJogVelocityStop() called. Axis 1
2016-09-05 10:18:19.360 - Requesting a stopped report for axis 1 motors. Axis.cpp:794
2016-09-05 10:18:19.360 - Requesting a stopped report for motor 1.
2016-09-05 10:18:19.735 - All motors marked as still.
2016-09-05 10:18:19.735 - Main planner updated from last mcMotionSetPos().
2016-09-05 10:18:19.735 - Attempt transition from "Jogging" on event "Stop Jog" Controller.cpp:1300
2016-09-05 10:18:19.735 - S_JOGGING_on_exit
2016-09-05 10:18:19.735 - MACH_STATE_stop_jogging
2016-09-05 10:18:19.735 - S_IDLE_on_entry
2016-09-05 10:18:20.047 - API: mcJogVelocityStart() called. Axis 1, dir = 1
2016-09-05 10:18:20.047 - Attempt transition from "Idle" on event "Jog" Axis.cpp:619
2016-09-05 10:18:20.047 - S_IDLE_on_exit
2016-09-05 10:18:20.047 - MACH_STATE_start_jogging
2016-09-05 10:18:20.047 - S_JOGGING_on_entry
2016-09-05 10:18:20.187 - API: mcJogVelocityStop() called. Axis 1
2016-09-05 10:18:20.343 - Requesting a stopped report for axis 1 motors. Axis.cpp:794
2016-09-05 10:18:20.343 - Requesting a stopped report for motor 1.
2016-09-05 10:18:20.718 - All motors marked as still.
2016-09-05 10:18:20.718 - Main planner updated from last mcMotionSetPos().
2016-09-05 10:18:20.718 - Attempt transition from "Jogging" on event "Stop Jog" Controller.cpp:1300
2016-09-05 10:18:20.718 - S_JOGGING_on_exit
2016-09-05 10:18:20.718 - MACH_STATE_stop_jogging
2016-09-05 10:18:20.718 - S_IDLE_on_entry
2016-09-05 10:18:22.153 - API: mcAxisDerefAll()
2016-09-05 10:18:22.153 - API: mcAxisDeref() called. axis 0
2016-09-05 10:18:22.153 - API: mcAxisDeref() called. axis 1
2016-09-05 10:18:22.153 - API: mcAxisDeref() called. axis 2
2016-09-05 10:18:22.153 - API: mcAxisDeref() called. axis 3
2016-09-05 10:18:22.153 - API: mcAxisDeref() called. axis 4
2016-09-05 10:18:22.153 - API: mcAxisDeref() called. axis 5
2016-09-05 10:18:22.153 - API: mcAxisDeref() called. axis 6
2016-09-05 10:18:22.153 - API: mcAxisDeref() called. axis 7
2016-09-05 10:18:22.153 - API: mcAxisDeref() called. axis 8
2016-09-05 10:18:22.153 - API: mcAxisDeref() called. axis 9
2016-09-05 10:18:22.153 - API: mcAxisDeref() called. axis 10
2016-09-05 10:18:22.153 - API: mcAxisDeref() called. axis 11
2016-09-05 10:18:22.153 - API: mcAxisHomeAll() called.
2016-09-05 10:18:22.153 - Attempt transition from "Idle" on event "Home" Command.cpp:923
2016-09-05 10:18:22.153 - S_IDLE_on_exit
2016-09-05 10:18:22.153 - MACH_STATE_start_homing
2016-09-05 10:18:22.153 - S_HOMING_on_entry
2016-09-05 10:18:22.153 - API: mcAxisHomeComplete() called. axis 2
2016-09-05 10:18:22.153 - Signal id 1131, (Z Homed), changed from LOW to HIGH.
2016-09-05 10:18:22.153 - API: mcMotionSync() called.
2016-09-05 10:18:22.153 - SyncPosition()! Clearing planner.
2016-09-05 10:18:22.168 - API: mcCntlEnable(false) called.
2016-09-05 10:18:22.168 - All motors marked as still.
2016-09-05 10:18:22.168 - API: mcMotionSync() called.
2016-09-05 10:18:22.168 - SyncPosition()! Clearing planner.
2016-09-05 10:18:22.168 - All motors marked as still.
2016-09-05 10:18:22.168 - API: mcMotionSync() called.
2016-09-05 10:18:22.168 - SyncPosition()! Clearing planner.
2016-09-05 10:18:22.168 - All motors marked as still.
2016-09-05 10:18:22.168 - API: mcMotionSync() called.
2016-09-05 10:18:22.168 - SyncPosition()! Clearing planner.
2016-09-05 10:18:22.168 - Signal id 1018, (Enable #0), changed from HIGH to LOW.
2016-09-05 10:18:22.168 - Signal id 1019, (Enable #1), changed from HIGH to LOW.
2016-09-05 10:18:22.168 - Signal id 1020, (Enable #2), changed from HIGH to LOW.
2016-09-05 10:18:22.168 - Attempt transition from "Homing" on event "Stop Home" Controller.cpp:4924
2016-09-05 10:18:22.168 - S_HOMING_on_exit
2016-09-05 10:18:22.168 - MACH_STATE_stop_homing
2016-09-05 10:18:22.168 - SyncPosition()! Clearing planner.
2016-09-05 10:18:22.168 - S_IDLE_on_entry
2016-09-05 10:18:22.168 - Signal id 1131, (Z Homed), changed from HIGH to LOW.
2016-09-05 10:18:22.168 - Signal id 1120, (Machine Enabled), changed from HIGH to LOW.
2016-09-05 10:18:22.168 - API: mcMotionSync() called.
2016-09-05 10:18:22.168 - SyncPosition()! Clearing planner.
2016-09-05 10:18:22.262 - Attempt transition from "Idle" on event "Home" Command.cpp:969
2016-09-05 10:18:22.262 - S_IDLE_on_exit
2016-09-05 10:18:22.262 - MACH_STATE_start_homing
2016-09-05 10:18:22.262 - S_HOMING_on_entry
Re: MAch 4 and Darwin Homing Problems
« Reply #2 on: September 08, 2016, 05:11:13 PM »
Are there any messages in the error/status line (bottom left of the Mach4 screen) or in the "history" window (click the "History" button to the left of the error/status line?
Re: MAch 4 and Darwin Homing Problems
« Reply #3 on: September 08, 2016, 11:31:57 PM »
Hi Bob,
Thanks for checking back, Problem solved! I guess i was not thinking logically enough. I was using the  input signals from parallel port instead of input signal i assigned to parallel port through Darwin. Does mach 4 support or have a plugin for the WHB04 handheld wireless remote. I use it quite often in Mach 3 and would hate to loose it in mach 4.