Download - Mikro Kontrol

Transcript
Allocated CIO Area Words
Bit
12
Name
Mode command
error
Status
ON
Section 4-2
Controlled
Unit operation
by
Unit
This bit will be turned ON, if
• more than one command mode switch has been set, i.e. Bit
00 to Bit 03 in Word n has been set, or
• a mode command switch is set while the previous command
is in progress, or
• a mode transition command is given and the Unit has
detected that it does not (yet) have a valid configuration or it
detected an internal error, either of which prevented it from
reaching that mode, e.g. Invalid Parameter set and transition to OPERATE mode.
13
Parameter error
14
to
15
Reserved by system
4-2-6
OFF
ON
Unit
Unit
OFF
---
Unit
---
If this bit is turned ON, it will remain so until a valid command is sent to
the Unit. The invalid mode command will be ignored.
If the bit flags have been cleared, the Unit will reset this bit to OFF.
The Parameter set error will be turned to ON if an error has been
detected in the contents of the Parameters set while configuring the
PROFIBUS interface, using these parameters.
If the bit flags have been cleared, the Unit will reset this bit to OFF.
These bits will be set to OFF by the Unit.
Slave Status (Word n+7)
The Slave Status word collects all the information on the slave devices allocated to the Unit Master. It summarizes the slave information of the Slave
Data_Exchange Active flags, see 4-2-8 Slave Data_Exchange Active Flags
(Word n+9 to Word n+16)) and the Slave New-Diagnostics flags, see 4-2-9
Slave New Diagnostics Flags (Word n+17 to Word n+24).
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
Word n+7
Slaves in data exchange
Slave diagnostics received
Word n+7 [n = CIO 1,500 + (25 x unit number)]
Bit
00
Name
All slaves in
Data_Exchange
mode
Status
ON
OFF
01
to
03
Reserved by system
---
Controlled
Unit operation
by
Unit
All slave devices, which are allocated to the PROFIBUS Master Unit are
and enabled are in Data_Exchange with the PROFIBUS Master Unit.
All slaves which are in Data exchange are indicated in CIO Word n+9 to
n+16, see 4-2-8 Slave Data_Exchange Active Flags (Word n+9 to Word
n+16).
Unit
When turned OFF, this bit indicates that at least one slave device is not
in Data_Exchange with the PROFIBUS Master Unit.
--These bits are reserved for future use and are always set to OFF by the
Unit.
121