×
Siemens Industry Online Support
Siemens AG
Entry type: FAQ Entry ID: 95245745, Entry date: 07/07/2014
(0)
Rate

SINUMERIK 810D/840D: Measuring/probing using synchronized actions

  • Entry
  • Associated product(s)
Measuring/probing the internal diameter of a pipe using synchronized actions. This example can also be used for probing edges.

Question
How can synchronized actions be used for measuring/probing? What option is required?

Answer
For measuring/probing using synchronized actions, you require the "Cross-mode actions" option with Order No. 6FC5251-0AD04-0AA0.

Application example
The inside of a pipe should be probed in the automatic mode (AUTO) by traversing to a specific programmed position. In the middle of the NC block, the automatic program is stopped using NC-STOP. After the axes have stopped, the system switches into the manual mode (JOG). The axes are now moved using a crank until the probe touches the inner wall of the pipe. Then an LED is lit when the NC input is energized.

Creating the synchronized actions to determine the probe of measured values
If this function is to be effective in every operating mode, then the synchronized actions must be programmed as static synchronized actions (IDS=…). The activation can be programmed in an NC program or in the MDI operating mode

Examples for values in the workpiece coordinate system (WCS):
N10 IDS=1 EVERY $A_IN[1] DO $R1=($AA_IW[X1]) $R2=($AA_IW[Y1]) $R3=($AA_IW[Z1])
M02

Examples for values in the machine coordinate system (MCS):
N10 IDS=1 EVERY $A_IN[1]==1 DO $R11=($AA_IM[X1]) $R12=($AA_IM[Y1]) $R13=($AA_IM[Z1])
M02

Note
The digital NC inputs/outputs are located on the terminal block, which is connected to the drive bus. If there is no terminal block connected to the drive bus, then the onboard NC inputs on the NCU module can be used for this purpose.
The following preconditions must be satisfied to activate the onboard NC inputs:

  • Machine data MD 10350 =1 FASTIO_DIG_NUM_INPUTS (number of active digital NCK of input bytes)
  • The digital onboard signals are available at connector X121 (I/O interface, cable distributor)

Connector X121

Connector type

37-pin sub D plug connector

Maximum cable length

25 m for all functions

Special points to note

Electrical isolation for the binary inputs/outputs, handwheels are not isolated

Notice
To be able to retrieve the onboard signals, an external 24 V DC must be connected at pins 1/ 2 and 20/21 (see the table with signals M24EXT/P24EXT).
 

X121 pin assignment

Pin

Name

Type

Pin

Name

Type

1

M24EXT

VI

20

P24EXT

VI

2

M24EXT

VI

21

P24EXT

VI

3

OUTPUT 1

O

22

OUTPUT 3

O

4

OUTPUT 0

O

23

OUTPUT 2

O

5

INPUT 3

I

24

MEXT

VI

6

INPUT 2

I

25

MEXT

VI

7

INPUT 1

I

26

MEXT

VI

8

INPUT 0

I

27

MEST

VI

9

MEPUS 0

I

28

MEPUS 1

I

10

MEPUC 0

I

29

MEPUC 1

I

11

MPG1 XA

I

30

MPG1 A

I

12

MPG1 5V

VO

31

MPG1 0V

VO

13

MPG1 5V

VO

32

MPG1 0V

VO

14

MPG1 XB

I

33

MPG1 0V

VO

15

MPG0 XA

I

34

MPG0 A

I

16

MPG0 5V

VO

35

MPG0 0V

VO

17

MPG0 5V

VO

35

MPG0 0V

VO

18

MPG0 XB

I

37

MPG0 B

I

19

Not connected

 

 

 

 

 You can find a detailed description of the signal names in the SINUMERIK 840D Configuring Manual NCU (PHD) under the following entry ID: 28516629.

Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration.