CD522_16BIT_2CNT

../_images/474ec335e389ade10a33139000eba54e

The module CD522 can be used in 12 different configurable operating modes. The operating mode is configured in PLC Configuration using module parameters. After that, it is activated during the initialization phase (power-on, cold start, warm start).

The data exchange from and to the user program is performed using input and output operands. These necessary operands are created and reserved automatically, when one module CD522 is added into the I/O-Bus configuration.

In order to configure and use the function counter of module CD522, different operating modes are available. The Function Block CD522_16BIT_2CNT should be used with one of these operating modes:

Operating Mode 3 “Up/Down counters (A,B)”
Should be specified in PLC Configuration, parameter “mode counter” in order to use 2 Up/Down 16 bit counter (on rising edge count) functions, with separate up/down, reset operation and overflow flag.
Operating Mode 4 “Up/Down (A, B on falling edges)”
Should be specified in PLC Configuration, parameter mode counter in order to use two Up/Down 16 bit counter functions (with A on rising edge count and B on falling edge count), With separate up/down, reset operation and overflow flag.

The module CD522 provides 4 Up/Down 16 bit counter functions. A signal used for pulse count is identified by A0 and B0 for counter A and A1 and B1 for counter B.

Parameter Value
Library_File_Name CD522_AC500_V13.lib
Available from CD522 firmware V2.1
Available from PLC runtime system: V1.0.2
Available from S500 I/O modules (DC551/DC505) firmware V1.11
Type Type_Function_Block_History