Nck I/O Via Profibus; Profibus-I/O In Write Direction - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

Digital and Analog NCK I/Os (A4)
Examples
1.5.2

NCK I/O via PROFIBUS

1.5.2.1

PROFIBUS-I/O in write direction

Requirement
The S7-HW-configuration is already done.
Configuration for programming via part program/synchronous actions
● RangeIndex = 5 (NCK-internal configuration)
● as per S7-HW-configuration:
This results in the following configuration of the machine data:
MD10510 $MN_DPIO_LOGIC_ADDRESS_OUT[5] = 334 (log. start address I/O-range)
MD10511 $MN_DPIO_RANGE_LENGTH_OUT[5] = 8 (length of the I/O-range)
MD10512 $MN_DPIO_RANGE_ATTRIBUTE_OUT[5]
Bit0 = 0 (Little-Endian-Format)
Bit1 = 0 (writing only via system variable)
Bit3 = 0 (Slot-lifespan-alarms issued)
Configuration for programming via CompileCycles
● RangeIndex = 6 (NCK-internal configuration)
● as per S7-HW-configuration:
This results in the following configuration of the machine data:
MD10510 $MN_DPIO_LOGIC_ADDRESS_OUT[6] = 444 (log. start address I/O-range)
MD10511 $MN_DPIO_RANGE_LENGTH_OUT[6] = 0
(a single useful-data slot is to be used)
MD10512 $MN_DPIO_RANGE_ATTRIBUTE_OUT[6]
Bit0 = 0 (Little-Endian-Format)
Bit1 = 1 (writing only via CC-binding)
Bit3 = 1 (Slot-lifespan-alarms suppressed)
68
– log. start address = 334
– Slot length = 8 byte
– To be displayed in Little-Endian format
– log. start address = 444
– Slot length = 10 byte
– To be displayed in Little-Endian format
Function Manual, 03/2009, 6FC5397-1BP10-4BA0
Extended Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents