Control and status area
Section 5-3
69
Slave status
The 16 words that contain the slave status bits are shown below. The location
of these words in the PLC’s memory depends on the settings in DM m+14
and m+15 (see 5-1-2). Default location is IR 200 ~ 215.
These words only indicate the status of the slaves that have been assigned to
the respective master Unit and thus possibly not of all slaves in the network.
Slave active bits
Slave diagnostic bits
The first 8 words comprise the ‘slave active’ flags. These indicate which of the
slaves are active and are exchanging data with the master Unit. If a slave
active flag is OFF (0), the corresponding slave is either not configured, or not
exchanging data.
It is recommended to use the ‘slave active’ bit as a condition in the PLC
program for processing the slave’s input data. If the ‘slave active’ bit is OFF,
the presented input data may not be valid.
The next 8 words comprise the ‘slave diagnostic’ flags. These indicate if slave
diagnostic information is available from the corresponding slave station.
The master sets a flag when the diagnostic data sent by the slave does not
contain all zeros. Diagnostic data that only contains zeros is considered as no
diagnostics.
The diagnostic bit is also set when a configured slave fails to respond.
When the diagnostic bit is set, the corresponding diagnostic data can be
retrieved by sending a ‘request for diagnostics’ command to the output
mailbox with an IOWR instruction. The corresponding reply can be read from
the input mailbox with an IORD instruction (see section 6 for command
transfer by IOWR / IORD). The diagnostic bit is reset after the request, but if
the cause for diagnostics is persistent, the diagnostic bit will remain ON.
Note
The contents of these status words are cleared during the initialisation after
start-up, during a download of a new configuration and when the PROFIBUS
hardware does not function properly (P-DP H/W failure, IR n+2.06 bit is set).
bit
word
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
0
15
14
13
12
11
10
09
08
07
06
05
04
03
02
01
Active flags stations 01 ~ 15
1
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Active flags stations 16 ~ 31
2
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
Active flags stations 32 ~ 47
3
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
Active flags stations 48 ~ 63
4
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
Active flags stations 64 ~ 79
5
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
Active flags stations 80 ~ 95
6
111 110 109 108 107 106 105 104 103 102 101 100 99
98
97
96
Active flags stations 96 ~ 111
7
125 124 123 122 121 120 119 118 117 116 115 114 113 112
Active flags stations 112 ~ 125
8
15
14
13
12
11
10
09
08
07
06
05
04
03
02
01
Diagnostic flags stations 01 ~ 15
9
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Diagnostic flags stations 16 ~ 31
10
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
Diagnostic flags stations 32 ~ 47
11
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
Diagnostic flags stations 48 ~ 63
12
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
Diagnostic flags stations 64 ~ 79
13
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
Diagnostic flags stations 80 ~ 95
14
111 110 109 108 107 106 105 104 103 102 101 100 99
98
97
96
Diagnostic flags stations 96 ~ 111
15
125 124 123 122 121 120 119 118 117 116 115 114 113 112
Diagnostic flags stations 112 ~ 125
Содержание C200HW-PRM21
Страница 1: ...C200HW PRM21 PROFIBUS DP Master Unit OPERATION MANUAL Cat No W349 E2 2...
Страница 2: ......
Страница 3: ......
Страница 4: ......
Страница 5: ...C200HW PRM21 PROFIBUS DP Master Unit Operation Manual Produced May 2000...
Страница 6: ...iv...
Страница 8: ...vi...
Страница 12: ...x...
Страница 66: ...Debug mode Section 4 4 50...
Страница 98: ...Messages Section 6 4 82...
Страница 108: ...Maintenance Section 7 3 92...
Страница 110: ...94...
Страница 112: ...96...
Страница 116: ...100...
Страница 120: ...104...
Страница 124: ......
Страница 126: ...Authorised Distributor Cat No W349 E2 2 Note Specifications subject to change without notice Printed in the Netherlands...