You are on page 1of 80

SIEMENS

Equipment for Machine Tools


SINUMERIK 805SM-P
Software Version 3
Installation Lists
Overview of the SINUMERIK 805SM-P Documentation
User, Manufacturer and
General Documentation Service Documentation
II-1 II

/
Product Brief Catalog Catalog NC 90 Communication (FH)

I User Documentation /I

,
instruction Manual Operator’s Guide
Operator’s Guide Standard (BA)
Technology (BA) (BE)

Manufacturer Documentation
I----~

interface (PJ): Press Modules (PJ): PLC Programming NC Programming Cycles (PJ) Operating
- Signals - Roll Feed Module PJ) F’G) Environment (PJ)
- Connection - Pressure Module
Conditions

I Manufacturer Documentation
II Service-Documentation
I

Universal SINUMERIK WS800A, Host PLC Link Linking to SINEC L2-DP Installation Guide (IA):
Interface (PJ) CL800 Cycle Language f;MG;TX$5 (BS) with IM 328-N - Instructions
U’J) I interface Module (BS) - Lists
(in German)
SINUMERIK 805SM-P
Software Version 3
Installation Lists

Installation Guide

Service Documentation

Edition 05.94
Preliminary Notes

The documentation for the SINUMERIK 805SM-P control consists of 4 groups:


l General documentation
l User documentation
l Manufacturer documentation and
l Service documentation

The service documentation includes the following instruction manuals:


l Installation instructions
l Installation lists

These INSTALLATION LISTS contain all machine data, setting data, signals and PLC blocks.
Release notes for options are not contained.
For more information on the SINUMERIK 805SM-P documentation contact your local Siemens
branch office or regional Siemens corporation.

l A module overview and standard jumperings can be found in the manual INTERFACE
DESCRIPTION, PART 2: CONNECTION CONDITIONS.
l The SINUMERIK 805SM-P alarms and messages as well as their causes, effects and
elimination are described in the INSTALLATION INSTRUCTIONS.
l NC channel 1 is completely implemented (i.e. this channel can be controlled from the
operator interface and/or via the NC/PLC interface). Excepting the program selection,
NC channel 2 can only be operated via the NC/PLC interface.

This form of text presentation is used to draw


Overview of Modules
cl 1

NC Machine Data 2
0

PLC Machine Data 3


El

Setting Data 4
cl

Press Data

PLC Signals 6
u
Contents
Page

1 Overview of Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . ...*.... l-l

1.1 Overview: Central Controller SINUMERIK 805SM-P ............... l-l


1.2 Overview: Expansion Unit (EU) ............................. l-2

2 NC Machine Data ,.,...............I................... 2-1

2.1 NC Machine Data ....................................... 2-l


2.1 .l General Values ........................................ 2-l
2.1.2 Machine Data for Analog Command Value Output ................ 2-5
2.1.3 Machine Datafor Roil Feed ................................ 2-6
2.1.4 Machine Data for Pressure Module .......................... 2-8
2.1.5 Machine Data for Tool Protection ............................ 2-9
2.1.6 Machine Data for Set Up Axes .............................. 2-10
2.1.7 Machine Data for Main Drive ............................... 2-l 1
2.1.8 Machine Data for Reduction Stages .......................... 2-l 2
2.2 NC Machine Data Bits ................................... 2-13
2.2.1 General Bits ........................................... 2-13
2.2.2 Machine Data Bits for Analog Command Value Output ............. 2-14
2.2.3 Machine Data Bits for Roll Feed ............................. 2-15
2.2.4 Machine Data Bits for Pressure Module ....................... 2-15
2.2.5 Machine Data Bits for Tool Protection ........................ 2-15
2.2.6 Machine Data Bits for Part Counter (from SW3 on) ............... 2-16
2.2.7 Machine Data Bits for Main Drive ............................ 2-16
2.2.8 Channel-Specific Machine Data Bits .......................... 2-16
2.2.9 Machine Data Bits for Set Up Axes .......................... 2-17
2.3 Standard Assignment of NC-MD Bits ......................... 2-18

3 PLC Machine Data . . . . . . . . . ..,.......#................. 3-l

3.1 General Data .......................................... 3-l


3.2 User Data ............................................ 3-2
3.3 General Bits ........................................... 3-2
3.4 User Bits ............................................. 3-3
3.5 Standard Assignment of PLC MD Bits ........................ 3-3

4 Setting Data . . . . . . . ..a...... ,.....,,..m..........,.,,, 4-l

4.1 Axis-Specific Values ..................................... 4-1


4.2 Main Drive-Specific Values ................................ 4-l
4.3 General Bits ........................................... 4-2
4.4 Bits for Serial Interface 1 .................................. 4-2
4.5 Bits for Serial Interface 2 .................................. 4-3
4.6 Common Bits (valid for interfaces 1 and 2) ..................... 4-3
4.7 Table for Standard Devices ................................ 44
4.8 Setting Data for Communication .... ,............ ............ 4-5
4.8.1
4.8.2
Setting Data for Communication
Setting Data for Communication
via V.24 interfaces . . . ..*...*.....
via the L2 interface . . . . . . . . . . . . . .
4-6
4-7 -
5 Press Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . ,.............. 5-l

6 PLC Signals . . .,..,,*..,,,............,.....*......... 6-l

6.1 PLC input Signals ....................................... 6-l


6.1.1 inputs of the Customer Control Panel (CCP) .................... 6-1
6.1.2 inputs of the input Modules ................................ 6-1
6.1.3 inputs of the Operator Keyboard ............................ 6-2
6.1.4 Decoded Signals of the Customer Control Panel ................. 6-2
6.1.5 PLC Signals from NC + PLC .............................. 6-2
6.1.5.1 Process-Specific Signals from NC + PLC ..................... 6-2
6.1.5.2 General PLC Signals from NC + PLC ........................ 6-4
6.2
6.2.1
PLC Output Signals
Outputs of the Output modules
.....................................
.............................
6-6
6-5
0-
6.2.2 PLC Signals from PLC + NC .............................. 6-5
6.2.2.1 Process-specific PLC Signals from PLC + NC .................. 6-5
6.2.2.2 General PLC signals from PLC + NC ......................... 6-6
6.3 PLC Flags ............................................ 6-9
6.3.1 Basic Signals .......................................... 6-9
6.3.2 Auxiliary FunctionsOutputfrom NC -+ PLC ..................... 6-10
6.3.3 Decoded M-Signals of the M-Function with Extended Address ....... 6-l 3
6.3.4
6.3.5
6.3.6
PLC Machine Data for the User .............................
PLC Error Messages and Process Signals
Flags for Standard Cycles .................................
.....................
6-13
6-15
6-16
0 -

6.3.7 User Flags ............................................ 6-16


6.3.8 Flags for Standard FBs ................................... 6-16
6.3.9 Transfer Flags (Scratch Flags) .............................. 6-17
6.4 Overview of Function Blocks (FBs) ........................... 6-17
6.4.1 Function Block (FB) Description ............................. 6-18
6.4.1 .l FB 11 Setup of Data Blocks ............................... 6-18
6.4.1.2 FB 60 Block Transfer .................................... 6-18
6.4.1.3
6.4.1.4
6.4.1.5
FB61,FB62:ReadMlriteNCData
FB65:F*STACKandFB66:STACK+F..
..........................

FB 190: interfacing to Master PLC ...........................


..................
6-19
6-24
6-25
l
6.5 Overview of Data Blocks (DBs) ............................. 6-26
6.5.1 Data Block (DB) Description ............................... 6-27
6.5.1 .l DBl:DiagnosisDB ..................................... 6-27
6.5.1.2 DB 36: Status Data Transfer (FB 61/FB 62) ..................... 6-28
6.5.1.3 DB 37: interface Control .................................. 6-29
6.5.1.4 DB 80: M-Decoding List .................................. 6-30
6.5.1.5 DB 81: interface for Operator Interface ........................ 6-31
6.5.1.6 DB 82: interface for External Tool Protection (from SW3 on) ......... 6-33
06.93 1 Overview of Modules
1.1 Overview: Central Controller SINUMERIK 805SWP

1 Overview of Modules

1.1 Overview: Central Controller SINUMERIK 805SM-P

Module or Device
c
flack with bus (230 V version)
I 18FR2 907-OAAOO
Rack with bus (24 V version)
I 8FR2 907-OAAO 1
Power supply module AC 230 V 8EWl 881-3AC
Power supply module DC + 24 V 8EV3 054-OGC
CPU module 8FXl 138-58804
with restart EPROMs 8FXl 882-4BX80-XX
Memory module 8FXl 128-l BAOO
with system software 8FXl 882-48X01-xX
Display texts English/German 8FXl 882-OBX22-XX
French/German 8FXl 882-OBX32-XX
Italian/German 8FXl 882-OBX42-XX
Spanish/German 8FXl 882-OBX52-XX
VGA module 8FXl 147-l BAOO 8FC4 590-OAR08
with firmware 8FXl 858-5BX84-XX
VGA module for L2 module 8FXl 147-l BBOO 8FC4 590-OAR07
with firmware 8FXl 858-5BX84-XX
L2 module 8FXl 147-OBA02 8FM2 805-5AB07
with firmware 8FXl 840-OBXl l -XX
Actual value module absolute 8FXl 120-3CBO2 8FM2 805.5AA84
Operator keyboard with firmware 8FM2 805-4PS21
Monochrome monitor 8FM2 805-4AR04
Colour monitor 8FM2 805-4AR50
Input module 84 digital inputs 8FXl 125-7BAOl 8FC4 590-OAN71
Output module 32 digital outputs 0.5 A 8FXl 122-8BCO4 8FC4 590-OAN72
Output module 32 digital outputs 2.0 A 8FXl 122-8BD04 8FC4 590-OAN73
Input/output module 32 digital inputs 8FXl 122-3CAOl 8FC4 590-OAN50
32 digital outputs 0.1 A short-circuit-proof
Input/output module 18 digital inputs/outputs 8FXl 138-4BAOl 8FM2 805-5AN52
0.4 A + 4 analog outputs ?: 10 VI3 mA
Analog input module (8 Al)
Master PLC interface module (in the SINUMERIK)
Master PLC interface module (in the SIMATIC)
(1
18FXl 135-78801
Cam controller 8FXl 132-4BAOl
1
Pressure module 8FXl 132-7BAOl 8FM2 805-5AA88
with firmware 8FXl 820-OBX05
Command value module 8FXl 132-5BA05 8FM2 805-5AA80
Actual value module 8FXl 132-8BAOl 8FM2 805-5AA81
Open loop module 8FXl 128-4BEOO 8FM2 805-5AA83
A

0 Siemens AG 1991 All Rights Reserved 6285 440-OMT02 l-l


SINUMERIK 805SM-P (IA)
1 Overview of Modules 06.93
1 .l Overview: Central Controller SINUMERIK 805SWP

Roll feed module + 1st RF axis 6FXl 127-4ACOl 6FM2 805-SAA85


with restart EPROMs 6FXl 820-08X84
and basic software 6FXl 820-OBX04
Roll feed 2nd axis 6FM2 805-5AA86
SINEC L2-DP - slave module 6FC5 012.OCAOI- 6FC5 012-OCAOI-
with firmware OAAO OAAO

1.2 Overview: Expansion Unit (EU)

EU rack with bus and I6FC3 984-4FG 6FC4 590-OAP06


CC interface module with power supply
EU rack with bus 570 031 9606.06 6FC3 984-4FGOl
CC interface module with power supply 6FXl 132-l BAOI 6FC3 984.4FGlO

SINUMERIK I/O modules


Input module 64 digital inputs 6FXl 125-7BAOl 6FC4 590-OAN71
Output module32 digital outputs 0.5 A 6FXl 122-8BCO4 6FC4 590-OAN72
Output module32 digital outputs 2.0 A 6FXl 122.8BDO4 6FC4 590.OAN73
Input/output module 32 digital inputs/outputs 6FXl 122-3CAOl 6FC4 590.OAN50
0.1 A short-circuit-proof

SIMATIC l/O modules


Input module 32 digital inputs I6ES5 432-4UA12
Output module32 digital outputs 0.5 A 6ES5 451-4UAl2
Output module 16 digital outputs 2.0 A 6ES5 454-4UAl2
Front connectors for
Input module 32 digital inputs
Output module 32 digital outputs 0.5 A
with crimp connection 6ES5 497-4UA12
with screw terminal 6ES5 497-411831
Front connector for
Output module 16 digital outputs 2 A
crimp connection 6ES5 497-4UA22
with screw terminal 6ESS 497-411812

In addition, the following U I/O modules (digital) can be used:


Input modules: 6ES5 4354UA12 6ES5 420.4UA12 6ES5 430-4UA12
6ES5 436-4UA12 6ES5 436-4UB12 6ES5 434-4UA12
Output modules: 6ES5 455-4UA12 6ES5 453-4UA12 6ES5 458-4UA12
6ES5 456-4UAl2 6ES5 457-4UA12 6ES5 431-4UA12
6ES5 456-4UB12 6ES5 441.4UA12

l-2 0 Siemens AG 1991 All Rights Reserved 6ZB5 440.OMT02


SINUMERIK 605SM-P (IA)
05.94 2 NC Machine Data
2.1 NC Machine Data Values

2 NC Machine Data

2.1 NC Machine Data Values


2.1 .l General Values

20 000 99 999 999 MS units

500 15 000 IS 1 000 unitslmin


200 200

10 1Axis speed after block search 1 000 15 000 IS 1 000 unitslmin

11Ildentification 0 9 999

14 CycleMD
I from R parameter no.
700 10 000
I I

31 Subprogram no. for standard cycle


I alarm texts
0 9 999

0 9 999

37 Subprogram no. for user screen *) 0 9 999

I) Available with SW 2 or higher. If NC-MD 5149 = 0 (= T), MD 35 (36) is activated with power on.
2) Available with SW 3 or higher.

@ Siemens AG 1991 All Rights Reserved 6285 440.OMT02 2-l


SINUMERIK 805SM-P (IA)
2 NC Machine Data 12.91
2.1 .i General Values

no.
,....
.,...,.....,.,...,......
c
Axis speed
override switch position 2

101 -II - position 3

102 - II - position 4

103 - II - position 5

104 -If - position 6

105 - II - position 7
106 - II - position 8 20 150 %

107 - II - position 9 30 150 %

106 -II - position 10 40 150 %

109 - I/ - position 11 50 150 %

110 - II - position 12 60 150 %

111 -II - position 13 70 150 %

112 -II - position 14 75 150 %

113 - /I - position 15 80 150 %

114 - II - position 16 85 150 %

115 -II - Do&ion 17 90 150 %

130 1 -II - position 32 1 01 150 1 I % I


155 Sampling interval of the position 2 5 0.5 ms
ccntioller 2)
156 Switch-off delay controller enable 1) 200 1 000 ms

157 Control type for standard cycles, 18xx 1 899


software version

1) MD 156 active after POWER ON


