Configuration for Use as Counting Device

For use of DC541-CM as a counting device, the the operating mode of the device has to be configured:

  1. In the device tree, add a new object to the DC541-CM node and select DC541 Counter mode from the list.

  2. Double-click the added object and configure the I/O channels:

    ../_images/ef0b69c945fefab60a33139000eba54e1
Values I/O Channels:
Input Input
Output Output
32 bit counter 32 bit up/down counter (uses channels C0…C3)
Limit channel 0 Limiter for 32 bit counter
Forward counter 32 bit forward counter
PWM Pulse width modulation
Frequency measurement Time and frequency measurement
Frequency output Frequency output

Note

If channel C0 is configured as “32 bit counter”, the channels C1..C3 are automatically used, too. In the PLC configuration, these channels are left at the default setting “Input”.

Function blocks are available for all module functions of the DC541-CM used as counting device. The blocks are contained in the library DC541_AC500_V11.lib and described in detail in the library documentationDC541_Library: DC541 Library