CD522_16BIT_CNT

../_images/b3b792b7e389ae3f0a33139000eba54e1

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_CNT should be used with one of these operating modes:

Operating Mode 8 “Up/Down with release (B), 0 cross detection”
Should be specified in PLC Configuration; parameter “mode counter” in order to use one up/down 16 bit counter (in range of -32768 to 32767) with enable input and zero crossover detection (CF). Counting is valid when input B is TRUE. With set and reset input operation and touch/catch value.

The module CD522 provides 2 Up/Down 16 bit counter functions. A signal used for pulse count is identified by A0 for counter 0 and A1 for counter 1. Another signal used for enable or dynamic set is identified by B0 for counter 0 and B1 for counter 1.

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