The editions listed below have been published prior to the current edition.
The column headed “Note” lists the amended sections, with reference to the previous edition.
Marking of edition in the “Note” column:
A ... ...New documentation.
B ... ...Unchanged reprint with new order number.
C ... ...Revised edition of new issue.
EditionOrder No.Note
1999.02 6FC5597-2AA00-0BP1A
2002.01 6FC5597-2AA00-0BP2C
2003.08 6FC5597-4AA01-0BP0C
Trademarks
®
SIMATIC
, SIMATIC HMI®, SIMATIC NET®, SIMODRIVE®, SINUMERIK®, and SIMOTION® are registered
trademarks of SIEMENS AG.
Other names in this publication might be trademarks whose use by a third party for his own purposes may violate
the registered holder.
Copyright Siemens AG 2003. All right reserved
The reproduction, transmission or use of this document or its contents is not permitted without express written authority. Offenders will
be liable for damages. All rights, including rights created by patent
grant or registration of a utility model, are reserved.
Exclusion of liability
We have checked that the contents of this document correspond to
the hardware and software described. Nonetheless, differences
might exist and we cannot therefore guarantee that they are completely identical. The information contained in this document is reviewed regularly and any necessary changes will be included in the
next edition. We welcome suggestions for improvement.
Siemens-Aktiengesellschaft.SINUMERIK 802S/802C base line
Safety notices
This Manual contains notices intended to ensure your personal safety , as well
as to protect products and connected equipment against damage. Safety
notices are highlighted by a warning triangle and presented in the following
categories depending on the degree of risk involved:
!
Indicates an imminently hazardous situation which, if not avoided, will result in
!
Indicates a potentially hazardous situation which, if not avoided, could result in
!
Used with safety alert symbol indicates a potentially hazardous situation which,
Used without safety alert symbol indicates a potentially hazardous situation
Danger
death or serious injury or in substantial property damage.
Warning
death or serious injury or in substantial property damage.
Caution
if not avoided, may result in minor or moderate injury or in property damage.
Caution
which, if not avoided, may result in property damage.
Indicates important information relating to the product or highlights part of the
Qualified person
Proper use
The unit may be used only for the applications described in the catalog or the
!
This product must be transported, stored and installed as intended, and
Please observe the following:
Notice
documentation for special attention.
The unit may only be started up and operated by qualified person or persons.
Qualified personnel as referred to in the safety notices provided in this
document are those who are authorized to start up, earth and label units,
systems and circuits in accordance with relevant safety standards.
Warning
technical description, and only in combination with the equipment, components
and devices of other manufacturers as far as this is recommended or p ermitted
by Siemens.
maintained and operated with care to ensure that it functions correctly and
safely.
Contents
Contents
1.SINUMERIK 802S base line Control System
1.1Components of the SINUMERIK 802S base line
1.2Technical data 1-3
2.Installing the Control System
2.1Installing and Dismantling the SINUMERIK 802S base line
2.2Interfaces and cables 2-4
2.3Connecting the individual components 2-7
2.3.1Connecting the feed drives and the spindle (X7) 2-7
2.3.2 Connecting the measuring systems (X6) 2-10
2.3.3Configuration of the RS232 interface connection (X2) 2-11
2.3.4Connecting handwheels (X10) 2-13
2.3.5Connecting BERO and NC-READY (X20) 2-14
2.3.6Connecting the digital inputs (X100 ... X105) 2-16
2.3.7Connecting the digital outputs (X200 ,X201) 2-18
2.4Power Supply for CNC (X1) 2-20
2.5LEDs and Other Elements on CNC 2-21
3. Installing the STEPDRIVE
3.1 Installing and dismantling the STEPDRIVE C/C+ drive modules
3.2Cabling 3-3
3.3Starting up the drive modules 3-5
4.Start-Up
!4.1 General
4.1.1Access levels 4-2
4.1.2Structure of machine data (MD) and setting data (SD) 4-3
4.1.3Handling of machine data 4-4
4.1.4Data saving 4-4
4.2 Turning on and booting the control system 4-6
4.2.1 Boot messages 4-8
4.3 Starting up the PLC 4-9
4.3.1Commissioning of the PLC 4-9
4.3.2Start-up modes of the PLC 4-11
4.3.3 PLC alarms 4-12
4.3.4Machine control panel area layout 4-17
4.3.5PLC programming 4-18
4.3.6 Instruction set 4-21
4.3.7Program organization 4-27
4.3.8Data organization 4-28
4.3.9Interface to the control system 4-28
4.3.10Testing and monitoring the user program 4-28
6.2.7Machine control panel signals (MCP signals) 6-35
6.2.8PLC machine data 6-36
6.2.9User alarm 6-38
6.3PLC user program for turning (SAMPLE) 6-40
6.3.1Function 6-40
6.3.2Input/output configuration 6-43
6.3.3Definition of user keys 6-44
6.3.4PLC machine data 6-46
6.3.5SAMPLE program structure 6-50
6.3.6User alarm 6-52
6.3.7Start-Up of SAMPLE program 6-53
6.4Unipolar spindle 6-55
5-1
5-1
6-1
6-1
II
SINUMERIK 802S base line
Start-Up
SINUMERIK 802S base line
1
Control System
1.1 Components of the SINUMERIK 802S base line
What is SINUMERIK 802S base line?
The SINUMERIK 802S base line is a microprocessor-controlled numerical
control system for economic machine tools with stepper motor drives.
Hardware components
The SINUMERIK 802S base line is a compact CNC unit. It consists of the
following areas (see figure 1-1):
MDE
LCD
MCP Area
NDQ!Bsfb
OD!Lfzt
NC Keys
Step Drives
Tufq!Esjwft
External spindle drive
Fyufsobm!tqjoemf!esjwf
Tufq!npupst
Step motors
Fig. 1-1 Components of SINUMERIK 802S base line (turning variant)
SINUMERIK 802S base line
Start-Up
1-1
SINUMERIK 802S base line Control System
Software components
The SINUMERIK 802S base line comprises the following software components,
which can be ordered:
System software on the permanent flash memory of the CNC
z
Boot software
loads the remaining system software from the permanent memory
into the user memory (DRAM) and starts the system.
MMC software (Man Machine Communication),
implements all operating functions
NCK software (NC Kernel)
implements all NC functions. This software controls an NC channel
with a maximum of 3 movement axes and a spindle.
PLC software (Programmable Logic Control)
executes the integrated PLC user program cyclically.
Integrated PLC user program
intended to adjust the SINUMERIK 802S base line to the machine
functions (see also Description of Functions “Integrated User
Program for SINUMERIK 802S base line”).
Toolbox
z
WinPCIN transfer program for a PC/PG (programming device) to
transfer user data and programs
Text manager
Cycle kit for loading into the control system using WinPCIN
User program library
Technological m achine data files
Programming tool
Update diskettes
z
Update program with operator prompting system
802S base line system software, packed, for loading and programming
the SINUMERIK 802S base line via an update program.
User data
Data saving
User data are:
Machine data
z
Setting data
z
Tool data
z
R parameters
z
Zero offsets
z
Compensation data
z
Part programs
z
Standard cycles
z
Modified user data are saved for at least 50 h after power off or power failure.
After then, they might get lost.
Warning
!
To avoid data loss, the operator must carry out data saving (see Section 4.1.4).
1-2
SINUMERIK 802S base line
Start-Up
SINUMERIK 802S base line Control System
1.2 Technical data
Connected load
Weight
Table 1–2 Weight
Dimensions
Table 1–1 Connected load
ParameterMin.Typ.Max.Unit
Supply voltage20.42428.8V
Ripple3.6Vss
Current consumption from 24 V1.5A
Power dissipation of CNC35W
Start-up current4A
ComponentWeight [g]
CNC4500
Table 1–3 Component dimensions
ComponentDimensions LxWxD [mm]
CNC420 x 300 x 83
Environmental operating conditions
Table 1–4 Environmental operating conditions
Parameter
Temperature range
Permissible relative humidity5...95 % without condensation
Air pressure700...1,060 hPa
0...55 °C
The operating conditions comply with IEC 1131–2.
Installation in a housing (e.g. cubicle) is absolutely necessary for operation.
Transport and storage conditions
Table 1–5 Transport and storage conditions
Parameter
Temperature range
Permissible relative air humidity5...95 % without condensation
Air pressure700...1,060 hPa
Transport height–1,000...3,000 m
Free fall in transport package
Transport: –40...70 °C
Storage: -20 ... 55 °C
≤1,200 mm
Protective quality and degree of protection
Class of protection I to IEC 536.
No PE terminal required.
Foreign matter and water protection to IEC 529.
For CNC:IP 54 front IP 00 rear
SINUMERIK 802S base line
Start-Up
1-3
SINUMERIK 802S base line Control System
1-4
SINUMERIK 802S base line
Start-Up
Installing the Control System
2.1 Installing and Dismantling the SINUMERIK 802S base line
2
Do not install when the equipment is under power!
!
The modules contain electrostatically sensitive devices.
Approach
Prior to installation, the machine control panel can be provided with an
Dismantling the control system
The control system is dismantled as described above in the reverse order.
Warning
It must be ensured that persons without ESD protection never touch printed
circuit boards or components when handling operator and machine control
panels.
Due to the compactness, it is very convenient to install and dismantle the
control system.
1. Fix the system in the machine control station.
2. Screw the system in place with 8 M4 x 16 assembled screws. The
maximum allowed torque for the screws is 1.5 Nm.
Notice
emergency stop button. If it is not required, the opening must be covered with
the supplied self-adhesive cover.
Warning
!
SINUMERIK 802S base line
Start-Up
Do not dismantle when the equipment is under power!
2-1
Installing the Control System
Mounting dimensions
The dimensions shown below are important for installing the control system:
Fig. 2-1 Mounting dimensions for 802S base line
2-2
SINUMERIK 802S base line
Start-Up
Installing the Control System
1) Thread plugging M4 or ø5 hole (8x)
Fig. 2-2 Mounting dimensions for 802S base line
SINUMERIK 802S base line
Start-Up
2-3
Installing the Control System
2.2 Interfaces and cables
Position of the interfaces and elements
Fig. 2-3 Rear of CNC system
Interfaces
CNC
z
z
z
z
z
z
X1 power supply terminals (DC24V)
3-pin screw-type terminal block for connecting the 24 V load power
supply
X2 RS232 interface (V24)
9-pin sub-D plug connector
X6 spindle interface (ENCODER)
15-pin sub-D socket for connecting a spindle incremental position
encoder(RS422)
X7 drive interface (AXIS)
50-pin sub-D socket connector for connecting the power sections for a
maximum of four analog drives including spindle
X10 handwheel interface (MPG)
10-pin front connector for connecting the handwheels
X20 digital inputs (DI)
10-pin front connector for connecting BERO proximity switches
2-4
SINUMERIK 802S base line
Start-Up
Installing the Control System
DI/O
X100 to X105
z
10-pin front connector for connecting digital inputs
X200 and X201
z
10-pin front connector for connecting digital outputs
Operating elements
Fuse
Fuse F1, externally designed to allow users for convenient replacement.
S2 and D15
These elements are provided only for debugging internally.
Start-up switch S3
SINUMERIK 802S base line
Start-Up
2-5
Installing the Control System
Connecting cables
'&9
56
&1&
$;,663,1'/(
(1&2'(5
The components are wired up as shown in the Connection Diagram 2–4. For
the cables required, please refer to the diagram below.
Fig. 2-4 Connection Diagram for SINUMERIK 802S base line
6LJQDO
/RDG
30
9'&
30
9'&
2-6
SINUMERIK 802S base line
Start-Up
Installing the Control System
2.3 Connecting the individual components
Connecting the components
Notice
Use only shielded cable and make sure that the shield is connected to the
The preassembled cable offered as accessories provides optimum protection
General procedure:
Proceed as follows to connect the individual components:
Please note the following:
metal or metal plated connector casing on the control side. For the purpose of
isolating the analog setpoint signal from low-frequency interference, we
recommend not to ground the shield on the drive side.
against interference.
1. Connect the cables to the components as shown in Fig. 2–3.
2. Fix the sub-D connector in place using the knurled screws.
2.3.1 Connecting the feed drives and the spindle (X7)
Pin assignments For connector on the CNC side
Feed drive interface
Connector designation: X7
AXIS 1–4
Connector type:50-pin sub-D plug connector
Table 2-1 Pin assignment s of connector X7
PULSn; PULSn_N Stepper Clock
DIRn; DIRn_NStepper Revolution Direction
ENABLEn; ENABLEn_NStepper Enable
MGround (not to be conn ected wh en using dif f erential
signals)
Analog Spindle Interface
AonAnalog Command Value
AGNDn Analog Ground
SEn.1; SEn.2Servo Enable Relay
n = 1...4 Number of Axis
Signal Specification:+/-10V for Analog Outputs
RS422 for Stepper Signals
Axis assignment
1X axis
2Y axis
3Z axis
4Spindle
Table 2–2 Cable assignment (for type 6FX2 002-3AD02)
B1, B1_NTrack B, true and negated (handwheel 1)
A2, A2_NTrack A, true and negated (handwheel 2)
B2, B2_NTrack B, true and negated (handwheel 2)
P5_MS5.2 V supply voltage for handwheels
MSupply ground
Signal level
RS422
Signal type
VOVoltage output
IInput (5 V signal)
Handwheels
Two electronic handwheels can be connected which must meet the following
requirements:
Transmission method: 5 V square-wave (TTL level or RS422)
Signals:Track A as true and negated signal (U
Track B as true and negated signal (U
a1
a2
Max. output frequency: 500 kHz
Phase offset between
NCRDY_1…2NC-READY-Contact, max. current is 2A at 150VDC or
125VAC)
I0 ... I5Fast digital input 0 … 5
BERO1 ... BERO4BERO-Input for axis 1 ... 4
L- Reference potential for digital input
Signal type
KSwitching contact
4 BERO inputs
These inputs are 24V P-switching. Switches or non-contact sensors, e.g.
inductive proximity switches(BERO) can be connected.
They can be used as switches for reference points, for example:
BERO1 – X axis
BERO2 – Z axis
Table 2-12 Electrical parameters of the digital inputs
ParameterValueUnitNote
“1” signal, voltage range11…30V
“1” signal, current consumption6…15mA
“0” signal, voltage range-3…5VOr input open
Signal delay 0Æ115us
Signal delay 1Æ0150us
NC–READY output
Readiness in the form of a relay contact (NO); must be integrated into the
EMERGENCY STOP circuit.
2-14
SINUMERIK 802S base line
Start-Up
Installing the Control System
Table 2–13 Electrical p aramete rs of the NCREADY relay contact
ParameterMax.Unit
DC switching voltage50V
Switching current1A
Switching power30VA
Pin number of
Relay
X20
NC_RDY
1P5
Fig. 2-5
The NCREADY is an internal relay of NC. It will open when NC is not ready,
and close after NC is ready for operation.
1
2
SINUMERIK 802S base line
Start-Up
2-15
Installing the Control System
2.3.6 Connecting the digital inputs (X100 ... X105)
Table 2–15 Electrical p arameters of the digital inputs
ParameterV alueUnitNote
“1” signal, voltage range15...30V
“1” signal, current consumption2...15mA
“0” signal, voltage range–3...5Vor input open
Signal delay 0 Æ 10.5...3ms
Signal delay 1 Æ 00.5...3ms