CNT_IO_EXT

../_images/d47390d6ee60a7cb0a317f3412dd8a73

Note

The fast counter which is integrated in CPUs PM55x and PM56x (Onboard I/Os) can only be managed by Function Block ONB_IO_CNT ONB_IO_CNT (and not by CNT_IO_EXT).

Parameter Value
Library_File_Name Counter_AC500_V20.lib
Available as of PLC runtime system V2.0
Available as of S500 I/O device firmware: V1.3
Type Type_Function_Block_History

Function Block CNT_IO_EXT is used to control the fast counter of the digital S500 I/O Modules.

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

To activate the fast counter of a digital S500 I/O Device, the parameter “fast counter” of the I/O device must be set to the desired counting mode in the control system configuration.

Data exchange between CPU and fast 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

Caution

The high-speed counters of the digital S500 I/O devices are only available when connected to the I/O bus of the AC500 CPUs. If connected to the CS31 bus (e. g. with DC551-CS31 or CI590-CS31-HA) or another fieldbus (with DC505-FBP), no fast counters are available.

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