AN-361 HW_PSWITCH XY Mode

AN-361 HW_PSWITCH XY Mode

The HW_PSWTICH command takes a list of trigger positions and loads them into a hardware buffer in the FPGA. This is done individually for each axis.

In a Cartesian system, there is a need for accurate outputs to be triggered based on the XY position of a pair of axes instead of separate outputs for X and Y.

This document describes the functions of the MC405 FPGA which includes an XY mode for HW_PSWITCH.

    • Related Articles

    • Info about PSWITCH

      The PSWTICH is processed every servo cycle, so at 2 msec SERVO_PERIOD it will be accurate to within +/- 2msecs. HW_PSWTICH requires hardware that monitors the encoder counter. It is only possible to use on the built-in encoder of the MC664(X), the ...
    • 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 ...
    • AN-300 PSWITCH limitation

      The PSWTICH command uses a software comparator to detect the ON and OFF positions on the defined axis so that an output can be switched rapidly within the motion software without the processing delays normally seen in a BASIC program. This document ...
    • AN-313 COMPENSATE_XY

      COMPENSATE_XY is a motion command designed to allow for a superimposed compensation motion to be applied to an axis based on the measured position of 2 axes (X & Y).
    • AN-362 VP mode

      VP_MODE allows programmers to select alternative velocity profile types to suit different applications. This document explains how to use this mode