Select a Category

How to Switch Beckhoff EL5151 from 32 bits Counter to 16 Bits Counter

Problem

Need to switch the Beckhoff EL5151 counter module from 32 bits counter to 16 Bits counter. Beckhoff document states that it can be done via PDO 1A01 and 1601. However, it does not provide details on how to get it done. Here is the part of the document.

Beckhoff EL5151 Parameterization from User Manual

It is not well documented. Here are the steps.

Solution

  1. Check the current counter value size. If it is 4 then it is 32 bits (4 bytes)

    EL5151 Counter Value 32 Bits (Size 4 Bytes)

  2. Access PDO 1A01 by clicking on EL5151 in system manager. Then click on Inputs in Sync Manager. Then uncheck 0x1A00 and check 0x1A01 in PDO Assignment box.
    Access EL5151 PDO 1A01 Setting
  3. Access PDO 1600 by clicking on EL5151 in system manager. Then click on Outputs in Sync Manager. Then uncheck 0x1600 and check 0x1601 in PDO Assignment box.

    EL5151 PDO 1601 Setting

Verification

If you check the counter value size again, it shows size 2 (bytes), which is 16 bits.

EL5151 Counter Value 16 Bits

Change from 16 EL5151 Counter from bits back to 32 bits

If you reverse the steps above, you can change the counter back to 32 bits.

Comments are closed.