CNT_CS31_EXTΒΆ

../_images/0779abe5e389ba7f0a33139000eba54e

Function Block CNT_CS31_EXT is used to control the Fast Counter in CS31 Bus Modules (e. g. DC551-CS31, CI590-CS31-HA and CI592-CS31).

Parameter Value
Library_File_Name Counter_AC500_V20.lib
Available as of PLC runtime system V2.0.0
Available as of CS31 Bus Module firmware V1.3, V2.0
Remark V1.3 at DC551-CS31, V2.0 at CI590-CS31-HA and CI592-CS31
Type Type_Function_Block_History

Function Block CNT_CS31_EXT is used to control the Fast Counter of the CS31 Bus Modules (e. g. DC551-CS31, CI590-CS31-HA and CI592-CS31).

Function Block CNT_CS31_EXT is derived from CNT_DC551 and works very similar to it.

As of firmware version 2.0 it is possible to configure and access the serial ports of a CM574-RS through the configuration of the AC500 CPU. Because CM574-RS can be installed into 1 of the 4 possible Communication Module slots, this Function Block has an additional input (SLOT) to give the position where the CM574 is installed. If COM1 of an AC500 CPU should be used, or if the user program which is using this Function Block is located in the CM574-RS, this input must have the value 0.

All other functions are the same as in CNT_DC551.

Note

This Function Block can be used only with a configuration done by ABB Control Builder Plus.

The operating modes of the Fast Counters are described in detail in a separate chapter: Fast Counter

To activate the Fast Counter in CS31 Bus Modules, the address switch of the CS31 Bus Modules must be set to a value in the range between 70 and 99. Then, the actual module address is the set address minus 70, i.e. it is in a range between 0 and 29.

Data exchange between CPU and high-speed counter is done using input/output data. The following is required for the counter:

- 2 bytes digital inputs for status bytes 0 and 1

- 4 words analog inputs for 2 actual value double words of counters 1 and 2

- 2 bytes digital outputs for control bytes of counters 1 and 2

- 8 words analog outputs for 4 start/end value double words of counters 1 and 2

Thus, 1 CS31 Bus Module with activated Fast Counter (without S500 expansion modules) occupies 2 CS31 software modules:

Module 1: digital module with digital inputs (3 bytes) and digital outputs (4 bytes)

Module 2: analog module with analog inputs (8 words) and analog outputs (4 words)

The address of the modules corresponds to the address set at the DC551 minus 70.

Caution

The high-speed counters of the S500 expansion modules are not available if they are connected to CS31 Bus Modules. They are only available after connecting the modules to the I/O Bus of the AC500 CPU.

The Function Block CNT_DC551 has an integrated visualization visuCNT_CS31 that can be used to control all Function Block functions in parallel to the user program, if input EN_VISU = TRUE.