Info about PSWITCH

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 P874/P879 Flexaxis modules and other Motion Coordinators with encoder ports. The HW_PSWITCH uses a FIFO buffer in the FPGA that is loaded with On and OFF positions from the TABLE. It is accurate to the nearest encoder pulse edge +/- 2 usecs. (approximately)
    • Related Articles

    • 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 ...
    • 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 ...
    • Fast EtherCAT start up.

      The fast startup is done with ETHERCAT(0,0,5). It means the master does not wait for the drives to be in sync before going operational. The drives will still take the same amount of time to get in sync so you should delay doing any actual moves until ...
    • Replace EURO205X with EURO209

      The Euro 209 and Euro 404/408 share the same pinout arrangement which is somewhat different to the Euro 205(x). So changing from 205 to either the 404 or 408 will have the same hardware challenges. Software wise the 205/404 difference is similar to ...
    • What is the range of Servo update rates on P834 EURO408?

      The Euro404 and Euro408 both support the following servo update rates set by SERVO_PERIOD.  At the fast rates, the number of axes is reduced. 125 microseconds (4 axes max) 250 microseconds 500 microseconds 1 milliseconds 2 milliseconds