Nothing Special   »   [go: up one dir, main page]

Interface 810D-840D

Download as pdf or txt
Download as pdf or txt
You are on page 1of 76

10.

04 4 Interface Signals
4.1 Data modules (DB) of the PLC application interface

4
4 Interface Signals

4.1 Data modules (DB) of the PLC application interface .................................... 4-718

4.2 Interface signals of the PLC application interface ........................................ 4-719


4.2.1 Signals from/to machine control panel, M version................................. 4-720
4.2.2 Signals from/to machine control panel, T version ................................. 4-722
4.2.3 Signals from/to slimline machine control panel ..................................... 4-723
4.2.4 Signals from/to handheld unit (HHU) .................................................... 4-724
4.2.5 Signals from/to handheld programming unit (HPU)............................... 4-726
4.2.6 PLC messages (DB 2) .......................................................................... 4-727
4.2.7 Signals to NC (DB 10) .......................................................................... 4-731
4.2.8 Signals from/to NCK/MMC (DB 10) ...................................................... 4-736
4.2.9 Signals from/to mode group (DB 11) .................................................... 4-742
4.2.10 Signals for Safety SPL (safe programmable logic) (DB 18) .................. 4-744
4.2.11 Signals from/to operator panel (DB 19)................................................. 4-748
4.2.12 PLC machine data (DB 20) ................................................................... 4-753
4.2.13 Signals from/to NCK channel (DB 21–30)............................................. 4-754
4.2.14 Signals from/to axis/spindle (PLC→NCK) (DB 31–DB 61).................... 4-772
4.2.15 Interface for loading/unloading magazine (DB 71) ................................ 4-780
4.2.16 Interface for spindle as change position (DB 72) .................................. 4-781
4.2.17 Interface for circular magazine (DB 73) ................................................ 4-783
4.2.18 Signals to and from the machine control panel and HHU
(840Di with MCI2 only) (DB 77) ............................................................ 4-784
4.2.19 Signals to/from ManualTurn, ShopMill, ShopTurn (DB 82) ................... 4-785

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-717
4 Interface Signals 10.04
4.1 Data modules (DB) of the PLC application interface

4.1 Data modules (DB) of the PLC application interface


Please find the descriptin of Data modules (DB) of the PLC application interface
in chapter 5.3.

© Siemens AG 2004 All Rights Reserved


4-718 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

4.2 Interface signals of the PLC application interface

General In the following list of interface signals, a reference to relevant documentation is


provided for every signal.
This reference specifies the section number or the short designation of the
description of functions, please refer to
References: /FB/, xx, ”yyy”
xx Short designation of individual description of functions (e.g.: /A2/)
yyy Name of description of functions (e.g.: ”Various interface signals”
or title of the guide)

Inverse signals Signals marked with a ”*” are so-called inverse signals. These signals initiate
the appropriate function when a 0 signal appears rather than a 1 signal (e.g.
MCP, byte n+2.0: *NC STOP).

• In STEP7, DBB means data module byte


Legend
• In STEP7, DBW means data module word (16 bits)
• In STEP7, DBD means data module double word (32 bits)

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-719
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

4.2.1 Signals from/to machine control panel, M version

Signals from machine control panel (keys)


Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

IB n + 0 Spindle speed override Operating mode


D C B A JOG TEACH IN MDA AUTO

IB n + 1 Machine function
REPOS REF var. INC 10000 INC 1000 INC 100 INC 10 INC 1 INC

IB n + 2 Key- Key- Spindle *Spindle Feed *Feed NC Start *NC Stop


switch switch start stop start stop
position 0 position 2

IB n + 3 Key- Feedrate override


switch
position 1
Reset Single E D C B A
block

IB n + 4 Direction keys Keyswitch Direction keys


position 3
+ - Rapid x 4th axis 7th axis R10
R15 R13 traverse R1 R4 R7
R14

IB n + 5 Axis selection
Y Z 5th axis Traverse R11 R9 8th axis 6th axis
R2 R3 R5 command R8 R6
MCS/WCS
R12

IB n + 6 Unassigned customer keys


T9 T10 T11 T12 T13 T14 T15

IB n + 7 Unassigned customer keys


T1 T2 T3 T4 T5 T6 T7 T8

© Siemens AG 2004 All Rights Reserved


4-720 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

Signals to machine control panel (LEDs)


Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

QB n + 0 Machine function Operating mode


1000 INC 100 INC 10 INC 1 INC JOG TEACH IN MDA AUTO

QB n + 1 Feed *Feed NC Start *NC Stop Machine function


start stop
REPOS REF var. INC 10000 INC

QB n + 2 Axis selection Single Spindle *Spindle


block start stop
Direction X 4th axis 7th axis R10
key R1 R4 R7
-
R13

QB n + 3 Axis selection
Z 5th axis Travel R11 R9 8th axis 6th axis Direction
R3 R5 command R8 R6 key
MCS/WCS +
R12 R15

QB n + 4 Unassigned customer keys Y


T9 T10 T11 T12 T13 T14 T15 R2

QB n + 5 Unassigned customer keys


T1 T2 T3 T4 T5 T6 T7 T8

Note
With the SINUMERIK 840D, the machine control panel is assigned to the
input/output area by GP parameters; as a standard, initial address 0 is
specified for the input and output areas.
With FM-NC, the initial address is set via the SDB 210. For the supplied SDB
210, initial address 120 is specified. If another initial address is desired, this
must be specified via the STEP 7 Package Communication Configuration.
Note that the GD parameters given automatically through Communication
Configuration must be set on the machine control panel.

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-721
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

4.2.2 Signals from/to machine control panel, T version

Signals from machine control panel (keys)


Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

IB n + 0 Spindle speed override Operating mode


D C B A JOG TEACH IN MDA AUTO

IB n + 1 Machine function
REPOS REF var. INC 10000 INC 1000 INC 100 INC 10 INC 1 INC

IB n + 2 Keyswitch Keyswitch Spindle *Spindle Feed start *Feed stop NC Start *NC Stop
position 0 position 2 start stop

IB n + 3 Keyswitch Feed override


position 1
Reset Single E D C B A
block

IB n + 4 Keyswitch Direction keys


position 3
R15 R13 R14 +Y -Z -C R10
R1 R4 R7

IB n + 5 Direction keys
+X +C Rapid Travel -Y -X +Z
R2 R3 traverse command R11 R9 R8 R6
override MCS/WCS
R5 R12

IB n + 6 Unassigned customer keys


T9 T10 T11 T12 T13 T14 T15

IB n + 7 Unassigned customer keys


T1 T2 T3 T4 T5 T6 T7 T8

Signals to machine control panel (LEDs)


Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

QB n + 0 Machine function Operating mode


1000 INC 100 INC 10 INC 1 INC JOG TEACH IN MDA AUTO

QB n + 1 Feed start *Feed stop NC Start *NC Stop Machine function


REPOS REF var. INC 10000 INC

QB n + 2 Direction keys Single Spindle *Spindle


block start stop
+Y -Z -C
R13 R1 R4 R7 R10

QB n + 3 Direction keys
Travel -Y -X +Z
R3 R5 command R11 R9 R8 R6 R15
MCS/WCS

QB n + 4 Unassigned customer keys Direction


key
+X

© Siemens AG 2004 All Rights Reserved


4-722 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

T9 T10 T11 T12 T13 T14 T15 R2

QB n + 5 Unassigned customer keys


T1 T2 T3 T4 T5 T6 T7 T8

4.2.3 Signals from/to slimline machine control panel

Signals from slimline machine control panel


(keys and switches)

Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

IB n + 0 Spindle speed override Operating mode


*NC Stop SP - SP 100% SP + SINGLEB JOG MDA AUTOM.

IB n + 1 Spindle Keyswitch Machine function


NC Start SP right *SP Stop SP left SS 3 REF. REPOS Teach in

IB n + 2 Feedrate Keyswitch Machine functions


START *STOP var. INC SS 0 1000 INC 100 INC 10 INC 1 INC

IB n + 3 Keyswitch Feed override


RESET SS 2 SS 1 E D C B A

IB n + 4 Direction keys Optional customer keys


(+) R15 (-) R13 Rapid KT4 KT3 KT2 KT1 KT0
traverse
R14

IB n + 5 Axis selection
T17 KT5 6 5 4 Z Y X

IB n + 6 Unassigned customer keys


T9 T10 T11 T12 T13 T14 T15 T16

IB n + 7 Unassigned customer keys


T1 T2 T3 T4 T5 T6 T7 T8

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-723
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

Signals to slimline machine control panel


(LEDs)

Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

QB n + 0 Spindle speed override Operating mode


NC Stop SP - SP 100 % SP + SINGLEB JOG MDA AUTOM.

QB n + 1 Spindle Machine function


NC Start SP right SP Stop SP left Unassigned REF. REPOS Teach in

QB n + 2 Feedrate Machine functions


START STOP var. INC Unassigned 1000 INC 100 INC 10 INC 1 INC

QB n + 3 Unassigned
Unassigned Unassigned Unassigned Unassigned Unassigned Unassigned Unassigned Unassigned

QB n + 4 Direction keys Optional customer keys


(+) R15 (-) R13 Rapid KT4 KT3 KT2 KT1 KT0
traverse
R14

QB n + 5 Axis selection
T17 KT5 6 5 4 Z Y X

QB n + 6 Unassigned customer keys


T9 T10 T11 T12 T13 T14 T15 T16

QB n + 7 Unassigned customer keys


T1 T2 T3 T4 T5 T6 T7 T8

4.2.4 Signals from/to handheld unit (HHU)

Signals from handheld unit (keys)


(input display)
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

IB n + 0 Reserved

IB n + 1 Reserved

IB n + 2
T9 T7 T6 T5 T4 T3 T2 T1

IB n + 3
T16 T15 T14 T13 T12 T11 T10 T9

IB n + 4
T24 T23 T22 T21

IB n + 5 Acknowl- Keyswitch Rapid traverse/feed override switch


edgement
Digital E D C B A
display

© Siemens AG 2004 All Rights Reserved


4-724 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

Signals to handheld unit (LEDs)


(Output display, LEDs)
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

QB n + 0 always 1

New data Line


for selection
QB n + 1
selected
line

QB n + 2
L8 L7 L6 L5 L4 L3 L2 L1

QB n + 3
L16 L15 L14 L13 L12 L11 L10 L9
HHU digital display

QB n + 4 1st character (right) of the selected line

QB n + 5 2nd character of the selected line

QB ...

QB n + 18 15th character of the selected line

QB n + 19 16th character (left) of the selected line

Note
With the SINUMERIK 840D, the handheld unit is connected to the OPI or
MCP interface of the PLC.

The initial addresses of the input/output areas and the activation must be set
via basic program parameter FB1. With the SINUMERIK 810D and FM-NC,
the handheld unit is connected to the MPI interface of the PLC.

The initial addresses of the input/output areas as well as the number of bytes
to be transferred must be specified via the STEP 7 Package Communication
Configuration.

Note that the GD parameters given automatically through Communication


Configuration must be set on the handheld unit.

The parameterization is described in the Installation and Start-Up Guide and


in the Description of Functions P3 ”Basic PLC program”.
References: /BH/, ”Operator Components Manual”

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-725
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

4.2.5 Signals from/to handheld programming unit (HPU)

Signals from machine control panel simulation


Interface HPU→PLC
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

IB n + 0 Function key block


REF TEACH AUTO MDA JOG QUIT RESET WCS/MCS

IB n + 1 Function key block


FCT15 FCT14 BigFct FCT12 FCT11 INC REPOS

IB n + 2 JOG keys positive direction


If 1: Ax6 Ax5 Ax4 Ax3 Ax2 Ax1
Ax1-Ax6=
Ax7-Ax12

IB n + 3 JOG keys negative direction


Ax6 Ax5 Ax4 Ax3 Ax2 Ax1

IB n + 4 Shift keys
Signal Diagno Service System Param Correct Progr. Mach.

IB n + 5 Shift keys
BF16 BF15 BF14 BF13 BF12 Step Modify Insert

IB n + 6 Start key block


Res. HT 6 VAL+ VAL- SF2 SF1 START STOP

IB n + 7

© Siemens AG 2004 All Rights Reserved


4-726 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

Signals to machine control panel simulation


Interface PLC→HPU

Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0


QB n + 0 Function key block
REF TEACH AUTO MDA JOG QUIT RESET WCS/MCS
QB n + 1 Function key block
FCT15 FCT14 BigFct FCT12 FCT11 INC REPOS
QB n + 2 Axes 7–12 JOG keys positive direction
selected
QB n + 2
Ax6 Ax5 Ax4 Ax3 Ax2 Ax1
QB n + 3 JOG keys negative direction
For WCS: Ax6 Ax5 Ax4 Ax3 Ax2 Ax1
No MCS
Ax4 to Ax6
QB n + 4 Shift keys
Signal Diagno Service System Param Correct Progr. Mach.
QB n + 5 Shift keys
BF16 BF15 BF14 BF13 BF12 Step Modify Insert
QB n + 6 Start key block
VAL+ VAL- SF2 SF1 START STOP
QB n + 7

4.2.6 PLC messages (DB 2)

DB2 Signals for PLC messages (PLC→MMC), /P3/


Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

Channel 1

0 510007 510006 510005 510004 510003 510002 510001 510000

Feed disable (alarm no.: 510000–510015)

1 510015 510014 510013 510012 510011 510010 510009 510008

2 Feed and read-in disable byte1 (alarm no.: 510100–510131)

3 Feed and read-in disable byte 2 (alarm no.: 510108–510115)

4 Feed and read-in disable byte 3 (alarm no.: 510116–510123)

5 Feed and read-in disable byte 4 (alarm no.: 510124–510131)

6 Read-in disable byte 1 (alarm no.: 510200–510207)

7 Read-in disable byte 2 (alarm no.: 510208–510215)

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-727
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

8 Read-in disable byte 3 (alarm no.: 510216–510223)

9 Read-in disable byte 4 (alarm no.: 510224–510231)

10 NC Start disable byte 1 (alarm no.: 510300–510307)

11 NC Start disable byte 2 (alarm no.: 510308–510315)

12 Feed stop GEOaxis 1 byte 1 (alarm no.: 511100–511107)

13 Feed stop GEOaxis 1 byte 2 (alarm no.: 511108–511115)

14 Feed stop GEOaxis 2 byte 1 (alarm no.: 511200–511207)

15 Feed stop GEOaxis 2 byte 2 (alarm no.: 511208–511215)

16 Feed stop GEOaxis 3 byte 1 (alarm no.: 511300–511307)

17 Feed stop GEOaxis 3 byte 2 (alarm no.: 511308–511315)

Channel 2

18 520007 520006 520005 520004 520003 520002 520001 520000

Feed disable (alarm no.: 520000-520015)

19 520015 520014 520013 520012 520011 520010 520009 520008

20-23 Feed and read-in disable byte 1-4 (alarm no.: 520100–520131)

24-27 Read-in disable byte 1-4 (alarm no.: 520200–520231)

28-29 NC Start disable byte 1-2 (alarm no.: 520300–520315)

30-31 Feed stop GEOaxis 1 byte 1-2 (alarm no.: 521100-521115)

32-33 Feed stop GEOaxis 2 byte 1-2 (alarm no.: 521200-521215)

34-35 Feed stop GEOaxis 3 byte 1-2 (alarm no.: 521300-521315)

36-143 As from channel 3, please refer to the following table

Channel areas in DB2

Area Address Signal number


Channel 1, see above DBX 0.0 - DBX 11.7 510.000 - 510.231
Channel 1, geo axes DBX 12.0 - DBX 17.7 511.100 - 511.315
Channel 2, see above DBX 18.0 - DBX 29.7 520.000 - 520.231
Channel 2, geo axes DBX 30.0 - DBX 35.7 521.100 - 521.315
Channel 3 DBX 36.0 - DBX 47.7 530.000 - 530.231
Channel 3, geo axes DBX 48.0 - DBX 53.7 531.100 - 531.315
Channel 4 DBX 54.0 - DBX 65.7 540.000 - 540.231
Channel 4, geo axes DBX 66.0 - DBX 71.7 541.100 - 541.315
Channel 5 DBX 72.0 - DBX 83.7 550.000 - 550.231
Channel 5, geo axes DBX 84.0 - DBX 89.7 551.100 - 551.315
Channel 6 DBX 90.0 - DBX 101.7 560.000 - 560.231
Channel 6, geo axes DBX 102.0 - DBX 107.7 561.100 - 561.315
Channel 7 DBX 108.0 - DBX 119.7 570.000 - 570.231
Channel 7, geo axes DBX 120.0 - DBX 125.7 571.100 - 571.315
Channel 8 DBX 126.0 - DBX 137.7 580.000 - 580.231
Channel 8, geo axes DBX 138.0 - DBX 143.7 581.100 - 581.315
Channel 9, channel 10 in
SW 5 not implemented

© Siemens AG 2004 All Rights Reserved


4-728 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

Axis areas in DB2

Axis/spindle

144 600107 600106 600105 600104 600103 600102 600101 600100

Feed stop/spindle stop (alarm no.: 600100-600015) for axis/spindle 1

145 600115 600114 600113 600112 600111 600110 600109 600108

146-147 Feed stop/spindle stop (alarm no.: 600200-600215) for axis/spindle 2

148-149 Feed stop/spindle stop (alarm no.: 600300-600315) for axis/spindle 3

150-151 Feed stop/spindle stop (alarm no.: 600400-600415) for axis/spindle 4

152-153 Feed stop/spindle stop (alarm no.: 600500-600515) for axis/spindle 5

154-155 Feed stop/spindle stop (alarm no.: 600600-600615) for axis/spindle 6

156-157 Feed stop/spindle stop (alarm no.: 600700-600715) for axis/spindle 7

158-159 Feed stop/spindle stop (alarm no.: 600800-600815) for axis/spindle 8

160-161 Feed stop/spindle stop (alarm no.: 600900-600915) for axis/spindle 9

162-163 Feed stop/spindle stop (alarm no.: 601000-601015) for axis/spindle 10

164-165 Feed stop/spindle stop (alarm no.: 601100-601115) for axis/spindle 11

166-167 Feed stop/spindle stop (alarm no.: 601200-601215) for axis/spindle 12

168-169 Feed stop/spindle stop (alarm no.: 601300-601315) for axis/spindle 13

170-171 Feed stop/spindle stop (alarm no.: 601400-601415) for axis/spindle 14

172-173 Feed stop/spindle stop (alarm no.: 601500-601515) for axis/spindle 15

174-175 Feed stop/spindle stop (alarm no.: 601600-601615) for axis/spindle 16

176-177 Feed stop/spindle stop (alarm no.: 601700-601715) for axis/spindle 17

178-179 Feed stop/spindle stop (alarm no.: 601800-601815) for axis/spindle 18

Axes 19 -31 not implemented

User areas

User area 0 Bytes 1 - 8

180 700007 700006 700005 700004 700003 700002 700001 700000

... User area 0 (alarm no.: 700000-700063)

187 700063 700062 700061 700060 700059 700058 700057 700056

188-195 User area 1 Bytes 1 - 8 (alarm no.: 700100-700163)

...
372-379 User area 24 Bytes 1 - 8 (alarm no.: 702400-702463)

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-729
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

Note

In DB2, the assignment is made between message/alarm number, text and


area identifier. All alarm or message bits are automatically transferred to the
user interface (channel, axis/spindle) through appropriate parameter settings.
If these parameter settings are not made, the bit transfer must be
programmed in the user program. The user interface can be further
influenced after the block for the error/operational messages has been called.
Only signals of the channels and axes declared in the NC machine data can
be transferred and texts displayed.
The user must acknowledge all error messages generated. Operational
messages are displayed only for as long as the relevant condition prevails.
The number of user areas can be parameterized via FB 1.
DB2/DB3 must be deleted after changing the configuration (FB1: MsgUser).

Definition of error and operational messages /P3/


Byte no. of DB2 / Error message EM or operational message OM
7 / EM 6 / EM 5 / OM 4 / OM 3 / EM 2 / EM 1 / OM 0 / EM
15 / OM 14 / EM 13 / OM 12 / EM 11 / OM 10 / EM 9 / OM 8 / OM
23 / OM 22 / OM 21 / EM 20 / EM 19 / OM 18 / EM 17 / OM 16 / EM
31 / OM 30 / EM 29 / OM 28 / EM 27 / OM 26 / OM 25 / EM 24 / EM
35 / OM 34 / EM 33 / OM 32 / EM
151 / OM 150 / EM 149 / OM 148 / EM 147 / OM 146 / EM 145 / OM 144 / EM
159 / OM 158 / EM 157 / OM 156 / EM 155 / OM 154 / EM 153 / OM 152 / EM
187 / OM 186 / OM 185 / OM 184 / OM 183 / EM 182 / EM 181 / EM 180 / EM
195 / OM 194 / OM 193 / OM 192 / OM 191 / EM 190 / EM 189 / EM 188 / EM

Example The alarms numbered from 510200 to 510207 can be generated via DB2,
DBB6 (read-in disable channel 1). These alarms are defined as error messages
as standard.

© Siemens AG 2004 All Rights Reserved


4-730 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

4.2.7 Signals to NC (DB 10)

On-board input and output signals from NCK


DB10 Signals to NC (PLC→NC)
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBB 0 Disabling of digital NCK inputs /A2/ (SW 2 and higher)

Digital inputs without hardware #) On-board inputs §)


Input 8 Input 7 Input 6 Input 5 Input 4 Input 3 Input 2 Input 1

DBB 1 Setting of digital NCK inputs from PLC (SW 2 and higher)

Digital inputs without hardware #) On-board inputs §)


Input 8 Input 7 Input 6 Input 5 Input 4 Input 3 Input 2 Input 1

DBB2, 3
unas-
signed
DBB 4 Disabling of digital NCK outputs /A2/ (SW 2 and higher)
Digital outputs without hardware #) On-board outputs §)
Output 8 Output 7 Output 6 Output 5 Output 4 Output 3 Output 2 Output 1

DBB 5 Overwrite screenform of digital NCK /A2/ outputs (SW 2 and higher)

Digital outputs without hardware #) On-board outputs §)


Output 8 Output 7 Output 6 Output 5 Output 4 Output 3 Output 2 Output 1

DBB 6 Setting value of digital NCK outputs from PLC /A2/ (SW 2 and higher)

Digital outputs without hardware #) On-board outputs §)


Output 8 Output 7 Output 6 Output 5 Output 4 Output 3 Output 2 Output 1

DBB 7 Input screenform of digital NCK outputs /A2/ (SW 2 and higher)

Digital outputs without hardware #) On-board outputs §)


Output 8 Output 7 Output 6 Output 5 Output 4 Output 3 Output 2 Output 1
st
DBB 8-29 Machine axis number table for FC 19, 24, 25, 26 (1 MCP)

st
DBB 30 Upper limit of machine axis numbers for FC 19, 24 (1 MCP)
With 0, the max. number of machine axis numbers applies
from SW 6

nd
DBB 32-53 Machine axis number table for FC 19, 24, 25, 26 (2 MCP)
from SW 6

DBB 54 Upper limit of machine axis numbers for FC 19, 24 (2nd MCP)
With 0, the max. number of machine axis numbers applies
from SW 6

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-731
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

Note
#) Bits 4-7 of the digital input and NCK outputs can be processed by the PLC
even though there are no hardware I/Os available for this. Therefore, these
bits can be used in addition to the information exchange between NCK and
PLC.

§) On the 840D, the digital inputs and outputs 1 to 4 of the NCK are physically
on-board. On the FM-NC, there are no hardware I/Os for bit 0 to bit 3. These
can be processed by the PLC according to #).
The external I/O signals from the NCK have been shifted to the range starting
with DBB122.

General signals to NCK (DB10)


DB10 Signals to NC (PLC→NC)
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBB 56 Keyswitch /A2/ Acknowl. EMER-


EMER- GENCY
GENCY STOP /N2/
STOP /N2/
Position 3 Position 2 Position 1 Position 0

DBB 57 PC INC inputs


shutdown in mode
Only 840Di group area
evaluated active

DBB
58 - 59

External digital inputs of the NCK (DB10)


DB10 Signals to NC (PLC -> NCK)

Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0


DBB 122 Disable the external digital NCK inputs (SW 2 and higher)
Input 16 Input 15 Input 14 Input 13 Input 12 Input 11 Input 10 Input 9

DBB 123 Values from the PLC for the external digital NCK inputs (SW 2 and higher)
Input 16 Input 15 Input 14 Input 13 Input 12 Input 11 Input 10 Input 9

DBB 124 Disable the external digital NCK inputs (SW 2 and higher)
Input 24 Input 23 Input 22 Input 21 Input 20 Input 19 Input 18 Input 17

DBB 125 Values from the PLC for the external digital NCK inputs (SW 2 and higher)
Input 24 Input 23 Input 22 Input 21 Input 20 Input 19 Input 18 Input 17

DBB 126 Disable the external digital NCK inputs (SW 2 and higher)
Input 32 Input 31 Input 30 Input 29 Input 28 Input 27 Input 26 Input 25

DBB 127 Values from the PLC for the external digital NCK inputs (SW 2 and higher)
Input 32 Input 31 Input 30 Input 29 Input 28 Input 27 Input 26 Input 25

© Siemens AG 2004 All Rights Reserved


4-732 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

DBB 128 Disable the external digital NCK inputs (SW 2 and higher)
Input 40 Input 39 Input 38 Input 37 Input 36 Input 35 Input 34 Input 33

DBB 129 Values from the PLC for the external digital NCK inputs (SW 2 and higher)
Input 40 Input 39 Input 38 Input 37 Input 36 Input 35 Input 34 Input 33

External digital outputs of the NCK (DB10)


DB10 Signals to NC (PLC -> NCK)

Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0


DBB 130 Disable the external digital NCK outputs (SW 2 and higher)
Output 16 Output 15 Output 14 Output 13 Output 12 Output 11 Output 10 Output 9

DBB 131 Overwrite screenform for the external digital NCK outputs (SW 2 and higher)
Output 16 Output 15 Output 14 Output 13 Output 12 Output 11 Output 10 Output 9

DBB 132 Value from the PLC for the external digital NCK outputs (SW 2 and higher)
Output 16 Output 15 Output 14 Output 13 Output 12 Output 11 Output 10 Output 9

DBB 133 Default screenform for the external digital NCK outputs (SW 2 and higher)
Output 16 Output 15 Output 14 Output 13 Output 12 Output 11 Output 10 Output 9

DBB 134 Disable the external digital NCK outputs (SW 2 and higher)
Output 24 Output 23 Output 22 Output 21 Output 20 Output 19 Output 18 Output 17

DBB 135 Overwrite screenform for the external digital NCK outputs (SW 2 and higher)
Output 24 Output 23 Output 22 Output 21 Output 20 Output 19 Output 18 Output 17

DBB 136 Value from the PLC for the external digital NCK outputs (SW 2 and higher)
Output 24 Output 23 Output 22 Output 21 Output 20 Output 19 Output 18 Output 17

DBB 137 Default screenform for the external digital NCK outputs (SW 2 and higher)
Output 24 Output 23 Output 22 Output 21 Output 20 Output 19 Output 18 Output 17

DBB 138 Disable the external digital NCK outputs (SW 2 and higher)
Output 32 Output 31 Output 30 Output 29 Output 28 Output 27 Output 26 Output 25

DBB 139 Overwrite screenform for the external digital NCK outputs (SW 2 and higher)
Output 32 Output 31 Output 30 Output 29 Output 28 Output 27 Output 26 Output 25

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-733
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

DBB 140 Value from the PLC for the external digital NCK outputs (SW 2 and higher)
Output 32 Output 31 Output 30 Output 29 Output 28 Output 27 Output 26 Output 25

DBB 141 Default screenform for the external digital NCK outputs (SW 2 and higher)
Output 32 Output 31 Output 30 Output 29 Output 28 Output 27 Output 26 Output 25

DBB 142 Disable the external digital NCK outputs (SW 2 and higher)
Output 40 Output 39 Output 38 Output 37 Output 36 Output 35 Output 34 Output 33

DBB 143 Overwrite screenform for the external digital NCK outputs (SW 2 and higher)
Output 40 Output 39 Output 38 Output 37 Output 36 Output 35 Output 34 Output 33

DBB 144 Value from the PLC for the external digital NCK outputs (SW 2 and higher)
Output 40 Output 39 Output 38 Output 37 Output 36 Output 35 Output 34 Output 33

DBB 145 Default screenform for the external digital NCK outputs (SW 2 and higher)
Output 40 Output 39 Output 38 Output 37 Output 36 Output 35 Output 34 Output 33

Analog inputs of the NCK (external) (DB10)

DB10 Signals to NC (PLC -> NCK)

Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0


DBB 146 Disable the analog NCK inputs
Input 8 Input 7 Input 6 Input 5 Input 4 Input 3 Input 2 Input 1

DBB 147 Specified analog value for NCK from PLC


Input 8 Input 7 Input 6 Input 5 Input 4 Input 3 Input 2 Input 1

DBW 148 Setpoint from PLC for analog input 1 of NCK

DBW 150 Setpoint from PLC for analog input 2 of NCK

DBW 152 Setpoint from PLC for analog input 3 of NCK

DBW 154 Setpoint from PLC for analog input 4 of NCK

DBW 156 Setpoint from PLC for analog input 5 of NCK

DBW 158 Setpoint from PLC for analog input 6 of NCK

DBW 160 Setpoint from PLC for analog input 7 of NCK

DBW 162 Setpoint from PLC for analog input 8 of NCK

DBB Unassigned
164,165

© Siemens AG 2004 All Rights Reserved


4-734 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

Analog outputs of the NCK (external) (DB10)

DB10 Signals to NCK (PLC -> NCK)

Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0


DBB 166 Overwrite screenform for the analog NCK outputs
Output 8 Output 7 Output 6 Output 5 Output 4 Output 3 Output 2 Output 1

DBB 167 Default screenform for the analog NCK outputs


Output 8 Output 7 Output 6 Output 5 Output 4 Output 3 Output 2 Output 1

DBB 168 Disable the analog NCK outputs


Output 8 Output 7 Output 6 Output 5 Output 4 Output 3 Output 2 Output 1

DBB 169 RESERVED

DBW 170 Setpoint from PLC for analog output 1 of NCK

DBW 172 Setpoint from PLC for analog output 2 of NCK

DBW 174 Setpoint from PLC for analog output 3 of NCK

DBW 176 Setpoint from PLC for analog output 4 of NCK

DBW 178 Setpoint from PLC for analog output 5 of NCK

DBW 180 Setpoint from PLC for analog output 6 of NCK

DBW 182 Setpoint from PLC for analog output 7 of NCK

DBW 184 Setpoint from PLC for analog output 8 of NCK

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-735
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

4.2.8 Signals from/to NCK/MMC (DB 10)

On-board NCK inputs and outputs (DB 10)

DB10 Signals from (NCK -> PLC)


Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB 60 Actual value of the digital ON-BOARD inputs of the
NCK (SW 2 and higher)
On-board inputs §)
Input 4 Input 3 Input 2 Input 1

DBB 61-63

DBB 64 Setpoint for the digital outputs of the NCK without Setpoint for the digital on-board outputs of the NCK
hardware
Output 8 Output 7 Output 6 Output 5 Output 4 Output 3 Output 2 Output 1

DBB 65-67 Unassigned

DBB 68 Handwheel 1 moved

DBB 69 Handwheel 2 moved

DBB 70 Handwheel 3 moved

DBB 71 Modification counter inch/metric system of units

st
DBB 72 Status of the actual value display indicated (1 MCP)

HT6 from Machine/ Valid


SW 6.1.51 Work display
nd
DBB 73 Status of the actual value display indicated (2 MCP)

HT6 from Machine/ Valid


SW 6.1.51 Work display
st
DBB 74-79 Machine axis numbers of the displayed axes (1 MCP)
MCP1AxisFromHMI
HT6 from
SW 6.1.51
nd
DBB 80-85 Machine axis numbers of the displayed axes (2 MCP)
MCP2AxisFromHMI
HT6 from
SW 6.1.51

DBB 86 Reserved

DBB 88 Reserved

© Siemens AG 2004 All Rights Reserved


4-736 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

Note
#) Although no associated hardware I/Os exist, the PLC can process bits 4-7
of the digital inputs and NCK outputs. Consequently, these bits can also be
used to transfer information between the NCK and the PLC.

§) The digital inputs and outputs 1 to 4 of the NCK exist as on-board


hardware for the 840D. No hardware I/Os are available for bits 0-3 of the FM-
NC. In accordance with #), these can be processed by the PLC.

Selection/status signals from MMC (DB 10)

DB 10 Signals from NC (NCK→PLC)


Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBB 90

DBB 91

DBB 92 free

DBB 93 free

DBB 94 free

DBB 95 free

DBB 96 free

DBB 97 Channel number for handwheel 1 /H1/


(SW 2 and higher)
MMC--> PLC
D C B A

DBB 98 Channel number for handwheel 2 /H1/


(SW 2 and higher)
MMC--> PLC
D C B A

DBB 99 Channel number for handwheel 3 /H1/


(SW 4.1 and higher)
MMC--> PLC
D C B A

DBB 100 Axis number for handwheel 1 /H1/ (SW 2 and


higher)
MMC--> PLC

Machine Handwheel Contour E D C B A


axis selected handwheel

DBB 101 Axis number for handwheel 2 /H1/ (SW 2 and


higher)
MMC--> PLC

Machine Handwheel Contour E D C B A


axis selected handwheel

DBB 102 Axis number for handwheel 3 /H1/ (SW 4.1 and
higher)

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-737
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

MMC--> PLC

Machine Handwheel Contour E D C B A


axis selected handwheel

DBB 103 MMC- MMC AT box Remote


101/102 tempera- ready diagnosis
MMC--> PLC
battery active
alarm ture limit /FBFE/

© Siemens AG 2004 All Rights Reserved


4-738 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

General signals from NCK (DB 10)


DB 10 Signals from NC (NCK→PLC)
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBB 104 NCK CPU HHU MCP 2 MCP 1


ready /A2/ ready ready ready

DBB 105 Unassigned

DBB 106 EMERGEN


-CY STOP
active /N2/

DBB 107 Inch NCU-link Probe actuated /M4/


system active
Probe 2 Probe 1

DBB 108 NC ready Drive ready Drives in MMC-CPU MMC CPU MMC2
/A2/ /FBA/ cyclic Ready Ready CPU ready
(MMC to (MMC to
operation OPI) MPI) E_MMC2
/A2/ /A2/
Ready

DBB 109 NCK Air temp. Heat sink PC NCK


battery alarm temp. operating alarm
alarm /A2/ alarm present
/A2/ NCU 573 system /A2/
fault

DBB 110 Software cams minus (SW 2 and higher) /N3/


7 6 5 4 3 2 1 0

DBB 111 Software cams minus (SW 2 and higher) /N3/


15 14 13 12 11 10 9 8

DBB 112 Software cams minus (SW 4.1 and higher) /N3/
23 22 21 20 19 18 17 16

DBB 113 Software cams minus (SW 4.1 and higher) /N3/
31 30 29 28 27 26 25 24

DBB 114 Software cams plus (SW 2 and higher) /N3/


7 6 5 4 3 2 1 0

DBB 115 Software cams plus (SW 2 and higher) /N3/


15 14 13 12 11 10 9 8

DBB 116 Software cams plus (SW 4.1 and higher) /N3/
23 22 21 20 19 18 17 16

DBB 117 Software cams plus (SW 4.1 and higher) /N3/
31 30 29 28 27 26 25 24

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-739
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

Note
Concerning NCK CPU Ready (DBX 104.7):

This signal is the sign-of-life monitoring function for the NC. It must be
included in the safety circuit of the machine.
Concerning MMC CPU1 READY (DBX 108.3 and DBX 108.2):
If the MMC is connected to the operator panel interface (X 101), bit 3 is set
(default). When connecting to the PG MPI interface (X 122), bit 2 is set.

External digital input and output signals of the NCK (DB 10)

DB 10 Signals from NCK (NCK→PLC), /A2/ (SW2 and higher)


Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBB 186 Actual value of external digital NCK inputs


Input 16 Input 15 Input 14 Input 13 Input 12 Input 11 Input 10 Input 9

DBB 187 Actual value of external digital NCK inputs


Input 24 Input 23 Input 22 Input 21 Input 20 Input 19 Input 18 Input 17

DBB 188 Actual value of external digital NCK inputs


Input 32 Input 31 Input 30 Input 29 Input 28 Input 27 Input 26 Input 25

DBB 189 Actual value of external digital NCK inputs


Input 40 Input 39 Input 38 Input 37 Input 36 Input 35 Input 34 Input 33

DBB 190 NCK setpoint for external digital NCK outputs


Output 16 Output 15 Output 14 Output 13 Output 12 Output 11 Output 10 Output 9

DBB 191 NCK setpoint for external digital NCK outputs


Output 24 Output 23 Output 22 Output 21 Output 20 Output 19 Output 18 Output 17

DBB 192 NCK setpoint for external digital NCK outputs


Output 32 Output 31 Output 30 Output 29 Output 28 Output 27 Output 26 Output 25

DBB 193 NCK setpoint for external digital NCK outputs


Output 40 Output 39 Output 38 Output 37 Output 36 Output 35 Output 34 Output 33

© Siemens AG 2004 All Rights Reserved


4-740 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

Analog input and output signals of the NCK (DB 10)

DB 10 Signals from NCK (NCK→PLC), /A2/ (SW2 and higher)


Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBW 194 Actual value for analog input 1 of the NCK

DBW 196 Actual value for analog input 2 of the NCK

DBW 198 Actual value for analog input 3 of the NCK

DBW 200 Actual value for analog input 4 of the NCK

DBW 202 Actual value for analog input 5 of the NCK

DBW 204 Actual value for analog input 6 of the NCK

DBW 206 Actual value for analog input 7 of the NCK

DBW 208 Actual value for analog input 8 of the NCK

DBW 210 Setpoint for analog output 1 of the NCK

DBW 212 Setpoint for analog output 2 of the NCK

DBW 214 Setpoint for analog output 3 of the NCK

DBW 216 Setpoint for analog output 4 of the NCK

DBW 218 Setpoint for analog output 5 of the NCK

DBW 220 Setpoint for analog output 6 of the NCK

DBW 222 Setpoint for analog output 7 of the NCK

DBW 224 Setpoint for analog output 8 of the NCK

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-741
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

4.2.9 Signals from/to mode group (DB 11)

Mode group-specific signals (DB 11)


DB 11 Signals to mode group 1 (PLC→NCK) /K1/
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBB 0 Mode Mode Mode Mode Operating mode


group reset group stop group stop change
Axes plus disable
spindle
JOG MDA AUTO-
MATIC

DBB 1 Single block Machine function

Type A Type B REF REPOS TEACH IN

DBB 2 Machine function


var. INC 10000 INC 1000 INC 100 INC 10 INC 1 INC

DBB 3

Note
about machine function: machine function defined centrally when signal
"INC inputs in mode group area active" (DB10.DBX57.0) is set.

DB 11 Signals from mode group 1 (NCK→PLC) /K1/


Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBB 4 Strobe mode


MMC--> PLC
JOG MDA AUTOM.

DBB 5 Strobe machine function


MMC--> PLC
REF REPOS TEACH IN

DBB 6 All Mode Active operating mode


channels in group
reset state ready JOG MDA AUTOM.

DBB 7 Digitizing Active machine function

REF REPOS TEACH IN

© Siemens AG 2004 All Rights Reserved


4-742 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

DB 11 Signals to mode group 2 (PLC→NCK) /K1/


Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBB 20 Mode Mode Mode Mode Operating mode


group reset group stop group stop change
Axes plus disable
spindle
JOG MDA AUTO-
MATIC

DBB 21 Single block Machine function

Type A Type B REF REPOS TEACH IN


DBB 22 Machine function
var. INC 10000 INC 1000 INC 100 INC 10 INC 1 INC

DBB 23 Unassigned

Note
about machine function: machine function defined centrally when signal
"INC inputs in mode group area active" (DB10.DBX57.0) is set.

DB 11 Signals from mode group 2 (NCK→PLC) /K1/


Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBB 24 Strobe mode


MMC--> PLC
JOG MDA AUTO-
MATIC

DBB 25 Strobe machine function


MMC--> PLC
REF REPOS TEACH IN

DBB 26 All Mode Active operating mode


channels in group
reset state ready JOG MDA AUTO-
MATIC

DBB 27 Digitizing Active machine function


/FBD/
(SW 2 and REF REPOS TEACH IN
higher)
DBB 28 Machine functions
var. INC 10000 INC 1000 INC 100 INC 10 INC 1 INC

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-743
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

Note
The other mode groups (mode group 3 to mode group 10) are also located in
DB 11 with the following initial bytes:
Mode group 3: DBB 40 Mode group 7: DBB 120
Mode group 4: DBB 60 Mode group 8: DBB 140
Mode group 5: DBB 80 Mode group 9: DBB 160
Mode group 6: DBB 100 Mode group 10: DBB 180

4.2.10 Signals for Safety SPL (safe programmable logic) (DB 18)

Parameterization section
References: /FBSI/, SINUMERIK Safety Integrated

DB 18 Signals for Safety SPL (PLC → PLC)


Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB 0 INSEP valid (valid bit)
8th 7th 6th 5th 4th 3rd 2nd 1st
input byte input byte input byte input byte input byte input byte input byte input byte
DBB 1

DBB 2 OUTSEP valid (valid bit)


8th 7th 6th 5th 4th 3rd 2nd 1st
output byte output byte output byte output byte output byte output byte output byte output byte

DBB 3

DBW 4 INSEP_ADDR (address 1st input byte)

DBW 6 INSEP_ADDR (address 2nd input byte)

DBW 8 INSEP_ADDR (address 3rd input byte)

DBW 10 INSEP_ADDR (address 4th input byte)

DBW 12 INSEP_ADDR (address 5th input byte)

DBW 14 INSEP_ADDR (address 6th input byte)

DBW 16 INSEP_ADDR (address 7th input byte)

DBW 18 INSEP_ADDR (address 8th input byte)

© Siemens AG 2004 All Rights Reserved


4-744 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

DBW 20 OUTSEP_ADDR (address 1st output byte)

DBW 22 OUTSEP_ADDR (address 2nd output byte)

DBW 24 OUTSEP_ADDR (address 3rd output byte)

DBW 26 OUTSEP_ADDR (address 4th output byte)

DBW 28 OUTSEP_ADDR (address 5th output byte)

DBW 30 OUTSEP_ADDR (address 6th output byte)

DBW 32 OUTSEP_ADDR (address 7th output byte)

DBW 34 OUTSEP_ADDR (address 8th output byte)

DBB 36 Stop E SPL


READY
DBB 37

Data area / error

DB 18 Signals for Safety SPL (PLC ←→ NCK)

Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0


Data area for SPL inputs/outputs

SPL_DATA.INSEP [1..32]
DBD 38
SPL_DATA.INSEP [33..64]
DBD 42
SPL_DATA.OUTSEP [1..32]
DBD 46
SPL_DATA.OUTSEP [33..64]
DBD 50
Data area for user SPL
SPL_DATA.INSIP [1..32]
DBD 54
SPL_DATA.INSIP [33..64]
DBD 58
SPL_DATA.OUTSIP [1..32]
DBD 62
SPL_DATA.OUTSIP [33..64]
DBD 66

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-745
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

DB 18 Signals for Safety SPL (PLC ←→ NCK)

Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0


SPL_DATA.MARKERSIP [1..32]
DBD 70
SPL_DATA.MARKERSIP [33..64]
DBD 74

Difference in level between NCK and PLC for diagnostics


SPL_DELTA.INSEP [1..32]
DBD 78
SPL_DELTA.INSEP [33..64]
DBD 82
SPL_DELTA.OUTSEP [1..32]
DBD 86
SPL_DELTA.OUTSEP [33..64]
DBD 90
SPL_DELTA.INSIP [1..32]
DBD 94
SPL_DELTA.INSIP [33..64]
DBD 98
SPL_DELTA.OUTSIP [1..32]
DBD 102
SPL_DELTA.OUTSIP [33..64]
DBD 106
SPL_DELTA.MARKERSIP [1..32]
DBD 110
SPL_DELTA.MARKERSIP [33..64]
DBD 114
DBD 118 CMDSI
DBD 119 xxxxxxxx

DBD 120 Error number


0 = no error
1 - 320 = Signal number starting from SPL_DATA.INSEP [1]
DBD 124 Level indicator of cross-checking
(diagnostics option: how many SPL signals currently differ in level)

© Siemens AG 2004 All Rights Reserved


4-746 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

Supplementary data areas


DB 18 Signals for Safety SPL (PLC ←→ NCK)

Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0


Data area for single-channel inputs/outputs
$A_PLCSIOUT [1 .. 8]
DBB 128
$A_PLCSIOUT [9 .. 16]
DBB 129
$A_PLCSIOUT [17 .. 24]
DBB 130
$A_PLCSIOUT [25 .. 32]
DBB 131
$A_PLCSIIN [1.. 8]
DBB 132
$A_PLCSIIN [9 .. 16]
DBB 133
$A_PLCSIIN [17 .. 24]
DBB 134
$A_ PLCSIIN [25 .. 32]
DBB 135
SPL status
DBB 136
PROFIsafe module(s) for
DBB 138 th
8 input
th
7 input
th
6 input
th
5 input
th
4 input 3rd input 2nd input
st
1 input
byte byte byte byte byte byte byte byte

DBB 139
PROFIsafe module(s) for
DBB 140 th
8 output
th
7 output
th
6 output
th
5 output
th
4 output 3rd output 2nd output
st
1 output
byte byte byte byte byte byte byte byte

DBB 141
Teststop data
Number of axes per TeststopBlock 1 (NoOfAxisPerBlock[1])
DBB 142
to
DBB 149
Number of axes per TeststopBlock 8 (NoOfAxisPerBlock[8])
Pointer onto axis table 1 (BlockPointer[1])
DBB 150
to
DBB 157
Pointer onto axis table 8 (BlockPointer[8])
st
Safety axis table (AxisTable[1]) 1 axis
DBB 158
to
DBB 188
Safety axis table (AxisTable[31]) 31st axis

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-747
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

4.2.11 Signals from/to operator panel (DB 19)

DB 19 Signals to operator panel (PLC→MMC)


Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBB 0 Actual Back up MMC Clear Clear Key Screen Screen


value in travel shutdown recall cancel disable darkening bright
WCS recorder alarms alarms /A2/ /A2/ /A2/
(for OEM
0=MCS
users) (MMC 103 (MMC 103
/A2/
only) only)

DBB 1 Reserved

DBW 2 Higraph first error display

DBW 4 Higraph first error display

DBB 6 Analog spindle 1, capacity in percent

DBB 7 Analog spindle 2, capacity in percent

DBB 8 Channel number of machine control panel to MMC

DBB 9 Reserved for selection Automatc OEM2 OEM1


tool
measure-
ment

DBB 10 PLC Hardkeys (Values 1 ... 255, Default: 0 )

DBB 11 Reserved for hardkey function expansions

DBB 12 RS-232 On RS-232 Off RS-232 RS-232 COM1 COM2 Res. Res.
External Stop
/A2/ /A2/ /A2/ /A2/
/A2/ /A2/

DBB 13 Load part Res. Disable


Select program Unload Teach
transfer
/A2/ /A2/ /A2/

DBB 14 0=act. FS RS-232 act. FS: Index of file to be transferred in the standard list.
1=pas. FS RS-232 pass. FS: Number of the control file for user file names.

DBB 15 RS-232 act. FS: Index that specifies the axis, channel or tool no.
RS-232 pass. FS: Index of the file to be transferred in the user list

DBB 16 1=pas FS Part program handling: Number of the control file for user file names.

DBB 17
Part program handling: Index of the file to be transferred in the user list

DBB 18 TO comp.

DBB 19 Reserved (signal counter)

© Siemens AG 2004 All Rights Reserved


4-748 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

DB 19 Signals from operator panel (MMC → PLC)


Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB 20 MCS/WCS Simulation Language Recall Cancel Cancel key Screen is
Change- active 2 alarm alarm actuated dark
over /A2/ cleared cleared /A2/
/A2/ /A2/
MMC 103 MMC 103
/A2/ /A2/

DBB 21 Active MMC operating area

DBB 22 Displayed channel number from the MMC /A2/

DBB 23 Counter Main


spindle spindle
internal internal
voltage voltage

DBB 24 RS-232 status from PLC


RS-232 On RS-232 Off RS-232 RS-232 Com1 Com2 OK Error
External Stop active /A2/ active /A2/
/A2/ /A2/ /A2/ /A2/
/A2/ /A2/

DBB 25 Error RS-232 /A2/

DBB 26 Part program handling status /A2/


Select Load Unload Active Error OK Error
MMC 5.3
and higher;
6.1

DBB 27 Error program handling /A2/

DBW 28 Mask number for "Extend user interface" /IAM/, BE1

DBB 30 Control bits PLC --> MMC

Exit mask Request


mask

DBB 31 Control bits PLC --> MMC


Inactive bit Error, Not Mask Mask Mask Mask
possible to exited active requested request
request accepted
mask
DBB 32 FunctionSelectionNo. from PLC

PLC>MMC Busy Strobe


function function

DBB 33 Parameter 1 for FunctionSelectionNo. (function selection from DBB 32)

PLC>MMC

DBB 34 Parameter 2 for FunctionSelectionNo. (function selection from DBB 32)

PLC>MMC

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-749
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

DBB 35 Parameter 3 for FunctionSelectionNo. (function selection from DBB 32)

PLC>MMC

DBB 36 Error code for FunctionSelectionNo. (function selection from DBB 32)

MMC>PLC

DBB 37 Parameter 1 for FunctionSelectionNo. (function selection from DBB 48)

MMC>PLC

DBB 38 Parameter 2 for FunctionSelectionNo. (function selection from DBB 48)

MMC>PLC

DBB 39 Parameter 3 for FunctionSelectionNo. (function selection from DBB 48)

MMC>PLC

DBB40-47 used internally


DBB 48 PLC-Busy HMI-Strobe FunctionSelectionNo. from MMC
function function
MMC>PLC
DBB 49 Error code for FunctionSelectionNo. (function selection from DBB48)

PLC>MMC

Interface 2nd MMC

DBB Assignment as for DBB 0 to DBB 49


50-99

Switchover interface to MMC

Knocking interface (MMC announces itself to NCU)

DBW 100 ONL_REQUEST /B3/


Online request from MMC
MMC writes its client identification as online request
(bit 8-15: bus type, bit 0-7: MMC bus address)

DBW 102 ONL_CONFIRM /B3/


Acknowledgment from PLC to online request
PLC writes MMC client identification as acknowledgment (bus type, MMC bus address;
as with DBW 100).

DBW 104 PAR_CLIENT_IDENT /B3/

MMC writes its client identification (bus type, MMC bus address; as with DBW 100).

DBB 106 PAR_MMC_TYP /B3/


Type of MMC as per NETNAMES.INI: Main / subordinate operator panel / server /...

DBB 107 PAR_MSTT_ADR /B3/


MMC writes address of MCP to be activated; 255, when no MCP activated

DBB 108 PAR_STATUS /B3/


PLC writes online enable for MMC.

© Siemens AG 2004 All Rights Reserved


4-750 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

DBB 109 PAR_Z_INFO /B3/


PLC writes additional info about status

DBB 110 M_TO_N_ALIVE


Sign of life from PLC to MMC through M to N block

Online interface MMC 1 (user)


DBW 120 MMC1_CLIENT_IDENT /B3/
PLC writes PAR_CLIENT_IDENT to MMCx_CLIENT_IDENT when MMC goes online.

DBB 122 MMC1_TYP /B3/


PLC writes PAR_MMC_TYP to MMCx_TYP when MMC goes online.

DBB 123 MMC1_MSTT_ADR /B3/


PLC writes PAR_MSTT_ADR to MMCx_MSTT_ADR when MMC goes online.

DBB 124 MMC1_STATUS /B3/


Connection status, MMC and PLC alternately write their requests/acknowledgments

DBB 125 MMC1_Z_INFO /B3/


Additional info connection status (pos./neg. acknowledgment, error messages...)
DBB 126 MMC1 MMC1 MMC1 MMC1 MMC1 MMC1
ACTIVE ACTIVE ACTIVE ACTIVE MCP SHIFT
DENIED CHANGED PERM REQ SHIFT LOCK
/B3/ /B3/ /B3/ /B3/ LOCK /B3/
/B3/

DBB Reserved

127-129

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-751
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

Online Interface MMC 2 (user)

DBW 130 MMC2_CLIENT_IDENT /B3/


PLC writes PAR_CLIENT_IDENT to MMCx_CLIENT_IDENT when MMC goes online.

DBB 132 MMC2_TYP /B3/


PLC writes PAR_MMC_TYP to MMCx_TYP when MMC goes online.

DBB 133 MMC2_MSTT_ADR /B3/


PLC writes PAR_MSTT_ADR to MMCx_MSTT_ADR when MMC goes online.

DBB 134 MMC2_STATUS /B3/


Connection status, MMC and PLC alternately write their requests/acknowledgments

DBB 135 MMC2_Z_INFO /B3/


Additional info connection status (pos./neg. acknowledgment, error messages...)

DBB 136 MMC2 MMC2 MMC2 MMC2 MMC2 MMC2


ACTIVE ACTIVE ACTIVE ACTIVE MCP SHIFT
DENIED CHANGED PERM REQ SHIFT LOCK
/B3/ /B3/ /B3/ /B3/ LOCK /B3/
/B3/

DBB Reserved

137-139

DBB Code carrier input parameters


Optional package SINTDC on HMI-Advanced required
140-197
DBB Code carrier return parameters
Optional package SINTDC on HMI-Advanced required
198-249
DBB Commands
Optional package SINTDC on HMI-Advanced required
250-255
DBB Commands for Paramtm.exe
Optional package SINTDC on HMI-Advanced required
256-267
DBW Traffic light status
Optional package TPM on HMI Advanced required
268
DBW Counter[1 ... 32]
Optional package TPM on HMI Advanced required
270 to
394

© Siemens AG 2004 All Rights Reserved


4-752 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

4.2.12 PLC machine data (DB 20)

DB 20 PLC machine data (PLC→operator)


Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBW 0 INT values

DBW

DBW INT values

DBB Bit arrays

DBB

DBB Bit arrays

DBD REAL values

DBD

DBD REAL values

Note
The initial and end addresses of the PLC machine data areas depend on the
respective length indications of the partial areas. In general, the integer
values start with the data byte 0. The upper limit is determined by the
corresponding length indication. In general, the following bit arrays (2-decade
hexadecimal numbers on input) start with the following even address. The
real values follow directly the bit arrays and also start with an even address.

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-753
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

4.2.13 Signals from/to NCK channel (DB 21–30)

DB Signals to NCK channel (PLC→NCK)


21 - 30
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBB 0 Activate Activate Activate Activate


dry run M01 single DRF /H1/
feedrate /K1/ block /K1/
/V1/

DBB 1 Activate PLC action CLC CLC stop Time Synchron- Enable Activate
program complete override /TE1/ monitoring ized action protection referencing
test /K1/ /TE1/ act. (tool OFF zones /R1/
/K1/ manage- /A3/
/FBSY/
ment)

DBB 2 Skip block /K1/


/7 /6 /5 /4 /3 /2 /1 /0

DBB 3 Nibbling and punching /N4/


Manual Stroke Stroke not Stroke Manual Stroke
release of delayed operating suppres- stroke enable /N4/
stroke 2 /N4/ /N4/ sion /N4/ enable /N4/

DBB 4 Feedrate override /V1/


H G F E D C B A

DBB 5 Rapid traverse override /V1/


H G F E D C B A

DBB 6 Feedrate Rapid Program Delete Delete Read-in Feed


override traverse level abort subroutine distance- disable disable
active /V1/ override /K1/ no. of to-go /K1/ /V1/
active /V1/ passes /A2/

DBB 7 Reset NC Stop NC Stop NC Stop to NC Start NC Start


/K1/ axes plus /K1/ block limit /K1/ disable
spindle /K1/ /K1/
/K1/

DBB 8 Activate machine-related protection area /A3/ (SW 2 and higher)


Area 8 Area 7 Area 6 Area 5 Area 4 Area 3 Area 2 Area 1

DBB 9 Activate machine-related protection area /A3/ (SW 2 and higher)


Area 10 Area 9

DBB 10 Activate channel-specific protection area /A3/ (SW 2 and higher)


Area 8 Area 7 Area 6 Area 5 Area 4 Area 3 Area 2 Area 1
Activate channel-specific protection area /A3/ (SW 2 and higher)

DBB 11 Area 10 Area 9

© Siemens AG 2004 All Rights Reserved


4-754 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

Note
on Feedrate override active (DBX6.7)
even if feedrate override is not active (= 100%), the setting 0% is effective.
on Feedrate override (DBB 4)
either 31 positions (Gray code) with 31 MD for % evaluation or 0-200% corresponding
to the dual value in byte (201–255 ⇒ max. 200%).
on Rapid traverse override (DBB 5)
either 31 positions (Gray code) with 31 MD for % evaluation or 0-100% corresponding
to the dual value in byte (101–255 ⇒ max. 100%).
on Activate single block (DBX0.4)
select variant via ”Write variable”.
on Delete distance-to-go (DBX6.2)
effects only path axes and not positioning axes

Control signals to geometry axes

DBB 12 Geometry axis 1


Traversing keys /H1/ Rapid Traversing Feed stop Activate handwheel /H1/
traverse key disable /V1/
override /H1/
/H1/
+ - 3 2 1

DBB 13 Geometry axis 1 machine function /H1/


Var. INC 10000 INC 1000 INC 100 INC 10 INC 1 INC

DBB 14 OEM signals geometry axis 1

DBB 15 Geometry axis 1

DBB 16 Geometry axis 2


Traversing keys /H1/ Rapid Traversing Feed stop Activate handwheel /H1/
traverse key disable /V1/
override /H1/
/H1/
+ - 3 2 1

DBB 17 Geometry axis 2 machine function /H1/


Var. INC 10000 INC 1000 INC 100 INC 10 INC 1 INC

DBB 18 OEM signals geometry axis 2

DBB 19 Geometry axis 2

DBB 20 Geometry axis 3


Traversing keys /H1/ Rapid Traversing Feed stop Activate handwheel /H1/
traverse key disable /V1/
override /H1/
/H1/
+ - 3 2 1

DBB 21 Geometry axis 3 machine function /H1/


Var. INC 10000 INC 1000 INC 100 INC 10 INC 1 INC

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-755
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

DBB 22 OEM signals geometry axis 3

DBB 23 Geometry axis 3

Note
about machine function: machine function only defined when signal "INC
inputs in mode group area active" (DB10.DBX57.0) is not set.

Operating signals from MMC/status signals from NC channel

DB Signals from NCK channel (NCK→PLC,


21-30 MMC→PLC, PLC→NCK)

Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBB 24 Dry run M01 Select DRF


feedrate selected NCK- selected
MMC--> PLC
selected /K1/ related /H1/
/V1/ M01

DBB 25 Program REPOS Feedrate REPOSPATHMODE


test MODE override for
MMC--> PLC
selected EDGE rapid
/K1/ traverse 2 1 0
selected
/V1/
DBB 26 Skip block selected /K1/ (SW 2 and higher)
MMC--> PLC 7 6 5 4 3 2 1 0
DBB 27 Skip block Skip block
selected selected
MMC--> PLC
/K1/ /K1/
(SW 2 and (SW 2 and
higher) higher)

DBB 28 OEM channel signals

PLC→NCK

DBB 29 Do not Switch off Switch off Activate Activate Activate Activate Activate
fixed feed fixed feed fixed feed fixed feed
PLC→NCK disable wear workpiece PTP
4 3 2 1
tool monitoring counter motion /FBMA/, /FBMA/, /FBMA/, /FBMA/,
/V1/ /V1/ /V1/ /V1/
(SW 4 and (SW 4 and (SW 4 and (SW 4 and
higher) higher) higher) higher)

© Siemens AG 2004 All Rights Reserved


4-756 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

DBB 30 Activate contour handwheel


PLC→NCK
No tool Activate Neg. Simulation Handwheel Handwheel Handwheel
change NCK- direction contour 3 2 1
commands related simulation handwheel
M01 contour on
handwheel
/H2/
DBB 31 REPOSPATHMODE
PLC→NCK
Skip block Skip block REPOS 2 1 0
active /9 active /8 MODE
EDGE
DBB 32 Last action M00/M01 Approach Action Execution
NCK--> PLC block active block block from external
active /K1/ /K1/ active /K1/ active /K1/ source
active
DBB 33 Program Transforma M02/M30 Block Handwheel Revolutio- Orientable Referencing
NCK--> PLC test active tion active active search override nal toolholder active
/K1/ /K1/M1 /K1/ active active (SW 2 feedrate active /R1/
/K1/ and higher) active /V1/
/H1/
DBB 34 OEM channel signals feedback
NCK--> PLC

DBB 35 Channel status /K1/ Program status /K1/


NCK--> PLC
Reset Interrupted Active Aborted Interrupted Stopped Waiting Running
DBB 36 NCK alarm Channel- Channel Interrupt All axes All axes
NCK--> PLC with specific ready processing stationary requiring
processing NCK alarm for active /B1/ reference
stop present operation /K1/ points are
present /A2/ in SW 4 referenced
/A2/ and higher /R1/
DBB 37 Stop Read-in CLC CLC CLC Contour handwheel active
NCK--> PLC
at block enable is stopped stopped active Handwheel Handwheel Handwheel
end with ignored upper limit lower limit /TE1/ 3 2 1
SBL is sup- /TE1/ /TE1/ /H1/ /H1/ /H1/
pressed
DBB 38 Nibbling and punching /N4/
NCK--> PLC
Acknowl. Stroke
manual enable
stroke active /N4/
enable /N4/
DBB 39 Protection
NCK--> PLC zones not
guaranteed

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-757
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

Note
on Feedrate override for rapid traverse selected (DBX25.3)
Depending on this signal, the basic PLC program copies the feedrate override
onto the rapid traverse override on the channel-specific interface.
On Program test selected (DBX25.7)
”Program test selected” means axis disable for all channel axes and spindles.

Status signals of geometry axes


DB Signals from NCK channel (NCK→PLC)
21 - 30
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBB 40 Geometry axis 1


Traverse command /H1/ Travel requests Handwheel active /H1/
plus minus plus minus 3 2 1

DBB 41 Geometry axis 1 active machine function /H1/


Var. INC 10000 INC 1000 INC 100 INC 10 INC 1 INC

DBB 42 OEM signals geometry axis 1

DBB 43 Geometry axis 1

DBB 44
MMC--> PLC

DBB 46 Geometry axis 2


Traverse command /H1/ Travel requests Handwheel active /H1/
plus minus plus minus 3 2 1

DBB 47 Geometry axis 2 active machine function /H1/


Var. INC 10000 INC 1000 INC 100 INC 10 INC 1 INC

DBB 48 OEM signals geometry axis 2

DBB 49 Geometry axis 2

DBB 50
MMC--> PLC

DBB 52 Geometry axis 3


Traverse command /H1/ Travel requests Handwheel active /H1/
plus minus plus minus 3 2 1

DBB 53 Geometry axis 3 active machine function /H1/


Var. INC 10000 INC 1000 INC 100 INC 10 INC 1 INC

© Siemens AG 2004 All Rights Reserved


4-758 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

DBB 54 OEM signals geometry axis 3

DBB 55 Geometry axis 3

DBB 56
MMC-->
PLC
DBB 57

Change signals on auxiliary function transfer from NC channel

DB
21 - 30 Signals from NCK channel (NCK→PLC)

Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0


DBB 58 M fct. 5 M fct. 4 M fct. 3 M fct. 2 M fct. 1
change change change change change
/H2/ /H2/ /H2/ /H2/ /H2/
DBB 59 M fct. 5 M fct. 4 M fct. 3 M fct. 2 M fct. 1
not not not not not
decoded decoded decoded decoded decoded
DBB 60 S fct. 3 S fct. 2 S fct. 1 S fct. 3 S fct. 2 S fct. 1
quick quick quick change change change
/H2/ /H2/ /H2/
DBB 61 T fct 3 T fct. 2 T fct. 1 T fct. 3 T fct. 2 T fct. 1
quick quick quick change/H2/ change/H2/ change
(SW 2 and (SW 2 and /H2/
higher) higher)
DBB 62 D fct. 3 D fct. 2 D fct. 1 D fct. 3 D fct. 2 D fct. 1
quick quick quick change/H2/ change/H2/ change
(SW 2 and (SW 2 and /H2/
higher) higher)
DBB 63 DL fct. DL fct.
quick change
DBB 64 H fct. 3 H fct. 2 H fct. 1 H fct. 3 H fct. 2 H fct. 1
quick quick quick change change change
/H2/ /H2/ /H2/
DBB 65 F fct. 6 F fct. 5 F fct. 4 F fct. 3 F fct. 2 F fct. 1
change change change change change change
/H2/ /H2/ /H2/ /H2/ /H2/ /H2/
DBB 66 M fct. 5 M fct. 4 M fct. 3 M fct. 2 M fct. 1
quick quick quick quick quick
DBB 67 F fct. 6 F fct. 5 F fct. 4 F fct. 3 F fct. 2 F fct. 1
quick quick quick quick quick quick

Note
For 10-decade T numbers, only the T fct. 1 change signal is available. For
5-decade D numbers, only the D fct. 1 change signal is available.

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-759
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

Transferred M/S functions

DB
21 - 30 Signals from NCK channel (NCK→PLC)

Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0


DBW 68 Extended address M function 1 (binary) /H2/

DBD 70
M function 1 (binary) /H2/

DBW 74 Extended address M function 2 (binary) /H2/

DBD 76 M function 2 (binary) /H2/

DBW 80 Extended address M function 3 (binary) /H2/

DBD 82 M function 3 (binary) /H2/

DBW 86 Extended address M function 4 (binary) /H2/

DBD 88 M function 4 (binary) /H2/

DBW 92 Extended address M function 5 (binary) /H2/

DBD 94 M function 5 (binary) /H2/

DBW 98 Extended address S function 1 (binary) /H2/

DBD 100 S function 1 (REAL format) /H2/

DBW 104 Extended address S function 2 (binary) /H2/

DBD 106 S function 2 (REAL format) /H2/

DBW 110 Extended address S function 3 (binary) /H2/

DBD 112 S function 3 (REAL format) /H2/

Note
M functions are programmed in the part program in the INTEGER format
(8 decades plus sign).

”REAL format” means: 24 bit mantissa and 8 bit exponent.

© Siemens AG 2004 All Rights Reserved


4-760 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

Transferred T/D/DL functions

DB Signals from NCK channel (NCK→PLC)


21 - 30
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBW 116 Extended address T function 1 (16 bit Int)

DBW 118 T function 1 (binary) /H2/


For 8-decade T nos., T function 1 (32 bit DINT) is used in DBD 118 (see note)
DBD 118

DBW 120 Extended address T function 2 (16 bit Int)

DBW 122 T function 2 (Int)

DBW 124 Extended address T function 3 (16 bit Int)

DBW 126 T function 3 (Int)

DBB 128

DBB 129 D function 1 (binary) /H2/

DBW 130 For 5-decade D nos., D function 1 (16 bit DINT) is used in DBD 130 (see note)
Extended address D function 2 (8 bit Int)
DBB 130

DBB 131 D function 2 (8 bit Int)

DBB 132 Extended address D function 3 (8 bit Int)

DBB 133 D function 3 (8 bit Int)

DBW 134 Extended address DL function (16 bit Int)

DBD 136 DL function (REAL)

Note
With active tool management, programmed T functions are not output to the
PLC.
8-decade T nos. are only available as T function 1
Programmed D functions with names (e.g. D=CUTEDGE_1) cannot be
output in ASCII format to the PLC.
5-decade D nos. are only available as D function 1
The REAL format corresponds to floating point representation in STEP 7
(24 bit mantissa and 8 bit exponent). This floating point format supplies a
maximum of 7 valid places.

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-761
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

Transferred H/F functions

DB
21 - 30 Signals from NCK channel (NCK→PLC)

Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0


DBW 140 Extended address H function 1 (binary) /H2/
DBD 142 H function 1 (REAL or Dint) /H2/
DBW 146 Extended address H function 2 (binary) /H2/
DBD 148 H function 2 (REAL or Dint) /H2/
DBW 152 Extended address H function 3 (binary) /H2/
DBD 154 H function 3 (REAL or Dint) /H2/
DBW 158 Extended address F function 1 (binary) /H2/
DBD 160 F function 1 (REAL format) /H2/
DBW 164 Extended address F function 2 (binary) /H2/
DBD 166 F function 2 (REAL format) /H2/
DBW 170 Extended address F function 3 (binary) /H2/
DBD 172 F function 3 (REAL format) /H2/
DBW 176 Extended address F function 4 (binary) /H2/
DBD 178 F function 4 (REAL format) /H2/
DBW 182 Extended address F function 5 (binary) /H2/
DBD 184 F function 5 (REAL format) /H2/
DBW 188 Extended address F function 6 (binary) /H2/
DBD 190 F function 6 (REAL format) /H2/

Note
F functions are programmed in the part program in the REAL format.
The extended address of the F function contains an identifier with the
following meaning:
0 = path feed,
1-31 = machine axis number for feed with positioning axes.
The H function data type is dependent on MD 22110: AUXFU_H_TYPE_INT.

© Siemens AG 2004 All Rights Reserved


4-762 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

Decoded M signals (M0–M99)


DB Signals from NCK channel (NCK→PLC)
21 - 30
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBB 194 Dynamic M functions


M07 M06 M05 * M04 * M03 * M02 M01 M00

DBB 195 Dynamic M functions /H2/


M15 M14 M13 M12 M11 M10 M09 M08

DBB 196 Dynamic M functions /H2/


M23 M22 M21 M20 M19 M18 M17 M16

DBB 197 Dynamic M functions /H2/


M31 M30 M29 M28 M27 M26 M25 M24

DBB 198 Dynamic M functions /H2/


M39 M38 M37 M36 M35 M34 M33 M32

DBB 199 Dynamic M functions /H2/


M47 M46 M45 M44 M43 M42 M41 M40

DBB 200 Dynamic M functions /H2/


M55 M54 M53 M52 M51 M50 M49 M48

DBB 201 Dynamic M functions /H2/


M63 M62 M61 M60 M59 M58 M57 M56

DBB 202 Dynamic M functions /H2/


M71 M70 * M69 M68 M67 M66 M65 M64

DBB 203 Dynamic M functions /H2/


M79 M78 M77 M76 M75 M74 M73 M72

DBB 204 Dynamic M functions /H2/


M87 M86 M85 M84 M83 M82 M81 M80

DBB 205 Dynamic M functions /H2/


M95 M94 M93 M92 M91 M90 M89 M88

DBB 206 Dynamic M functions /H2/


M99 M98 M97 M96

DBB 207

Note

M functions marked with * are not decoded in this bit array if a spindle is
configured in the channel. In this case, these M functions are offered as
extended M functions in DB21-30.DBB68 ff. and in the relevant axis DB
DB31-61.DBB86 ff.
Dynamic M functions (M00 to M99) are decoded by the basic PLC program.
The PLC user must use dynamic M functions in order to generate static M
functions.

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-763
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

Active G functions
DB Signals from NCK channel (NCK→PLC)
21 - 30
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBB 208 Number of active G function of G function group 1 (binary) /K1/

DBB 209 Number of active G function of G function group 2 (binary) /K1/

DBB 210 Number of active G function of G function group 3 (binary) /K1/

DBB 211 Number of active G function of G function group 4 (binary) /K1/

DBB 212 Number of active G function of G function group 5 (binary) /K1/

DBB 213 Number of active G function of G function group 6 (binary) /K1/

DBB 214 Number of active G function of G function group 7 (binary) /K1/

DBB 215 Number of active G function of G function group 8 (binary) /K1/

...

DBB 270 Number of active G function of G function group n-1 (binary) /K1/

DBB 271 Number of active G function of G function group n (binary) /K1/

Note

The active G functions of the groups are updated each time a G function or a
mnemonic identifier (e.g. SPLINE) is programmed.
G functions within a G group are output as binary value, starting with 1.
A G function with the value 0 means that no G function is active for this G
group.

© Siemens AG 2004 All Rights Reserved


4-764 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

Signals for protection areas from NC channel

DB Signals from NCK channel (NCK→PLC) (SW 2 and higher)


21 - 30
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB 272 Machine-related protection area preactivated /A3/
Area 8 Area 7 Area 6 Area 5 Area 4 Area 3 Area 2 Area 1
DBB 273 Machine-related protection area preactivated /A3/
Area 10 Area 9
DBB 274 Channel-specific protection area preactivated /A3/
Area 8 Area 7 Area 6 Area 5 Area 4 Area 3 Area 2 Area 1
DBB 275 Channel-specific protection area preactivated /A3/
Area 10 Area 9
DBB 276 Machine-related protection area violated /A3/
Area 8 Area 7 Area 6 Area 5 Area 4 Area 3 Area 2 Area 1

DBB 277 Machine-related protection area violated /A3/


Area 10 Area 9

DBB 278 Channel-related protection area violated /A3/


Area 8 Area 7 Area 6 Area 5 Area 4 Area 3 Area 2 Area 1

DBB 279 Channel-related protection area violated /A3/


Area 10 Area 9

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-765
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

Instruction-controlled signals to NC channel


DB Signals to NCK channel (NCK→PLC) (SW 4 and higher)
21 - 30
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBB 280 Synch. Reserved


action
disable
request

DBB 281 Synch.


action
disabled

DBW 282 Reserved

DBW 284 Reserved

DBW 286 Reserved

DBW 288 Reserved

DBW 290 Reserved

DBW 292 Reserved

DBW 294 Reserved

DBW 296 Reserved

DBW 298 Reserved

DBB 300 Disable synchronized actions /FBSY/

No. 8 No. 7 No. 6 No. 5 No. 4 No. 3 No. 2 No. 1

DBB 301 Disable synchronized actions /FBSY/

No. 16 No. 15 No. 14 No. 13 No. 12 No. 11 No. 10 No. 9

DBB 302 Disable synchronized actions /FBSY/

No. 24 No. 23 No. 22 No. 21 No. 20 No. 19 No. 18 No. 17

DBB 303 Disable synchronized actions /FBSY/

No. 32 No. 31 No. 30 No. 29 No. 28 No. 27 No. 26 No. 25

DBB 304 Disable synchronized actions /FBSY/

No. 40 No. 39 No. 38 No. 37 No. 36 No. 35 No. 34 No. 33

DBB 305 Disable synchronized actions /FBSY/

No. 48 No. 47 No. 46 No. 45 No. 44 No. 43 No. 42 No. 41

DBB 306 Disable synchronized actions /FBSY/

No. 56 No. 55 No. 54 No. 53 No. 52 No. 51 No. 50 No. 49

DBB 307 Disable synchronized actions /FBSY/

No. 64 No. 63 No. 62 No. 61 No. 60 No. 59 No. 58 No. 57

Note

The request signals are set by the user and reset by the basic program after
transmission of the corresponding data.

© Siemens AG 2004 All Rights Reserved


4-766 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

Instruction-controlled signals from NC channel

DB
21 - 30 Signals from NCK channel (NCK→PLC) (SW 4 and higher)

Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBB 308 Synchronized actions can be disabled /FBSY/


Nr. 8 Nr. 7 Nr. 6 Nr. 5 Nr. 4 Nr. 3 Nr. 2 Nr.1

DBB 309 Synchronized actions can be disabled /FBSY/


Nr. 16 Nr. 15 Nr. 14 Nr. 13 Nr. 12 Nr. 11 Nr.10 Nr.9

DBB 310 Synchronized actions can be disabled /FBSY/


Nr. 24 Nr. 23 Nr. 22 Nr. 21 Nr. 20 Nr. 19 Nr.18 Nr.17

DBB 311 Synchronized actions can be disabled /FBSY/


Nr. 32 Nr. 31 Nr. 30 Nr. 29 Nr. 28 Nr. 27 Nr. 26 Nr.25

DBB 312 Synchronized actions can be disabled /FBSY/


Nr. 40 Nr. 39 Nr. 38 Nr. 37 Nr. 36 Nr. 35 Nr. 34 Nr. 33

DBB 313 Synchronized actions can be disabled /FBSY/


Nr. 48 Nr. 47 Nr. 46 Nr. 45 Nr. 44 Nr. 43 Nr. 42 Nr.41

DBB 314 Synchronized actions can be disabled /FBSY/


Nr. 56 Nr. 55 Nr. 54 Nr. 53 Nr. 52 Nr. 51 Nr. 50 Nr.49

DBB 315 Synchronized actions can be disabled /FBSY/


Nr. 64 Nr. 63 Nr. 62 Nr. 61 Nr. 60 Nr. 59 Nr. 58 Nr.57
Cyclic Signals interface NCK Æ PLC

DBB 316 Active G functions


G0 PATH G00 geo.
DBB 317
Tool PTP Travel Workpiece External
missing motion request setpoint language
active drive test reached mode
active
DBB 318
Overstore Dry-run Associated Stop TOFF TOFF Search ASUP
active feedrate M01 delayed movement active active stopped
active /V1/ active /H2/ active /K1/ /K1/
DBB 319
No tool Repos Delay FTS Repos Repos Repos REPOS
change DEFERRA Path Mode Path Mode Path Mode MODE
command L Chan Ackn 2 Ackn 1 Ackn 0 EDGE
active ACKN

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-767
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

Signals to orientation axes

DB Signals to NCK channel (PLC→NCK)


21 - 30
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB 320 Traversing keys Orientation axis 1

+ − Rapid Traversing Feed stop Activate handwheel


traverse key disable
− − (bit value coding)
override

DBB 321 Orientation axis 1


var. INC 10000 INC 1000 INC 100 INC 10 INC 1 INC

DBB 322 OEM signals orientation axis 1

DBB 323 Orientation axis 1


var. INC 10000 INC 1000 INC 100 INC 10 INC 1 INC

DBB 324 Traversing keys Orientation axis 2

+ − Rapid Traversing Feed Activate handwheel


traverse key
stop (bit value coding)
override
disable

DBB 325 Orientation axis 2


var. INC 10000 INC 1000 INC 100 INC 10 INC 1 INC

DBB 326 OEM signals orientation axis 2

DBB 327 Orientation axis 2

DBB 328 Traversing keys Orientation axis 3

+ − Rapid Traversing Feed Activate handwheel


key
traverse stop (bit value coding)
disable
override

DBB 329 Orientation axis 3

DBB 330 OEM signals orientation axis 3

DBB 331 Orientation axis 3

© Siemens AG 2004 All Rights Reserved


4-768 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

Signals from orientation axes

DB Signals from NCK channel (NCK→PLC)


21 - 30
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB 332 Orientation axis 1
Travel command Travel request Handwheel active
plus minus plus minus (bit value coding)

DBB 333 Orientation axis 1


Active machine function
var. INC 10000 INC 1000 INC 100 INC 10 INC 1 INC

DBB 334 OEM signals orientation axis 1

DBB 335 Orientation axis 1

DBB 336 Orientation axis 2


Travel command Travel request Handwheel active
(bit value coding)
plus minus plus minus

DBB 337 Orientation axis 2


Active machine function
var. INC 10000 INC 1000 INC 100 INC 10 INC 1 INC

DBB 338 OEM signals orientation axis 2

DBB 339 Orientation axis 2

DBB 340 Orientation axis 3


Travel command Travel request Handwheel active
plus minus plus minus (bit value coding)

DBB 341 Orientation axis 3


Active machine function
var. INC 10000 INC 1000 INC 100 INC 10 INC 1 INC

DBB 342 OEM signals orientation axis 3

DBB 343 Orientation axis 3

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-769
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

Tool management functions from NC channel

DB Signals from NCK channel (NCK→PLC)


21 - 30
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Modification signals tool management functions

DBB 344 Last Transfer to Tool limit Tool pre-


replace- new value warning
ment tool replace- reached limit
of tool ment tool reached
group

DBB
345-347
Transferred tool management functions

DBD 348 T number for tool prewarning limit (DInt)

DBD 352 T number for tool limit value (DInt)

DBD 356 T number of new replacement tool (DInt)

DBD 360 T number of last replacement tool (DInt)

© Siemens AG 2004 All Rights Reserved


4-770 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

Signals from/to NC channel


DB Signals from NCK channel (NCK→PLC, PLC →NCK)
21 - 30
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
CH_CYCLES_SIG_IN (Bit 0 – 7 )
DBB 364
CH_CYCLES_SIG_IN (Bit 8 – 15 )
DBB 365
CH_CYCLES_SIG_OUT (Bit 0 – 7 )
DBB 366
CH_CYCLES_SIG_OUT (Bit 8 – 15 )
DBB 367
CH_OEM_TECHNO_SIG_IN (DBB368 - 371)
DBB 368

DBB 369

DBB 370

DBB 371

DBB 372 CH_OEM_TECHNO_SIG_OUT (DBB372 - 375)

DBB 373

DBB 374

DBB 375

DBB 376 ProgEventDisplay

DBB 377

DBB 378

DBB 379

DBB 380

DBB 381

DBB 382

DBB 383

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-771
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

4.2.14 Signals from/to axis/spindle (PLC→NCK) (DB 31–DB 61)

DB Signals to axis/spindle (PLC→NCK)


31 -61
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBB 0 Feedrate override /V1/


Axis and
spindle H G F E D C B A

DBB 1 Override Position Position Follow-up Axis/spindle Sensor fixed Acknowl. Drive test
active measuring measuring mode /A2/ disable stop fixed stop movement
Axis and
/V1/ system 2 system 1 /A2/ /F1/ reached enable
spindle /A2/ /A2/ (SW 2 and /F1/ (SW 2
higher) and higher))

DBB 2 Reference point value /R1/ Clamping Delete Controller Cam


in progress distance-to- enable activation
Axis and
/A3/ go/ spindle /A2/ /N3/
spindle reset (SW 2 and
/A2, S1/ higher)
4 3 2 1

DBB 3 Program Velocity/ Activate Activate Activate Activate Enable Accept


test axis/ spindle fixed feed fixed feed fixed feed fixed feed travel to external ZO
Axis and
spindle speed fixed stop /K2/ (SW 2
spindle release limitation 4 3 2 1 /F1/ SW 2 and higher)
/A3/ /FBMA/, /FBMA/, /FBMA/, /FBMA/, and higher)
/V1/ (SW 4 /V1/ (SW 4 /V1/ (SW 4 /V1/ (SW 4
and higher) and higher) and higher) and higher)

DBB 4 Traversing keys /H1/ Rapid Traversing Feed Activate handwheel /H1/
Axis and traverse key disable stop/spindle
spindle override /H1/ stop /A2/
/H1/
plus minus 3 2 1

DBB 5 Machine function /H1/


Axis and
spindle Var. INC 10000 INC 1000 INC 100 INC 10 INC 1 INC

DBB 6 OEM axis signals


Axis and
spindle

DBB 7

DBB 8 Request Activation Allocate NC axis to channel


PLC signal with /K5/
axis/spindle change of
this byte
/K5/ /K5/ D C B A

Note
DBX8.4: is automatically reset after assignment (SW 3.7, 4.2 and higher). For
previous SW versions, the activation signal must be applied until the
assignment is made (DBB68).

© Siemens AG 2004 All Rights Reserved


4-772 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

DB Continuation: Signals to axis/spindle (PLC → NCK)


31-61
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB 9 Lock Control parameter block (SW4 and
parameter higher) /A2/
set
definition
from NC
/A2/
C B A

DBB 10 REPOS
DELAY

DBB 11 Start brake


test

DBB 12 Delay Modulo 2nd software limit switch Hardware limit switch
reference limit /A3/ /A3/
Axis
point enabled
approach
/R1/
plus minus plus minus

DBB 13
Axis

DBB 14
Axis

DBB 15
Axis

DBB 16 Delete No n- Resyn- Resyn- Gear has Actual gear stage /S1/
S value monitoring chronize chronize changed
Spindle
/S1/ when spindle 1 spindle 2 over /S1/
changing /S1/ /S1/
gear /S1/
C B A

DBB 17 Invert Resyn- Resyn- Feedrate


M3/M4 chronize chronize override f.
Spindle
/S1/ spindle at spindle at spindle
pos. 2 /S1/ pos. 1 /S1/ valid /S1/

DBB 18 Setpoint rot. direct. /S1/ Oscillating Oscillation


speed via PLC
Spindle
/S1/ /S1/
CCW CW

DBB 19 Spindle override /V1/


Spindle
H G F E D C B A

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-773
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

DB Continuation: Signals to axis/spindle (PLC → NCK)


31-61
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB 20 Speed Torque Ramp- Runup
setpoint limit 2 function change-
611D
smoothing /A2/ generator over U/f
/A2/ interface mode
/A2/ /DE1/
1)
DBB 21 Pulse n controller Selecting Motor selection /A2/ Drive parameter set selection /A2/
enable integrator motor
611D
/A2/ disable /A2/
/A2/
1) B A C B A

DBB 22 Selection of Safe speed Deselect Deselect


safe safe
Safety
standstill velocity and
Integr. bit value 1 bit value 0 standstill
1)

DBB 23 Activate Activate Trans- Trans- Trans-


test stop end mission of mission of mission of
Safety
position bit value 2 bit value 1 bit value 0
Integr. pair 2

DBB 24 Master/ Bit value for Torque CC_Slave Control Stepper


slave on compensa- axis Axis motor
CTRLOUT_changed:
tion
1 0 controller
Change setpoint output ON Suppress Rotation
assignment (for compile link monitoring
cycles)

DBB 25

DBB 26 Enable Enable Comp-


ESR ensation
Grinding slave axis
response control ON
overlay

DBB 27 Stop Resume


Grinding HIAxMove Corr DEPBCS DEPMCS HIAxMove Corr DEPBCS DEPMCS

DBB 28 PLC AxStop, Stop at Change Set AXRESUM AXRESET


checks stop next reversal reversal E
Oscillation
axis /P5/ reversal point /P5/ point /P5/
(SW 2 and point (SW 2 and (SW 2 and
higher) /P5/ (SW 2 higher) higher)
and higher)

DBB 29 Disable Start


automatic gantry
Grinding
synchroni-
synchroni- zation
zation Gantry

DBB 30 Position Autom. Start Start Stop


spindle gear step spindle spindle spindle
(Technolog
change
y) Counter- Clockwise
clockwise

1) See note at the end of this subsection

© Siemens AG 2004 All Rights Reserved


4-774 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

DB Continuation: Signals to axis/spindle (PLC → NCK)


31-61
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB 31 Track Disable Resynchro-
synchronis synchroni- nize
(Technolog
m zation
y)

DBB 32 Deselect Deselect Deselect Deselect


external external external external
Safety
stop E stop D stop C stop A
Integr. 1)

DBB 33 Select override

Safety Bit value 3 Bit value 2 Bit value 1 Bit value 0


Integr. 1)

DBB 34

DBB ...

DBB 59

Note

The IS ”Delete distance-to-go” (DBX2.2) is effective only for position axes on


an axis-specific basis; the IS ”Delete distance-to-go” (DB21-30, DB6.2) acts
on a channel-specific basis. The IS ”Spindle reset” (DXB2.2) acts on a
spindle-specific basis.

DB Signals from axis/spindle (NCK→PLC)


31 -61
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBB 60 Position reached /B1/ References/ References/ Encoder Encoder NCU_Link Spindle
Axis and with exact with exact synchro- synchro- limit limit Axis active /no axis
spindle stop fine stop nizes nizes frequency frequency /S1/
/B3/
coarse 2 /R1/ 1 /R1/ exceeded exceeded
2 /A3/ 1 /A3/

DBB 61 Current Speed Position Axis/spindle Follow-up Axis ready Axial alarm Travel
controller controller controller stationary mode request
Axis and /B3/
active /A2/ active /A2/ active /A2/ (n < nmin) active /A2/ /F1/
spindle /A2/

DBB 62 Axis Force fixed Fixed stop Activate Measure- Revolutio- Handwheel Software
container stop limited reached travel to ment active nal overlay cams
rotation /F1/ (SW /F1/ fixed stop feedrate active /H1/ active /N3/
/M5/
active 5.2) (SW 2 and /F1/ (SW 2 active (SW 2 and (SW 2 and
higher) and higher) higher) higher)

DBB 63 Stop Axis/ Axis stop PLC- AXRESET


spindle active controlled DONE
HIAxMove Corr DEPBCS DEPMCS
disable /P2/ axis /P2/
active active active active
active /P2/

DBB 64 Traverse command /H1/ Travel request Handwheel active /H1/


Axis and
spindle plus minus plus minus 3 2 1

65 Active machine function /H1/


Axis and
spindle Var. INC 10000 INC 1000 INC 100 INC 10 INC 1 INC
1) See note at the end of this subsection

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-775
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

DB Continuation: Signals to axis/spindle (PLC → NCK)


31-61
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB 66 OEM axis signals (reserved)
Axis and Activate
spindle monitoring
/TE6/

DBB 67

DBB 68 NC axis/spindle in channel /K5/


PLC axis/ Neutral axis/ Axis New type D C B A
spindle spindle replacement requested by
/K5/ /K5/ possible PLC
/K5/ /K5/

DBB 69 NCU number in NCU link network Control parameter block


C B A

DBB 70 Repos Repos shift Repos shift


delay quit valid

DBB 71 Brake test


active
DBB 72 REPOS
DELAY

DBB 73

DBB 74 Modulo
limit
enabled
active

DBB 75

DBB 76 Rounding Indexing Positioning Path axis Scratch


axis in axis in axis pulse
Axis
position position /P2/ /A2/
/T1/

DBB 77

DBB 78
Axis
F function (REAL format)
for positioning axis /V1/

DBB 82 Gear Setpoint gear stage /S1/


change-
Spindle over /S1/
C B A

DBB 83 Actual Speed Spindle in Support Geometry Set speed Set speed Speed limit
rotat. monitoring setpoint area limits monitoring increased limited exceeded
Spindle
direction /W1/ range /S1/ violated /W1/ /S1/ /S1/ /S1/
CW (SW 2 and /S8/ (SW 2 and
/S1/ higher) (SW 2 and higher)
higher)

© Siemens AG 2004 All Rights Reserved


4-776 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

DB Continuation: Signals to axis/spindle (PLC → NCK)


31-61
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB 84 Active spindle operating mode /S1/ Tapping CLGON SUG active Const.
without active (grinding cutting
Spindle
compen- /S8/ wheel speed
sating (SW 2 and surface active
chuck /S1/ higher) speed)
Control Oscillation Positioning Synchro-
mode mode mode nous mode

DBB 85
Spindle

DBB 86 M function (binary) for spindle /S1/


Spindle

DBD 88
Spindle
S function (floating-point) for spindle
/S1/

DBB 92 RLI Speed Torque HLGSS Set-up


setpoint limit 2 active mode
611D active
smoothing active /A2/ /A2/ active /A2/
active /A2/
1)
DBB 93 Enable n controller Drive Active Active drive parameter set /A2/
611D pulses integrator ready motor /A2/
/A2/ disabled /A2/
/A2/
1) B A C B A
DBB 94 Variable nact = nset |nact| < nx |nact| < Md < Mdx Ramp-up Temperature prewarning
611D signaling /A2/ /A2/ nmin /A2/ /A2/ complete /A2/
fct. /A2/ /A2/
1) Heat sink Motor
DBB 95 Limitation UDC-link <
611D of power alarm
1) section I2T threshold
/A2/
DBB 96 Master/ Bit value for Master/ Master/ Master/ Axis (Stepper
slave active CTRLOUT_changed Slave Slave Slave control motor)
/TE3/ Compen- coarse fine active error
sation rotation
controller monitoring
activ /S6/
1 0
Change setpoint output
assignment (for compile
cycles)

DBB 97 Offset after Activate Activate Axis is


turn-on mirroring link slave axis
point /TE6/
/TE6/ /TE6/ /TE6/
1) See note at the end of this subsection

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-777
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

DB Continuation: Signals to axis/spindle (PLC → NCK)


31-61
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB 98 Emergenc Accel. Speed Overlaid Actual Synchronism (SW 2 and
Synchro- y retraction warning warning motion value higher) /S3/
nous spindle active threshold threshold /S3/ (SW2 coupling
reached reached and higher) /S3/ (SW2
and higher)
coarse fine
DBB 99 Emergenc Max. acce- Max. Synchro- Axis acce- Slave Master
Synchro- y retraction leration speed nization lerating spindle spindle
nous spindle enabled reached reached running active active
(SW 2 and (SW 2 and
higher) higher)
/S3/ /S3/
DBB 100 Oscillation Oscillation Spark-out Error in Oscillation
Grinding active /P5/ motion active /P5/ oscillation cannot
(SW 2 and active /P5/ /P5/ start /P5/
higher)
DBB 101 Gantry Gantry Gantry Gantry Gantry Gantry cut-
Gantry axis /G1/ leading grouping is synchroni- warning off limit
(SW 2 and axis synchro- zation run limit exceeded
higher) /G1/ nous ready to start exceeded /G1/
/G1/ /G1/ /G1/
DBB
102,103

DBB 104 Active infeed axis /P5/


Grinding
(SW2 and
higher) Axis 8 Axis 7 Axis 6 Axis 5 Axis 4 Axis 3 Axis 2 Axis 1

DBB 105 Active infeed axis /P5/


Axis 16 Axis 9

DBB 106 Active infeed axis /P5/


Axis 24 Axis 17

DBB 107 Active infeed axis /P5/


Axis 31 Axis 30 Axis 25

DBB 108 SINUMERIK Safety Integrated / /


1) Axis safely Status Safe
referenced pulses operational
deleted stop / safe
speed active

1) See note at the end of this subsection


DB Continuation: Signals from axis/spindle (NCK → PLC)
31-61
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB 109 SINUMERIK Safety Integrated
Actual position > cam position
1) SC 4- SC 4+ SC 3- SC 3+ SC 2- SC 2+ SC 1- SC 1+

DBB 110 SINUMERIK Safety Integrated


1) n < nx Safe velocity Safe velocity Safe zero
active bit active bit speed

© Siemens AG 2004 All Rights Reserved


4-778 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

value 1 value 0 active

DBB 111 Reserved for SINUMERIK Safety Integrated / /


1) Stop E Stop D Stop C Stop A/B
active active active active

Note
This note is refers to the signal bytes marked with 1) in column 1 in the above
table.
These signal bytes are directly transferred to the interface independently of
any configured link communication.

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-779
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

4.2.15 Interface for loading/unloading magazine (DB 71)


DB 71 Interface for loading/unloading magazine (NCK→PLC)

Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBB 0 Interface (I) active


I8 I7 I6 I5 I4 I3 I2 I1

DBB 1
I16 I15 I14 I13 I12 I11 I10 I9

DBB 2,3

DBB n res. res. res. NC Position at Reload Unload Load


program loading
positions point
magazine

DBB
n+2 Assigned channel (8 bit Int)

DBB
n+3 Tool management no. (8 bit Int)

DBD
n+4 Unassigned parameter 1 (D word)

DBD
n+8 Unassigned parameter 2 (D word)

DBD
n + 12 Unassigned parameter 3 (D word)

DBW
n + 16 Identification for loading/unloading station (Int), (fixed value 9999)

DBW
n + 18 No. of loading station (Int)

DBW
n + 20 Magazine no. (source) for unloading/reloading/positioning (Int)

DBW
n + 22 Location no. (source) for unloading/reloading/positioning (Int)

DBW
n + 24 Magazine no. (target) for loading/reloading/positioning (Int)

DBW
n + 26 Location no. (target) for loading/reloading/positioning (Int)

DBW
n + 28 Reserved

Initial addresses of the loading/unloading stations:


Loading/unloading station 1: n= 4 Loading/unloading station 3: n= 64
Loading/unloading station 2: n= 34 Loading/unloading station 4: n= 94

Load interface 1 is responsible for spindle loading and reloading of tools, for relocating tools and for positioning at any
location (e.g. buffer).

References: /FBW/, ”Description of Functions Tool Management”

© Siemens AG 2004 All Rights Reserved


4-780 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

4.2.16 Interface for spindle as change position (DB 72)

DB 72 Signals from spindle (NCK→PLC)


Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBB 0 Interface (I) active


I8 I7 I6 I5 I4 I3 I2 I1

DBB 1
I16 I15 I14 I13 I12 I11 I10 I9

DBB 2,3

DBB n
res. Replace Replace OldT in T0 Prepare Perform Compul-
manual manual buffer no. change change sory
tool tool. (n-42) (initiate: change
M06)
DBB Unassigned
n+1
DBB
n+2 Assigned channel (8 bit Int)
DBB
n+3 Tool management no. (8 bit Int)
DBD
n+4 Unassigned parameter 1 (D word)
DBD
n+8 Unassigned parameter 2 (D word)
DBD
n + 12 Unassigned parameter 3 (D word)
DBW Buffer identification (Int), (fixed value 9998)
(corresponds to ”Target position for new tool”)
n + 16
DBW Relative location (target) in the buffer (Int)
n + 18
DBW Magazine no. (source) for new tool (Int)
n + 20
DBW Location no. (source) for new tool (Int)
n + 22
DBW Magazine no. (target) for old tool (Int)
n + 24
DBW Location no. (target) for old tool (Int)
n + 26
DBW Tool new: location type (Int)
n + 28
DBW Tool new: size left (Int)
n + 30
DBW Tool new: size right (Int)
n + 32
DBW Tool new: size top (Int)

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-781
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

n + 34
DBW Tool new: size bottom (Int)
n + 36
DBB Tool status for tool new
n + 38
Tool was in Tool fixed Prewarning Tool Tool Active tool
use location limit measured enabled
coded reached

DBW Tool new: T no. (Int)


n + 40
DBW If DBX (n+0.4) = 1, then buffer location of old tool is entered here.
n + 42
DBW Original magazine of new tool (SW 6.4 and higher)
n + 44
DBW Original location of new tool (SW 6.4 and higher)
n + 46
Initial addresses of the buffers:
Spindle 1: n= 4
Spindle 2: n = 52

References: /FBW/, ”Description of Functions, Tool Management”

© Siemens AG 2004 All Rights Reserved


4-782 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

4.2.17 Interface for circular magazine (DB 73)

DB73 Signals from circular magazine (NCK→PLC)


Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

DBB 0 Interface (I) active


I8 I7 I6 I5 I4 I3 I2 I1

DBB 1
I16 I15 I14 I13 I12 I11 I10 I9

DBB 2,3

DBB n
res. res. res. res. T0 res. Perform Obligatory
change change
(initiation:
T no.)

DBB Unassigned
n+1
DBB Assigned channel (8 bit Int)
n+2
DBB Tool management no. (8 bit Int)
n+3
DBD Unassigned parameter 1 (D word)
n+4
DBD Unassigned parameter 2 (D word)
n+8
DBD Unassigned parameter 3 (D word)
n + 12
DBW Reserved
n + 16
DBW Reserved
n + 18
DBW Circular magazine no. (Int)
n + 20
DBW Location no. for new tool (Int)
n + 22
DBW Reserved
n + 24
DBW Location no. for old tool (Int)
n + 26
DBW Tool new: location type (Int)
n + 28

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-783
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

DBW Tool new: size left (Int)


n + 30
DBW Tool new: size right (Int)
n + 32
DBW Tool new: size top (Int)
n + 34
DBW Tool new: size bottom (Int)
n + 36
DBB Tool status for tool new

n + 38 Tool was in Tool fixed Prewarning Tool Tool Active tool


use location limit measured enabled
coded reached

DBW Tool new: T no. (Int)


n + 40
DBW Original location of new tool in this circular magazine (SW 6.3 and higher)
n + 42
Initial addresses of the circular magazines: circular magazine 1: n = 4
2: n = 48

References: /FBW/, ”Description of Functions, Tool Management”

4.2.18 Signals to and from the machine control panel and HHU (840Di
with MCI2 only) (DB 77)
DB77 Signals to and from the machine control panel and HHU
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB 0 to Input signals from MCP1 to PLC, MPI Bus (GD communication)
DBB 7

DBB 8 to Output signals from MCP1 to PLC, MPI Bus (GD communication)
DBB 15

DBD 16 Status send MCP1, MPI bus (GD communication)

DBD 20 Status receive MCP1, MPI bus (GD communication)

DBB 24 Input signals from MCP2 to PLC, MPI bus (GD communication)
to
DBB 31

DBB 32 Output signals from MCP2 to PLC, MPI bus (GD communication)
to
DBB 39

DBD 40 Status send MCP2, MPI bus (GD communication)

DBD 44 Status receive MCP2, MPI bus (GD communication)

DBB 48 to Input signals from HHU to PLC, MPI bus (GD communication)

© Siemens AG 2004 All Rights Reserved


4-784 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 4 Interface Signals
4.2 Interface signals of the PLC application interface

DB77 Signals to and from the machine control panel and HHU
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB 53

DBB 60 Output signals from PLC to HHU, MPI bus (GD communication)
to
DBB 79

DBD 80 Status Send HHU, MPI bus (GD communication)

DBD 84 Status Receive HHU, MPI bus (GD communication)

FB1- parameter:
MCPNum :=1, //correct number of MCPs
MCP1In :=P#DB77.DBX0.0,
MCP1Out := P#DB77.DBX8.0,
MCP1StatSend := P#DB77.DBX16.0,
MCP1StatRec := P#DB77.DBX20.0,
MCP2In :=P#DB77.DBX24.0,
MCP2Out := P#DB77.DBX32.0,
MCP2StatSend := P#DB77.DBX40.0,
MCP2StatRec := P#DB77.DBX44.0,
MCPSDB210 := TRUE,
BHG: :=1; //handheld unit interface:
//0 - no HHU
//1 – HHU to MPI
//2 – HHU to OPI
BHGIn :=P#DB77.DBX48.0, //transmitted data of handheld unit
BHGOut: :=P#DB77.DBX60.0, //received data of handheld unit
BHGStatSend: :=P#DB77.DBX80.0, // status DW for transmitting handheld unit
BHGStatRec: :=P#DB77.DBX84.0, // status DW for receiving HHU

4.2.19 Signals to/from ManualTurn, ShopMill, ShopTurn (DB 82)

A list of the signals of DB 82 can be found in:


References: /FBMA/, Description of Functions ManualTurn
/FBSP/, Description of Functions ShopMill
/FBT/, Description of Functions ShopTurn

of Functions ShopTurn

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 4-785
4 Interface Signals 10.04
4.2 Interface signals of the PLC application interface

Für Notizen

© Siemens AG 2004 All Rights Reserved


4-786 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 5 PLC-Blocks
5.1 Overview of organization blocks

5 PLC-Blocks
5
5.1 Overview of organization blocks ................................................................. 5-788

5.2 Overview of function blocks ........................................................................ 5-789

5.3 Assignment of data blocks .......................................................................... 5-791

5.4 Assigned timers .......................................................................................... 5-792

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 5-787
5 PLC-Blocks 10.04
5.1 Overview of organization blocks

5.1 Overview of organization blocks

Table Overview of organization blocks (OBs)

OB no. Designation Meaning Kit


1 ZYKLUS Cyclic processing GP
40 ALARM Process alarms GP
100 NEUSTART Beginning of restart GP

© Siemens AG 2004 All Rights Reserved


5-788 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 5 PLC-Blocks
5.2 Overview of function blocks

5.2 Overview of function blocks

Table Overview of function blocks (FCs)

FC no. Designation Meaning Kit


0 - Reserved for Siemens
2 GP_HP Basic program, cyclic part GP
3 GP_PRAL Basic program, alarm-controlled part GP
5 GP_DIAG Basic program, diagnostic alarm (FM-NC) GP
7 TM_REV Transfer block for tool change with circular GP
magazine
8 TM_TRANS Transfer block for tool management GP
9 ASUP Asynchronous subprograms GP
10 AL_MSG Alarms/messages GP
12 AUXFU Call interface for user auxiliary functions GP
13 BHG_DISP Display control for handheld unit GP
15 POS_AX Positioning axis GP
16 PART_AX Indexing axis GP
17 Y-D switchover GP
18 SpinCtrl Spindle control from PLC GP
19 MCP_IFM Distribution of machine control panel and MMC GP
signals to interface (milling machine)
21 Transfer data exchange PLC-NCK GP
22 TM_DIR Selection of direction GP
24 MCP_IFM2 Transfer of MCP signals to interface GP
25 MCP_IFT Distribution of machine control panel and MMC GP
signals to interface
26 HPU_MCP Distribution of HPU signals to interface
30 - 35 Assigned if ManualTurn, ShopMill or ShopTurn
are installed
36 - 127 User assignable with FM-NC, 810DE
36 - 255 User assignable with 810D, 840DE, 840D

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 5-789
5 PLC-Blocks 10.04
5.2 Overview of function blocks

Table Overview of function blocks (FBs)

FB no. Designation Meaning Kit


0 - 29 Reserved for Siemens
1 RUN_UP Basic program, booting GP
2 GET Read NC variables GP
3 PUT Write NC variables GP
4 PI_SERV PI services GP
5 GETGUD Read GUD variable GP
7 PI_SERV2 General PI services GP
29 Diagnostics for signal recorder and data trigger GP
36 - 127 User assignable with FM-NC, 810DE
36 - 255 User assignable with 810D, 840DE, 840D

© Siemens AG 2004 All Rights Reserved


5-790 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition
10.04 5 PLC-Blocks
5.3 Assignment of data blocks

5.3 Assignment of data blocks

Note
Only so many DBs are created as are necessary according to NC-MD.

Table Fehler! Formatvorlage nicht definiert.-1 Overview of data blocks

DB no. Designation Meaning Kit


1 Reserved for Siemens GP
2-4 PLC MSG PLC messages GP
5-8 Basic program
9 NC COMPILE Interface for NC compile cycles GP
10 NC Central NC interface GP
INTERFACE
11 BAG 1 Mode group interface GP
12 Computer link and transport system
13-14 Reserved (Hymnos, basic program)
15 Basic program
16 PI service definitions
17 Version code
18 SPL interface (Safety Integrated)
19 MMC interface
20 PLC machine data
21 - 30 CHANNEL 1 NC channel interface GP
31 - 61 AXIS 1,... Reserved for interface axis/spindle no. 1 to 31 GP
62 - 70 User assignable
71 - 74 User tool management GP
75 - 76 M group decoding GP
77 Tool management buffer
78 - 80 Reserved for Siemens
81 - 89 Assigned if ManualTurn, ShopMill or ShopTurn
are installed
(81)90 - User assignable FM-NC, 810DE, see below
127
(81)90 - User assignable 810D, 840DE, 840D, see
399 below

Note
Data blocks of inactivated channels, axes/spindles, C programming, tool
management can be assigned by the user.

© Siemens AG 2004 All Rights Reserved


SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition 5-791
5 PLC-Blocks 10.04
5.4 Assigned timers

5.4 Assigned timers

Timer no. Meaning


1-9 Reserved
10 - 127 User assignable

© Siemens AG 2004 All Rights Reserved


5-792 SINUMERIK 840D/840Di/810D SIMODRIVE 611 digital Lists (LIS) - 10.04 Edition

You might also like