Siemens SINUMERIK Series Function Manual page 50

Extended functions
Hide thumbs Also See for SINUMERIK Series:
Table of Contents

Advertisement

A4: Digital and analog NCK I/Os for SINUMERIK 840D sl
1.2 Access via PLC
Memory organization
16 bytes (over all channels) are available for data exchange from and to the PLC
respectively. These areas have to be managed by the user (i.e. no overlapping of the
variables, not even across channel borders).
The display of the variables within these areas depends on the setting in the machine data:
MD10399 $MN_PLCIO_TYPE_REPRESENTATION
Value Meaning
Since big-endian format is generally the most common display type on the PLC (i.e. it also
applies to the PLC I/Os), it should normally be used.
Note
● The assignment of the input and output areas for direct PLC I/Os must satisfy the
● The maximum number of bytes available for data exchange must not be exceeded.
50
0
(default setting)
System variables are displayed in little-endian format
(i.e. least significant byte at least significant address)
1
(PLC standard format, recommended)
System variables are displayed in big-endian format
(i.e. most significant byte at least significant address)
following conditions:
$A_PBB_IN[<j>]
$A_PBW_IN[<j>]
$A_PBD_IN[<j>]
$A_PBR_IN[<j>]
$A_PBB_OUT[<k>]
$A_PBW_OUT[<k>]
$A_PBD_OUT[<k>]
$A_PBR_OUT[<k>]
; j < ([MD10394 $MN_PLCIO_NUM_BYTES_IN])
; j < ([MD10394 $MN_PLCIO_NUM_BYTES_IN] - 1)
; j < ([MD10394 $MN_PLCIO_NUM_BYTES_IN] - 3)
; j < ([MD10394 $MN_PLCIO_NUM_BYTES_IN] - 3)
; k < ([MD10396 $MN_PLCIO_NUM_BYTES_OUT])
; k < ([MD10396 $MN_PLCIO_NUM_BYTES_OUT] - 1)
; k < ([MD10396 $MN_PLCIO_NUM_BYTES_OUT] - 3)
; k < ([MD10396 $MN_PLCIO_NUM_BYTES_OUT] - 3)
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
Extended Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 828d

Table of Contents