FB45_e.pdf

(3892 KB) Pobierz
1
____________ __
Introduction
SIMATIC Sensors RFID systems FB 45
2
____________ __
Description
3
____________ __
Parameterizing
SIMATIC Sensors
4
____________ __
Commissioning
RFID systems
FB 45
Error messages
and troubleshooting
5
____________ __
6
____________ __
Examples/applications
Function manual
Brief description
of ASM hardware
A
____________ __
Programming the
MOBY-ASM on PROFIBUS
B
____________ __
C
____________ __
Service & Support
Release 03/2006
J31069-D0166-U001-A2-7618
812751896.015.png 812751896.016.png 812751896.017.png
Safety Guidelines
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
Danger
indicates that death or severe personal injury will result if proper precautions are not taken.
Warning
indicates that death or severe personal injury may result if proper precautions are not taken.
Caution
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
Caution
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
Notice
indicates that an unintended result or situation can occur if the corresponding information is not taken into
account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The device/system may only be set up and used in conjunction with this documentation. Commissioning and
operation of a device/system may only be performed by qualified personnel. Within the context of the safety notes
in this documentation qualified persons are defined as persons who are authorized to commission, ground and
label devices, systems and circuits in accordance with established safety practices and standards.
Prescribed Usage
Note the following:
Warning
This device may only be used for the applications described in the catalog or the technical description and only in
connection with devices or components from other manufacturers which have been approved or recommended
by Siemens. Correct, reliable operation of the product requires proper transport, storage, positioning and
assembly as well as careful operation and maintenance.
Trademarks
All names identified by ® are registered trademarks of the Siemens AG. The remaining trademarks in this
publication may be trademarks whose use by third parties for their own purposes could violate the rights of the
owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Siemens AG
Automation and Drives
Postfach 48 48
90437 NÜRNBERG
GERMANY
Order No.: J31069-D0166-U001-A2-7618
Edition 06/2006
Copyright © Siemens AG 2006.
Technical data subject to change
812751896.018.png 812751896.001.png 812751896.002.png 812751896.003.png 812751896.004.png 812751896.005.png 812751896.006.png 812751896.007.png 812751896.008.png 812751896.009.png 812751896.010.png 812751896.011.png
 
Table of contents
1
Introduction............................................................................................................................................. 1-1
1.1
Overview.................................................................................................................................... 1-1
1.2
Preface....................................................................................................................................... 1-4
1.3
Navigating in the Function Manual ............................................................................................ 1-5
2
Description.............................................................................................................................................. 2-1
2.1
Block specification ..................................................................................................................... 2-1
2.2
Configuration scheme................................................................................................................ 2-3
2.3
Data structures of FB 45............................................................................................................ 2-4
2.4
Number of MOBY channels which can be connected ............................................................... 2-5
2.5
Addressing of MOBY channels.................................................................................................. 2-6
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-16
3.2.3
Command repetition................................................................................................................. 3-18
3.3
Presence check and MDS control............................................................................................ 3-21
3.3.1
No MDS Control, No Presence Check: MDS_control = 0........................................................ 3-22
3.3.2
No MDS Control, Presence Control with Field Scanning: MDS_control=1.............................. 3-22
3.3.3
Field Scanning as MDS Control: MDS_control = 2.................................................................. 3-23
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
FB 45 scanning by user............................................................................................................. 6-1
6.2
Processing of data memories/transponders.............................................................................. 6-2
6.3
Cyclic calling of FB 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
FB 45
Function manual, Release 03/2006, J31069-D0166-U001-A2-7618
iii
812751896.012.png
Table of contents
A
Brief description of ASM hardware.......................................................................................................... A-1
A.1
RF170C...................................................................................................................................... A-1
A.2
ASM 456..................................................................................................................................... A-7
A.3
ASM 475................................................................................................................................... A-15
A.4
ASM 473................................................................................................................................... A-20
A.5
ASM 452................................................................................................................................... A-24
A.6
ASM 454................................................................................................................................... A-31
A.7
ASM 754................................................................................................................................... A-34
A.8
ASM 854................................................................................................................................... A-37
A.9
ASM 850................................................................................................................................... A-43
B
Programming the MOBY-ASM on PROFIBUS........................................................................................ B-1
B.1
Programming the MOBY-ASM on PROFIBUS DP-V1............................................................... B-1
B.2
Cyclic Control Word between Master and MOBY-ASM............................................................. B-5
B.3
Methods of operation with the ASM........................................................................................... B-8
B.4
Command and acknowledgement telegrams........................................................................... B-13
B.5
PROFIBUS implementation ..................................................................................................... B-22
B.6
Example of a PROFIBUS Trace .............................................................................................. B-25
C
Service & Support................................................................................................................................... C-1
C.1
Contacts..................................................................................................................................... C-2
C.2
Training ...................................................................................................................................... C-2
FB 45
iv
Function manual, Release 03/2006, J31069-D0166-U001-A2-7618
812751896.013.png
Table of contents
Tables
Table 2-1
Typical runtimes of FB 45 (cycle load of AS in ms)................................................................... 2-1
Table 2-2
MOBY FB configuration scheme................................................................................................ 2-3
Table 2-3
Number of MOBY channels....................................................................................................... 2-5
Table 3-1
UDT 10 "MOBY Param"............................................................................................................. 3-1
Table 3-2
INPUT parameters..................................................................................................................... 3-3
Table 3-3
Variables in command and status word..................................................................................... 3-8
Table 3-4
Displays.................................................................................................................................... 3-10
Table 3-5
UDT 20 "MOBY CMD" ............................................................................................................. 3-11
Table 3-6
Overview of commands ........................................................................................................... 3-12
Table 3-7
Write to MDS............................................................................................................................ 3-12
Table 3-8
Read MDS................................................................................................................................ 3-13
Table 3-9
Initialize MDS........................................................................................................................... 3-13
Table 3-10
SLG status ............................................................................................................................... 3-14
Table 3-11
NEXT........................................................................................................................................ 3-14
Table 3-12
Terminate communication with MDS....................................................................................... 3-14
Table 3-13
Antenna of write/read device ON/OFF..................................................................................... 3-15
Table 3-14
MDS status and diagnosis....................................................................................................... 3-15
Table 3-15
DB 47 - declaration view.......................................................................................................... 3-16
Table 3-16
DB 47 - data view..................................................................................................................... 3-17
Table 3-17
Number of buffers on the ASM ................................................................................................ 3-19
Table 3-18
Field scanning as MDS control................................................................................................ 3-23
Table 5-1
Classification of error messages................................................................................................ 5-2
Table 5-2
Error messages of the MOBY-ASM via the "error_MOBY" variable.......................................... 5-3
Table 5-3
Error variable "error_FB"............................................................................................................ 5-8
Table 5-4
Error variable "error_BUS"....................................................................................................... 5-10
Table 6-1
Available memory capacities ..................................................................................................... 6-2
Table 6-2
UDT overview table.................................................................................................................. 6-15
Table 6-3
UDT 100 "MOBY MDS status"................................................................................................. 6-16
Table 6-4
UDT 110 "MOBY write/read device status" ............................................................................. 6-16
Table 6-5
UDT 120 "MOBY write/read device-Stat Diag 1"..................................................................... 6-17
Table 6-6
UDT 130 "MOBY write/read device-Stat Diag 2"..................................................................... 6-17
Table 6-7
UDT 140 "MOBY write/read device-Stat Diag 3"..................................................................... 6-17
Table 6-8
UDT 260 "MDS status (mode 1, RF300)"................................................................................ 6-18
Table 6-9
UDT 270: "MDS status (mode 2, RF300)"............................................................................... 6-18
Table 6-10
UDT 280 "write/read device status (mode 6, RF300)"............................................................. 6-19
FB 45
Function manual, Release 03/2006, J31069-D0166-U001-A2-7618
v
812751896.014.png
Zgłoś jeśli naruszono regulamin