Siemens SINUMERIK 840D sl Function Manual page 54

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

Advertisement

Digital and Analog NCK I/Os (A4)
NCK I/O via PLC
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.
Similarly, the assignment for comparator byte 2 should be set using the following machine
data:
MD10531 $MN_COMPAR_ASSIGN_ANA_INPUT_2[b]
Comparator parameterization
General machine data
MD10540 $MN_COMPAR_TYPE_1 is used to set the following parameters for each bit (0 to 7)
of comparator byte 1:
● Comparison type mask (bits 0 to 7)
Bit = 1:
Bit = 0:
● Output of the comparator input byte via digital NCK outputs (bits 16 to 23)
● Inversion mask for outputting the comparator input byte (bits 24 to 31)
Bit = 1:
Bit = 0:
Threshold values
The threshold values used for comparisons on comparator byte 1 or 2 must be stored as
setting data. For every comparator input bit [b], you must enter a separate threshold value:
SD41600 $SN_COMPAR_THRESHOLD_1[b]
(threshold values for input bit [b] of comparator byte 1); b = 0 to 7
54
The type of comparison conditions is defined for each comparator input bit.
Associated comparator input bit is set to "1"
if the analog value ≥ the threshold value.
Associated comparator input bit is set to "0"
if the analog value ≤ the threshold value.
The comparator bits can also be output directly via the digital NCK outputs byte by byte.
This requires specification in this byte (bits 16 to 23) of the digital NCK output byte to be
used (see MD10540 $MN_COMPARE_TYPE_1).
For every comparator signal it is also possible to define whether the signal state to be
output at the digital NCK output is to be inverted or not.
Associated comparator input bit is not inverted.
Associated comparator input bit is inverted.
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