Technical data

Chapter 3 Digital input modules Manual VIPA System 200V
3-36 HB97E - SM - Rev. 09/19
For input and output data, the module occupies each 6byte in the address
area. For setting the counter mode there are 1byte parameter data at
disposal.
Loading the counter res. presetting of a reference frequency is via a control
byte by typing the wanted value into the output address area and setting
the bit 2 of the control byte to activate the counter.
You may see the counter value and the state of the inputs in the input
address area. Also during count operation you may call all input channels.
Input bytes 0 to 3 are assigned to the 32bit counter value whereas bytes 4
and 5 are assigned to the 16Bit digital inputs.
Byte Bit 7 ... Bit 0
0 Counter value byte 0
1 Counter value byte 1
2 Counter value byte 2
3 Counter value byte 3
4 DI Data byte 0 (I+0.7 ... I+0.0)
5 DI Data byte 1 (I+1.7 ... I+1.0)
Byte 0 to 3 are assigned to a load value according to the selected counter
mode. Byte 4 is used as control byte for the counter. Byte 5 selects a
reference frequency for the counter modes "Frequency Measurement" and
"Period Measurement".
Byte Bit 7 ... Bit 0
0 Load value byte 0
1 Load value byte 1
2 Load value byte 2
3 Load value byte 3
4 Control byte
5 Reference Frequency
Bit Function
0 1 = START counter (the software gate is open)
1 1 = STOP counter (the software gate is closed)
2 1 = LOAD counter
3 1 = CLEAR counter
7 ... 4 reserved
Value Reference frequency
00h 16 MHz
01h 8 MHz
02h 4 MHz
03h 1 MHz
04h 100 kHz
05h 10 kHz
06h 1 kHz
07h 100 Hz
others not allowed
Module access
Input data
DI data bytes
Output data
DO data bytes
Control byte
Reference
frequency