DP module 7: Command channel
Module 7, command 15dec (0Fhex):
read AS-i cycle counter
8-16
8.15
Module 7, command 15
dec
(0F
hex
):
read AS-i cycle counter
Structure
Request of DP master
Bit
MM = master no. (1…2)
Byte
7
6
5
4
3
2
1
0
1
0 0
0F
hex
2
MM 0
3
0
not used *)
4
0
not used *)
Response from controllere
Bit
Byte
7
6
5
4
3
2
1
0
1
D7 D6
0F
hex
2
copy of the request
D6 = command code
D7 = error code
→
page
, table at the bottom
3
cycle counter high byte
4
cycle counter low byte
provides the number of AS-i cycles of the master since
power on
Example: Read AS-i cycle counter of AS-i master 1
Request of DP master
Byte no.
Value [hex]
Description
1
0F
0F = command 15
2 40
(master no.
1 * 64
)
= 64
dec
=
40
hex
3
00
not used *)
4
00
not used *)
Response from controllere
Byte no.
Value [hex]
Description
1
0F
copy of the request
2
40
copy of the request
3 04
4 CA
cycle counter = 04CA
hex
= 1226
dec
→
since the last power-on of the controllere, 1226 cycles have elapsed in the AS-i master 1
By carrying out several measurements the number of cycles per time unit can be measured.
*)
IMPORTANT:
For the query read only the required bytes. Unused bytes can contain information of
previous queries.
Summary of Contents for Ecomat 300 AC1355
Page 8: ...8 15 Terms abbreviations 15 1 16 Index 16 1 ...
Page 12: ...On this manual Overview where is what 1 4 ...
Page 14: ...Safety instructions Functions and features 2 2 ...
Page 16: ...System requirements Required accessories 3 2 ...
Page 18: ...Getting started Set up Profibus DPV1 4 2 ...
Page 24: ...Menu Main menu Fieldbus Setup 6 4 ...
Page 52: ...Set up Finish set up 7 28 ...
Page 238: ...Technical data Profibus DP interface 13 2 ...
Page 246: ...Terms abbreviations 15 6 ...