CONTROLWORD

AN-430 Function to set CONTROLWORD values

In some device, such as Inverters, the CONTROL WORD have to be set to a different value to enable the drive. The Ethercat Function $7E can do this
    • Related Articles

    • Set and Clear bits in TABLE values (Function)

      Here are 2 functions to set and clear a bit in a given TABLE value. ' functions to set and clear bits in TABLE FUNCTION set_table_bit(index, bit AS INTEGER)   DIM pattern AS INTEGER   pattern = 1 << bit   TABLE(index, TABLE(index) OR pattern) ENDFUNC ...
    • 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 ...
    • AN-315 EtherCAT setup for Panasonic A5B Drive

      When delivered, the Panasonic A5B has 2 features set; the Positive Over Travel Input (POT) and the Negative Over Travel input (NOT). If these are connected to limit switches then the system will work in the usual way until the limit switch is ...
    • Timed ramps and dwells - a FUNCTION example

      Functions to make timed position ramps and dwells. For example as might be used in a blow moulding controller. ' Function library to support timed ramps ' 'Declare a universal value to hold the table index DIM tab_index AS INTEGER ' Set up a linear ...
    • EtherCAT Axis Types and Feature Enable

      ATYPE is usually set automatically when the EtherCAT starts, depending on slave type and DRIVE_MODE in MC_CONFIG. 65 EtherCAT position 66 EtherCAT speed 67 EtherCAT Torque 68 EtherCAT Open Speed- No Feature code required 69 EtherCAT Reference Encoder ...