2) The sampling interval defined via NC-MD 155 is calculated as follows: 4 ms + (0.5 ms x NC-MD 155)

2-2 0 Siemens AG 1991 All Rights Reserved 6285 440.OM102


SINUMERIK 805SM-P (IA)
12.91 2 NC Machine Data
2.1.1 General Values

@ Siemens AG 1991 All Rights Reserved 6285 440.OMT02 23


SINUMERIK 805SM-P (IA)
2 NC Machine Data 05.94
2.1 .l General Values

300 Upper tolerance limit for TDC stop 0 180 degree

Lower tolerance limit for TDC stop 0 359 degree


302 Brake cam as MD 1 000 2 000 ms

303 Min. cycle speed 0 2 000 cycWmin

304 Creep cycle speed 0 2 000 cycles/min

305 Max, cycle speed in single stroke operation 0 2 000 cycWmin

306 Tool data auantitv 125 500

1 307 IStep size for man. change of cycle speed 1 101 2 000 1 I I
310
. Range 1 for user functions 0 + 99 999 999
3i9
320 Factor A for brake parabola 1 + 99 999 999 10-5

Step sequence MANUAL TOOL CHANG

.. Step sequence AUTOMATIC TOOL


369 CHANGE (LB)

370 Subprogram no. for customer-specific 0 9 999


brake angle calculation
371 Subprogram no. for adjusting cycle (L990) 0 9 999
372 Subprogram no. for MOVE AXES TO 31 9 999
STARTING POStTlONS (Ll, l2, L3)
373 Subprogr. no. for SAFETYSTROKE (L4) 0 9 999
374 Subprogram no. for REVERSE RUN (W) 0 9 999

375 lSubprogram no. for PRESS OPEN (L6) I 46 9 999


I ,

376 Subprogram no. for PRESS CLOSE (L7) 30 9 999


377 Anticipation angle for positioning via brake 0 k3 600 0.1 degree
cams (L28)

378 Backing travel for correction as reduction 2 000 2 10 000 Wmm


stage axis (L995), axis 1

2-4 0 Siemens AG 1991 All Rights Reserved 6285 440.OMT02


SINUMERIK 805SMP (IA)
2 NC Machine Data
2.1 .l General Values

Range 2 for user functions

Range 3 for user functions

2.1.2 Machine Data for Analog Command Value Output

681 Comm. value assignm. 1st comm.val. 0 03 090 000

683 * If - 2nd comm.val. 0 03 090 000


685 - II - 3rd comm.val. 0 03 090 000

687 - II - 4th comm.val. 0 03 090 000

@Siemens AG 1991 All Rights Reserved 6ZB5 440.OMT02 2-5


SINUMERIK 605SM-P (IA)
2 NCMachineData 12.91
2.1.3 Machine Data for Roil Feed

2.1.3 Machine Data for Roll Feed

1 690 1Clamping tolerance I 20001 16000 I MS I units I


691 Clamping toierane 2000 16000 MS units

692 Kv factor 1 666 10000 MS 0.01 s-1

693 Kvfactor 1666 10000 MS 0.01 s-1

1 694 1Multigain I 4000( 64 000 1) 1 I I


695 Multigain 4 800 64 000 1)
696 Limit for drive fault 9 600 15000 VELO

697 Limit for drive fault 9600 15000 VELO


698 Max. desired speed 8 192 6192 VELO

1 699 1 Max. desired weed I 61921 81921 I VELO I


1 700 1 Drift compensation I 01 k 500 1 1 VELO 1
701 Drift compensation 0 + 500 VELO
702 Max.speed 24 000 24000 IS 1 000 units/s2
703 Max. speed 24 000 24000 IS 1 000 unitaka
704 Max. acceleration 2000 2000 IS 10 000 unit&s
705 Max. acceleration 2000 2000 IS 10 000 unit&s
706 Max brake deceleration 2000 2000 IS 10 000 unit&*
767 Max. brake deceleration 2000 2000 IS 10 000 units/min
708 Conventional speed 2000 15000 IS 1 000 unitsrmin
709 Conventional speed 2 000 15000 IS 1 000 uniWmin
710 Conventional acceleration 100 2 000 IS 10 000 uniWmin
711 Conventional acceleration 100 2 000 IS 10 000 units/min
712 Conventional rapid jog I ~~ 7 000 24000 IS 1 000 units/min
713 Conventional rapid jog 7000 24 000 IS 1 000 unittimin
714 Incremental feed rate 10 15000 IS 1 000 uniWmin
715 incremental feed rate 10 15 000 IS 1 000 unitslmin
716 Variable no. of pulses 1 60 000 Encoder pulses
717 Variable no. of pulses 1 60000 Encoder pulses

1) The product of MD 692 (693) and MD 694 (695) must be smaller than 2.9 x 109

2-6 @Siemens AG 1991 All Rights Reserved 6ZB5440.OMT02


SINUMERIK 805SM-P (IA)
12.91 2 NC Machine Data
2.1.3 Machine Data for Roll Feed

I 719 ;s;;rn~th for variable incremental

Start acceleration as % of the tool-


I 2 I 60 000
I
MS
I
0.5 - unit I

dependent axis deceleration 60 100 %


Start acceleration as % of the tool-
dependent axis deceleration 60 100 %

End deceleration as % of the tool-


dependent axis deceleration 120 200 %
I
End deceleration as % of the tool-
dependent axis deceleration 120 200 %

Effective range of the start acceleration 20 100 %

Effective range of the start acceleration 20 100 %

Effective range of the end deceleration 80 100 %

I 727 Effective range of the end deceleration 80 100 %


728 No. of the 1st RF R-parameter 1 137 1 480
t 729 1Shut-down delay conk enable RF axas 200 1 000 ms

819 Step size acceleration modification 20 20 steps


820 Constant travel phase short distances 10 10 ms
JOG -
821 Desired speed for
co”tr0lled speed- 2 000 8 192 VELO

822 D~y;Zk;peed for JOG - spead- 2 000 8 192 VELO

Note:
In case of identical machine datum designations, the first machine datum is valid for roll feed
axis 1 (RFl) and the second for roll feed axis 2 (RF2).

0 Siemens AG 1991 All Rights Resenrad 6ZB5 440.OMT02 2-7


SINUMERIK 805SM-P (IA)
2 NC Machine Data 05.94
2.1.4 Machine Data for Pressure Module

2.1.4 Machine Data for Pressure Module

871 Max differential force sensor 0 16 000 kN


(1 +2) - (3+4)
872
.. Sensor characteristics for anabg inputs 1) 1) 1)
9i5
988 Max. no. of max. machine force 1 000 10 000
exceeded events 2)

Note:
The machine data MD 869/870/871 must not be set to Zero simultaneously, since this may
disturb other functions.

1) For distribution and values see next table


2) Available with SW2 or higher

2-8 0 Siemens AG 1991 All Rights Reserved 6285 440.OMT02


SINUMERIK 805SM-P (IA)
06.93 2 NC Machine Data
2.1.4 Machine Data for Pressure Module

Sensor 1-8 1 MD 872 - 965

Force 100 880 892 904 916 928 940 952 964
5
Voltage 100 881 893 905 917 929 941 953 965

Distribution of machine data for sensor characteristics

Limit values:
Force min. value 0
max. value 16 000
input unit kN I bar I degrees I V etc., depending on the sensors
Voltage min. value 0
max. value 10 000
input unit mV

2.1.5 Machine Data for Tool Protection 1)

T) Available with SW2 or higher

@ Siemens AG 1991 All Rights Reserved 6285 440.OMT02 2-9


SINUMERIK 605SM-P (IA)
2 NC Machine Data 05.94
2.1.5 Machine Data for Tool Protection

2.1.6 Machine Data for Set Up Axes

200” 1Axis assignment actual value I 0 03090000 1 I I


160001 MSI units I

220* Backlash compensation 0

224* Software limit switch 1 positive t 99 999 999 + 99 999 999 MS units

228* Software limit switch 1 negative - 99 999 999 f 9 999 999 MS units

1 232 1Software limit switch 2 positive +99 999 999 * 99 999 999 MS units

I 236* I softwaretimit switch 2 negative - 99 999 999 z!z9 999 999 MS units

I I 2401 Reference point I actual value


displacement
0 + 99 999 999 MS units

I 244 *IReference point displacement I 0 k99991 MSI units I


252 Kv factor 1666 10 000 MS 0.01 s-1
26V Multigain 2400 64 000 MS
264* Limit for drive fault 9 600 16000 VELO

268* Max. speed command value (IPO stop) 8192 8192 VELO
27p Drift compensation 0 2 500 VELO
276* Acceleration 50 2000 IS 10 000 unit&*
280* Max. feed rate 10 000 24000 IS 1 000 uniWmin
1 284* 1Reference point cut-off speed 300 15000 1 IS I 1 000 uniWmin
1 288*1Feedjog I 2000 15 000 I IS I 1 000 uniWmin I

292” Rapid jog 10000 24000 IS 1 000 un’tu’min


Note:
The “*’ character is a wild card (0 = axis 1, 1 = axi i 2 etc.)

2-l 0 0 Siemens AG 1991 All Rights Reserved 6285 440-OMT02


SINUMERIK 805SM-P (IA)
2 NC Machine Data
2.1.6 Machine Data for Set Up Axes

2.1.7 Machlne Data for Main Drive

1Main drive assignment command value


4010 ~Drift compensation main drive 0 f 500 VELO
4030 Maximum speed 1) 500 16 000 llmin
4110 Minimum speed 0 2 000 llmin
4190 1Acceleration time constant 2 000 16 000 4 ms
4270 1Cut off speed for M 19 I 100 I 2 000 1 I llmin I
4350 Gain factor for M 19 200 10 000 l/miti360
4430 Position limit for M 19 11 4 096 approx. l/l 1 degree
4440 Cycle speed tolerance 10 100 %
4450 Toleranca of max. cycle speed 100 100 %
4460 I Tolerance for standstill speed 2) I 101 10 000 I I 0.01% I
4470 Delay for cancellation of governor 1 000 16 000 ms
enable
4480 Min. motor speed command value 0 6192 VELO
4490 Standard speed 50 2 000 llmin
4500 Hunting speed command value 50 6192 VELO
4510 Max. cycle speed 2 000 2 000 llmin
4520 1Ram position for external Ml9 I 01 3 599 1 I 0.1 degree I

Note:
The setting datum CYCLE SPEED LIMIT limits the main drive to the entered speed
(0 indicates the speed of the main drive is zero).

7) Max. speed + Main drive speed with DAC = 70 V


2) 0.01 % of max. speed

@Siemens AG 1991 All Rights Reserved 6ZB5 440-OMT02 2-l 1


SfNUMERlK 805SMP (IA)
2 NC Machine Data 12.91
2.1.8 Machine Data for Reduction Stages

2.1.8 Machine Data for Reduction Stages

lOO(P Speed level F2 2 000 24 000 IS 1 000 uniWmin


1004* Speed level F2 4 000 24 000 IS 1 000 units/min

1008* Speed level F3 6 000 24 000 IS 1 000 uniWmin


1012 Speed level F4 8 000 24 000 IS 1 000 unitslmin

1016* 1Switching level @aver. direct) SO + 1 1000~ 99999 999 1 MS 1 units I


102CF Switching level @aver. direct) Sl + 2 000 99 999 999 MS units
1024* Switching level @aver. direct) S2 + 5 000 99 999 999 MS units

1028* Switching level @aver. direct.) S3 + 10 000 99 999 999 MS units


1032L Switching level @aver. direct) SO - 1 000 99 999 999 MS units

10364 I Switching level (traver. direct.) Sl - I 2 000 1 99 999 999 1 MS 1 units I


I-104(P ~~~~~
Switching level @aver. direct) S2 - I 5 000 1 99999 999 1 MS 1 units I
1044’ Switching level @aver. direct.) S3 - 10 000 99 999 999 MS units
1048* Standstill speed 1 1 000 MS 1 000 uniWmin

1052 Delay speed monitoring 1 000 18 000 ms


1oEp Tolerance band for speed monitoring 500 24 000 IS 1 000 uniWmin

2-l 2 0 Siemens AG 1991 All Rights Reserved 6ZB5 440.OMT02


SINUMERIK 805SM-P (IA)
06.93 2 NC Machine Data
2.2 NC Machine Data Bits

2.2 NC Machine Data Bits


2.2.1 General Bits

6 1 5 I 4 3 2 I 1 I 0
Input resolution Position control resolution
c%+ows*
5003 No decele- Work limit Aux.function
1) raton the active in outp. before
limit switch JOG wavers.
NCstart
without refer.
point

5005 Key switch active for


I NV

5006 Key switch active for


Prog;Et no. Init&ing Manual input Overstore
I I I of programs I I I
5007
No37’ Of I

Extmachine lntmachine
control panel control panel
i- Y existing existing

5012 Operate Writing of


interfaCe Via math. data
DE37 disabled via @

5015

5024 Press
operatmode
smgle stroke
+ existing
I

1) MD 5002 Bit 4, 5, 6 valid after reset


MD 5003 Bit 6 valid after POWER ON
MD 5008 Bit 0, 1 valid after POWER ON
2) Available with SW2 or higher

Q Siemens AG 1991 All Rights Reserved 6ZB5 440.OMT02 2-13


SINUMERIK 805SM-P (IA)
2 NC Machine Data 06.93
2.2 NC Machine Data Bits

User options

Selection mec~0~ w&o; Selection


sensor 7 I I sensor 4
Rel. Write Continue
Selection
2
Selection
jar-t counter part counter
1
positioning
for stroke
anticipation
angle into
Nsqr%ty
after tool
automatic
too1
adj(ur,“” MD 377 change
W3) (l;aZ%O) u-w
5052 Customer-
Part counter
reduction br&Y$gle
calculation
(L- MD370
L998, L999:

8 7 6 5 4 3 2 1

5054 Cams existing


16 15 I 14 I 13 I 12 I 11 I 10 9
5055 Part Part Set brake Cams existing
counter 2 counter 1 cams via
triggers triggers MD (302)
cycle stop cycle stop 20 19 18 17

5147 I Block char 3e lock for:


‘nlit~:h
5149
Second
language

5150
W%teyRead 01

2.2.2 Machine Data Bits for Analog Command Value Output


,G.......\.>:
....,......
‘,“.‘+:.: .::::
..A.. ,,::,,::,.::,,::::,,:::1:1::;~._.‘.:.:::::II.I.:.:::::::”::::i:~
,:..:.::,:.:.:.:.:.:,i::::::.:.:.:
(,.::“‘.‘.‘.‘,‘.“‘.‘.:.,.:.:.:.,..:::::,
.:..i.............,...,.....,‘,‘,..,
‘:‘::I::::‘:‘...“‘.‘.‘.‘.‘.‘.‘.‘.’.’.’,’.’.’.’,~.:.::.
I.... :.:q:...............,(,,,
,,,, ,, “‘-.““v
,_,, ‘.““‘.‘i”‘%
,.,..._.i(,,,,,./,,,,,,,,,,,,,~,,,,.~
,,, ,, ,:,:
:,,,,,,,,,,,
,.,.,.,.,.,.,).,.,.,:,.,~
:,:,:,,,,,,,,,
,,,,
,,,:,,,:. Bit““““.“““~.“‘.““““““““~..‘.
..(L/L.... .,...,
no. ~~~i:.:i:s:~,~~~~~~:~~~~~~~~~~~~ . .,.,
,., ,.,,,,,,,,_,,,,,,,(,
,,,,,,,,1 .:..:.:....,,,,
,,,,,.,,,,,.,,,:,:,,,
‘,,‘,‘,‘,“‘,::‘::,,‘,“..‘... ......,,
..,
.....,
.,,,,,,
..
“.‘% s ‘C ‘:I,‘:‘:‘.‘.‘.‘.‘.‘.‘,‘,:.:,:.:,.:.:.~~.:.:
‘u,‘z’~‘~’
” ‘VW”“““’
‘d”““““,““““.‘.‘,‘.‘.‘.:.: ‘.‘.‘.‘. .‘. . .
..
..
..
..
. .
.i................,,..,.....,..,.,,.
,“.““““,‘.‘.‘,“.‘.‘.‘.‘.._...,.... .
..
..
. .
...
..
. .
....~
..I‘,‘,‘,.,‘,‘,‘,,,:,:,:,,,~~,,,,,,
.,.Q
,.,,:;,, ..I
,,,,,,,: ,‘,‘,‘(:‘:
.,..... .,.,.,
,,,.,:, :::::
;,:I.:::,:;
:,:,,_;,,,,, :::,:::,::
:,:::,:
,,( ,,, “““‘A
‘:““‘.
”“”
” ‘,”
” : ‘,‘,‘,“’
‘.‘, ““W.‘.
“7.‘.
...i.....
““““‘.“““((. ~......,,.
>.:.:.
~,.,/,,,/,, ,,.,,,.,
,,,,.,,,,,,,
;, ,,, .
,,, .,,
,(
,,.,/.., “.....“...,.,,,,,,,~(..,,,,,,,,,,_,: ,:,,,,,,,,
MD. :‘:::!:::::::::::::“.~.:.~...!.
.,.,. .,. .,,,,..,.,,,...,.
.,,..,, .I,,,!,..,.,.,.y;Iy.. ::::::::::::::::::::.::I::::::::::::::::::.:.:,:~:
.,,,,,.,,.,,.,.
.I,.
,_..
.. ... :;;.:::,:.:::
::::,:.:.;
no. 7 6 5 4 3 2 1 0
5025 s$le;$an”ndof
value output

2-l 4 c Sremens AG 1991 All Rights Reserved 6Z65 440.OMT02


SINUMERIK 805SM-P (IA)
05.34 2 NC Machine Data
2.2.3 Machine Data Bits for Roll Feed

2.2.3 Machine Data Bits for Roll Feed

rI 10. 7 6 5 4 3

5151 ‘iK2F Position control resolution


acceleration
and end
RF1 +2 deceleration
are tool data

5152
ktual value
sign
inversion
RF1
5153 btual value
sign
RF2 inversion

2.2.4 Machine Data Bits for Pressure Module

no. I
7I I c I c; I A I 2 I 2 I 1 IO
J 1
I
&&t)nc~f
5155 Selection
lower limit of !YZ%tlZ~
machine monitoring
maximum
rmxJ dependent
lima values

5157

t
window-

2.2.5 Machine Data Bits for Tool Protection

no. 7 I 6 I 5 I 4 I 3 1 2 I 1 I 0
I I I I I
5159 Select.- of tccl monitoring (for internal tool protect from SW2 on, and external tool protect from SW3 on)
8 ! 7 6 ! 5 ! 4 3 2 1
, I I
5160 Selection of tool monitoring (only for external tool protection, from SW3 on)
16 15 14 13 12 11 10 9

5161 Ev Input for


error position Too2@ up
s?..gtzL display high 99 999 999
(f’o$ 3 agc3(Ey mgw3

@ Siemens AC 1991 All Rights Reserved 6285440-OMT02 2-15


SlNUMERlK 805SM-P (IA)
2 NC Machine Data 05.94
2.2.6 Machine Data Bits for Part Counter (from SW3 on)

2.2.6 Machine Data Bits for Part Counter (from SW3 on)

no. 7 6 5 4 3 2 1 0
5162 Revision Total Batch Batch
counter in number.of counter 2 in counter 1 in
Parts
“Zeim parts

2.2.7 Machine Data Bits for Main Drive

no. 7 6 5 4 3 2 1 0
5200 No M19. MlS*with Speed in
0.1 l/min
intEE’ i l%T rn~tknt
5210 Ma~,$r-g @ main Ml9 Command
drive stop =FLyirb %%Y %%E value sign
with Reset monitoring available inversion
M03/04 on parity

2.2.8 Channel-Specific Machine Data Bits

no. 7 6 5 4 3 2 1 0
..
540” s analog
fL$$$l

54ff Auxiliary functions which are not stored but are immediately output NOW&QJ
H T S M
d”i’zFk

548* Name of the absciss (horizontal axis) for programming base position G16
(same code as for axis definition)
550* Name of the ordinate (vertical axis) for programmin base position G16
(same cede as for axis definition
.Y
552 base position G16

Note:
The “*” character is a wild card (O&channel 1, 1 ~channel 2).

2-l 6 0 Siemens AG 1991 All Rights Reserved 6285 440.OMT02


SINUMERIK 805SM-P (IA)
06.93 2 NC Machine Data
2.2.8 Channel-Specific Machine Data Bits

2.2.9 Machine Data Bits for Set Up Axes

no. 7 6 5 4 3 I 2 I 1 I 0
560* Automatic software No starl lock
referencing limit switch befoEi;fer.
active
564* fis
1) exists
I I
I I
568* 1 ame
5&p lntzz;;&ti Single/ Reduction Axis is
mulmum stage with reduction
encoders encoders analog/digita stage axis
Output
0 = increm. 0 = Single 0 = Anabg
1 =absclute 1 =Multi 1 = Digital
I I
5W Speed level D2 Speed level Dl
output 4 oulput 3 outyt 2 output 1 output4 1 output3 1 output2 1 output1 I
592 speed level D4 Speed level D3
output4 1 output3 output 2 OUtpUtl output 4 1 output3 1 output 2 1 0utput1
596* Speed ievel DO
output4 1 output 3 1 output 2 1 output 1

Note:
The n** character is a wild card (0 h axis 1, 1 E axis 2 etc. ).

1) MD 564’Bit 7 is 8ctive after POWER ON

@ Siemens AG 1991 All Rights Reserved 6ZB5 440.OMT02 2-l 7


SINUMERIK 805SM-P (IA)
2 NC Machine Data 05.94
2.3 Standard Assignment of NC-MD Sii

2.3 Standard Assignment of NC-MD Bits

50031 0 0 0 0 0 1 0 0
50041 0 0 0 0 0 0 0 0 55oq 0 0 0 0 0 0 0 1
50051 0 0 0 0 0 0 0 0 55201 0 0 0 0 0 0 1 0
5006 0 0 0 0 0 0 0 0 5521 0 0 0 0 0 0 1 0
5007 0 0 0 0 0 1 0 0 5600 0 0 1 0 0 0 0 0

5041 0 0 0 0 0 0 0 0 56420 0 0 0 0 0 0 0
5049 0 0 0 0 0 0 0 0 56430 0 0 0 0 0 0 0
5050 0 0 0 0 0 0 0 0 56440 0 0 0 0 0 0 0
5051 0 0 0 0 0 0 0 0 56800 0 0 0 0 0 0 0
50520 0 0 0 10 01 56810 0 0 0 0 0 01
5053 11111111 56820 0 0 0 0 0 10
5054 1 1 1 1 1 1 1 1 56830 0 0 0 0 011
5055 1 1 0 1 1 1 1 1 56840 0 0 0 0111
5147 0 0 0 0 0 0 0 0 5840 11 0 0 0 0 0 0
5148 0 0 0 0 0 0 0 0 584-l 110 0 0 0 0 0
5149 0 0 0 0 0 0 0 0 5842 110 0 0 0 0 0
5150 0 0 0 0 0 0 0 0 5843110 0 0 0 0 0
51511 0 0 0 0 0 0 1 0 5844 110 0 0 0 0 0
51521 0 0 0 0 0 0 0 0 58800 0 11 0 0 0 1
5153 0 0 0 0 0 0 0 0
5155 0 0 0 0 0 1 1 0
5157 0 0 0 0 0 0 0 0
5159 0 0 0 0 0 0 0 0
5160 0 0 0 0 0 0 0 0
5161 0 0 0 0 0 0 0 0
5162 0 0 0 0 0 0 0 0
5200 0 0 0 0 0 0 0 0
5210 0 0 0 1 0 0 0 0
54000 0 0 0 0 0 01
5401 0 0 0 0 0 0 0 1
54600 0 0 0 0 0 0 0
54610 0 0 0 0 0 0 0
5480 0 0 0 0 0 0 0 0

2-18 Q Siemens AG 1991 All Rights Reserved 6ZS5 440-OMT02


SINUMERIK 605SM-P (IA)
05.94 3 PLC Machine Data
3.1 General Data

3 PLC Machine Data

A/l PLC MDs are active on/y after “POWER ON”

3.1 General Data

24 Number of PLC error messages 2) 0 32

25 Number of PLC process signals *) 0 32

1) Available with SW 2 or higher, 1 IPO cycle = 4 x sampling Interval of the position controller (NC-MD 155)
2) Available with SW 2 or higher
3) Available with SW 3 or higher

@ Siemens AG 1991 All Rights Reserved 6ZB5 440-OMT02 3-1


SINUMERIK 805SM-P (IA)
3 PLC Machine Data 12.91
3.2 User Data

3.2 User Data

~~OOO~I.PLCUS~MDI I 01 9999/65535 1 I FWlO4 I


I1001 12. -//- I 01 9 999/65535 1 I FW 106 I
1002 3. -If - 0 9999i65535 Fw 106
1003 4. -I/ - 0 9 999165535 WllO

1004 5. -I/ - 0 9999l65535 RN112

1005 6. - If - 0 9 999l65535 Fw114

1006 7. - II - 0 9 999l65535 W116

1100718. - II * I 01 9 999/65535 1 1 RN118 1

A flag word consists of two flag bytes (e.g. FW 104 = Flag byte 104 + Flag byte 105).

3.3 General Bits

no. 7 6 5 4 3 2 1 0
2000 PLC-MD PLC-MD PLC-MD PLC-MD PLC-MD
'%Y" 1008 p:&YD 1004 1003 pxiYD 1001 1000
BCD code BCD code BCD code BCDcode BCD code BCDcode BCD code BCDcode

2001 H-No. T-No. S-No. M-No.


BCD code BCD code BCD code BCD code

Connection Transferof No alay


of dec&ntral Input Image
to 0utplJt prs;g
image

2003 D;yVIOof Diviiion50f 55 system PL~\Y in PLC stop! if PLC stop! if


commands run time IS run time IS
enable vorq enable matfunctions exceeded exceeded
PB 1) p-In9 in dg;tral OB 1 +OB 2 082

1) If the value shall be transferred to the flag word as BCD code, the max. value is 9999.
0
The transfer as BCD number or fixed point number after POWER ON is defined in PLC-MD 2000.

3-2 Q Siemens AG 1991 All Rights Reserved 6ZB5 440.OMT02


SINUMERIK 805SM-P (IA)
12.91 3 PLC Machine Data
3.4 User Bits

3.4 User Bits

no. 7 1 6 I 5 I 4 I 3 I 2 I 1 I 0
1 I I I I I I
3ooo PLCusqMDbits , I
f I I I i I I
3001 PLCuserMDbits ,
I 1 I 1 I I I
I , PLCusqMDbits , I
I I I I I I I
3003 PLCuserMDbits
I

Transfer of the PLC user MD bits by the operating system after POWER ON:
PLC-MD 3000 + FB 100
PLC-MD 3001 + FB 101
PLC-MD 3002 -+ FB 102
PLC-MD 3003 + FB 103

3.5 Standard Assignment of PLC MD Bits

0 Siemens AG 1991 All Rights Reserved 6285 440.OMT02 3-3


SINUMERIK 805SM-P (IA)
12.91 4 Setting Data
4.1 Axis-Specific Values

4 Setting Data

Axis-Specific Values

300” Min. work area limit 0 f 99 999 999 IS units


3OC Max. work area limit 0 + 99 999 999 IS units

4.2 Main Drive-Specific Values

4020 Oriented ram stop (M 19) 0 359.9 Degrees


4030 Cycle speed limit 1) 0 2 000 llmin

- 1) Input unit O.llmin, if NC-MD 5200 bit 3 is set.

l @Siemens AG 1991 All Rights Reserved 6265 440.OMT02 4-l


SINUMERIK 805SM-P (IA)
4 Setting Data 12.91
4.3 General Bits

4.3 General Bits


~~~~~~~~~~~~~~~~~~~~
SD
‘:‘,.““““““““‘n”““‘:“:“““‘.”:‘:.:‘:::““‘.‘.‘.‘...:...:.:...,:..,...,...
,..,.,..,,,,~.,,,_.,,,
“.‘:‘:‘:‘:‘:‘:‘:‘:‘:‘:‘:‘:‘:‘:‘:.:,:’:,:,:,:’:,:,:
::~::1:::::::.::::!~::r:::!:,:!:!:.:!~!:!:.:!:.~!:!~,.,!,.,!,.,!,!,,,.
,.,.,,..
..,.,.(..,“:.:,.(,:,:,~.~..,..:..
.,.,.,.,,: “‘L’...
j,:,:,:,:,,,,,,,,,,,,,,,,,,,,,,,:::,,,
I,(,,,,,,,,,,.,,,
,,,,,,,,,,
?iW.‘.‘.‘.
,,,,‘l,:z;y ....~~~.~~~~~~~~V
.,..,..I...,.,.,~,.,.,~...~.
I::::;::.::::
“.‘.‘..............t.........:.,,.......,..,.,...,
:~:f.::::.r:~.:.:.:.:~..‘.....,.......~..~..~................~:.:~...~..:!:::
:.,:.:,):.i:,,~;;...
,,,
,,,(,,,,(,,
,,,,,,(
,,, (,( “““‘...“.“““‘.‘..‘.,....“‘.‘......
:::.i:::‘::,:,
...:,,,:
...,:,.,,,
...:,,,):
,,,,:
,!,,,!,!,.,,.!,
I. ,,,,!.!.,,
...,.,:,:
.,,..
,:,:.
:,~ >:.7..:.:
.,1...1,.,.
_:,:, ,,.,:,:,:,:,:,:,:,;
,,,,,:,:,:,:.
;,
,,,,.,.,....,,,.,.,,,,,.,,,~,,,,,,~,~,
,~..,~,.,.,.,~,...,.,.~,,.,.,,,,(,,,(,,,,,,,,,,
,...........,..,.,.,,,,,!~
,,,,,,(
,,,, ,:,:,.
no. 7 6 5 4 3 2 1 0
5001 Display of
workpiece-
related
acutalvalue
system

4.4 Bits for Serial Interface 1

no. 7 I 6 1 5 I 4 I 3 I 2 I 1 I 0
I I I I i I
5010 Read in device code for interface 1 I I
1 I
I I I I I I I
5011 Read in transfer format for interface 1
I Odd With I I I
No. of stop bits Parity parity Baudrate
I I I I
I I I
5012 Read out device code for interface 1 I I
I I
I I I I I I I
5013 Read out transfer format for interface 1
I Odd With I I I
No. of stop bits PaW Panty I Baudrate
I
5014 II Xon start character interface 1 (e.g. 11”) I I
I
5015 0
Xoff start character interface 1 (e.g. 13,+)
1I II I I I II II
5016 Special bits for interface 1
St&x;;hout Program Block end Outy;d; I/O St;p&th Evaluate No header Read in
start with LF with CR LF ready signal and footer program
character for reading fromsrtem
out

5017 Special bits interface 1


No REORG Time
via interface monitor off

Note:
In this form the setting data bits occur only with the input/output via the RS232 interface. The
values and functions can be activated in plain text by manual entries on the operator keyboard.

4-2 Q Siemens AG 1991 All Rights Reserved 6285 440-OMT02


SINUMERIK 805SM-P (IA)
12.91 4 Setting Data
4.5 Bits for Serial Interface 2

4.5 Bits for Serial Interface 2


‘1.‘.:.‘.‘,‘,‘.‘.‘.‘. ““:~.y”;‘: : :‘I :‘:‘:‘: “,“:‘i:.:i.::.:,:::;:::::::::.:::.:~::::.::;~:.~:.:,:.:.:,,.: ,,‘,:,:,:: :,:,: ,:,,:,:.:,,iy::
::Bi:::::xw: :‘::‘:“.““““‘::::~:1:..1..,,,.,.
:x : >: i:p.‘.‘.:.:,:+ .,.,. .,,,~,,,.,.,.,.,., .,.,,,,.,,,.,.,(,.,.,.,.,.,~,.,~,.,.,.,.,~,.,~,~.~,~..,.,,,,.,,,,,,,(,.,,,~
,., ,,, . . ,,, t ”,, ”.,,“‘7 . .’ ,,, “’ “‘C..““*C”““/.
,,. ,,,,,,, ,~ .““” “’ ““““”
,~.:.:.:.:.:~~:::;~~~~~~?~:.~.:,:,:,:~ :‘.:,:,:“.:::.:::~r:::i::~:~~~~~~~~~:~~~~~:~::~~:~~:~~~:~~~~~~~:~~:~~~~;~~~,~,~ Bit n 0.
“““‘VA .“““’ “‘A ’ ” “~~::.:.:.:...:.~~!.~,:.~..::,:iB:..,: ,,,,.,., ..,l,.,l,l,l,l, ,.,:, :,:,::,,
.‘..,:,..:.:i: ,::,::.:
,:,,:,;.,,,:,:,: ~ .,:: ,,: : : .,._ ,,,,,,,,,,,(,/,, ,,,,
SD “:‘:‘:‘:‘:‘.:.:.:.:.:.t:.:.~.~:.?:.:.::.:.:,:
i.:.:.:+:. ..,.. ...“‘I....~.!.~..... :,:,:,:;,::y+:,:
_,.,: ‘,‘,. ‘:‘. I... .,, ,,, ,.,.,.:,: ,:!!,!.:.: “:~:: :!!,“!‘!, :.!,:.:,( i ,,,,, ;, ,,,,,..,,.

no. 7 I 6 I 5 I 4 I 3 I 2 I 1 I 0
c
5018 Read in device c&3 for interface 2
I I 1 I
I I I I I I I
5019 Read in transfer format for interface 2 .
No. of stop bits Odd With Baudrate
Parity PW I1
I I ,
5020 Read out device code for interface 2
I I I I I I I
5O21 Read out transfer format for interface 2 .
.
No. of stop bits Odd With Baudrate
parity Parity
I I I
5022 Xon start character interface 2 (e.g. 11 H)
II II I I
5023 Xoff start character interface 2 (e.g. 13~3
II 1I I I
I i I
5024 Special bits interface 2
Block end Outpcudi I/O St;%yith Evaluate
with CR LF I I ready signal

5025 Special bits interface 2


No REORG Time
via interface monitor off

4.6 Common Bits (valid for interfaces 1 and 2)

no. 7 6 5 4 3 2 1 0
I I I I I I I I
I I I I I I I
5026 I/O code for “@. (e.g. ~DH)
I I I I 1 I I
5027 I/O code for “:‘I (e.g. 46,,)
I II I 1 I t1 I
5028 End of transmission character (eq 03r.d t
II II I I I II I
5029 I I!0 code for ” - *’ (e.g. 7DH)

@ Siemens AG 1991 All Rights Reserved 6285 440.OMT02 4-3


SINUMERIK 805SM-P (IA)
4 Setting Data 12.91
4.7 Table for Standard Devices

4.7 Table for Standard Devices


Baudrate table:

Setting data for PLC programmer (PG615, PG670, PG675, PG685)

. .1... .. . . . .. .. :::,
5011
,.,..,.., .I
00000100 xxxxxlll

data for interfaces 1 and

PG 6751665
(CP/M86 1200 Baud)
GNTreader (option 802/803)0000000011000111 xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx00000000
Siemens reader(Fanuc) 00000010 xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx
IFanuc hand-held reader l000000011110001101 xxxxxxxxl xxxxxxxxlooolooollloo1oolllooooooool
(~~60300 Baud l00000000I11000010l00000000l1 1000010l xxxxxxxxl
xxxxxxxxlooooooool
IPT889600 BaudV.24 1 xxxxxxxxl xxxxxxxx~00000000(11000111~xxxxxxxx~ xxxxxxxx(oooooooo(

44 @ Siemens AG 1991 All Rights Reserved 6285 &IO-OMT02


SINUMERIK EOSSM-P (IA)
06.93 4 Setting Data
4.8 Setting Data for Communication

4.8 Setting Data for Communication


The parameters for communication via the two V.24 interfaces and the SINEC L2 interface are
stored in the following setting data.

7000
.
* Interface parameters
7oi3
.-se ---------------------------------
7010
.
. Parameters for connection 1 1. V.24 interface
7oi7
-w-m

7020
.
.
Parameters for connection 2
7067
.---
703a.
. I Parameters for connection 3
roi7
I

7050
i Interface parameters
7057
--_-_-----_---------------------------
7060
: Parameters for connection 1 2. V.24 interface
7067
----_---------------------------------
7070
; Parameters for connection 2
7077
----_---------------------------------
7080
i I Parameters for connection 3
7087
7260
i L2 bus parameters
7269
7250 t2 active
7270
i Connection 1
7275 L2
connection
7280 parameters L2 interface
; Connection 2
7285

I
I
7340
i Connection 8
7345

0 Siemens AG 1991 All Rights Reserved 6285 440.OMT02 4-5


SINUMERIK 805SM-P (IA)
4 Setting Data 06.93
4.8.1 Setting Data for Communication via V.24 Interfaces

4.8.1 Setting Data for Communication via V.24 Interfaces

tl0. 7 I 6 I 5 I 4 I 3 I 2 I 1 I 0

7011 Function
I
7012 3rd byte AS 512 (e.g. 41Hex) for connection 1

7013 4th byte AS 512 (e.g. 44& for connection 1

7014 5th byte AS 512 (e.g. 04& for connection 1

7015 6th byte AS 512 (e.g. OS& for connection 1

1 70161 9th byte AS 512 (e.g. 06H,) for connection 1

10th byte AS 512 (e.g. OS& for connection 1

Note:
Only the setting data for the 1st V.24 interface and connection 1. These setting data apply
accordingly to additional connections and the 2nd V.24 interface.

4-6 0 Siemens AG 1991 All Rights Reserved 6ZB5 440.OMT02


SINUMERIK 805SM-I’ (IA)
06.93 4 Setting Data
4.8.2 SettingDatafor Communication
via theL2 Interface

4.8.2 Setting Data for Communication via the L2 Interface


L2 bus parameters

ISD
no.

Station address I II 1261 I I


Transmissionrate 1) 3 3

Slot time 400 65534


Reserved 0
Smallestprotocol processingtime 80 65 534

Hiahest DrotocolDrocessinatime I 4001 655341 I I


Minimum token cycle time I 3000) 8000000) I I
HighestI2 user address 32 126
~Default SAP 62 62
Gap update factor 2 100

I2 connection parameters

~~~~~~~~~~~~~~ ,,,,,.................““““.‘~~~‘~‘~‘~“~~‘~“~‘~ ””
‘.‘.‘A.
n.:‘:‘:‘:‘:‘:‘“.‘.‘.:.“:.:.:.:.:“‘.’.”’.: :.:.:,):,,,,:,:,:.:,:,:.:,:,:,
. ~I..,:,.,.,:
‘::“““..‘.‘.‘1’.1.....
._.,,.,.,.,.,,,,,.,,
~.,,, :,:,:,:,,,,,,,
(,::..:
:,:,::,
,,:,:,,.,,..
,,,,,,.,,,.,.,.,l,l,.,l,,
SD ‘.:w::-:
n :::::‘:‘::::,:::,:,:::,:::~::.~,::::::::.:::~:.:.:.:.:
I..,.
:.:
.,...C,
.:,:.:.:.:.:,:,:.:.:.:.::::.:~:!:~!:~..::
.,..:,
:..,:
,..,,
,:,
_,,(,,,,,,,,, ,,:.‘.‘,‘.,.‘.
,,,,,,,,,,
,,,,, .‘.‘.‘:.‘.~.~.‘.~.~.~
.,:::. ,!,,,.,,,
~,~,~,~,.,‘.,
..,.,.
(.\,,),,.,,..,.,,,,,,(.,,
.
no. 7 6 5 4 3 2 1 0
7250 L2active2)

7271 Function of the


connection
I 3)
7272 Priority *)

SD
no.
.,,.).
;.).,:R,.:
.,..
,;.,.,,

7270 Max. data length 128 246

7273 SAP of the internal component 11 5) 62

7274 Station addressof the external 31 126


component
7275 SAP of the external component 11 5) 62

Note:
Only the L2 connection parameters for connection 1 are shown. These parameters apply
accordingly to the other connections.

1) 0; 9.6 kEaud I 1; 19.2 kl3aud I2 B 93.75 /(Baud I 3; 187.5 kEiaud


2) O;off, l&12 active
3) 0; off, 7 e PLC data, 2 4 NC data (in preparation)
4) 0 Glow, I G high
5) The standard values are: For connection 1 = 11, for connection 2 = 12 ..... for connection 8 = 78

@ Siemens AG 1991 All Rights Reserved 6285 440.OMT02 4-7


SINUMERIK 805ShbP (IA)
06.93 5 Press Data (PD)

5 Press Data (PD)

Brakeangle value
Set brake angle valid
No TDC-STOP
TDC-STOP
3 Enablenormal cam
Enablereverse cam, disablenormal cam
Disableall cams
No. of usedtool locations
Disableall counters 0
Enableall counters 1
Summationcounter: actual value o-99 999 999 t

8 Inspectioninterval counter: actual value o-99 999 999


Inspectioninterval counter: commandvalue o-99 999 999
Part counter 1: actual value o-99 999 999
Part counter 1: commandvalue o-99 999 999
Part counter 2: actual value o-99 999 999
13 Part counter 2: commandvalue o-99 999 999
14 No. of free tool locations
*
15 Set up via the tool data memory 1
(compl. set up)
Set up via the user memory 2 *
(only cam controller)
*
Set up via the user memory 4
(only roll feed)
t
Set up via the user memory 5
(only pressuremodule)
Load user memory 6
Set up via the user memory (complete set up) 7
Set up via the user memory 8
(only tool protection)
20 Current actual value roll feed 1
21 Current actual value roll feed 2
22 Current followinn error roll feed 1
23 Current following error roll feed 2

1) with @3e0
2) with @4e0
. effective

@Siemens
AG 1991 All Rights Reserved 6285 440.OMT02 5-l
SINUMERIK i305SM-P (IA)
5 Press Data (PD) 12.91

24 Current act. value RF1 (calculated command value) *

25 Current act. value RF2 (calculated command value) *

26 Current command-actual value difference RF1 *

27 Current command-actual value difference RF2 *

I I
28 Remaining time with greatest feed length I I
*
I I
29 Falling below remaining time (set to 1 by the 1 * I
SINUMERIK 805SM-P)
Identifier is reset via @He0 in the cycle 0
36 Current block number of roll feed t *
o-15

31 Last block of roll feed has been executed 1 * x


(PD 30 = 0 + current block no. = 0)
If the identifier is checked in a subprogram,it must
be reset by @4eO.
32 Correction roll feed diameter 1 +99 999 999 * *

33 Must be set to 1 to accept the correction (PD 32) 1 *

34 Correction roll feed diameter 2 t 99 999 999 * *

35 Must be set to 1 to accept the correction (PD 34) 1 t

I I
1
36 Length correction total length RF1
The correction is proportionally distributed to all
feed lengths
37 1Must be set to 1 to accept the correction (PD 36) 1
( +99999999

1
1

-1-J
= 1 *

38 Length correction total length RF2 5 99 999 999 * *


The correction is proportionally distributed to all
feed lengths
39 Must be set to 1 to accept the correction (PD 38) 1 x

40 Current acceleration override in [“A] RF1 *

1 41 I Must be set to I to accept the correction (PD 40) I I I I t I

1) witt, @3eO
2) with @4e0
. effective

5-2 0 Siemens AG 1991 All Rights Reserved 6ZB5 440.OMT02


SINUMERIK 805&M-P (IA)
12.91 5 Press Data (PD)

42 Current acceleration override in [“KJ] RF2 *

43 Must be set to 1 to accept the correction (PD 42) 1 *

44 Corrected current acceleration RF1 [mm/s21 *

*
45 Corrected current deceleration RF1 [mm/s’]

I I 46 Corrected current acceleration RF2


[mm/s*1 I I*I I

l--I47 Corrected current deceleration RF2 [mm/s21 I I


*
I
48 No. of executed feed blocks (only with part counter 1
reduction)
49 Speed command value RF1 (Velo)

50 Speed command value RF2 (Velo)

51 Time for highest feed length RF1 [ms]


*
52 Time for highest feed length RF2 [ms]

53 Sum of repetition factors *


*
64 Traversing time of block 1 for RF1 [ms]
_-----------_-----------------------------------------..-----------------
*
68 Traversing time of block 15 for RF1 [ms]
*
69 Traversing time of block 1 for RF2 [ms]
------------------------------------------------------..-----------------
83 Traversing time of block 15 for RF2 [ms] *

x
84 Current roll feed diameter RF1

I 85 ICurrent roll feed diameter RF2 I I *I I

1) with @3e0
2) with @Ire0
. effective

@ Siemens AG 1991 All Rights Reserved 6285 440-OMT02 53


SINUMERIK 805SM-P (IA)
5 Press Data (PD) 12.91

88 1Valid measuring window start I I*I I

I 89 Valid measuring window end I I


*
I I
I 90 Current actual value Sensor 1

I- 91

92
Current actual value

Current actual value

Current actual value


Sensor2

Sensor3
Sensor 4

I 94 ~Max. force (peak) last stroke Sensor 1 I I *I I


9s I Max. force (peak) last stroke Sensor 2 I I * I
96 Max. force (peak) last stroke Sensor 1+2 *

97 Max. diff. force last stroke Sensor l-2 *


l
98 Max. force (peak) last stroke Sensor3

99 Max. force (peak) last stroke Sensor4 *

100 Max. force (peak) last stroke Sensor 3+4 *

bl 1h&x. diff. force last stroke Sensor3-4 1 *


I I I
102 Max. force last stroke Sensor *
1+2+3+4
l
103 Max. diff. force last stroke Sensor
(1 +2)-(3+4)
104 Mean value for n strokes31 Sensor I+2 l

105 Mean value for n strokess) Sensor3 + 4 *

106 Mean value for n strokesa) Sensor t


1+2+3+4
107 Current actual value Sensor 5 *
108 Current actual value Sensor 6 I
109 Current actual value Sensor 7 t

I 110 I Current actual value Sensor 8 I I *I I


111 Error no. (alarm no.) * x

112 Disableminimumforce monitoring * I


0
Enable minimumforce monitoring 1

1) wim @3eO
2) with @de0
3) n=MD851
l
effective

5-4 @ Siemens AG 1991 All Rights Reserved 6ZB5 440.OMT02


SINUMERIK 805SM-P (IA)
06.93 5 Press Data (PD)

x
114 Current input voltage [mV] Sensor2

115 Current input voltage [mV] Sensor3 *

116 Current input voltage [mV] Sensor4 *

I 117 Iinput voltage (peak)[mVl last stroke Sensor 1 I I *I I


118 Input voltage (peak) [mV] last stroke Sensor2 ”

119 Input voltage (peak)[mV] last stroke Sensor3 f

120 Input voltage (peak) [mV] last stroke Sensor4 *

*
121 Current input voltage [mV] Sensor5 *

3
122 Current input voltage [mV] Sensor6 *

123 Current input voltage [mV] Sensor 7 t

124 Current input voltage [mV] Sensor 8 *


125 Commandvalue output 1 [V] f 10.000 *

I 126 1Commandvalue output 2 [V] I 2 10.000 I *


I 127 I Commandvalue output 3 [VI I +10.000 I * I * I
* t
128 Commandvalue output 4 [V] F 10.000

129 Angle positionaccounted actual value main drives) 0 to 359.9 ”


130 Max. permissiblecycle speed for the tool a)
0 to2000 *

131 Cam no. for the max. permissiblecycle speed 3) l


1 to 20

132 Tool protection triggers CYCLE STOP a) OM086 *

I 133 ICountertool protection bridging strokes3) lo to 99 999 999 I I l I


I I 134 Counter press force monitoring bridging strokes 3)
to 99 999 999 I

7) with @3eO
2) with @4e0
3) available with SW 2 or higher

l l
effective

l @Siemens AG 1991 All Rights Reserved 6ZB5 440.OMT02 5-5


SINUMERIK 805SM-P (IA)
05.94 6 PLC signals
6.1 PLC Input Signals

6 PLC Signals

6.1 PLC Input Signals


6.1.1 Inputs of the Customer Control Panel (CCP)

Byte no. Bit: 7 6 5 4 3 2 1 0


I I I I I I I
IB 0 Mode selector

IB 1 Direct keys Rapid his selaction switch


traverse
* ovanule 03 (W C B A

IB 2 Main drive Axes


“TDC Stop NC Start Cycle
On Ynf On mfl SbP

IB 3 Main drive
Reset Keylock
switch Auto + Auto Stop Auto - Manu + Manu -

Note:
The input bytes 0 to 3 are principally free inputs and are used only if the function
IMPLEMENTATION OF ALL MACHINE CONTROL FUNCTIONS VIA EXTERNAL CONTROL
ELEMENTS (see INTERFACE DESCRIPTION PART 1 - SIGNALS) is used.

6.1.2 Inputs of the Input Modules

1) From SW3 on, the area for input peripherals is extended from IL30 - IS 61.

0 Siemens AG 1991 All Rights Resewed 6ZB5 440.OMT02 6-l


SINUMERIK 805SM-P (IA)
6 PLC Signals 06.93
6.1.3 inputs of the Operator Keyboard

6.1.3 Inputs of the Operator Keyboard

Byte no. Bit: 7 3 2 1 0


IB 631) @b&kStop
Auto Auto l RESET

IB 641) NC Start cycle stop TDC stop


q
Acknowled. Auto -

6.1.4 Decoded Signals of the Customer Control Panel

Decoded signals of the customer control panel (Chap. 3.4)


Byte no. Bit: 7 6 5 4 3 2 1 0
IB 69 I I I I I I I
Direction keys
1+ l- 2+ 2. 3+ 3- 4+ 4.

IB 72 Roll feed

2+ 2- 1+ l-

6.1.5 PLC Signals from NC + PLC


6.1.5.1 Process-Specific Signals from NC + PLC

Byte no. Bit: 7 6 5 4 3 2 1 0


IB 62
fault
-
IB 63 Status monitoring input
8 7 6 5 4 3 2 1

IB 64 Status cam input


8 7 6 5 4 3 2 1

IB 65 Status tool monitoring

8 7 6 5 4 3 2 1

1) Length of signal is 1 PLC cycle


2) Available with SW 2 or higher

6-2 @ Siemens AG 1991 All Rights Reserved 6285 440-OMT02


SlNUMERlK 805SM-P (IA)
06.93 6 PLC Signals
6.1.5 PLC Signals from N&PLC

Byte no. Bit: 7 6 5 4 3 2 1 0


I
IB 86 TDC Stop Tool COI Change’) D.-Eze;pY
triggered change selected of press
running OM 2 I 1

IB 87 Active NC operating mode

IB 88 Press mode code from operator interface

Byte no. Bit: 7 6 5 4 3 2 1 0


RF axis in I Position
IB 89 Traverse command reached
Closed-
Roll feed 1 loop + poZZ%ng
control

IB 91 RF axis in Traverse command Position


ClOS8d-
7z2id
Roll feed 2 loop + positioning
control

IB 95
Activate Timeout
display 2) display 2)

7) Length of Is 1 PLC cycle


2) Available with SW 2 or higher

0 Siemens AG 1991 All Rights Reserved 6265 440.OMT02 6-3


SINUMERIK 605SM-P (IA)
6 PLC Signals 06.93
6.1.5 PLC Signals from NWLC

6.152 General PLC Signals from NC + PLC

IB 102 Program
MOO/ Ml71 1) intenupted running
Channel 1 MO1 Reset GO0

IB 103 Acknow- NC operating modtgdqe from operator


ledge
Channel 1 alarm D C B A
I I I
I
I I

IB 104 !&ection via okrator interfk


DE;CZkgle MO1
Channel 1 ‘2 P
‘2 Pe%Z”
e%Z” effective
selected selected

IB 107 Block
search
Channel 1 active

IB 106 Program
MOO/
MOO1 M17J 1) intemrpted running
Channel 2 MO1 Reset GO0

Main drive signals


Byte no. Bit: 7 6 5 4 3 2 1 0
IB 114 Program Main drive Punch Main drive Main drive Ml9 speed
c2S%
rotation of speed too in pOSitiOtl stopped synchro- active limit
main drive high tolerance reached nized exceeded

6-4 0 Siemens AG 1991 All Rights Reserved 6285 440-OMT02


SINUMERIK 805SM-P (IA)
05.94 6 PLC Signals
6.1.5 PLC Signals from N&PLC

Signals from axes


Bvte no. 1 0
I
IB 118 Reference I Position reached
point Traverse command
Axis1 reached +

IB 119

Axis 1

IB 120 Axis in Reference I Position reached


Axis point Traverse command Exactpos. Exactpos.
position standstill 1)
Axis 2 control reached + fine coarse

IB 121 MeaWing
circuit
Axis2 error 2)
t
IB 122 Reference I Position reached
point Traverse command
Axis3 reached +

IB 123

Axis3
I
IB 124 Axis in Reference Position reached
Axis Traverse command
position point
standstill 1)
Axis-4 control reached +

IB 125

AXIS4

1) only for reduction stage axes


2) Available wiU, SW3 or higher

Q Siemens AG 1991 All Rights Reserved 6285440.OMT02 6-4a


SINUMERIK 805SM-P (IA)
6 PLC-Signde 05.94
6.1.5 PLC-Signale von NC&PLC

(LEERSEITE)

6-4b 0 Siemens AG 1991 All Flights Reserved 6ZB5 440-OMT02


SINUMERIK 805SM-P (IA)
05.94 6 PLC Signals
6.2 PLC Output Signals

6.2 PLC Output Signals


6.2.1 Outputs of the Output modules

Byte no. Bit: 7 6 5 4 3 2 1 0


OBO
I
f
OB 471) I

6.2.2 PLC Signals from PLC + NC


6.2.2.1 Process-specific PLC Signals from PLC + NC

Byte no. Bit: 7 6 5 4 3 2 1 0


OB64 overall
enable tcol
protection

OB 65 Enable tool monitoring


6 7 6 5 4 3 2 1

Byte no. Bit: 7 6 5 4 3 2 1 0

OB 69 I
Press mode selection

OB 70 Leek press Locktool Lock Lock Press Follow-up


basic data selection operating mode from of press
screen of COI mode FB 9 mode 2)
change
-Main drive

I
OB7’ IlDCStopl %ycle (
Iwanu
+ Manu-

1) From SW3 on, the area for output peripherals is extended from 06 0 - OB 63.
2) Available with SW 2 or higher

@ Siemens AG 1991 All Rights Resewed 6285 440.OMT02 6-5


SINUMERIK 605SM-P (IA)
6 PLC Signals 06.93
6.2.2 PLC Signals from PLC + NC

1 Byte no.
-
OB 73 JOG Metal
Follow-up speed- sheet is
operation controlled set up

OB 74 Co”“e”tio”al Rapid
traverse Controller
Roll feed 1 + overrule enable
I -

OB 76 C0”~“tl0”altraverse
Rapid
Controller RF-axis is
Roll feed 2 + ovemle enable raised
I -

6.2.2.2 General PLC signals from PLC + NC


a-
Ready signals

Data In Data In l EMER-


Keylock Start 2nd StartlSt Cycle GENCY
switch V.24 V.24 lock’) OFF

OB 79
Lock
keyboard
Blank
screen
a-
Operating modes
Byte no. 1Bit: 7 6 5 4 3 2 1 0
OB 82
Reset
Acknow-
ledge
alann
D
I

I c
I

I B
I
NC operating mode selection

I A
a

OB 92 DEC
Skip block Single single MO1
Chan. 2 block block effective

1) Available with SW 2 or higher

6-6 @ Siemens AG 1991 All Rights Reserved 6285 440.OMT02


SINUMERIK 805SM-P (IA)
12.91 6 PLC Signals
6.2 PLC Output Signals

Axis speed control

I Byte no. Blt: 7 6 5 4 3 2 1 0


AXiS I I I I
OB64 Axisglobal traversing Axis traversing speed correction
enable Speed
correction E D C B A
efkctiw

Byte no. Bit: 7 6 5 4 3 2 1 0


OB 67 CUlCd Cancel
Read-in residual number of NC Stop NC Start
subprogr.
Chan. 1 enable Paul passes
OB 96 CaflCel Cancel
number of NC Stop NC Start
Read-in residual subprogr.
Chan. 2 enable paa passes

Signals to maln clrlve


Bit: 7 6 5 4 3 2 1 0

Main drive Controller Command


enable enable value Zero

Invert
main drive
sense of
rotation

OB 103 Command Acknow- PLC main


rotation Hunting Set speed Position ledge drive
clockwise Speed main drive M 19 control

@ Siemens AG 1991 All Rights Reserved 6ZB5 440.OMT02 6-7


SINUMERIK 805SM-P (IA)
6 PLC Signals 05.94
6.2 PLC Output Signals

Signals to axes
Byte no. Bit: 7 6 5 4 3 1 0
OB 108 2nd software limit
Axis enable becelera- Parking switch effective
Controller
Axis 1 tion axis enable +
OB 109 Rapid Deselect. of
Conventional measuring
traverse AXiS circuit
Axis 1 + I overrule disable monitor. 1)

OB 112 2nd software limit

Axis2
1l-g;;J Axis enable *Decelera-
tion
Parking
i3Xi.S
Controller
enable
switch effective

OB 113 Conventional Rapid


traverse AXiS
Axis2 + I - overrule disable
OB 116
Axis enable *Decelera- Parking Controller
Axis3 tion axis enable

I I
OB 117 Rapid Deselect. of
measuring
traverse AXiS circuit
Axis 3 overrule disable monitor. 1)

OB 120 2nd software limit


switch effective
AXiS4
I
I Follow-up
ooeration
Axis enable *Decelera-
tion
Parking
EC&
Controller
enable
OB 121 Conventional Rapid
traverse AXiS
Axis4 t I overrule disable

2) Available with SW3 or higher

6-8 @ Siemens AG 1991 All Rights Reserved 6ZB5 440-OMT02


SINUMERIK 805SM-P (IA)
12.91 6 PLC Signals
6.3 PLC Flags

6.3 PLC Flags


6.3.1 Basic Signals

FB 0 I
Flashing
rate 1 Hz One Zero

FB 1 Current OB-No.

I I I I I I I
FB 2 Base position
OB 2 08 1

FB 3 Restart
082 OB 1 OB 20

FB 6 Processina delav
” .

082

FB 8 Group
error f/O
modules

FB 9 Code of press mode


I I I I I I I

FB 12 Negative edge

E n.7 E n.6 E r-t.5 E r-t.4 E n.3 E n.2 E n.1 E n.0


I I
FB 16 Positive edge

E n-7 E n.6 E n.5 E n.4 E n.3 E n.2 E n.1 E n.0

FB 24 2nd 1st Operator


interface interface Roll feed keyboard NC-B82 NC-BB1 Battery NC alarm
active active ready ready fault

@ Siemens AG 1991 All Rights Resewed 6ZB5 440.OMT02 6-9


SINUMERIK 805SM-P (IA)
6 PLC Signals 12.91
6.3.2 Auxiliary Functions Output from NC --r PLC

6.3.2 Auxiliary Functions Output from NC -, PLC


:‘:‘:‘:‘):.):.:.:.:.::::: _,.,.
.‘...‘...‘,.“i:.):.:
i;$:$:;@j$~~:;
.. ...y.. .A,. .,.,.,.,.,.
““.:‘:,:(,):,):,:,:,:, Change signals
“““.‘:‘:‘i:‘:‘(.‘.:,:,~
::::::.:::i::.:.:c......r
..:..A
_,. ‘...A
...c.:
.,_,.,.,.,.
_,. ..::::;.,
7.: .,,,.,.
.,::::::::‘:‘::,:,:,.,.,‘,.,.~.~
.,..,.,. : .,.,,,.,.,
.:,.,
,,.I’..
.,,
‘..,,,,,,
,,,,,,,_,, . .. .‘.. ..,.,,.,,
..‘..~.:,‘,:.~.~.:.,:.:
‘.‘.5:,:~:,:,:cr~~,~~.:.:.:.~~:~~::~:~~~:~~::::::~::::~:::::.):l)
.,,,,_
Byte no. Bit: 7 6 5 4 3 2 1 0
FB 25
H- T- S- M-word 3 M-word 2 M-word 1
change change change change change change

FB 26 Last M-word 3 Mqword 2 M-word 1


auxiliary not not not
function decoded decoded decoded

I . I .. , . , ~ ,).. , . . . . . \ , . . . . ,. ,. . . :. :. . . .: :. . . :. :. . . .: :. : :. : , . , .
“.‘ur.:~:.:.~::::::~:::I:::;:!~;:;:.:::::::::::::~~:::;::~.:.:.:.:.:.:
:,:.:i~...~.....Y.. ,.I.
‘.:.:.:~:.:r.:.:.:.:.:~:::::~~:::g

‘::.:.:.:.:.:.:.):.:.:.:.:.:.:.:.;.:.
. . . . . . . ., “““.‘.‘. . . . . . . . : . . , :. , ,‘.‘.‘.‘,‘.‘.‘.‘.‘.‘.‘,
$:::::~:i:~:~:~3i:il:i
( , , . , . , , , ,, ., .. , )’ . ,.,:,:(,X .‘~‘:‘.‘.:.:.:~..:.~:.:.‘.‘.‘.‘.’.’.:.’.;.:.’.~~:.:.:.~.:.;.~..::..:.:.:~:~~~;~:~~:~~:~~~::~~:~:~,:~:~:~::~:::::~:::::::~:~:::::::::::::::::~.:::~~~:::::~:~:::::!:::::::::~:~:
:,:,,,,,,,,,,,.,.~,

‘:‘.‘,,,,~,‘,,:.:.:.:.~.,,:.
; ; , ; .:,:.~.:.~,,,:.l,,,,,,~ y ,,.,I ; : ; .Y...,...
: , : . : , : . : . : . : , ) : , : . : , : . . t 2 . ., : .. : , ..A
: , : . : , : ., .: , . . . ):1.: : , : :: .: ;: : : ; : . :,~,):,X,n.,,L:.:.~., ~ :,:,:::: ;;: ::::

..,.,.,.,...,.,~..,....~,.,.,L.,...,.
:::~~~;~~:~~~:~~~:~~~~::::::::::

,iiii~~ii(:i:l:~:a:i:i:i:iei:i
:,:,:

Decoded M-Signals :.::::(.:.:.:.“:.,:::“!i.i


:::::a:::~b:::,:::;,~,
..v......
.,.,...,.,...,
... ,,,(,,,,,
““““““‘:‘:‘:,:‘~.:‘:..,.,.
““:‘h.w.
.1.
,,... . ,v:.
.I., : :
‘.:.‘.:.‘:‘:““‘.‘.‘.‘.~~‘.‘.‘.‘..
.‘.....,.I.
.,.,.
.!..v.. .
./,.
.,,“‘.“1”““..“.“.:..
.., ..
.,...
. .A
, .
..... . .......
. ... :, ..
,,, . .,..,
,,,, ,...,.......,:.:.
.,. .,....,.,.’,., ..~..............“““‘..““‘.“‘.“..,..,,,.
,, ., .,...,. ._.., ,, ;,:::+:
,:,:
::.~,:,:~.~.:.~,:,:i.:,:,~::::
,:,:,:,:, :.:.:.:+> ,,
:i.:i::(,:,:~:,:,:,:::,:~:,~,~~~~:,:~~,:,:,:,:,:;:;:,:,:~::.:::~:.~.~~.:.:
,.,.,.,...,_.,,....__.,.,.......,,..,,,,,....,...,...,..,.,,,_......._,...........,,,,,..,.............
Byte no. Bit: 7 6 5 4 3 2 1 0
dynam. static

FB 27 FB 28 MO7 MO6 MO5 MO4 MO3 MO2 MO1 MOO

FB 37 MF 38 M47 M46 M45 M# M43 M42 M41 M40

FB 39 FB 40 M55 M54 MS3 M52 M51 M50 M49 M48

FB 41 FB 42 M63 M62 M61 M60 M59 M58 M57 M56

FB 43 FB 44 M71 M70 M69 M68 M67 M66 M65 M64

FB 45 FB 46 M79 M78 M77 M76 M75 M74 M73 M72

FB 47 FB 48 M87 M86 M65 M84 M83 M82 M81 M80

FB 49 FB 50 M95 M94 M93 M92 M91 M90 M89 M88

FB 51 FB 52 M99 M98 M97 M96

6-10 9 Siemens AG 1991 All Rights Reserved 6265 440-OMT02


SINUMERIK 805SM-P (IA)
12.91 6 PLC Signals
6.3.2 Auxiliary Functions Output from NC + PLC

We Bit: 7 6 5 4 3 2 1 0
‘B 63

I
‘B 64 Extended M-address

10’ 100

‘B 55

=B 56 M w&d 1

10’ 100
I
=B 57

‘B 66 Extended M-address

10’ 100

FB 59

FB 60 M word 2

10’ 100

FB 61

I i
FB 62 Extended M-address
10’ 100

FB 63

FB 64 M word 3
10’ I 100

@ Siemens AG 1991 All Rights Reserved 6fB5 440.OMT02 6-l 1


SINUMERIK 605SM-P (IA)
6 PLC Signals 12.91
6.3.2 Auxiliary Functions Output from NC 3 PLC

FB 65

I I I
FB 68
104

FB 69

103 102
I I I I I I
S-word
I
FB 70
10’ 100

FB 73

103 102
I I I I I I
T-word
FB 74 I I I I I
10’ 100

FB 77

103 102
I I I 1 I I
H-word
FB 78 I I I I
10' 100

FB 91

6-12 @ Siemens AG 1991 All Rights Reserved 6285 440.OMT02


SINUMERIK 805SM-P (IA)
12.91 6 PLC Signals
6.3.3 Decoded M-Sign& of the M-Function with Extended Address

6.3.3 Decoded M-Signals of the M-Function with Extended Address


.,.
. , . , . , . , . : ~.~‘~.~.~“‘~~~“~.~‘...“““.” ~~~:,: , : , : , , , : : , : . >: , : , : . ; , ) , , : , : , : , : ;,;,~,~:,:,:,..:,~:~~~~,:,:,:,~~;,~,:,:,~:,~:,;~:.:~~,.:.:,:.,.:,~:~;~:~:.:.~,.~,:,:.:.:.:.:.:,:.:.~:,:.:;;~~~~~;~~~:~~~:~;~~:~~~~::~:~:~~,~~:::~:.:.~:.~~~~:~::::.:.~::;:.:~::::;:,~:.:~:::::.~:~,:,.~:;~~~.~;:i~~.:i:,::....~;~:~~~:,~:~~:.:::..~.~,..~.~ .,..“:.:.:.):.:.:.:.;.:.:.:.~?,.~
:jFi~~ll~~:~::l:i:i:i:‘:::.:~:~~.~.~,~~..,..,.,,.. .,h 1I , , . . . , . , . . . . . . . , ~,.*l’,.,..C.,.,.,.,,,~.~..~,...,......~.......\.*...,~...~.~.~ .,... v.,..... ‘.‘,,(,.,.,~.., (.,,..,.,,.., .,(, , ... . .,\..*.,..,. ,.,.,1 a,.. Il,..C ,..,..,... h,.. .,A A ..V..V.V,~.. ,.~,V.~... . . . . ‘n.‘~.‘~.‘~‘.\n.......,...........,..:.:(.:,

~~Iic 32 dynamic and static M-functions with e&n&d address, ~~~~


:$:~:I::::::::~.~$>
,.:.:,:.:+:+:
.,.,.,,
~ corresponding to the decoding. list in DB 80 tiii9i~:~:~iiiiW%i:
r~.~iliiilsa~:~~~~~~~
‘:‘:::c::::‘:::::::::::::\
‘...‘.‘b’:::,:.:.:.:.~:.,..~.,~
,.,.,,:,.,,,
B
.,,,
x’ ...... . ..,.
,:
,,.,‘,.,.,‘,“,“,.,‘..,..
:,‘~
,.,:,.,.,,,,,., ,,,,, ,,, . .
. ....5%.,.A. :::.,,.. ~,.,..,..,. ,,., .,.. :::::::z::::::,~:~:.:::::
~...,..x.~.:.:.~~.:.x.~:bg::~~~:?
’”.’‘.‘..v.:i.:.:*r.:c.:.:.:~~:::.: ::::;
:::::
‘.G,.,
‘.‘.‘.V.hb.
.,“If’~‘~‘~‘.‘~‘~:(,!~:~...~. fi.,,+.v.
...c...
“’,,,,,,,,,,,,
“““.~...““.““‘,~..,,,.:~:,::..,:.,,~
:‘,:,:j
.,I. .,:,,,.
.::::::::.:~::~:::p...~.,,:...:.,:.:...:.,
.:.:,,,:,:..,
,....,,.
,,.,,::....,:.,.w:* ,,,,,,,,,,,
,:,:,:(..,~,,,,,I,,,..,,
,,‘W’. ,.IV ,, .‘::“.‘..h:.:r.:.~.!.!.!
..:::::‘::‘(“~~,:(li.:“.’
~.,,.,I.,
,,,,,
.,,.v,.: :,:
::.:p...:.:.:.:
,.,,,,,,,‘,‘,‘,‘.~.~
.t:,‘,:.:,~.,,:,,.,,,,,, :::::,:,.:,::,,
‘.:’.‘j:::::
.........._.....(.(.(.....,,l,,,,,
:.‘:‘c.:,:,*.,:;p::: ,(,,. .!,\,,,,,,,,,,,,,
““‘. I:,:,,!,:,!;,,.,.,, ::?;
:‘.::;j:,,
,%VY,.,.,.,
,,.),_,,.,,,,,,,,(_,,\,
_,.,. ,,,.:,,
j‘:,:.“.~~~~:39:)::~t:::::~:~~:,:::~:::~.:,:....
‘,,~::$+::~.y
,..,,::
1.....,...,....,...:,.,:, ,,,
Byte no. Bit: 7 6 5 4 3 2 1 0
I I I I I I I
FB 92 Dynamic M-signals
I I I I I I I
FB 93 Static M-signals

I I I I I I I
FB 94 Dynamic M-signals
I I I I I
FB 95 Static M-signals

I I I I I
FB 96 Dynamic Mesignals
I I I I I
FB 97 Static M-signals
I I I I I
FB 98 Dynamic M-signals
I I I I I
FB 99 Static M-signals

6.3.4 PLC Machine Data for the User


r ..: :. .:.:“” .,.:.:.
:w:.:;::: : r:::.:: :p.. ,.,.,...,, ,,,,.,,,(,,,/,
A..:,:A..\.
,:;: ..A,:, ,,.,i:~:,‘,.
.,..~.‘i..,~,.......:...:.,.:,:.:.:.:.):.~:.:,:.:.:.:,.:
....,. ... .. ,, . . . . ,,,. . .A .<.,
....,..,
...,
~,,.A..
.,,.i..,..A...
” “““~““‘.“““‘l”“.““‘.““...‘.‘.. ,......A.A... A* ,A.,
~..iA.h
.,.,,,(,.,.. . .‘,‘..‘.‘.‘,‘.‘.‘,‘.‘.‘.‘~~.,.~.~.~~~.~...~.:.~:.,.:.
. ,,,...,..,.
p:.:.:.:.~.:.:.:j:.:.:.~(,:.:,:.?
... ....*....
r:.:.::~:.:.:.,;.~:...,..,. ... .A..... ,...I...
i:dii:iiiiii~,~iiiiA~~:~~~~~
::::::::i:‘~:~:~,:~:~~:~~~~~B
:i:::::.:.:.:.:.,:.:.:.~.:.:~:.:,~,
Machine data bits (MD 300
i:Bi:3:::::::::;:::::::::::::::::::
:,:.:,:
:,:,:::::~:::,:~::~:!::::::~.~:::::~:~~.:.:.:.:.:;:.:,:.~...:...:~~.:.:...:.:.:~::~~.:~~~:.:.:~:;:.:~~:~~~.~.:.:.:,:.:~~.:.:
Byte no. Bit: 7
I I 1 I I I I I
FB 100 MD 3000
I I I I I I
I
FB 101 MD 3001
I 1 I I I I
I
FB 102
MD 3002
I I I I I I
1
FB 103 MD 3003
I I I I I I

0 Siemens AG 1991 All Rights Reserved 6285 440.OMT02 6-l 3


SINUMERIK 605SM-P (IA)
6 PLC Signals 12.91
63.4 PLC Machine Data for the User

Byte no. Bit: 7 6 5 4 3 2 1 0


FB 104
Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit a
MD 1000
FB 105 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

FB 106
MD 1001
FB 107

FB 108 I I
MD 1002
FB 109

FB 110
MD 1003
0
FB 111

FB 112
MD 1004
FB 113

FB 114

FB 115
MD 1005
l
FB 116
MD 1006
FB 117

FB 118 I I
MD 1007
FB 119
I I

6-l 4 @ Siemens AG 1991 All Rights Reserved 6295 440-OMTOZ


SINUMERIK 605SM-P (IA)
06.93 6 PLC Signals
6.3.5 PLC Error Messages and Process Signals

6.3.5 PLC Error Messages and Process Signals

Byte no. Bit: 7 6 5 4 3 2 1 0


Error No.
FE 120 6007 6006 6005 6004 6003 6002 6001 6000

FB 121 6015 6014 6013 6012 6011 6010 6009 6006

Byte no.1 Bit: 7 6 5 4 3 2 1 0 I


MeNyw
FB 128 7007 7006 7005 7004 7003 7002 7001 7000

FB 129 7015 7014 7013 7012 7011 7010 7009 7006

FB 130 1 7023 1 7022 1 7021 1 7020 1 7019 1 7018 1 7017 1 7016 1

FB 131 7031 7030 7029 7026 7027 7026 7025 7024

FB 132 7039 7036 7037 7036 7035 7034 7033 7032

FB 133 7047 7046 7045 7044 7043 7042 7041 7040

FB 134 1 7055 1 7054 1 70053 1 7052 1 7051 1 7050 1 7&w 1 7046 1

FB 135 7063 7062 7061 7060 7059 7056 7057 7056

7) With SW 2 or higher, these ranges depend on PLC-MD 24 and 25 (number of PLC error messages and
process signals respectively). The above shows the standard case (PLC-MO 24125 = O/O).

@ Siemens AG 1991 All Rights Reserved 6ZB5 440.OMT02 6-15


SINUMERIK 805SM-P (IA)
6 PLC Signals 06.93
6.3.6 Flags for Standard Cycles

6.3.6 Flags for Standard Cycles


.,...,..
......-.-......../.
“::::::.:::::::::::::::::::::
Flags for standard cycles 1) ::::::::::::i:j:i:j:j:j:;:;;{f
‘.‘A’.‘.)
. ,.,...,,,.,...,:.:
..A..~...
.,,,.,,,.,.,.,,
I’..~.......:.I..........~....:...:.:.~~:,:;:.:.:~,.:,:.:.:,,,:
.,.. ,..,,..,.,.....,.,
.,‘::,,.,,,
:‘:‘:.:.,.....,~......,.....,.,,
,A. .,._.
”.’.,.,.
‘A ,.,.,..‘.‘.‘. ...,..,.,.
.,,.
.... I..I.I. .,.
.......I’,..‘:‘“:.:,):.:.:.:.:.:~,:.:.:.:.:.: .. ...,. ..:,.,.,
.I,,.,,,:
.Y. ,,,(( i:i:i:Bi::33i:~:i:W:li
‘,‘.“,‘,“.:.:,:,:.:,~:‘:.:.:.:.:.:~:~:~~:::~:~:~!~:,:::~
:i:.:,:.:,:,:.:,
..,,.,.,.,.......(.,...,l,.,.,.,,,,,,,.,.,.,.,.,.,.,.,,,.,.,..~,.,...,.,.....,.,:....,.,.,.,.,.,.,
“‘...‘.~.:.!.:.:a:.:.!.:.:,~,:.:.:........
.,. ,.,.,
,:.,.,,
.,,,.
.,..,,,,,:,
Bvte no. Bit: 7 6 5 4 3 2 1 0
FB 136
Press close >ontinuous
stroke

FB 137 Automatic Clutch Additional Cycle end PLC-enable Main drive Automatic Wanual tool
engagemen check(L28) creepspeed identifier from cycle not within tool change change
t 0-a motor on tolerances identifier identifier
U-23)

FB 136 Retract tool Extr;d$ol Close tool Open tool Key Manual Mount tool Remove
v-39) clamp (L37) clamp (L36) acknow- adjustment (L33) tool
ledgement of stroke O-32)
0-35) u-34)

FB 139 2nd axis Traverse Identifier for Load !ool Lock Lock
positive excentric, excentric,
direction ~ relase relase
(LM) shaft(L41) shaft(L40)

FB 140 Identifier for 4th axis 4th axis 3rd axis 2nd axis
drift cycle negative positive negative negative
Started direction direction direction direction
(L45) bw u-9 (L44) u-44)

6.3.7 User Flags

User flags 1)
Byte no. Bit: 7 6 5 4 3 2 1 0

FB 141 I
I
This flag area is remanent
i

FB 199 I

6.3.8 Flags for Standard FBs

Byte no. Bit: 7 6 5 4 3 2 1 0

FB 200 I
i I
II i

FB 223 I

1) With SW 2 or higher, this range depends on PLC-MD 24125 (number of PLC error messages and process
signals). The above shows the standard case (PLC-MD 24125 = 010).

6-16 @ Siemens AG 1991 All Rights Reserved 6ZB5 440.OMT02


SINUMERIK BOSSM-P (IA)
06.93 6 PLC Signals
6.3.9 Transfer Flags (Scratch Flags)

6.3.9 Transfer Flags (Scratch Flags)

Byte no. Bit: 7 6 5 4 3 2 1 0

FB 224

I I

FB 255 I

6.4 Overview of Function Blocks (FBs) ’

FB Flags used
-B no. FB name Packet < w 224
designation

0 reserved
.. .
. .
10 reserved
11 EINR-DB Setup of data blocks
12 reserved
.. ..
.
59 reserved
60 BLOCK-TR Block transfer
61 NCD-LESE Read NC data
62 NCD-SCHR Write NC data
63 reserved
64 reserved
65 M-STACK Transfer flag in flag stack
66 STACK-M Flag stack in transfer flag area
67 reserved
.. ..
. .
103 reserved
104 SEND data handling block SEND
105 RECEIVE data #handling block RECEIVE
106 CONTROL data handling block CONTROL
107 reserved
.. ..
. .
189 reserved
190 K-LEITPC Interfacing with master PLC
191 reserved
.
.
199 reserved
200 free for user
. .
255 free for user

@ Siemens AG 1991 All Rights Reserved 6265 440.OMT02 6-l 7


SINUMERIK 805SM-P (IA)
6 PLC Signals 12.91
6.4.1 Function Block (FB) Description

6.4.1 Function Block (FB) Description


6.4.1.1 FB 11: Setup of Data Blocks

EINR-DB
8 Significance .of.....the .error ......,,.....number in accumulator . ,(.,.. 2..,‘(,‘,‘,I,~,.,I,
....,.,:
...,..,,: $j
.. ..x.
...........,..._...............,.
,,,,...v..
.:.,,z..:..
“““.‘l’.“‘.”“’ ‘VW.....L,,.,.ij,j,, ._,_,,,
.,,..(,......,,.v,.,
.....,,,,,,,,
..‘.‘.““‘.“‘.““‘......1...,.,..
:~:.:~:~:~~:~:.:.:.:,:,:.:,:.:~:~,.,~.~,~,~,~,:,:.IL:‘.‘:””~’.’.~.‘.‘. .1..,..,,,.i,.,~\,,_,,,,,,,,,,,,,,,,,,,,,,
.........‘..~....~!.~.................:.~.:.:,:.:.:.::::::~,~;~:,:,:~:.:~:.:.:.:.:.,~,..~
:,:
%2 . . DB-No, is higher than 255

%3 . * Specified DW-No. is smaller than 0

To4 , . Length of DBs to be set up not equal DB in PLC

%5 .. Insufficient memory for DBs in PLC

%6 .. Specified DW-No. higher than 255

O/o7 . . DB 0 cannot be set up

l Parameter description FB 11
DBAN Number and quantity of data blocks to be set up.
High-Byte: DB-No.
Low-Byte: Number of data blocks (min. 1)
DWNR Number of the last DW used to set up the DB.

6.4.1.2 FB 60: Block Transfer

BLOCK-TR

D, KY - DBQZ
D, KF - DWQ
D,KY- DZ/A Number of DWs to be transferred = 0
1-e-11
O/o3 . , Source DB is missing
$FW 254 - DBQZ
O/o4 . . Destination DB is missing
$FW 250 - DWQ
%5 .. Destination DB too short
$FW 252 - DZIA
%6 .. Destination DB in EPROM

O/o7 . . Source DB too short

l Parameter description FB 60
DBQZ No. of the source and destination DB
High-Byte: Source DB
Low-Byte: Destination DB
DWQ No. of the first data word in the source DB
DUA No. of the first data word in the destination DB / number of data words to be
copied.

6-18 Q Siemens AG 1991 All Rights Reserved 6ZB5 440-OMT02


SINUMERIK 805SM-P (IA)
06.93 6 PLC Signals
6.4.1 Function Block (FB) Description

0 6.4.1.3 FB 61, FB 62: Read/Write NC Data

FB 61: Read NC Data FB 62: Write NC Data

NCD-LESE NCD-SCHR

E, BI - LESE E, BI - SCHR
E, BY - NSBY E, BY - NSBY
D, KF - AN2 D, KF - AN2
D,KC - Dr/l D, KC - DTYl
D, KC - D-l-Y2 D, KC - DTY2
D, KC - DTY3 D, KC - DTY3
D, KF - WERl D, KF - WERl
D, KF - WER2 0, KF - WER2
D, KF - WER3 D, KF - WER3
D,KC - ZFPN Errror D, KC - ZFPN Errror
number number
D,KY - ZIEL
11111 D,KY - QUEL
1-1-1
$FB 242 - NSBY %0 $FB 242 - NSBY %O
$FB 243 - AN2 %1 $FB 243 - ANZ %1
$Fw244 - WERl %2 $Fw244 - WERl %2
$FW248 - WER2 %3 $l=W 248 - WER2 %3
$l=w 250 - WER3 %4 $f=W 250 - WER3 %4
$lw 252 - ZFPN %5 $FW 252 - ZFPN %5
$FW 254 - ZIEL %6 $l=W 254 - QUEL %6
%7 %7
%8 %8

%O .. ANZ higher than 1 not permitted


%1 . . Interface byte NSBY invalid
O/o2 . . Addressed data word missing / DB missing or DB-No. or RN-No. invalid
(DBs with the attribute FREE FOR USER, FW 136 to 254) 1)
O/o3 . . Data type DTY invalid

I0104 . . Parameter ANZ = 0 or > 80 (observe special cases) I


0105 . , Read/write not permitted
(FB 61) (FB 62)
O/o6 . . Number format ZFPN invalid
%7 .. WER3 for ZOA or ZOFA not equal 0 or 1
%8 .. NC data read/write not enabled (NC-MD 5015 Bit 1)

1) With SW 2 or higher, this range depends on PLC-MD 24 and 25 (number of PLC error messages and process
signals). The above shows the standard case (PLC-MD 24125 = O/O).

a Siemens AG 1991 All Rights Reserved 6ZB5 440-OMTOZ 6-l 9


SINUMERIK 605SM-P (IA)
6 PLC Signals 12.91
6.4.1 Function Block (FB) Description

0
l Parameter description FB 61 I FB 62

LESE Command for data transfer (FB 61) a


SCHR Command for data transfer (FB 62)
NSBY Interface byte of DB 36
ANZ Number of data to be transferred
DTYl Data type 2 ASCII characters
DTY2 Data type 2 ASCII characters
DTY3 Data type 2 ASCII characters
ZFPN Number format (BCD, fixed point, bit pattern)
ZIEL Data destination in the PLC High-Byte: DB-No 2 150
QUEL Data source in the PLC > Low-Byte: DW-No. (0 to 255)
FB-No. (136 to 223)

1) Depending on the input system (set via a machine datum) these number formats on/y define the position of
the decimal point in the dimension-free R-parameter value. A check for upper limits is not made.
l
6-20 0 Siemens AG 1991 All Rights Reserved 6285 440-OMT02
SINUMERIK 805SM-P (IA)
12.91 6 PLC Signals
6.4.1 Function Block (FB) Description

0 Number formats overview

BI Bit pattern
DL DR

DWn The value to be read in BI number format


FWn free 10111010 may only consist of 0 or 1

FO . . . F9, FA . . . FF Fixed point number with


32 bits

DL DR

For each value to be transferred 2 data or


Ez :, )I flag words are required.

BO ...B9. BG BCD number with sign and decimal polnt

For each value to be transferred 3 data or flag words are required.


Exception:
For transferring date and time with the number format BO 4 data or flag words are required.

DL DR
DWn/
FWn
DWn+l/
7
free

3
-FT-l 5 4
E
_._
Vz = O+ positive value
VZ = l+ negative value
+ decimal point
Fwll + 2 Example:
DWn + 2/ E 6 2 1
FWn + 4 Value = -67354,621

DL DR DL DR

DWn + 2
Hours Minutes
FWn+4 I
DWn + 3 l/100 sec.
Seconds
FWn + 6
Weekday + 01 = Monday Example:
..
Date = Tuesday, 27. 4. 90
07 = Sunday
time = 14:36:20:00

@Siemens AG 1991 All Rights Reserved 6ZB5 440.OMT02 6-21


SINUMERIK 805SM-P (IA)
6 PLCSignals 05.94
6.4.1 FunctionBlock(FB)Description

Table for the NC/COM ++ PLC Data Words/Flags Data Transfer

ZFPN ZFPN

!iii.kb
tDTYliDTY2tDTY3 YERl WER2 WER3 :FB 61)*) (FE 62)2
I

Machine data
values 1 ... 80 MD NLJ LJLJ 30 8F03’BO,F03
------------- ----- -----..---- ,----m--B-.
Machine data
bytes 1 ... 80 MD NB YU BI BI

;;3;~ data
1 .a.80 SE NLJ LJLJ 30, F03) BO, FO”
------------- ---mm -----..---- ----- ,---------.
ffi, BI,
Setting data bytes 1 ... 30 SE NB YLJ mm BI
FO-Fg3)
8G, 81, BG, 81,
Pressdata 1 ... 80 PD LJLJ LJLJ Boa9 Bo-89
FO-F9’) FO-F9’1

Date and time 1 I DA I TU HR BO BO

Adjustable zero Axis No. coarse/


offset G54-G57 LJLJ 1 .. . 4 fine
;f;; B%9
FO-F9
O/l
------------- ,-w-m ----- -B-B. ,---------. ---m-m
Adjustable
additive zero LJLJ
Group Axis No. coarse/
offset 654-657 1 *** 4 1 ..* 4 fine
011

Programmable
Group Axis No.
gg offset 658, 1 zo PR LJLJ IR 1 ...4
I I
------------- ----t----t ---- ,-s-s ------
Extynal zero BO-B9 BO-B9
1 1 ZO 1 ELJ LJLJ - FO-F9 FO-F9
-m-m. ,----- --mm. --m--m
PRESET offset 1 o&i No. _ $-FE B%9
1 ... 4
F4
------------- ,---- t ---- 11 -w-e. ,----m -s-B. w---v-
Sum offset utis No. _ By!& -

0ci.s
1 .. . 4

t-l-t
Actual axis pos. No.
referred to 1 AC PW LJLJ 1 ,., 4 - -
By$9 -
workpiece
--mm s--s ----- -w-m .---- ---- w--e. ,----w----. ------

--l-L
Actual axis pos.
tis No.
re’,“i;eto the 1 AC PM LJLJ 14 .. . - -
B~$I -

1) For data types with ANZ > 1, the first value is indicated in the parameter WERT, and the further valuesare
incremented accordingly.
A quantity > 1 is possible only under the following conditions:
- Data block is availabe in the NC in closed form.
- PLC source and destination address is available in sufficient length:
for BO-BSIBG three words per value
for FO-FF two words per value
for 81 one word per value
2) If no number format is specified, a data transfer from the respective FB is not possible.
3) Inputloutput is carried out in accordance m’th the machine-/setting datum.
4) For the following press data, only the number format 80 can be used for readingtwriting:
PD 1, 2, 3, 4, 6, 75, 29, 30, 31, 33, 35, 37, 39, 41, 43 and 112.

6-22 @ Siemens AG 1991 All Rights Reserved 6285 440-OMT02


SINUMERIK805SM-P(IA)
6 PLC Signals 06.93
6.4.1 Function Block (FB) Description

