Siemens SINUMERIK 840D sl Function Manual page 50

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.2 Indirect I/O access via PLC
They are related as follows:
For <n> = 1 ... 8:
For <n> = 9 ... 16:
Example: Comparator input 1 is equivalent to comparator input bit 0.
Assignment of the analog inputs
The following machine data is used to assign an analog input to input bit <b> of comparator
byte 1:
MD10530 $MN_COMPAR_ASSIGN_ANA_INPUT_1[<b>]
Example:
MD10530 $MN_COMPAR_ASSIGN_ANA_INPUT_1[0] = 1
MD10530 $MN_COMPAR_ASSIGN_ANA_INPUT_1[1] = 1
MD10530 $MN_COMPAR_ASSIGN_ANA_INPUT_1[7] = 7
Analog input 1 acts on input bits 0 and 1 of comparator byte 1.
Analog input 7 acts on input bit 7 of comparator byte 1.
The analog inputs for comparator byte 2 are assigned with the machine data:
MD10531 $MN_COMPAR_ASSIGN_ANA_INPUT_2[<b>]
Comparator settings
The settings for the individual bits (0 to 7) of comparator byte 1 or 2 are parameterized via the
machine data:
MD10540 $MN_COMPAR_TYPE_1 (parameter assignment for comparator byte 1)
or
MD10541 $MN_COMPAR_TYPE_2 (parameter assignment for comparator byte 2)
The following settings are possible:
● Comparison type mask (bits 0 ... 7)
The type of comparison condition is defined for each comparator input bit:
● Output of the comparator input byte via digital NCK outputs (bits 16 ... 23)
The comparator bits can also be output directly via the digital NCK outputs byte-by-byte.
This requires specification in this byte (bits 16 ... 23) of the digital NCK output byte to be
used.
50
Comparator input <n> is equivalent to comparator input bit
<b> = <n> - 1.
Comparator input <n> is equivalent to comparator input bit
<b> = <n> - 9.
Bit = 1:
Associated comparator input bit is set to "1" if:
Analog value ≥ threshold value
Bit = 0:
Associated comparator input bit is set to "0" if:
Analog value < threshold value
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