Siemens GS..D.. Bedienungsanleitung Seite 16

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 30
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 15
How to configure an Anybus PROFIBUS Slave module with a Siemens Step7 PLC
SCM-7032-026
Rev 2.1
SFC14 Input data:
The purpose of SFC14 is to read out the data from the In area of the process image and then copy the data to
another storage location.
LADDR: specifies the start byte address of the data to be read. The value is entered in Hex. In this case the
start byte address is 92 (=5C Hex) which can be found at o in Figure 17.
RET_VAL: Storage location for error messages. This is a Word, in this case MW4.
RECORD: This is where the data is copied to. In this case it is copied to memory byte 10 to 47. (i.e. MB10-
MB47). The length must equal the length set at o in Figure 17.
SFC15 Output data:
The Purpose of SFC15 is to read the data from any storage location and then copy it to the Out area of the
process image.
LADDR: specifies the start byte address of the data to be sent. The value is entered in Hex. In this case the
start byte address is 46 (=2E Hex) which can be found at o in Figure 17.
RET_VAL: Storage location for error messages. This is a Word, in this case MW6.
RECORD: This is where the data is read from. In this case it is read from memory byte 48-59. (i.e. MB48-
MB59). The length must equal the length set at o in Figure 17.
The data can then be processed as desired (i.e. as byte, word, double word or bit wise) at the other storage
location specified at RECORD.
In the example below (Figure 18) it is described how the PLC program can be done.
Figure 18 The use of the SFC14 and SFC15 in the PLC program.
By highlighting the SFC in the LAD-editor and then pressing “F1” the help function will start and display
extended information such as error codes and syntax examples.
www.anybus.com HMS Industrial Networks AB
Page 16 (30)
Seitenansicht 15
1 2 ... 11 12 13 14 15 16 17 18 19 20 21 ... 29 30

Kommentare zu diesen Handbüchern

Keine Kommentare