6.4.1.4 FB 65: F + STACK and FB 66: STACK + F

FB 65: F + STACK

Saving the flag range FB 224 to FB 255 in the


flag stack.

Note:
The flag stack can contain max. 288 byte, i.e.
the flag range FB 224 to FB 255 can be saved
9 times.

Error number %l in accumulator 2 indicates:


- % 1
Stack pointer overflow during flag read-in

FB 66: STACK + F

Restoring the flag stack into the flag range


FB 224 to 255.

Error number %l in accumulator 2 indicates:


-%l
Stack pointer underflow during flag read-out

8-24 @ Siemens AG 1991 All Rights Reserved 6285 440-OMT02


SINUMERIK 605SM-P (IA)
06.93 6 PLC Signals
6.4.1 Function Block (FB) Description

6.4.1.5 FB 190: lntetfaclng to Master PLC

Name: K-LEITPC

D, KH - ADPR
D, KY- DBDW

D, KY - RI/A
A, BY - MELD

Parameter description FB 190


ADPR Start address in the DUAL-PORT-HAM: is not evaluated1 (Only for compatibility
reasons to FB 190 on the SIMATIC side)
DBDW High-Byte: Data block number
Low-Byte: No. of the start word and also start address in the interfacing range
RI/A High-Byte: Direction of transfer
0 = Transfer in the direction of the interfacing range
1 = Transfer in the direction of the data block
Low-Byte: Number of words to be transferred (< 127)
MELD Error messages: 1 Interface malfunction
(PPLC does not got to STOP) 2 DB not existing
3 DB too small
4 DB in EPROM
5 0 <data word > 127
6 Wrong direction
255 No error (FF)

81 Siemens AG 1991 All Rights Reserved 6ZB5 440.OMTO2 6-25


SINUMERIK 805SM-P (IA)
6 PLC Signals OS.94
6.5 Overview of Data Blocks (DBs)

6.5 Overview of Data Blocks (DBs)

IIB no. i:signation DB Name Packet

0 Block address list


1 Diagnosis DB
2 reserved
.. ..
. .
35 reserved
36 Interface for data transfer (FB 61, FB 62)
37 Interface for interface control
38 reserved
.. ..
. .
79 reserved
80 Decoding list for M-functions with extended address
81 Interface for operator interface
82 Interface for external tool protection (from SW3 on)
83 Free for user
.. ..
. .
255 Free for user

Note:
The data blocks 0, 1, 36, 37, 81 and 82 are initialised by the system software. For this blocks,
the functions BLOCK transfer (FB 60) and CONTROL (via the programmer) cannot be used.

6-26 @ Siemens AG 1991 All Rights Reserved 6285 440-OMT02


SINUMERIK 605SM-P (IA)
06.93 6 PLC Signals
65.1 Data Block (DB) Description

6.5.1 Data Block (DB) Description


6.5.1.1 DB 1: Diagnosis DB

Word
no.
DWO Current cycle time in ms 1)
1DW 1 ICurrent interpreter run time OB 1 + OB 2 in US 1) I
DW2 Current interpreter run time OB 1 only in ps 1)
DW3 Current interpreter run time OB 2 only in ps 1)
DW4 No. of processed alarms (OB 2) 1)

DL 15 14 13 12 11 10 9 8
We
no.
DR 7 8 5 4 3 2 1 0
DL8 Run time
Master PLC 082 Ro”e” Ee
failure exceeded 082
exceeded
----_------_-----------_-------_--------.----_L-..-----------------------
DR8 Overtem- Decentral Node does
Sh&%ilf perature in transfer not
l/O modules EIJ disturbed respond

DL9 Trigger bit


for
diagnosis 2)
----------_--------------------- -------..----^--..------ ----_- - ------_--_
DR9

1) In DW 0 to DW 4 the times/data are entered as fixed point number (KF)


2) Trigger bit is effective only, if PLC-MD 2003.7 = 7.

@ Siemens AG 1991 All Rights Reserved 6285 440.OMT02 6-27


SINUMERIK 805SM-P (IA)
6 PLC Signals 12.91
6.51 Data Block (DB) Description

651.2 DB 36: Status Data Transfer (FB 61/FB 62)

DB 36 Status data transfer FB 61/FB 62 ,o..0. .. ..... ...,::i:


$,,,,:,,,,,,,,,
,,,,,: ~,.y,.;
,,,,,,,,,,,,,,,,,,,
,‘,‘,‘:‘,
,‘,. ,,,,,,
T,.,., ,,_,
,,(,_
::‘::.e:
“‘h::
.~,.1~.~‘:‘:‘,‘:‘.,‘,
,A,. ,.,, ::::‘:
:::‘::.::“““;.,
,,,,:,:,,, ,, ,, ,:,,:,,,,,,,
,,,,,,........,.,.,.,, ,‘;,:‘:‘*,;
::::‘:::-:,:‘:
::::::,::.::,:::::::::::.::.......5... ::,::::
v.,...,..... . .::‘::
. .::::::::
.‘..:vw,Y,.
. I...,.,. ,....
,.,...‘...‘...:.:~:::::~:.:.!::::.~.:.:.:.:...:.~.:~!~:.:.!.:.!,:.~.:.:~.:~:.:~:.:.:.~.:.:!’.:.
,,,,,,,,,.
,.,.,.. ,A.,
.....1...1.....(........~.......
.,,.
V’ “’ “’ “” ““““““” “““”
Iler- DL 15 1 14 1 13 1 121 ’ 10 f-9 I 8
(..,:,:,:,
V......,%.li..
,:,,~::‘:‘.““‘.“““““:“:“”
“‘~“‘.. .:,:.,.. .,..:
.., “““‘,‘,‘,““““”
:‘:‘...:.:.:::::,::!::~:::::::.:::::~:~:::::
:.:,:,: ~,:.:,:,:,:,:,:
,:.:,
,,,,,,,,:
.,.,, ,/,.,.,,.,.
.,.........
:.:.:.~.:.~,,,.~,,~:~,~:,:,;,:,:~
.....\.. ,,(, ;,‘,,,‘,‘:‘f::
::,:,;
,.;;:,
,,(,.,......::....,.,,.,,,..,,.,,,,.
.,.,,,,:,l,,;;,,,
O, DR 7 1 4 3 2 1 0
6 5
DL Error Data
Message Data Data Data
’ 0 Value 1 - Number access acCepti3llCe transfer transfer Fifo transfer
Value 3 format locked terminated busy active busy requested

DR Eior Message Data Data Data Data


2 0 Value l- Number access acceptance transfer transfer Fifo transfer
Value 3 format locked terminated busy active busy requested

Error
Message Data Data Data Data
3 DL Value l- access acceptance transfer transfer Fifo transfer
1 Value 3 f%ZzZ’ locked terminated active requested
busy busy
I
Error Message Data Data Data Data
4 DR Value 1- access acceptance transfer transfer Fifo transfer
1 busy requested
Value 3 %r~!’ locked terminated busy active

Error Data
Message Data Data Data
5 DL Value l- access acceptance transfer transfer Fifo transfer
2 requested
Value 3 %r%Z locked terminated busy active busy
1 I I
I I I
f I I I I
I I I I
I I I I 1 I
! I
I I : I I I I
I I I
I I I f t I I
I I 1 I

Error Data
Message Data Data Data
62 ;o” Value 1- access acceptance transfer transfer Fifo transfer
Value 3 %rZZ’ locked terminated busy active busy requested

Error Data Data


63 DL Message Data Data
31 Value 1 - access acceptance transfer transfer Fifo transfer
Value 3 %rZ% locked terminated busy active busy requested

Error Data Data Data


64 DR Message Data
31 Value l- Number access acceptance transfer transfer Fifo transfer
Value 3 format locked terminated busy active busy requested

DL Error Data
Message Data Data Data
65 32 Value l- Number access acceptance transfer transfer Fifo transfer
I Value 3 busy requested
I I format , locked , terminated , busy active

Notes:
l If the PLC stops due to a parameterizing error, the number of the interface byte is entered
in the high-byte of accumulator 2.
l If several jobs are entered in the data transfer buffer, a job with number 65 will be
processed before the other jobs.
l The data transfer is carried out by the function blocks FB 61 (READ) and FB 62 (WRITE).
l Each FB 61 and FB 62 call is assigned a status byte of DB 36 in the parameter list.

6-28 @ Siemens AG 1991 All Rights Reserved 6ZB5 440-OMT02


SINUMERIK 805SM-P (IA)
06.93 6 PLC Signals
6.5.1 Data Block (DB) Description

651.3 DB 37: Interface Control

_.-.
DR 7 6 5

DLO

DR0

DL 1 V.24 Data start Data start


abortion output input

DR 1 Data Data
transfer transfer
error terminated
I I 1
DW2 Data type for data output
!
I
DW3 Data type for data output

! ! ! !
i I I
DW4 Start number

! ! ! !
I
DW5 End number
!
DW6 Channel number
I I I
Description of the datawords DW 2 to DW 6

I I I
Channel
End number
Data type for data output Data type DW 2lDW 3 z$4number DW5 number
I DW6

7) Default RSOO - R9999, optional R500 - RI9999

Q Siemens AG 1991 All Rights Reserved 6285 440.OM102 6-29


SINUMERIK 605SM-P (IA)
6 PLC Signals 12.91
6.5.1 Data Block (DB) Description

6.5.1.4 DB 80: M-Decoding List

no. 15 14 13 1211109878543210~
I I I I 1 I I I I I I
DWO Extended M-address, O-9 (KF)
I I I I I I I I I I I
I I I I I I I I I I I I I I I

DWl M-address, O-99 {KF)


I I I I I I I I I I I
I I I I I I I I I I I I I I

DW2 I Byte Tddrey 92-97 (KY) , , , Bitladdrey, O-7 \KY) ,


I I I
*
I I
I
The data block must be set up in Module 3 steps
! I !
I (e.g. W o-DW 2, DW O-DW5 etc.)
I I
I I
I I I I I I I I I I I I I I I

DW 93 Extended M-address, O-9 (KF)


I I I I I I I I I I
I I I I I 1 I I I I I I I

DWS4 M-address, O-99 KF)


I I I I I I I I I I
I I I I I I I I I I I I I

DW 95 Byte address, 92-99 (KY) Bit address, O-7 \KY)


I I I I

Application example:
The M-function with extended address MO9 = 60 shall be decoded via the static signal flag
M93.0. DB 80 must be described as follows:
DWO KF + 9 extended M-address
DWl KF + 60 M-address
DW2 KY 93.0 static M-signal flag (Byte, Bit)

6-30 @ Siemens AG 1991 All Rights Reserved 6ZB5 440-OMT02


SINUMERIK 605SM-P (IA)
06.93 6 PLC Signals
6.5.1 Data Block (DB) Description

651.5 DB 81: Interface for Operator Interface

15, 14, 131 121 lll101 9 1 8 1 71 81 5 1 4 1 3 1 2 1 11 0


DWO I I I I I I I I I I I I I I I
DWl reserved
DW2 I I I
I I I I I I I I I I I I
DW3 Write menu no. (PLC -) NC)
I I I I I I I I I I I I I I I

DW4 Write window no. (PLC + NC)


I I I I I I I I I I I I I I I
I I I I I
DW5 resewed
DW8 I I I I I I I I I I I I I I I
DW7 Write key code (PLC --) NC)
I I I I I I I I I I I I I I I

resewed
.--- c --- +---i----c---+---~----
Control bii for 01 control via PLC

DW12I
..
I I I I I I I I I I I I I I I
res8rved
DMi 15 I I
I
I I I I I

reserved
I I I I I I I
DW 17
. I I I I I I reserved
I I I I I
DW’127
DW 128
.. I Free for user
DW’191
I

@ Siemens AG 1991 All Rights Resewed 6285 440.OMT02 6-31


SINUMERIK 805SM-P (IA)
6 PLC Signals 05.94
6.5.1 Data Block (DB) Description

DL 15 14 13 12 11 10 9 8

15,14,13~12,11~10,9~ 8, 71 61514,3121 11 0
I I I I 1 I I I I I I I I I I
DW 192 ID of the current softkey line
I I I I I I I I I I I I I I I
I I I I
DW 193 ID of the last actuated key
I I I I I I I I I I I I I I I
I I I I I I I I I I I I
DW 194 ID of the current local menu (NWPLC)
I I I I I I I I I I I I I I I
I I I I I I I I I I I
DW 195 ID of the current local windows (NWPLC)
I I I I I I I I I I I I 1 I I
I I I
DW 196 ID of the current dialog field (NC-PLC)
I I I I I I I I I I I I I I I

DW 197 I I I I I I
.. reserved
DW’223

DW 224
.. Free for user
DW’255 I I I I I I I I I I
I I I

Note:
In data word 0 to 16, the signals from the PLC to the operator interface are represented. In
data word 192 to 196 the signals from the operator interface to the PLC are represented.

6-32 @ Siemens AG 1991 All Rights Reserved 6285 440-OMT02


SINUMERIK 805SM-P (IA)
05.94 6 PLC Signals
6.5.1 Data Block (DB) Description

6.5.1.6 Interface for external tool protectlon (from SW3 on)

Bit no.

DWO Monitoring type (0 - 99)


----------------------me- w----
Signals for
DWI Counting function (0 - 99)
------------------------- tool -----
DW2 Monitoring input (0 - 16) monito-
-------------------------fin*, w---m
DW3 Cam (0 - 16)
--------------------- ---- -----
Bit 0:
DW4 alarm
Output

I The data words for monitorings 2 to 16 are assigned in the same way as for mOnitoringS 1. I

DW 75
Signals for tool monitoring 16
Dz79
Release of monitoring
DW 80 16 1 15 1 14 1 131 12 I11 1 101 9 1 8 1 7 1 6 1 5 1 4 1 3 1 2 1 1
Total release after initial strokes for monitoring
DW 81
16 1 15 1 14 1 131 12111 I 101 9 1 8 1 7 1 6 1 5 1 4 1 3 1 2 1 1
Start address of input area
DW 82
Bii 0:
DW63 valid
tool data
DW64
Reserved
D:99
Acknowledgment monitoring active
DW’OO 16 1 15 1 141 131 121 11 1 101 9 1 8 1 7 1 6 1 5 1 4 1 3 1 2 1 1
Status of mon*koring input of monitoring
DW 101
161 151 141 131 121 11 1 101 9 1 8 1 7 1 6 1 5 1 4 1 3 1 2 1 1
Status of cam of monitoring
Dw’02 16 1 15 1 14 1 131 12111 1 101 9 1 8 1 7 1 6 1 5 1 4 1 3 1 2 1 1
Status of monitoring
DW 103
16 1 15 1 141 131 121 11 1 101 9 1 8 1 7 1 6 1 5 1 4 1 3 1 2 1 1
DW 104
Reserved
DVio,27

@ Siemens AG 1991 All Rights Reserved 6285 440.OMT02 6-33


SINUMERIK 805SM*P (IA)

You might also like