
6
PROFIBUS communication
6.9
Parameterising the time stamp
293
Lenze · I/O system 1000 · Reference Manual · DMS 5.0 EN · 09/2016 · TD17
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Parameter data
Diagnostic data
Using SFB 52, you can read out the diagnostic bytes which provide information about the module.
With SFB 52 you can also read out data set 1 which contains further information.
Data set 1 is structured as follows:
Data set
Name
Description/value
Lenze
No.
Byte
0x02 0
Length - process
image input data
Length of input data (backplane bus communication); the
values are specified by the system. Other values are not
permissible.
0x14 or 0x3C
(fix)
1
Length - process
image output data
Length of output data (backplane bus communication); the
values are specified by the system. Other values are not
permissible.
0x00 (fix)
0x01 0
Input delay DI 1
0x00 = 1
s
0x02 = 3
s
0x04 = 10
s
0x07 = 86
s
0x09 = 342
s
0x0C = 273
s
No other values are permissible.
0x02
1
Input delay DI 2
0x02
0x80 0
Edge 0-1 at DI x
Time stamp entry on rising edge
Bit 0: DI 1 (0: inhibit, 1 = enable)
Bit 1: DI 2 (0: inhibit, 1 = enable)
Bits 7 ... 2: reserved
0x00
1
Edge 1-0 on DI x
Time stamp entry on falling edge
Bit 0: DI 1 (0: inhibit, 1 = enable)
Bit 1: DI 2 (0: inhibit, 1 = enable)
Bits 7 ... 2: reserved
0x00
Data set 1, diagnostics
Byte
Bit 7 ... 0
0
0 (fixed)
1
Bit 3 ... 0: Module class, 0b1111: Digital module
Bit 4: Channel information available
Bit 7 ... 5: 0 (fix)
2
0 (fixed)
3
0 (fixed)
4
Bit 6 ... 0: Channel type, 0x70: Digital module
Bit 7: more channel types available (0: yes; 1: no)
5
Number of diagnostic bits output by the module per channel (here 0x00))
6
Number of channels of a module (here 0x02)
7 ... 15
0 (fixed)