Direct I/O Access Without Plc; Brief Description - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

Parameterization
● Length of the NC I/O input data area: 2 + 4 + 4 + 1 = 11 bytes
MD10394 $MN_PLCIO_NUM_BYTES_IN = 11
● Logical start address of the input data area: 420
MD10395 $MN_PLCIO_LOGIC_ADRESS_IN = 420
● Update cycle: I/O input data → system variables = 3 * interpolator cycle= 3 * 12 ms = 36 ms
MD10398 $MN_PLCIO_IN_UPDATE_TIME = 3 * 0.012 = 0.036
● Data format: Big endian
MD10399 $MN_PLCIO_TYPE_REPRESENTATION = 1
Refreshing
The system variables are updated in every third interpolation cycle after the NC and PLC
startup.
Programming
Reading in the NC I/O in R parameters:
Program code
R1=$A_PBW_IN[0]
R2=$A_PBD_IN[2]
R3=$A_PBR_IN[6]
R4=$A_PBB_IN[10]
Addressing example: R2 = $PBD_IN[ 2 ]
2.4

Direct I/O access without PLC

2.4.1

Brief description

Isochronous and non-isochronous PROFIBUS/PROFINET
The reading/writing of the PROFIBUS/PROFINET is possible with an isochronous and non-
isochronous PROFIBUS/PROFINET configuration.
Extended Functions
Function Manual, 10/2015, 6FC5397-1BP40-5BA3
A4: Digital and analog NC I/O for SINUMERIK 840D sl
2.4 Direct I/O access without PLC
Comment
; 2-byte integer value
; 4-byte integer value
; 4-byte real value
; 1-byte integer value
59

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents