Input Description

../_images/d0e76bebe389d8a90a33139000eba54e1

SLOT

Data_Type Default_Value Range Unit
BYTE - - -

This input is used to select the slot (module number) of the DC541.

The slots are numbered consecutively from right to left. Slot 1 is the first slot on the left of the CPU.

CH (channel)

Data_Type Default_Value Range Unit
BYTE - 0-7 for the inputs C0-C7 -

CH is used to select the channel for time and frequency measurement. If an invalid value is specified at input CH or if the selected channel is not configured as frequency measurement, the function flock is aborted with DONE = ERR = TRUE and an error is displayed.

EN_VISU (enable \ input in visualization)

Data_Type Default_Value Range Unit
BOOL - - -

If this input is TRUE, it is possible to control the function block inputs (except SLOT, CH and EN_VISU) via the integrated visualization of the function block. If input EN_VISU = FALSE, control via the visualization is disabled and the labelling of the corresponding control elements is displayed in gray. The actual values are always displayed.

EN (enable)

Data_Type Default_Value Range Unit
BOOL - - -

In order to enable pulse counting for input CH, input EN has to be continuously TRUE. The Function Block is not processed if input EN = FALSE.

When the function block is called for the first time, the inputs are checked for validity and plausibility and the corresponding device is checked for correct configuration in the operating mode “counting mode”. If this is not the case, processing is aborted.

START

Data_Type Default_Value Range Unit
BOOL - - -

A positive edge at input START starts the frequency output. The frequency output is aborted if START = FALSE.

STOP

Data_Type Default_Value Range Unit
BOOL - - -

A positive edge at input STOP interrupts the frequency output. If a given number of pulses has to be output, the counter continues counting if STOP = FALSE. The STOP is not synchronized with the frequency.

FREQ (frequency)

Data_Type Default_Value Range Unit
LREAL - 0.2-2500.0 Hz

Input is used to preset the frequency to be output.

PULSE

Data_Type Default_Value Range Unit
DWORD - - -

Input PULSE is used to determine whether frequency output shall be performed endless or only for the specified number of pulses.

PULSE = 0: Endless output.

PULSE > 0: Output of the specified number of pulses.