MC4N Sync Encoder

MC4N Sync Encoder

The encoder axis in the MC4N will automatically set itself up.  With no EtherCAT axes it will be axis 0 and the ATYPE will show as either 44 (servo) or 76 (incremental encoder).  You can connect an encoder and it will count the pulses straight away.  MPOS will change as you move the encoder.

If you have EtherCAT axes, then the system will put the encoder at the end of your EtherCAT axes.  ie if 4 EtherCAT axes then Axes 0 to 3 will be EtherCAT and the encoder will be axis 4.  You can set it up to be absolute just by setting the ATYPE as appropriate.

Other than that, the usual axis commands will set it up.  UNITS to scale it, DEFPOS to set the position where you need it to be, OFFPOS to offset it.  You can link to it from another servo axis using the usual commands like CONNECT, MOVELINK etc.

    • Related Articles

    • Enquiry about MC508 encoder axes

      A customer wants to know if he can use mixed encoders on the MC508. For example, Axes 0 to 5 are Endat absolute encoders and 6 and 7 are incremental encoders. Answer: By using the ATYPE command you can set any of the 8 axes to be either incremental ...
    • MC508 ATYPE, steppers and encoders

      To configure the MC508 with 4 encoder + 4 pluse/dir axes, we suggest to set axes 0~3 as encoder, and 4~7 as pulse/direction. If you set the axis 0~7 atype to High density, then 8~15 must also be High density ATYPE as well and with that setting, you ...
    • 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 ...
    • Servo feeder with measuring wheel.

      Good to hear from you. You shoule put the EtherCAT drive into CSV (speed mode) then it is possible to combine the EtherCAT axis with the encoder wheel as feedback. BASE(wheel) ATYPE = 44 ' (servo axis type) UNITS = UNITS AXIS(ecat_servo) DAC_SCALE = ...
    • 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 ...