Siemens ERTEC 200P-2 Manual page 277

Enhanced real-time ethernet controller
Table of Contents

Advertisement

Together with the Clk_input_select bit, the Gate_effect bit defines the effect of the exter-
nal gate/trigger signal in accordance with the following table:
Clk_input_select=0 (counter counts with CLK_TIMT as count/load clock dependemt on
the preselector value): Gate/Trigger mode switching:
Gate_effect
0
1
Note on the trigger mode:
If the active signal edge of the external gate/trigger signal occurs in the Trigger mode
during CLK_EN=1 and then CLK_EN becomes 0 without the preselector value having
gone to 0, the previous active signal edge only becomes effective when CLK_EN is 1
again and the preselector value is 0, i.e. the requirement does not get lost because of
CLK_EN=0.
Clk_input_select=1 (counter counts with external gate/trigger signal as count/load clock
(edge evaluation)): Count/Toggle mode switching:
Gate_effect
0
1
Thus, delays as well as time monitorings can be implemented.
Note: The loading of the counter can simultaneously mean the starting of the counter,
namely if Reload_disable=1 and Counter_value=0 and load value #0.
Note: The bit combination Gate_effect=1 and Clk_input_select=1 can be used to gener-
ate a symmetrical output signal out of an unsymmetrical input signal (reload value=1).
The TIM_OUT output of the TIMER module is active when the counter has the value '0'
(non-saving), otherwise passive. The active level of the TIM_OUT output is defined by the
Timer_out_polarity bit in accordance with the following table:
Timer_out_polarity
0
Copyright © Siemens AG 2016. All rights reserved
Technical data subject to change
Gate mode:
External gate/trigger signal has the effect of a gate (=gate mode)
for the count/load clock and has to be active for counting
Trigger mode:
Each active signal edge of the external gate/trigger signal causes
the triggering of the counter with the reload value if the current
counter value is unequal to the reload value or has no effect if
the current counter value is equal to the reload value (=Trigger
mode)
Count mode:
External gate/trigger signal is the count/load clock (Count mode)
Toggle mode:
External gate/trigger signal is the count/load clock and causes
the switching between
loading of the counter with the reload value (if the current
counter value is unequal to the reload value)
down-counting (if the current counter value is equal to the
reload value)
TIM_OUT = high active
Function
Function
Function
277
ERTEC 200P-2 Manual
Version 1.0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ertec 200p

Table of Contents