2. In the "Outputs" parameter mask configure the digital output DQ0 so that this is activated when the comparison value is reached.



3. In the "Inputs" parameter mask, in the field "Set counter", set the option "multiple".
Note:
In the associated channel DB the bit DBX 27.0 or DBX 27.1 (CTRL_DQ0) must be set to 1 to enable setting in the correct direction.
4. In "Interrupt release" parameter mask select the option "Set counter" so that the interrupt is triggered by a rising edge at the digital input SET.
5. The digital input I2 of the block FM 350-1 / FM 450-1 is used to reset the counter to the initial value. This input is connected to the digital output Q0 (likewise to the FM 350-1 / FM 450-1).
Note:
In the associated channel DB the data double word DBD 14 (LOAD_VAL) must be set to the initial value beforehand (e.g. L#0). The data double word DBD18 (CMP_V1) must be set to the comparison value.
These values must be transferred with the FC CNT_CTRL to the FM by setting the relevant triggering bit once on the FC.