Plc Functions For Drive Components On The Integrated Profibus; Overview; Performing A Start-Up - Siemens SINUMERIK 840D sl Function Manual

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

13.14

PLC functions for drive components on the integrated PROFIBUS

13.14.1

Overview

Using the function described below, input and output data from drive components on the
integrated PROFIBUS can be consistently, cyclically read and written from the PLC user
program of the hardware PLC. The following boundary conditions must be observed:
● For reading / writing input/output data, the system functions SFC14 / SFC15 must be used.
● The reading / writing of input/output data is always over the entire slot length.
● The function only supports cyclical, non-equidistant data transfer.
● An output slot may not already be occupied on the NC side; (e.g. output slots of drives).
13.14.2

Performing a start-up

Preconditions
Before the function is put into operation on the NC side, the following preconditions must be
satisfied:
● The drive components on the integrated PROFIBUS of the NCU must be fully configured
using SIMATIC STEP 7, HW Config.
● The configuration is loaded into the PLC.
NC machine data
The start addresses of the slots to be transferred cyclically are to be entered into the following
machine data:
● Input slots:
MD10520 $MN_PLCINTERN_LOGIC_ADDRESS_IN[<Index>] = <Slot address>
● Output slots:
MD10525 $MN_PLCINTERN_LOGIC_ADDRESS_OUT[<Index>] = <Slot address>
<Index>: 0, 1, 2, ... (Max no. of slots) – 1
<Slot address>: The slot address parameterized in HW Config
Note
Maximum quantity of data
The sum of all data to be cyclically transferred in inward and outward directions may not
currently exceed 2,048 bytes.
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
13.14 PLC functions for drive components on the integrated PROFIBUS
P3: Basic PLC program for SINUMERIK 840D sl
895

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents