Jitter on the direction output, MC403-Z P821

Jitter on the direction output, MC403-Z P821

When using a MC403-Z P821, we are facing with an issue related to the "direction" signal.

Please take a look at the following picture:
Scope screen
We have connected the oscilloscope on the step signal (channel 1) and direction signal (channel 2).

From what we see, it seems that the direction signal has a strange behavior... multiple commutations...

Please could you explain the behaviour?

=====================================================================
We have reproduced the same effect at Trio.

The theory we have is that the divide by 16 in the FPGA is not at a count which will generate a pulse.  As the MOVECIRC crosses 0 position, the internal count from DPOS jitters slightly so it sends a count up by 1, then down by 1 and repeats this for a few milliseconds.  The count is not enough to generate a pulse at the output, but it is enough to cause the direction output to change between forward and reverse.  The change in the direction output does not matter to the drive because there is no pulse on the step output.

The reason the output changes immediately there is a direction change internally is because some drives need a minimum time between direction change and the pulse.  The maths for the MOVECIRC create some very small errors as it crosses 0 and they are generating "noise" in the demanded position which then changes the direction output.

    • Related Articles

    • Can I use Motion Perfect v4 with the new MC404-Z?

      The MC404-Z and other new products require the latest version of Motion Perfect to run them.  At the time of writing this post, the latest version is MPv5 version 5.0.2 and that is the recommended version for programming the MC404-Z 4 axis stepper ...
    • MC_CONFIG vs Flash parameters

      All Motion Coordinators store the IP_ADDRESS, IP_NETMASK and IP_GATEWAY in Flash memory.  So there is usually no need to add them to the MC_CONFIG. There are some differences with other system parameters. MC4N-ECAT, MC4N-RTX, MC6N-ECAT, Flex-6 Nano ...
    • Stepper Axis pulse output duty cycle and shape

      The ATYPE 45 is A+B quadrature output square wave and will work with a drive that has the same type of input. alternatively ATYPE 43 outputs short pulses and a direction signal. You set the UNITS to 16 x the normal value to allow for the divider in ...
    • virtual output

      Q: How do I used a virtual output? How can I read the state of the virtual output? A: Set virtual output with OP. Read virtual output with IN. OP(24,ON) IF IN(24)=ON THEN PRINT "OK" ENDIF
    • AN-363 MODBUS RTU connecting to Stepper Drive

      This document is a guide to users wanting to use the Motion Coordinator MC4/5/6 as a Modbus master connected to a typical slave device. The actual example used is the Moons ST stepper drive.