Period Measuring Mode Configuration
Original instructions
At a Glance
The configuration of a counting module is stored in the configuration constants (%KW).
The parameters r,m and c shown in the following tables represent the topologic addressing of the module. Each parameter had the following signification:
Configuration Objects
The table below presents the period measuring mode configurable elements.
Label
Address in the configuration
Configurable values
Counting mode
%KWr.m.c.2
(least significant byte)
Period measuring mode. The value of the least significant byte of this word is 3.
IN_A input filter
%KWr.m.c.3
(least significant byte)
The least significant byte can take the following values:
  • 0: none,
  • 1: low,
  • 2: medium,
  • 3: high.
IN_SYNC input filter
%KWr.m.c.4
(least significant byte)
The least significant byte can take the following values:
  • 0: none,
  • 1: low,
  • 2: medium,
  • 3: high.
Input power supply fault
%KWr.m.c.2.8
General input/output fault (bit set to 0)
Local (bit set to 1)
Resolution
%KWr.m.c.8
(most significant byte)
The most significant byte can take the following values:
  • 0: 1 μs,
  • 1: 100 μs,
  • 2: 1 ms.
Mode
%KWr.m.c.8
(least significant byte)
The least significant byte can take the following values:
  • 0: From one edge to the same edge at input IN_A,
  • 1: From one edge to the opposite edge at input IN_A.
Time out
%KDr.m.c.14
0... 1 073 741 823
Output block 0
%KWr.m.c.17
This word can take the following values:
  • 0: off,
  • 1: low counter,
  • 2: counter in a window,
  • 3: High counter,
  • 4: pulse = less than the lower threshold (LT),
  • 5: pulse = greater than the lower threshold (LT),
  • 6: pulse = less than the upper threshold (UT),
  • 7: pulse = greater than the upper threshold (UT).
Output block 1
%KWr.m.c.19
This word can take the following values:
  • 0: off,
  • 1: low counter,
  • 2: counter in a window,
  • 3: High counter,
  • 4: pulse = less than the lower threshold (LT),
  • 5: pulse = greater than the lower threshold (LT),
  • 6: pulse = less than the upper threshold (UT),
  • 7: pulse = greater than the upper threshold (UT).
Polarity 0
%KWr.m.c.21.1
Polarity + (bit set to 0)
Polarity - (bit set to 1)
Polarity 1
%KWr.m.c.21.2
Polarity + (bit set to 0)
Polarity - (bit set to 1)
Fault recovery
%KWr.m.c.21.0
Automatic reaction (bit set to 1)
Activated (bit set to 0)
Fallback 0
%KWr.m.c.21.3
None (bit set to 0)
With (bit set to 1)
Fallback 1
%KWr.m.c.21.4
None (bit set to 0)
With (bit set to 1)
Fallback value 0
%KWr.m.c.21.5
0 (bit set to 0)
1 (bit set to 1)
Fallback value 1
%KWr.m.c.21.6
0 (bit set to 0)
1 (bit set to 1)
Output power supply fault
%KWr.m.c.2.9
General input/output fault (bit set to 0)
Offline (bit set to 1)
Pulse width 0
%KWr.m.c.18
Edit (value in the range 1...65535)
Pulse width 1
%KWr.m.c.20
Edit (value in the range 1...65535)
Event
Event number
%KWr.m.c.0
Activated (if activated is selected, the entered event number is coded on the most significant byte of this word)
Deactivated (all bits of the most significant byte of this word are set to 1)