External Switch Request - Siemens SINUMERIK Series Function Manual

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

Advertisement

7.7.3

External switch request

Function
The "external switching request" is selected using the NCK specific machine data by
entering the number (1...8) of the digital output being used:
● MD13230 $MN_MEAS_PROBE_SOURCE = <number of the digital output>
The probe signal is triggered by controlling the configured digital output. It is not necessary
to hard-wire the digital output to a measuring input.
The rising edge of the switching signal for probes 1 and 2 is generated by setting the digital
output. The falling edges are generated by resetting the digital output.
The measured value is the actual value of the axis at the instant in time that the switching
signal programmed in the measuring block occurs (rising / falling edge).
Digital output: Configuration
The following machine data must be set to be able to use digital outputs for simulated
measuring:
● MD10360 $MN_FASTIO_DIG_NUM_OUTPUTS = 1 (number of active digital NCK output
● MD13120 $MN_CONTROL_UNIT_LOGIC_ADDRESS = 0 (logical address, SINAMICS-
Digital output: Setting
The configured digital output can be set in a synchronized action:
WHEN <condition> DO $A_OUT[<number of digital output>] = 1
Examples
Digital output used: MD13230 $MN_MEAS_PROBE_SOURCE = 1
Example 1: Channel-specific measuring in 2 axes
Program code
N10 G01 G90 $A_OUT[1]=0
N15 WHEN $AC_DETW<=10 DO $A_OUT[1]=1
N20 MEAS=1 X100 Y10 F100
Example 2: Axial measurement
Program code
N10 G01 G90 $A_OUT[1]=0
N15 WHEN $AA_IW[X]>=80 DO $A_OUT[1]=1
N20 MEASA[X]=(1,1) X100 F100
Extended Functions
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
bytes)
CU)
Comment
;
Preset digital output 1
;
Path residual distance <= 10 => Dig. output 1 = 1
;
rising edge, probe 1
Comment
;
Preset digital output 1
;
Axial setpoint >= 80 => Dig. output 1 = 1
;
rising edge, probe 1
M5: Measurement
7.7 Simulated measuring
527

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 828d

Table of Contents