Reading/Writing: System Variables - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

A4: Digital and analog NC I/O for SINUMERIK 840D sl
2.3 Direct I/O access via PLC
MD10399 $MN_PLCIO_TYPE_REPRESENTATION = <value>
<val‐
ue>
0
1
2.3.2

Reading/writing: System variables

Input data
System variable
$A_PBB_IN[<n>]
$A_PBW_IN[<n>]
$A_PBD_IN[<n>]
$A_PBR_IN[<n>]
A preprocessing stop is triggered in the channel when reading from a part program.
Output data
System variable
$A_PBB_OUT[<n>]
$A_PBW_OUT[<n>]
$A_PBD_OUT[<n>]
$A_PBR_OUT[<n>]
A preprocessing stop is triggered in the channel when reading output data from a part program.
Value ranges of the output data
56
Meaning
Little endian format (default setting)
System variables are displayed in little endian format ⇒ least significant byte at least significant
address
Big endian format (PLC standard format, recommended)
System variables are displayed in big endian format ⇒ most significant byte at least significant
address
Note
The big endian format is the format usually used in the PLC and PLC I/O. Therefore, it is
recommended that you use this setting.
Type
Byte
Word
Double
Real
Type
Byte
Word
Double
Real
Type
Byte
Word
Double
Real
Offset <n>
0, 1, 2, ... (MD10394 $MN_PLCIO_NUM_BYTES_IN -1)
0, 2, 4, ... (MD10394 $MN_PLCIO_NUM_BYTES_IN - 2)
0, 4, 8, ... (MD10394 $MN_PLCIO_NUM_BYTES_IN - 4)
0, 4, 8, ... (MD10394 $MN_PLCIO_NUM_BYTES_IN - 4)
Offset <n>
0, 1, 2, ... (MD10396 $MN_PLCIO_NUM_BYTES_OUT - 1)
0, 2, 4, ... (MD10396 $MN_PLCIO_NUM_BYTES_OUT - 2)
0, 4, 8, ... (MD10396 $MN_PLCIO_NUM_BYTES_OUT - 4)
0, 4, 8, ... (MD10396 $MN_PLCIO_NUM_BYTES_OUT - 4)
Value range
With sign:
Without sign:
With sign:
Without sign:
With sign:
Without sign:
-3.402823466*10
+38
-128 ... +127
0 ... 255
-32768 ... +32767
0 ... 65535
-2147483648 ... +2147483647
0 ... 4294967295
... +3.402823466*10
+38
Function Manual, 10/2015, 6FC5397-1BP40-5BA3
Extended Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents