Interface 810D-840D
Interface 810D-840D
Interface 810D-840D
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
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).
IB n + 1 Machine function
REPOS REF var. INC 10000 INC 1000 INC 100 INC 10 INC 1 INC
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
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
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.
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 + 5 Direction keys
+X +C Rapid Travel -Y -X +Z
R2 R3 traverse command R11 R9 R8 R6
override MCS/WCS
R5 R12
QB n + 3 Direction keys
Travel -Y -X +Z
R3 R5 command R11 R9 R8 R6 R15
MCS/WCS
IB n + 5 Axis selection
T17 KT5 6 5 4 Z Y X
QB n + 3 Unassigned
Unassigned Unassigned Unassigned Unassigned Unassigned Unassigned Unassigned Unassigned
QB n + 5 Axis selection
T17 KT5 6 5 4 Z Y X
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
QB n + 0 always 1
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 ...
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.
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 + 7
Channel 1
Channel 2
20-23 Feed and read-in disable byte 1-4 (alarm no.: 520100–520131)
Axis/spindle
User areas
...
372-379 User area 24 Bytes 1 - 8 (alarm no.: 702400-702463)
Note
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.
DBB 1 Setting of digital NCK inputs from PLC (SW 2 and higher)
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)
DBB 6 Setting value of digital NCK outputs from PLC /A2/ (SW 2 and higher)
DBB 7 Input screenform of digital NCK outputs /A2/ (SW 2 and higher)
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
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.
DBB
58 - 59
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
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
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
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
DBB Unassigned
164,165
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
st
DBB 72 Status of the actual value display indicated (1 MCP)
DBB 86 Reserved
DBB 88 Reserved
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.
DBB 90
DBB 91
DBB 92 free
DBB 93 free
DBB 94 free
DBB 95 free
DBB 96 free
DBB 102 Axis number for handwheel 3 /H1/ (SW 4.1 and
higher)
MMC--> PLC
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 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 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
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)
DBB 3
Note
about machine function: machine function defined centrally when signal
"INC inputs in mode group area active" (DB10.DBX57.0) is set.
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.
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
DBB 3
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
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
DBB 1 Reserved
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 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.
PLC>MMC
PLC>MMC
PLC>MMC
DBB 36 Error code for FunctionSelectionNo. (function selection from DBB 32)
MMC>PLC
MMC>PLC
MMC>PLC
MMC>PLC
PLC>MMC
MMC writes its client identification (bus type, MMC bus address; as with DBW 100).
DBB Reserved
127-129
DBB Reserved
137-139
DBW
DBB
DBD
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.
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)
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
Note
about machine function: machine function only defined when signal "INC
inputs in mode group area active" (DB10.DBX57.0) is not set.
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)
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.
DBB 44
MMC--> PLC
DBB 50
MMC--> PLC
DBB 56
MMC-->
PLC
DBB 57
DB
21 - 30 Signals from NCK channel (NCK→PLC)
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.
DB
21 - 30 Signals from NCK channel (NCK→PLC)
DBD 70
M function 1 (binary) /H2/
Note
M functions are programmed in the part program in the INTEGER format
(8 decades plus sign).
DBB 128
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
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.
DB
21 - 30 Signals from NCK channel (NCK→PLC)
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.
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.
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 270 Number of active G function of G function group n-1 (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.
Note
The request signals are set by the user and reset by the basic program after
transmission of the corresponding data.
DB
21 - 30 Signals from NCK channel (NCK→PLC) (SW 4 and higher)
DBB
345-347
Transferred tool management functions
DBB 369
DBB 370
DBB 371
DBB 373
DBB 374
DBB 375
DBB 377
DBB 378
DBB 379
DBB 380
DBB 381
DBB 382
DBB 383
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 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 7
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).
DBB 10 REPOS
DELAY
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 25
DBB 34
DBB ...
DBB 59
Note
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 67
DBB 73
DBB 74 Modulo
limit
enabled
active
DBB 75
DBB 77
DBB 78
Axis
F function (REAL format)
for positioning axis /V1/
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)
DBB 85
Spindle
DBD 88
Spindle
S function (floating-point) for spindle
/S1/
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.
DBB 1
I16 I15 I14 I13 I12 I11 I10 I9
DBB 2,3
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
Load interface 1 is responsible for spindle loading and reloading of tools, for relocating tools and for positioning at any
location (e.g. buffer).
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)
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
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
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
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
DBB 48 to Input signals from HHU to PLC, MPI bus (GD communication)
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
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
of Functions ShopTurn
Für Notizen
5 PLC-Blocks
5
5.1 Overview of organization blocks ................................................................. 5-788
Note
Only so many DBs are created as are necessary according to NC-MD.
Note
Data blocks of inactivated channels, axes/spindles, C programming, tool
management can be assigned by the user.