Omron C200HW-PRM21 Operation Manuals page 85

Profibus-dp master unit
Table of Contents

Advertisement

Control and status area
bit
word
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Slave active bits
Slave diagnostic bits
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.
15 14 13 12 11 10 9
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48
79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64
95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80
111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96
125 124 123 122 121 120 119 118 117 116 115 114 113 112
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48
79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64
95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80
111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96
125 124 123 122 121 120 119 118 117 116 115 114 113 112
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).
8
7
6
5
4
3
2
1
0
Active flags stations 01 ~ 15
Active flags stations 16 ~ 31
Active flags stations 32 ~ 47
Active flags stations 48 ~ 63
Active flags stations 64 ~ 79
Active flags stations 80 ~ 95
Active flags stations 96 ~ 111
Active flags stations 112 ~ 125
Diagnostic flags stations 01 ~ 15
Diagnostic flags stations 16 ~ 31
Diagnostic flags stations 32 ~ 47
Diagnostic flags stations 48 ~ 63
Diagnostic flags stations 64 ~ 79
Diagnostic flags stations 80 ~ 95
Diagnostic flags stations 96 ~ 111
Diagnostic flags stations 112 ~ 125
Section 5-3
69

Advertisement

Table of Contents
loading

Table of Contents