Comparator Inputs - Siemens SINUMERIK Series Function Manual

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

Advertisement

1.2.5

Comparator inputs

Function
Two internal comparator input bytes, each with eight comparator inputs, are available in
addition to the digital and analog NCK inputs. The signal state of the comparator inputs is
generated on the basis of a comparison between the analog values present at the fast
analog inputs and the threshold values parameterized in setting data.
The $A_INCO[<n>] system variable allows the signal state (i.e. the result of the comparison)
of comparator input [<n>] to be scanned directly in the part program.
Applies for index <n>:
<n> = 1 ... 8
<n> = 9 ... 16
Terms
The terms comparator inputs (with index <n>; value range from <n>: 1 ... 8 or 9 ... 16) and
comparator input bits (with index <b>; value range from <b>: 0 ... 7) are used in this
description.
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>]
Extended Functions
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
A4: Digital and analog NCK I/Os for SINUMERIK 840D sl
For comparator byte 1
For comparator byte 2
Comparator input <n> is equivalent to comparator input bit
<b> = <n> - 1.
Comparator input <n> is equivalent to comparator input bit
<b> = <n> - 9.
1.2 Access via PLC
45

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 828d

Table of Contents