FC 45
Function manual, Release 03/2006 , J31069-D0167-U001-A2-7618
iii
Table of contents
1
Introduction............................................................................................................................................. 1-1
1.1
Preface....................................................................................................................................... 1-1
1.2
Navigating in the Function Manual ............................................................................................ 1-2
2
Description.............................................................................................................................................. 2-1
2.1
Block specification ..................................................................................................................... 2-3
2.2
Configuration scheme ................................................................................................................ 2-5
2.3
Data structures of FC 45............................................................................................................ 2-6
2.4
Number of MOBY channels which can be connected ............................................................... 2-7
2.5
Addressing of MOBY channels.................................................................................................. 2-8
3
Parameterizing ....................................................................................................................................... 3-1
3.1
Parameter data block................................................................................................................. 3-1
3.1.1
INPUT parameters ..................................................................................................................... 3-3
3.1.2
Command and status word........................................................................................................ 3-7
3.1.3
Further displays ....................................................................................................................... 3-10
3.2
MOBY commands.................................................................................................................... 3-11
3.2.1
Command parameters ............................................................................................................. 3-12
3.2.2
Command chaining .................................................................................................................. 3-17
3.2.3
Command repetition................................................................................................................. 3-19
3.3
Presence check and MDS control............................................................................................ 3-22
3.3.1
No MDS Control, No Presence Check: MDS_control = 0........................................................ 3-24
3.3.2
No MDS Control, Presence Control with Field Scanning: MDS_control = 1............................ 3-24
3.3.3
Field Scanning as MDS Control: MDS_control = 2.................................................................. 3-25
4
Commissioning ....................................................................................................................................... 4-1
5
Error messages and troubleshooting ...................................................................................................... 5-1
5.1
General errors............................................................................................................................ 5-1
5.2
Error messages.......................................................................................................................... 5-2
6
Examples/applications ............................................................................................................................ 6-1
6.1
FC 45 scanning by user ............................................................................................................. 6-1
6.2
Processing of data memories/transponders .............................................................................. 6-2
6.3
Cyclic calling of FC 45 (e.g. in OB 1)......................................................................................... 6-7
6.4
Programming a cold and warm restart....................................................................................... 6-8
6.5
Programming a module failure................................................................................................... 6-9
6.6
Data structure definition ........................................................................................................... 6-11
6.7
UDTs of FB 45 / FC 45 ............................................................................................................ 6-15
6.8
Determing the memory requirement in the SIMATIC............................................................... 6-20