CNT_DC551ΒΆ
Function Block CNT_DC551 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_DC551 is used to control the Fast Counter of the CS31 Bus Modules (e. g. DC551-CS31, CI590-CS31-HA and CI592-CS31).
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_DC551 that can be used to control all Function Block functions in parallel to the user program, if input EN_VISU = TRUE Visualization.