ifm
Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376)
2012-02-23
DP module 7 – command channel
Commands in DP module 7
195
10.1.14
Module 7, command 15 (0Fhex) – Read AS-i cycle counter
5652
Provides the number of the AS-i cycles of the master since power on. By carrying out several
measurements the number of cycles per time unit can be measured.
Request from fieldbus master to device
Bit
Byte no.
7
6
5
4
3
2
1
0
1
0
0
15
dec
= 0F
hex
2
MM
0
3
not
used
4
not
used
Legend:
MM
master no.
2 bits
01
bin
= 1
dec
= master 1
10
bin
= 2
dec
= master 2
Response from device to fieldbus master
Bit
Byte no.
7
6
5
4
3
2
1
0
1
0
0
reflected command number
2
copy of the request
3
cycle counter high byte
4
cycle counter low byte
Example:
Read AS-i cycle counter of AS-i master 1
Request from fieldbus master to device
Byte no.
Value [hex]
Meaning
1
0F
0F = command number 15
2 40
(master
no.
1 * 64
)
= 64
dec
= 40
hex
3 xx
not
used
4 xx
not
used
Response from device to fieldbus master
Word no.
Value [hex.]
Meaning
1
0F
command processed, no error occurred
reflected command number
2
40
copy of the request
3 04
4 CA
cycle counter = 04CA
hex
= 1226
dec
since the last power on of the device
1226 cycles have been performed in the AS-i master 1.