Brief details of this edition and previous editions are listed below.
IThe status of each edition is shown by the code in the ”Remarks” column.
Status code in the “Remarks” column:
ANew documentation.. . . . .
BUnrevised reprint with new Order No.. . . . .
CRevised edition with new status. . . . . .
If actual changes have been made on the page since the last edition,
this is indicated by a new edition coding in the header on the page.
EditionOrder–No.Remark
04.00 6FC5597-3AA20-0BP2A
01.02 6FC5597-3AA20-0BP2C
This Manual is included on the documentation on CD–ROM (DOCONCD)
EditionOrder–No.Remark
11.02 6FC5298-6CA00-0AG3 C
Trademarks
SIMATICr, SIMATIC HMIr, SIMATIC NETr, SIROTECr, SINUMERIKr and SIMODRIVEr are registered
trademarks of Siemens. Third parties using for their own purposes any other names in this document which
refer to trademarks might infringe upon the rights of trademark owners.
This publication was produced with Interleaf V 7
The reproduction, transmission or use of this document or its
contents is not permitted without express written authority. Offenders
will be liable for demages. All rights, including rights created by patent
grant or registration of utility model or design, are reserved.
Siemens AG 2002. All rights reserved.
Printed in the Federal Republic of Germany
Other functions not described in this documentation might be
executable in the control. This does not, however, represent an
obligation to supply such functions with a new control or when
servicing.
We have checked that the contents of this document correspond to
the hardware and software described. Nonetheless, differences might
exist and therefore we cannot guarantee that they are completely
identical. The information contained in this document is, however,
reviewed regularly and any necessary changes will be included in the
next edition. We welcome suggestions for improvement.
This Manual contains notices intended to ensure your personal safety and to avoid material damage. The notices
are highlighted by a warning triangle and, depending on the degree of hazard, represented as shown below:
Danger
indicates that loss of life, severe personal injury or substantial material damage will result if the appropriate pre-
cautions are not taken.
Warning
indicates that loss of life, severe personal injury or substantial material damage may result if the appropriate pre-
cautions are not taken.
Caution
indicates that minor personal injury or material damage may result if the appropriate precautions are not taken.
Caution
without a warning triangle means that a material damage can occur if the appropriate precau-
tions are not taken.
Attention
means that an undesirede event or status can occur if the appropriate note is not observed.
Note
is used to draw your special attention to an important information on the product, the handling of the product or the
corresponding part of the documentation.
Qualified personnel
Start–up and operation of a device may only be carried out by qualified personnel. Qualified personnel as referred to in the safety notices provided in this Manual are persons who are authorized to start up, ground and tag
devices, systems and circuits according to the relevant safety standards.
Usage as per intended purpose
Please observe the following:
Warning
!
The device may only be used for the cases of application, as intended by the Catalog, and only in conjunction with
third–party devices and components recommended or approved by Siemens.
The proper and safe operation of the product requires transport, storage and installation according to the relevant
instructions and qualified operation and maintenance at the prescribed intervals.
7.9Default assignment of special data for the “Manual machine”7-133. . . . . . . . . . . . . . . . . . . . . . . .
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
vii
Table of Contents
notice
viii
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
SINUMERIK 802C Control System
1.1Components of the SINUMERIK 802C
What is SINUMERIK?
The SINUMERIK 802C is a microprocessor–controlled numerical control system for simple
machine tools with stepper motor drives .
Hardware components
It consists of the following hardware components:
SENC: Control component for a maximum of 3 analog axes and an analog interface for a
main spindle drive (ENC = Economical Numerical Control)
SOP020: NC operator panel with graphics display and keyboard
SMCP: machine control panel
SDI/O16: 16 binary inputs/outputs each extendable to max. 64 by using 4 modules
The SINUMERIK 802C comprises the following software components, which can be ordered:
SSystem software on the permanent flash memory of the ENC
ERR
POK
DIAG
DC24V X1
ENCODER1
X4
X3
S2
S3
D15
PE
M
L+
M
RS232
SPINDLE
ENCODER3
X2
X5
X6
X10
MPG
OPI
AXIS
DI
X8
X7
X20
ENCODER2
ENCDI/O
External analog
drive
X2003X2005
IN
0
1
2
3
4
5
6
7
M
8
9
10
11
12
13
14
15
M
X2004X2006
OUT
L+
0
1
2
3
4
5
6
7
M
L+
8
9
10
11
12
13
14
15
M
1-10
– 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 802C to the machine functions (see also Description of Functions “Integrated User Program for SINUMERIK 802C”).
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
User data
SINUMERIK 802C Control System
1.1Components of the SINUMERIK 802C
SToolbox
– 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 machine data files
– Programming tool
SUpdate diskettes
– Update program with operator prompting system
– 802C system software, packed, for loading and programming the
SINUMERIK 802C via an update program.
User data are:
Data saving
!
SMachine data
SSetting data
STool data
SR parameters
SZero offsets
SCompensation data
SPart programs
SStandard cycles
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).
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
1-11
SINUMERIK 802C Control System
1.2Technical data
1.2Technical data
Connected load
Table 1-1Connected load
Weight
Parameter
Supply voltage20.428.8V
Ripple3.6Vss
Current consumption from 24 V1A*
Power dissipation of ENC
Power dissipation of OP020
Power dissipation of MCP
Power dissipation of DI/O16
Start–up current2.6A
*Basic configuration of ENC,
OP020, MCP and DI/O16, all
outputs open,
current consumption for any
Table 1-2Weight
Component
ENC component 900 g
DI/O16 component 350 g
OP020 component1,800 g
MCP component1,200 g
Min.Typ. Max.Unit
15
7
7
further DI/O16 connected
will increase by 0.05 A each.
** at nominal load
Weight [g]
W
W
W
**
Dimensions
1-12
Table 1-3Component dimensions
Component
ENC component125 x 200 x 118
DI/O component125 x 80 x 118
OP020 component300 x 250 x 50
MCP component300 x 170 x 50
Dimensions HxWxD [mm]
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
Environmental operating conditions
Table 1-4Environmental operating conditions
Parameter
Temperature range0...55 °C
Permissible relative humidity5...95 % without condensation
Air pressure700...1,060 hPa
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-5Transport and storage conditions
Parameter
Temperature rangeT ransport: -40...70 °C
Permissible relative air humidity5...95 % without condensation
Air pressure700...1,060 hPa
Transport height-1,000...3,000 m
Free fall in transport packagev 1,200 mm
SINUMERIK 802C Control System
1.2Technical data
Storage: –20 ... 55 °C
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.
Sfor ENC and DI/O16: IP 20
Sfor OP020 and MCP: IP 54 front
IP 00 rear
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
1-13
SINUMERIK 802C Control System
1.2Technical data
1-14
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
Installing the Control System
2.1Installing and removing the SINUMERIK 802C
Warning
!
Approach
Before performing any installation work, always first make sure that the system is disconnected from the mains!
The modules contain electrostatically sensitive devices.
It must be ensured that persons without ESD protection never touch printed circuit boards or
components when handling operator and machine control panels.
Prior to installation, the machine control panel can be provided with a spindle override switch
and an emergency stop button. If these are not required, the openings must be covered with
the supplied self–adhesive covers.
2
1. Mount the spindle override switch.
2. Install the operator panel and the machine control panel.
3. Connect the panel using ribbon cable.
4. Install the DIN rail.
5. Connect the ENC and DI/O components.
Note
If you want to connect several DI/O16 components, it may be necessary to remove the right–
hand connector from the housing.
6. Slide the components onto the DIN rail, tilt it down and screw it tight.
Removing the control system
The control components are removed as described above in the reverse order.
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
2-15
Installing the Control System
2.1Installing and removing the SINUMERIK 802C
Warning
!
Before removing the control components, always first make sure that the system is disconnected from the mains!
2-16
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
Mounting dimensions
The dimensions shown below are important for installing the control components:
Installing the Control System
2.1Installing and removing the SINUMERIK 802C
142
1428
8234
Mounting Holes
ERR
DC24V X1
POK
DIAG
L+
M
L+
M
32,5
57,2
20
15
250
170
300
SubD
A
F
154
8
45
80
4,8
482
ENCODER2
ENCODER1
X4
X3
RS232
SPINDLE
ENCODER3
X2
X5
OPI
AXIS
X6
X8
X7
200
X2003X2005
X10
IN
MPG
0
1
2
3
4
5
6
7
M
8
9
10
11
12
13
14
15
M
DI
X2004X2006
X20
80
40
120
OUT
L+
0
1
2
3
4
5
6
7
M
L+
8
9
10
11
12
13
14
15
M
125
40
Fig. 2-1Mounting dimensions for SINUMERIK 802C
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
2-17
Installing the Control System
2.2Interfaces and cables
2.2Interfaces and cables
Position of the interfaces and front panel elements
ERR
POK
DIAG
DC24V X1
S2
S3
D15
PE
M
L+
M
RS232
Fig. 2-2User interfaces
MCP
Rear
X1202
X1201
X2
ECUDI/O16
ENCODER1
X3
ENCODER3
X5
ENCODER2
X4
SPINDLE
X6
AXIS
X7
X10
MPG
OPI
DI
X8
X20
X2003X2005
X2004X2006
OP020
Rear
IN
0
1
2
3
4
5
6
7
M
8
9
10
11
12
13
14
15
M
OUT
L+
0
1
2
3
4
5
6
7
M
L+
8
9
10
11
12
13
14
15
M
CFL
X1001 X1002 X1009
Fig. 2-3Rear of machine control panel and operator panel
LCD- signal
connector
2-18
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
Interfaces
Installing the Control System
2.2Interfaces and cables
ENC
SX1 power supply terminals (DC24V)
4–pin screw–type terminal block for connecting the 24 V load power supply
SX2 RS232 interface (V24)
9–pin sub–D plug connector
SX3 to X5 measuring system interfaces (ENCODER)
three 15–pin sub–D plug connectors for connecting incremental position encoders (RS422)
SX6 spindle interface (SPINDLE)
9–pin sub–D socket for connecting a spindle drive with analog interface
SX7 drive interface (AXIS)
50–pin sub–D socket connector for connecting the power sections for a maximum of four
analog drives including spindle
SX8 operator terminal interface (OPI)
25–pin D–Sub female connector for connecting the operator terminal
SX10 handwheel interface (MPG)
10–pin front connector for connecting the handwheels
SX20 digital inputs (DI)
10–pin front connector for connecting the NC READY relay
DI/O
SX2003 and X2004
10–pin front connector for connecting digital inputs
SX2005 and X2006
10–pin front connector for connecting digital outputs
LEDs
3 LEDs for fault and status displays
Operating elements
Start–up switch S
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
2-19
Installing the Control System
2.2Interfaces and cables
Connecting cables
The components are wired up as shown in the Connection Diagram 2-4. For the cables required, please refer to the diagram below.
DC24V
ECU
RS232
OPI
AXIS
SPINDLE
ENCODER
ENCODER
MPG
X1X2X8
X7X6X10
X3–X5
L+
M
Wire (1.0...2.5)
Machine
RS232
Op. Panel
Control
Panel
1)
X1201X1202
X1009
ANALOG DRIVE
X1001X1002
flat or round
cable
1)
ANALOG MOTOR
SPINDLE
DRIVE
SPINDLE MOTOR
ENCODER
Hand Wheels
DI
X20X2003
DI/O16
IN 0..7
IN 8..15
OUT0..7
OUT8..15
IN
M
X2004
L+
OUT
M
X2006
X2005
Wire (0.14...1.5)
Wire (0.14...1.5)
Fig. 2-4SINUMERIK 802C connection diagram
1) Ribbon cable (included in scope of supply)
NC READY
Sensor
1...16
Actor
1...16
P24M
Power Supply
P24M
2-20
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
2.3Connecting the individual components
2.3Connecting the individual components
Connecting the components
Note
Use only shielded cable and make sure that the shield is connected to the 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.
The preassembled cable offered as accessories provides optimum protection against interference.
General procedure:
Proceed as follows to connect the individual components:
1. Connect the cables to the components as shown in Fig. 2-4.
Installing the Control System
2. Fix the sub–D connector in place using the knurled screws.
OPD[0...3]LCD Data 0...3
OPCP1LCD Latch
OPSLCD Frame
OPCP2LCD Clock
OPRXDOP Receive Data
OPTXDOP Transmit Data
OPCTSOP Clear to Send
ENRXDECU Receive Data
ENTXDECU Transmit Data
ENRTSECU Request to Send
P24_OPDC24V
M_OPGround
Signal level
RS422 / LVDS
Signal type
VOVoltage output
VIVoltage input
OOutput
IInput
Installing the Control System
2.3.2Connecting the feed drives and the spindle (X7)
A, A_NTrack A (true and negated)
B, B_NTrack B (true and negated)
N, N_NZero mark (true and negated)
P5_MS+5.2 V supply
MSupply ground
15
8
9
1
2-26
Signal level
RS422
Signal type
VOVoltage output (supply)
I5V input (5V signal)
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
Connectable encoder types
Installing the Control System
2.3Connecting the individual components
Incremental 5 V encoders can be connected directly.
Characteristics
The encoders must meet the following requirements:
Transmission method:Differential transmission with 5 V square–wave
Track A as true and negated signal (U
Max. output frequency:1.5 MHz
Phase offset between
tracks A and B:90° "30°
Current consumption:max. 300 mA
Cable lengths
The maximum cable length depends on the specifications of the encoder power supply and on
the transmission frequency.
To provide fault–free operation, make sure that the following values are not exceeded when
using preassembled interconnecting cables from SIEMENS:
signalsOutput signals:
a1
Track B as true and negated signal (U
Zero signal N as true and negated signal
, Ua0)
(U
a0
a2
, Ua1)
, Ua2)
Table 2-8Maximum cable lengths depending on the encoder power supply
Supply Voltage
5 V DC4.75 V...5.25 V< 300 mA25 m
5 V DC4.75 V...5.25 V< 220 mA35 m
Table 2-9Maximum cable lengths depending on the transmission frequency
Encoder Type
incremental
ToleranceCurrent ConsumptionMax. Cable Length
FrequencyMax. Cable Length
1 MHz10 m
500 kHz35 m
2.3.4Configuration of the RS232 interface connection (X8)
A1, A1_NTrack A, true and negated (handwheel 1)
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)
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 (Ua1, Ua1)
Track B as true and negated signal (Ua2, Ua2)
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
2-29
Installing the Control System
2.3Connecting the individual components
Max. output frequency:500 kHz
Phase offset between
Table 2-18Electrical parameters of the digital outputs
Parameter
“1” signal, nominal voltage
Voltage drop
“1” signal, output current0.5ASimultaneity factor
“0” signal, leakage currentmax. 2mA
Connecting sensors and actuators
X2003
X2004
ValueUnitNote
24
max. 3
V
V
0.5 per 16 outputs
X2005
X2006
L+
4
M
L+
0
1
2
3
5
6
7
10
11
12
13
14
15
M
8
9
OUT
IN
0
1
2
3
4
5
6
7
M
8
9
10
11
12
13
14
15
M
2-34
Fig. 2-6Connecting the digital inputs and outputs
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
Installing the Control System
2.4ENC and operator panel power supply (X1)
2.4ENC and operator panel power supply (X1)
Screw–type terminal block
The 24 V DC load power supply unit required for supplying ENC and operator terminal is connected to screw–type terminal block X1.
Characteristics of the load power supply
The 24 V DC voltage must be generated as a functional extra–low voltage with safe electrical
isolation (to IEC 204-1, Section 6.4, PELV).
Table 2-19Electrical parameters of the load power supply
Parameter
Voltage range mean value20.428.8V
Ripple3.6Vss
Non–periodic overvoltage35V
Rated current consumption1A
Starting current2.6A
Pin connector assignment on the ENC side
Table 2-20Pin connector assignment of screw–type ter-
minal
block X1
Terminal
1PEPE
2MGround
3L+DC 24 V
4MGround
Min.Max.UnitsConditions
500 ms cont.
50 s recovery
The contacts 2/4 are connected internally in the device.
Operator panel
The operator panel does not possess a separate power supply connection. It is powered from
the ENC via the signal cables.
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
2-35
Installing the Control System
2.5Grounding
2.5Grounding
Ground connections
The following ground connections must be implemented:
SBusbar for ENC, DI/O
SOP020 operator panel
SMachine control panel (MCP)
The ground connections for the MCP/OP020 must take into account installation in the machine or a panel.
In the case of cubicle installation, the grounding points must be connected to the grounding
bar (see Fig. 2-7).
Grounding bar
MCP
ERR
POK
DIAG
DC24V X1
L+
M
L+
M
to chassis
OP020
Installation in a cubicle or machine
CFL
LCD signal-
connector
Shielded signal
cable
ENC
ENCODER2
ENCODER1
X4
X3
RS232
SPINDLE
AXIS
ENCODER3
X2
X5
X6
X7
DI/O16
X2003X2005
X10
MPG
OPI
DI
X8
X20
X2004X2006
OUT
IN
L+
0
0
1
1
2
2
3
3
4
4
5
5
6
6
7
7
M
M
L+
8
8
9
9
10
10
11
11
12
12
13
13
14
14
15
15
M
M
Fig. 2-7Grounding diagram for MCP/OP020 installation in a cubicle or machine
2-36
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
Installing the Control System
2.5Grounding
Panel installation requires that the ground connections on the MCP and OP020 are connected
together and to the panel frame. The panel frame is grounded centrally (see Fig. 2-8 ).
Grounding bar
MCP
ERR
POK
DIAG
DC24V X1
L+
M
L+
M
to chassis
RS232
X2
ECU
ENCODER1
X3
ENCODER3
X5
ENCODER2
X4
SPINDLE
X6
AXIS
X7
OP020
LCD signalconnector
Shielded signal
cable
DI/O16
X10
MPG
OPI
DI
X8
X20
CFL
X2003X2005
IN
0
1
2
3
4
5
6
7
M
8
9
10
11
12
13
14
15
M
X2004X2006
Installation in a
separate unit
OUT
L+
0
1
2
3
4
5
6
7
M
L+
8
9
10
11
12
13
14
15
M
Fig. 2-8Grounding diagram for MCP/OP020 installation in a panel
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
2-37
Installing the Control System
2.6LEDs and operating elements on the ENC
2.6LEDs and operating elements on the ENC
Error and status LEDs
There are three LEDs on the front panel of the ENC.
ERR (red)
POK (green)
ENCDI/O16
ENCODER2
ENCODER1
X4
RS232
X2
X3
ENCODER3
X5
SPINDLE
X6
AXIS
X7
ERR
POK
DIAG
DC24V X1
S2
S3
D15
PE
M
L+
M
Fig. 2-9User interfaces
Group error
This LED indicates an error condition of the ENC.
X10
MPG
OPI
DI
X8
X20
X2003X2005
IN
0
1
2
3
4
5
6
7
M
8
9
10
11
12
13
14
15
M
X2004X2006
OUT
L+
0
1
2
3
4
5
6
7
M
L+
8
9
10
11
12
13
14
15
M
Power OK
The power supply is ready.
DIAG (yellow)
Diagnostics
This LED indicates various diagnosis states. Under normal operating conditions, this LED
flashes 1:1.
Start–up switch (S3)
This rotary switch is intended to assist start–up.
Position 0:Normal operation
Positions 1-4:Start–up
cf. also Section 4.2, Table 4-2
2-38
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
Installing the Drives
Lesehinweis
Manufacturer documentation of the drives
3
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
3-39
Installing the Drives
3-40
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
Start-Up
4.1General
Start-up requirements
SThe following is required:
– User’s Guide: “Operation and Programming, SINUMERIK 802C”
– PC/PG (programming device) only for data saving and series start-up
– Toolbox on CD. The CD is either supplied with the control system or can be ordered
separately.
Contents: see also p. 1–11
SThe mechanical and electrical installation of the equipment must be completed.
Note
Installation notes are to be found in Chapter LEERER MERKER.
4
SThe control system with its components has powered up without errors.
Start-up sequence
The SINUMERIK 802C can be strated up as follows:
1. Check whether the ENC has powered up.
2. PLC start–up
3. Technology setting
4. Set general machine data.
5. Set axis/machine-specific machine data.
– Match encoder with spindle
– Match setpoint with spindle
6. Dry run for axes and spindle(s)
7. Drive optimization
8. Complete start–up, data saving
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
4-41
Start-Up
4.1General
4.1.1Access levels
Protection levels
The SINUMERIK 802C provides a protection level concept for enabling data areas. The protection levels range from 0 to 7 whereby 0 is the highest and 7 the lowest level.
The control system comes with default passwords for protection levels 2 and 3. If necessary
these passwords can be changed by the appropriate authorized person.
5User IS from PLC NCK
6User IS from PLC NCK
7User IS from PLC NCK
Protection levels 2 ... 3
The protection levels 2 and 3 require a password. The passwords can be changed after activation. For example, if the passwords are no longer known, the control system must be reinitialized (booting in Start-Up Switch position 1). This will reset all passwords to the default settings for this software version.
If the password is deleted, protection level 4 is applicable.
The password remains set until it is reset using the Delete password softkey; POWER ON
will not reset the password.
Disabled viaData Area
Authorized operator, setter
user IS from PLC NCK
Protection levels 4 ... 7
Protection level 4 is automatically set when no password is entered. If required, the protection
levels 4 ... 7 can be set from the user program via the user interface.
See Section 6.1.1 “Display Machine Data”.
Note
How to set the access levels is described in the User’s Guide “Operation and Programming”.
4-42
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
4.1.2Structure of machine data (MD) and setting data (SD)
Number and name
Machine data (MD) and setting data (SD) are differed either by numbers or names. Both the
number and the name are displayed on the screen.
Parameters:
SActivation
SProtection level
SUnit
SStandard value
SRange of values
Activation
The activation levels are listed according to their priority. Any data changes come into effect
after:
Start-Up
4.1General
SPOWER ON (po) switching on/off the SINUMERIK 802S
SNEW_CONF (cf)
SRESET (re) RESET key on the machine control panel (MCP) or M2/m30 at the end of the
SIMMEDIATELY (im) after entering a value
Protection level
To display machine data, protection level 4 (or higher) must be activated.
Start-up or machine data input generally requires protection level 2 or higher (password ”EVE-
NING”).
Unit
Depending on the MD SCALING_SYSTEM_IS_METRIC, the physical units of the MD are set
as follows:
– Activate MD softkey on the operator panel
– RESET key on machine control panel (MCP)
– Modifications at the block limits are possible while the program is running.
program
MD10240 = 1MD10240 = 0
mmin
mm/minin/min
2
m/s
3
m/s
mm/revin/rev
in/s
in/s
2
3
If no physical units are applicable to the MD, the field contains a ”-”.
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
4-43
Start-Up
4.1General
Note
The default setting of the machine data is MD10240 SCALING_SYSTEM IS METRIC = 1 (metric).
With the INCH scaling system MD10240=0, MD203=4 (display unit after the decimal).
Default data
This is the default value for the machine or setting data.
Range of values (minimum and maximum values)
... specifies the input limits. If no range of values is specified, then the input limits are defined
by the data type, and the field is marked with ”∗∗∗”.
4.1.3Handling machine data
Handling methods
SDisplay
SInput via keys and V24 interface
SMaking backup copies and reading in/reading out data via the V24 interface
These back–up copies contain
– machine data
– line check sums and
– machine data numbers.
Aborting when loading MD
If incorrect machine data files are read into the control system, an alarm is output.
At the end of reading, an alarm with the number of errors is displayed.
4.1.4Data saving
Saving data internally
The data in the memory backed up for a limited period can be saved internally in the permanent memory of the control system.
An internal data backup should be carried out if the control system has been switched off for
more than 50 hours (at least 10 min/day with controller ON).
It is recommended to carry out internal data saving whenever important data changes have
been made.
4-44
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
Start-Up
4.1General
Note
During the internal data backup, a memory copy of the memory backed up for a limited time is made and stored in
the permanent memory. Selective data backup (e.g. only the machine data and not the part programs) is not pos-
sible.
Saving data internally:
Use the ETC key to extend the menu in the Diagnosis/Start-up menu and press theSave data softkey.
Loading data from an internal data backup:
Boot the control system using the start-up switch, position 3
If the data in the backed-up memory area are lost, on POWER ON the data saved in
the permanent memory area are automatically reloaded into the memory.
Note
The note ”4062 Data backup copy has been loaded“ appears.
Saving data externally
In addition to the internal data backup, the user data of the control system can and must also
be saved internally.
External data saving requires a PC/PG (programming device) with V24 interface and the
WinPCIN tool (included in the tool box).
External data saving should be performed whenever substantial changes in the data have
been made, as well as always at the end of start-up.
External data backup variants:
1. The data record is read out completely, creating the series start–up file. This is intended
for series start–up or to restore the control system status after replacing hardware components or after data loss.
2. Files are read in or read out by areas. The following user data can be selected as individual files:
Data
– Machine data
– Setting data
– Tool data
– R parameters
– Zero offset
– Compensation data (LEC)
Part programs
Standard cycles
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
4-45
Start-Up
4.2Turning on and booting the control system
Saving data externally:
Use the Services/Data outp. menu to transfer the following user data as individual files to an
external PC via the V24 interface.
Loading data from an external data backup into the control system:
Press the Start data inp. softkey in the Services menu.
4.2Turning on and booting the control system
Approach
SInspect the system visually for:
– proper mechanical installation with tight electrical connections
– supply voltages
– connections for shielding and grounding.
STurn on the control system.
Note
Providing memory and start-up switch S1 are set correctly (see Fig.2-9), the control system boots.
Start-up switch S1 (hardware)
The ENC is provided with a start-up switch to assist start-up of the control system. This switch
can be actuated using a screw driver.
Table 4-2Start-up switch settings
Position
0Normal power–up
1Power–up with default machine data (user data determined by the software version)
2System software update
3Power–up with saved data
4PLC stop
5Reserve
6Assigned
7Assigned
Meaning
4-46
The switch position comes into effect with next power–up and is displayed on the screen
when the control system powers up.
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
Start-up switch(software)
In addition to the hardware start-up switch, the following functions can also be carried out in
the Diagnosis/Start-up/Start-up switch menu:
SNormal power–up (Start-up switch position 0)
SPower–up with default machine data (Start-up switch position 1)
SPower–up with saved data (Start-up switch position 3)
These power–up functions have a higher priority than the hardware start–up switch.
Booting the control system
When the control system is turned on for the first time, an initial state of the control system is
established automatically. All memory areas are initialized and are loaded with previously
stored default data.
The PLC area of retentive bit memories is explicitly erased.
The control system changes to the JOG/Ref.point approach mode and the yellow LED DIAG
flashes (see Fig. 2-9).
Start-Up
4.2Turning on and booting the control system
This initial state is the precondition for error-free start-up of the control system.
When the control system is already turned on, start-up is also possible in the Diagnosis menu
(see User Manual).
Normal booting (Start–up switch position 0)
User data exist, no boot
error
Data in user memory
faulty
Booting with default machine data(Start-up switch position 1)
The user memory area not loaded with default data is erased,
and the default machine data are loaded from the permanent memory into the user memory.
Control system changes to
JOG/Ref.point approach mode,
yellow LED DIAG (see Fig. 4-1) flashes.
Backed-up user data are loaded from the permanent memory into
the user memory (as in start-up switch position 3). If no valid user
data are in the permanent memory, the default data are loaded (as in
start-up switch position 1).
Any deviations from normal booting are displayed on the screen.
Result
Result
Booting with saved data (Start-up switch position 3)
The user data backed-up on the permanent memory are loaded into the user memory.
Contrast control
See User’s Guide “Operation and Programming”
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
Result
4-47
Start-Up
4.2Turning on and booting the control system
4.2.1Boot messages
Displays on the screen
When the control system is booting, test patterns or boot information are displayed on the
screen as progress displays.
After the control system has booted without errors, it changes to the JOG/Ref.point appro-
ach mode, and the yellow DIAG LED (see Fig. 4-1) flashes.
Boot errors
Boot errors are displayed either on the screen or via the LED (see Fig. 4-1 in the following).
The ERR flashes, and the DIAG LED does not flash.
ERR
POK
DIAG
Fig. 4-1LED
Table 4-3Boot errors
Error Message
ERROR
EXCEPTION
ERROR
DRAM
ERROR
BOOT
ERROR
NO BOOT2
ERROR
NO SYSTEM
ERROR
LOAD NC
NO SYSTEM-LOADER
ERROR
LOAD NC
CHECKSUM-ERROR
ERROR
LOAD NC
DECOMPRESS-ERROR
ERROR
LOAD NC
INTERNAL-ERROR 1
Remedial Action
1. Check the connections of the plugged or connected modules
(PLC D/IO modules).
2. Switch off the control system and back on again (POWER ON).
3. Carry out a software update.
4. Replace the hardware components.
5. Inform the hotline if necessary.
4-48
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
4.3Starting up the PLC
General
The PLC is a store–programmable logic controller for simple machines. It has no hardware of
its own and is used as a software PLC in the SINUMERIK 802C control system.
The task of the PLC is to control machine–related functional sequences.
The PLC executes the user program cyclically. A PLC cycle is always executed in the same
sequence of order.
SUpdate process image (inputs, outputs, user interface, timers)
SProcess communication requests (Operator Panel, PLC 802 Programming Tool)
SExecute user program
SEvaluate alarms
SOutput process image (outputs, user interface)
The PLC executes the user program cyclically, starting from the first up to the final operation.
Access from user program is only carried out via the process image and not directly to the
hardware inputs or outputs. The hardware inputs and outputs are updated by the PLC at the
beginning and at the end of program execution. The signals are thus stable over a PLC cycle.
Start-Up
4.3Starting up the PLC
The user program can be created by means of the PLC 802 Programming Tool using the programming language S7–200 in conjunction with ladder diagrams (LAD). A ladder diagram is a
graphical programming language to represent electrical circuit diagrams.
This Documentation describes the program structure and the instruction set of the PLC in detail.
4.3.1Commissioning of the PLC
The SINUMERIK 802C comes to the user with a simulation program included.
The SAMPLE user program is stored in the permanent memory. This sample program and the
documentation are included in the SINUMERIK 802SC Toolbox component “PLC802SC Li-
brary”.
The simulation program is intended for the first function test of the control system after assembling the control.
Internal simulation program
The simulation program is integral part of the 802C system software. The simulation program
allows operation of the control system without digital input and output modules. The user program processes all firmly defined keys and the default setting of the axis keyboard (default).
Axes and spindle are switched to simulation mode. No real axis movement is carried out. The
Axis/Spindle Disable user signal is set for each axis. For this reason, the movements of the
axes and of the spindle are simulated virtually. The user can use this program to test the interrelation of the components Operator Panel / Machine Control Panel / ENC.
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
4-49
Start-Up
4.3Starting up the PLC
Approach
SSet MD20700 to zero.
SUse the Diagnosis/StartUp switch/PLC softkey to select Simulation.
You can check the current setting via Diagnosis/Service display/Version/PLC application.
SSelect the desired key and check your setting by pressing the key.
Supported keys
SMode selection
SAxis keys
SNC keys
Note
S The Increment key is only active in the JOG mode. The toggle function can be used to set in-
crements in the range between 1 and 1,000. Check the response by pressing the axis direction
keys.
S Reference Point is not supported.
Standard user program
The control system comes with the SAMPLE user program for simple turning machines, which
is stored in the permanent memory.
4-50
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
4.3.2Start–up modes of the PLC
The PLC can activate its start–up modes from two places.
Table 4-4Start–up modes
Start–Up SwitchOperator Panel
Start Up Menu
NCK start–up *
PLC Program
Selection
Program
Status
Start-Up
4.3Starting up the PLC
Retentive Data
(Backed–
Up)
MD for the
PLC in the
User Interface
Normal power–up
Position 0
Power–up with
default values
Position 1
Power–up with
saved data
Position 3
PLC Stop
after POWER ON
Position 4
Normal power–upUser programRunUnchangedAccept active
PLC MD
Power–up with default
values
Power–up with saved
data
PLC start up **
RestartUser programRunUnchangedAccept active
Restart
and debug mode
Restart with simulationSimulation pro-
User programRunDeletedStandard PLC
MD
User programRunSaved dataSaved
PLC MD
UnchangedStopUnchangedAccept active
PLC MD
PLC MD
User programStopUnchangedAccept active
PLC MD
RunUnchangedAccept active
gram
PLC MD
Overall resetUser programRunDeletedAccept active
PLC MD
Overall reset and debug mode
* Diagnosis/Start up / Start up switch / NCK softkey** Diagnosis/Start up / Start up switch / PLC softkey
User programStopDeletedAccept active
PLC MD
The start–up switch PLC Stop can be activated either during operation or power–up.
The debug mode (see “Operation and Programming”, Chapter 7) causes the PLC to remain in
PLC Stop after the control system has powered up. All power–up modes that have been set
either via softkeys or via hardware start–up switches will only come into effect after the next
power–up of the control system. The hardware start–up switch “PLC STOP” (position 4) is
active immediately. The priority of the power–up modes activated via the softkeys on the operator panel is higher than that of the hardware start–up switches.
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
4-51
Start-Up
4.3Starting up the PLC
Example:
SHardware start–up switch position 3
SRestart from operator panel
=> Restart is active from next power–up of the control system
The Run mode activates the cyclic mode.
In the Stop mode, the following actions are initiated:
SAll hardware outputs are disabled.
SThe NC Ready relay is inactive.
SNo cyclic operation (active user program is not executed)
SProcess image is no longer updated (”frozen”)
SEmergency Stop active
The user can also use the PLC 802 Programming Tool to start the Stop or Run modes.
A corrected or new project can only be loaded into the control system in the Stop mode. The
user program comes only into effect with next power–up or when the Run mode is active.
4.3.3PLC alarms
The control system displays a maximum of 8 PLC alarms (system alarms or user alarms).
The PLC manages the alarm information per PLC cycle. It stores or deletes the alarms in the
alarm list according to their occurrence. The first alarm in the list is generally the alarm last
occurred.
If more than 8 alarms occur, the first seven alarms occured are displayed, and the last one
with the highest cancel priority is displayed.
Alarm response and cancel criterion
Furthermore, the PLC manages the alarm responses. The alarm responses are always active,
irrespective of the number of active alarms. Depending on the type of the alarm response, the
PLC triggers an appropriate response.
Each alarm requires a cancel criterion to be defined. The PLC uses the SELF– CLEARING
criterion as default criterion.
Cancel criteria are:
SPOWERONCLEAR: The alarm is canceled by switching off/switching on the control sy-
stem.
SCANCELCLEAR: The alarm is canceled by pressing the Cancel key or the Reset key
(analogously to NCK alarms).
4-52
SSELF–CLEARING: The alarm is cleared because the cause resulting in the alarm has
been eliminated or does not exist any longer.
Desired alarm responses are defined for each alarm in the PLC. By default, the PLC uses the
SHOWALARM response (bit0 – bit5 = 0).
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
Possible alarm responses are:
SPLC Stop : The user program is no longer executed, the NC Ready relay drops out, and
the hardware outputs are disabled ( OUTDS ).
SEMERGENCY STOP: The PLC provides the EMERGENCY STOP signal to the NCK in
the user interface after the user program has been executed.
SFeed disable: The PLC provides the Feed Disable signal to the NCK in the user interface
after the user program has been executed.
SRead–in disable: The NCK provides the Read–in Disable signal to the NCK in the user
interface after the user program has been executed.
SNC Start inhibited: The PLC provides the NC Start Inhibited signal to the NCK after the
user program has been executed.
SSHOWALARM : This alarm has no alarm response (bit0 – bit5 =0).
Priority of cancel conditions
The cancel conditions have the following priority:
SPOWER ON CLEAR – system alarms (highest priority)
Start-Up
4.3Starting up the PLC
SCANCEL CLEAR – system alarms
SSELF–CLEARING – system alarms
SPOWER–ON CLEAR – user alarms
SCANCEL CLEAR – user alarms
SSELF–CLEARING – user alarm (lowest priority)
System alarms
see Diagnostics Guide
User alarms
The user interface “1600xxxx” provides the user with two sub–ranges for setting a user alarm.
SSub–range 0: 4 x 8 bits to set user alarms (0 –> 1 edge)
SSub–range 1: User alarm variables
The respective bit (sub–range 0) with a 0/1 edge change will activate a new user alarm.
Sub–range 1 is intended for additional user information.
Sub–range 2 can be used to analyze the active alarm responses.
Sub–range 1 can only be read or written as a double word. Sub–range 2 can only be read.
You can delete self–clearing alarms by resetting the respective bit in the variable range
‘’1600xxxx’’ in sub–range 0 (1 –> 0 edge).
The remaining user alarms are cleared by the PLC after detecting the respective cancel condi-
tion. If the alarm is still present, the alarm occurs again.
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
4-53
Start-Up
4.3Starting up the PLC
User alarm activation
User
interface
Alarm handler
Feed disable active
User program
Example:
Feed disable=0
User alarm with feed
disable
Alarm handler
Module:
Analyze user alarm
PLC cycle
Fig. 4-2User alarm with Feed Disable alarm response
Int.
inter–
face
Feed disable in the NCK is
active for all axes as long as the
PLC user alarm is active.
Configuring user alarms
Each alarm is assigned a configuration byte. The user alarms can be configured by the user in
machine data 14516_MN_USER_DATA_PLC_ALARM.
Default setting MD 14516: 0 => SHOW ALARM/SELF–CLEARING user alarm
Configuration byte structure:
The user has two possibilities to define his own alarms.
Susing the Edit PLC txt softkey (cf. “Operation, Programming”, Chapter 7)
Susing the Toolbox 802SC Text Manager
The procedure is described in the Toolbox readme file.
Alarm texts are structured as follows:
Alarm number Flag 1 Flag2 Text
Note
The text must be put in inverted commas (‘’‘’)! Adhere to the given text structure.
Table 4-5 Example
Alarm Number
70000000“User alarm 1”
Flag 1Flag 2Text
700000 0 0 ‘’’’ // 1st user alarm, text is assigned by the user
700001 0 0 ‘’’’ // 2nd user alarm, text is assigned by the user
700002 0 0 ‘’’’ // 3rd user alarm, text is assigned by the user
700003 0 0 ‘’’’ // 4th user alarm, text is assigned by the user
700004 0 0 ‘’’’ // 5th user alarm, text is assigned by the user
700005 0 0 ‘’’’ // 6th user alarm, text is assigned by the user
...
If no user alarm text is assigned by the user, the operator panel will display only the alarm
number.
The % character in the alarm text is the code for the additional variable. The variable type is
the representation type of the variable.
700031 0 0 ‘’ ’’ // 32nd user alarm, the text is assigned by the user
Number
The alarm text must be here.
Comment line (does not appear in the dialog window of the Operator Panel)
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
4-55
Start-Up
4.3Starting up the PLC
The following variable types are possible:
S%D ... Integer decimal number
S% I ... Integer decimal number
S%U ... Unsigned decimal number
S%O ... Integer octal number
S%X ... Integer hexadecimal number
S%B ... Binary representation of 32–bit value
S% F... 4 byte floating point number
User alarm text examples
S700000 ‘’‘’ // Only user alarm number
S700001 ‘’ Hardware limit switch X + axis
S700002 ‘’ %D ‘’ // Only variable as an integer decimal number
S700003 ‘’ Alarm number with fixed alarm text and variable %X ‘’
S700004 ‘’ %U Alarm number with variable and fixed alarm text ‘’
S700005 ‘’Rotation monitoring of axis active : %U’’
Operator panel display : 700005 Rotation monitoring of axis active : 1
or 700005 Rotation monitoring of axis active : 3
4.3.4Machine control panel (MCP) layout
The machine control panel in the standard version has been configured for simple turning machines (2 axes and one spindle).
The user can use the keys 1 – 6 and the associated LEDs (the same applies to keys 1 ... 6)
for his own purposes.
The keys 16–24 should be used as axis keys (see sample program SAMPLE). The programmer can assign the axis keys depending on his particular machine type.
4-56
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
Start-Up
4.3Starting up the PLC
Layout when delivered (from product release 2)
%
Key number for configurable key assignment
#1
#4#5#6
#7#8
#10 #11 #12
#13 #14 #15
#16 #17 #18
#19 #20 #21
#22 #23
#25 #26 #27
#3
#2
#9
%
#24
%
Included separately:
Available as accessories: Spindle override switch
and Emergency Stop button
Fig. 4-3Layout of the machine control panel
horizonal turning machinevertical milling machine
Fig. 4-4Examples for the assignment of the axis keyboard
4.3.5PLC programming
The PLC user program is created using the PLC 802 Programming Tool.
The Documentation “S7–200 Automation System, System Manual“ describes how this tool is
operated for S7–200. The PLC 802 Programming Tool is to be understood as a subset of this
Documentation.
#1 ... 27 –> keys 1 ... 27 (see user interface)
+Y
–Y
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
4-57
Start-Up
4.3Starting up the PLC
Compared with the S7–200 MicroWin basic system, please note the following:
SThe PLC 802 Programming Tool is delievered in the English language version.
SThe user program can only be programmed using ladder diagram.
SOnly a subset of the S7–200 programming language is supported.
SThe compilation of the user program is carried out either offline on a programming device
(PG)PC or semi–automatically when downloading into the control system.
SThe project can be loaded into the control system (download).
SIt is also possible to load the project from the control system (upload).
SDirect data addressing is not possible; therefore, no programming errors will rsult during
the operation.
SThe data/process information must be managed by the user in accordance with the parti-
cular type.
Example:
Information 1T valueDWord memory size(32–bit)
Information 2OverrideByte memory size(8–bit)
User data
Byte 0DWord(Information 1)
Byte 4Byte(Information 2)
The user is not allowed to access both of these data at the same time; otherwise, the relevant data access rules must be observed.
SFurthermore, the data direction in the memory model (alignment) and the data type must
be observed for all data.
Example:
Flag bitMB0.1,MB3.5
Flag byte MB0,MB1,MB2
Flag wordMW0,MW2,MW4
MW3, MW5 ... are not permissible
Flag double–wordMD0,MD4,MD8
MD1,MD2,MD3, MD5 ... are not permissible
Table 4-6PLC data types permitted in the control system
Range for Logic OperationsRange for Arithmetical Opera-
tions
+2 147 483 647
–37
... $10
38
PLC project
4-58
In any case, the PLC 802 Programming tool manages one project (logic operations, symbols
and comments). The download function is intended to store all important information of a project in a control system.
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
The control system is able store max. 4,000 instructions and 1,000 symbols. The required PLC
memory is influenced by the following components:
SNumber of instructions
SNumber and length of the symbol names
SNumber and length of the comments
S7–200 ladder diagram
A ladder diagram is a graphical programming language similar to electric circuit diagrams.
When creating a program using the ladder diagram form, then you will work with graphical
components to create the networks of your logics. To create your program, you can use the
following elements:
SContacts constitute a switch through which the current can flow. Current, however, will only
flow through a normally open contact if the contact is closed (logical
value 1). Current will flow through a normally closed contact or a negated contact (NOT) if
the contact is open (logical value 0).
SCoils constitute a relay or an output which is updated by the signal flow.
Start-Up
4.3Starting up the PLC
SBoxes constitute a function (e.g. a timer, counter or arithmetic operation) which is carried
out at the moment when the signal flow reaches the box.
A network consists of the elements mentioned above, forming a closed circuit. The current
flows from the left conductor bar (in the ladder diagram symbolized by a vertical line at the left
window) through the closed contacts, enabling coils or boxes.
Overview of commands
Table 4-7Operand identifers
Operand ID
VDataV0.0 to V79999999.7 (see Table
TTimersT0 to T15
CCountersC0 to C31
IMap of digital inputsI0.0 to I7.7
QMap of digital outputsQ0.0 to Q7.7
MFlagsM0.0 to M127.7
SMSpecial flagsSM0.0 to SM 0.6 (see Table 4–10)
ACACCUAC0 ... AC3
DescriptionRange
4–8)
Table 4-8Generating the addresses for the V range (see user interface)
SM 0.0Flags with defined ONE signal
SM 0.1Initial position: first PLC cycle ‘1’, following cycles ‘0’
SM 0.2Buffered data lost – applicable only to the first PLC cycle (‘0’ data o.k., ‘1’ – data
lost)
Description
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
Table 4-10, FortsetzungSpecial Flag SM Bit Definition
SM BitsDescription
SM 0.3POWER ON: first PLC cycle ‘1’, following cycles ‘0’
SM 0.460 s cycle (alternating ‘0’ for 30 s, then ‘1’ for 30 s)
SM 0.51 s cycle (alternating ‘0’ for 0.5 s, then ‘1’ for 0.5 s)
SM 0.6PLC cycle (alternating, one “0” cycle, then one “1” cycle)
4.3.6Instruction set
A detailed description of the instructions is to be found in the help system of the PLC 802 Programming Tool (Help > Contents and Index, “SIMATIC LAD Instructions”) and in the Docu-
mentation “S7–200 Automation System, CPU22x System Manual.
Each programmer should divide the user program into several closed program sections (subroutines). The S7–200 programming language allows the user to create structured user programs. There are two program types – main programs and subroutines. Eight program levels
are possible.
A PLC cycle can be a multiple of the control–internal interpolation cycle (IPO cycle). The machine manufacturer must set the PLC cycle according to his/her own requirements (see machine data “PLC_IPO_TIME_RATIO”). The ratio IPO/ PLC of 1:1 is the fastest possible cyclic
processing.
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
Example: The programmer programs a sequence control in the main program using his own
defined cycle counter. The sequence control defines all cyclic signals in the subroutine (UP0);
UP1/UP2 is called every two cycles, and UP 3 controls all signals in steps of three cycles.
4.3.8Data organization
The data can be divided into three areas:
Snon–retentive data
Sretentive data
Smachine data for the PLC (All these machine data are active after POWER ON.)
Most data, such as process map, timers and counters, are non–retentive data and deleted
with each power–up.
The user has a certain area available for the retentive data (data range 14000000 –140000xx
). All data that are wished to remain their validity even after POWER ON can be stored in this
area.
Start-Up
4.3Starting up the PLC
The user can use the PLC MD (see user interface) to load his program with default data or to
parameterize various program sections.
4.3.9Interface to the control system
This interface can be selected on the operator panel using the softkeys Diagnosis \ Start–up
\ STEP7 connect.
The V24 interface remains active even after restart or normal power–up. The connection
(STEP7 connect active) to the control system can be checked in the PLC 802 Programming
Tool menu “PLC/Information”. If the interface is active, e.g. the active PLC mode (Run/Stop) is
displayed in this window.
4.3.10Testing and monitoring the user program
The user program can be analyzed or checked for errors using the following methods:
SPLC Status menu (PCU)
SStatus list menu (PCU)
SPLC 802 Programming Tool (see Help menu > Contents and Index, “Debugging” or docu-
mentation “S7–200 Automation System”, Section “Testing and Monitoring Your Program”)
This function is used to write the transferred data to the permanent memory (load memory) of
the control system.
SDownload the PLC project using the PLC 802 Programming Tool (Step 7 connect on)
SSeries start–up using the WinPCIN tool (PLC MD, PLC project and user alarm texts) Data
In
The loaded PLC user program is transferred from the permanent memory to the user
memory when the control is booted next time; it will be active from this moment.
The PLC applications can be saved using the PLC 802 Programming Tool or the tool PCIN.
SUpload PLC project using the PLC 802 Programming Tool (Step 7 connect on)
Read out the project from the control system to reconstruct the current project in the PLC
802 Programming Tool.
SSeries start–up “Start–up Data” using the tool PCIN (PLC MD, PLC Project and user alarm
texts) Data Out
SRead out PLC applications using the Tool PCIN (PLC Project information and user alarm
texts) Data Out
Compare
The project in the PLC 802 Programming Tool is compared with the project contained in the
permanent memory (load memory) of the CNC.
Versions display
Calling via the softkey Diagnosis / Service Display / Version
SProject
The transmitted project including user program, which is active in the PLC after the control
system has powered up.
The programmer can use the first comment line in the program title of the PLC 802 Programming Tool for his own additional information in the version display (see “View Proper-
ties“).
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
4-71
Start-Up
4.5User Interface
4.5User Interface
This interface includes all signals between NCK/PLC and HMI/PLC. In addition, the PLC decodes the auxiliary function commands for straightforward further processing in the user program.
4.6Technology Setting
Overview
The SINUMERIK 802C is supplied with the default machine data as a control system for turning machines (2 axes, 1 spindle). If you wish to set another technology (e.g. milling), the relevant machine data file must be loaded from the tool box into the control system.
The file with the technology machine data must be loaded after the control system has booted
successfully, but prior to commissioning.
Sequence of operations
To change the technology setting, proceed as follows:
SMake a V24 link between PG/PC and the control system.
STurn on the control system and wait until it has booted without errors.
SPress the Start data inp. softkey in the Services menu (use the V24 default interface set-
tings).
SSelect the technology machine data file techmill.ini (included in the toolbox) required for
milling and transfer it to the PG/PC using WinPCIN.
SAfter the file has been transferred correctly, carry out POWER ON.
SThe SINUMERIK 802S is now preset to the desired technology.
Example: techmill. ini
Default: 3 axes (X, Y and Z), 1 spindle, no transversal axis, G17 etc.
If you wish to reconfigure a SINUMERIK 802S control system to turning, carry out POWER
ON with the default machine data (start–up switch position 1).
Note
All memory areas are initialized or loaded with stored default values (machine data).
4-72
The basic configuration of the SINUMERIK 802C must be carried out during the commissioning prior to the general configuration (MD input).
This need not to be done when series start–up is carried out. The configured machine data
are contained in the series start–up file.
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
4.7Commissioning
Initializing the control system
STurn on the control system.
SThe SINUMERIK 802C will load the standard machine data automatically.
4.7.1Entering the general machine data
Overview
To make your work easier, the most important machine data of the individual subranges are
listed. If more detailed information is required, the user is referred to the relevant chapters/
sections of this manual. The machine data and interface signals are described in detail in the
descriptions of functions to which reference is made in the relevant lists.
Start-Up
4.7Commissioning
Note
The general machine data are selected such (default values) that only a few machine data
parameters have to be modified.
Entering the machine data (MD)
Before the machine data can be entered, the password for protection level 2 or 3 must be entered.
The following machine data ranges must be selected and modified (if necessary) using the
appropriate softkeys:
SGeneral machine data
SAxis machine data
SOther machine data
SDisplay machine data
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
4-73
Start-Up
4.7Commissioning
Once entered, these data are immediately written to the data memory.
The machine data are activated depending on the Activation setting of the appropriate ma-
chine data, Section 4.1.2.
Note
Since these data are only stored in the memory backed up for a limited period of time, a data
backup is necessary (see Section 4.1.4).
Machine data
The following machine data list contains all general and other machine data and setting data,
which can be changed if necessary.
Setting data
NumberDescription
10074Division ratio of the PLC task factor for main run2
11100Number of auxiliary function groups1
11200Standard machine data loaded on next Power OnO
11210MD backup of changed MD only0FH
11310Threshold for direction change of handwheel2
11320Handwheel pulses per detent position (handwheel number): 0...11
20210Maximum angle for compensation blocks with TRC100
20700NC-Start disable without reference point1
21000Circle end point monitoring constant0.01
22000Auxiliary function group (aux. fct. no. in channel): 0...491
22010Auxiliary function type (aux. fct. no. in channel): 0...49“”
22030Auxiliary function value (aux. fct. no. in channel): 0...490
22550New tool compensation for M function0
Default
Value
H
4-74
NumberExplanation
41110Jog feedrate0
41200Spindle speed0
42000Start angle0
42100Dry run feedrate5000
6FC5 597–3AA20–0BP2 (01.02)
Default-
Value
SINUMERIK 802C
4.7.2Starting up the axes
Overview
The SINUMERIK 802C has up to three stepper motor feedrate axes (X, Y
and Z). The stepper motor drive signals are output at connector X7 for the:
SX axis at pins 1–3 (PULS1, DIR1 and EN1)
SY axis at pins 4–6 (PULS2, DIR2 and EN2) and for the
SZ axis at pins 7–9 (PULS3, DIR3 and EN3).
Simulation/stepper motor drive
Setpoint output and pulse feedback can be switched between simulation and drive operation
using the axis MD 30130_CRTLOUT_TYPE and 30240_ENC_TYPE.
Start-Up
4.7Commissioning
Table 4-12
MD
30130Value = 0
To test the axis, the actual value is fed
back internally as an actual value. No setpoint output at connector X7.
30240Value = 0Value = 3
Machine data for axes and spindle
NumberExplanation
30130Output type of setpoint (setpoint branch):0
30200Number of encoders1
Type of actual value acquisition (actual position value) (encoder no.)
30240
30350Output of axis signals with simulation axes0
31020Encoder markings per revolution (encoder no.)2048
31030Pitch of leadscrew10
31040Encoder mounted directly to the machine (encoder no:)0
31050Denominator load gearbox (control parameter no.): 0...51
0: Simulation
2: Square-wave generator, standard encoder
(pulse multiplication)
SimulationNormal Operation
Value = 2
The setpoint signals for stepper motor
operation are output at connector X7. Real
axis traversal is possible using a stepper
motor.
Internal pulse feedback from setpoint output to actual value input “ON”
Default Va-
lue
0
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
4-75
Start-Up
4.7Commissioning
Number
31060Numerator load gearbox (control parameter set no.): 0...51
31070Denominator resolver gearbox (encoder no.)1
31080Numerator resolver gearbox (encoder no.)1
32100Traversing direction (not control direction)1
32110Sign actual value (control direction) (encoder no.)1
32200Servo gain factor (control parameter set no.): 0...51
32250Rated output voltage80
32260Rated motor speed (setpoint branch): 03000
32700Interpolatory compensation (encoder no.): 0,10
33050
35010Gear change possible. Spindle has several gear steps0
35040Own spindle reset0
35100Maximum spindle speed10000
35110Maximum speed for gear change (gear stage no.): 0..5500,...
35120Minimum speed for gear change (gear stage no.): 0..550,...
35130Maximum speed of gear stage (gear stage no.): 0...5500,...
35140Minimum speed of gearsetp (gear stage no.): 0...55,...
35150Spindle speed tolerance0.1
35160Spindle speed limitation from PLC1000
35220Speed for reduced acceleration1.0
35230Reduced acceleration0.0
35300Position control switch-on speed500
35350Direction of rotation when positioning3
35400Reciprocation speed500
35410Acceleration during reciprocating16
35430Starting direction during reciprocation0
35440Reciprocation time for M3 direction1
35450Reciprocation time for M4 direction0,5
35510Feedrate enable for spindle stopped0
36000
(only
SPOS)
36010
(only
SPOS)
36020
(only
SPOS)
Traversing distance for lubrication from PLC100 000
Exact positioning coarse
Exact positioning fine
Delay exact positioning fine
Explanation
Default Va-
000
0.04
0.01
1
lue
4-76
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
Start-Up
4.7Commissioning
Number
36030
(only
SPOS)
36040
(only
SPOS)
36050
(only
SPOS)
36060
(only
SPOS)
36200
36300Encoder limit frequency300000
36302
36310
36400Contour Tol1
36610Duration of the deceleration ramp for error states0.05
36620Cutout delay servo enable0.1
36700Automatic drift compensation0
36710Drift limit value for automatic drift compensation1
36720Drift basic value0
Zero-speed tolerance
Delay zero-speed monitoring
Clamping tolerance
Maximum velocity/speed ”axis/spindle stopped”5 (axis);
Threshold value for velocity monitoring (control parameter set no.): 0...511500
Encoder limit frequency at which encoder is switched on again. (Hysteresis)
Zero mark monitoring (encoder no.):
0,1 0: Zero mark monitoring off, encoder
HW monitoring on
1-99, >100: Number of recognized zero mark errors
during monitoring
Axis with rotary encoder (500 pulses) mounted directly on the motor. The internal multiplication factor is 4. The internal computational resolution amounts to 1,000 increments per degree.
Internal
resolution
=
360 degrees
MD
310
20 @
4
MD31080
@@
M
D
3
1
0
0
0
1
0
7
0
Internal
resolution
=
360 @ 1 @ 1000
5
0
0
@
=
1
8
0
4
@
1
One encoder increment corresponds to 180 internal increments. One encoder increment corresponds to 0.18 degrees (minimum positioning step).
Example 2 for encoder matching:
Spindle with rotary encoder on motor (2,048 pulses), internal multiplication = 4, 2 speed stages exist:
Gear stage 1: Motor/spindle = 2.5/1
Gear stage 2: Motor/spindle = 1/1
4-78
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
Gear stage 1
Start-Up
4.7Commissioning
Internal
resolution
360 degrees
=
MD31080
@@
MD
310
20 @
4
M
D
3
1
0
7
0
MD31050
@
M
D
3
1
0
6
0
,
0
0
0
i
n
c
1
r/
d
e
g
Internal
resolution
360 degrees1
=
4 @
2,04
8
pulses
@@
@
111
1,0
00
pulse
s/
de
g
=
4
3
.
9
4
5
One encoder increment corresponds to 43.945 internal increments. One encoder increment
corresponds to 0.043945 degrees (minimum positioning step).
Machine data default settings for analog motor axes
The machine data list below contains the default machine data with their recommended settings with the analog motor axes connected.
After they have been set, the axis are ready to be traversed, as far as the machine data are
concerned, and only fine settings have to be done.
NumberDescriptionDefault ValueSetting or Remark
30130
30240
31020
31030Pitch of leadscrew10Leadscrew pitch
31050
Output type of setpoint
(setpoint branch): 0
Type of actual value acquisition (actual position
value) (encoder no.)
Sign actual value (control
direction) (encoder no.)
Servo gain factor (control
parameter set no.): 0...5
Rated output voltage
Rated motor speed (setpoint branch): 0
Reference point positioning velocity
Type of position measuring system
1: Zero pulse (on encoder
track)
Threshold value for velocity monitoring (control parameter set no.): 0...5
Load gear transmission
1
1
1
10000
0
0
1,0
80%
3000Motor speed
300
1Zero pulse
11500
31,94
ratios
(MD31080:MD31050)
Load gear transmission
ratios
Load gear transmission
ratios
(MD31080:MD31050)
30,000 (max. axis velocity)
Reversal of direction of
movement
Measuring system reversal
1.0 (position controller
gain)
The speed defined in
MD32260 is reached at
the setpoint of 8 V
Positioning velocity when
referencing
Threshold monitoring for
velocity monitoring in the
axis
Threshold value for speed
monitoring in the spindle
4-80
To solve monitoring problems, the following machine data must be set.
NumberDescriptionDefault ValueSetting or Remark
36000Exact positioning coarse0.04Exact stop coarse
36010Exact positioning fine0.01Exact stop fine
36020
36060
Delay exact positioning
fine
Maximum velocity/speed
”axis/spindle stopped”
1.0Positioning dealy time
5.0
0.013889
Threshold velocity for
“Axis at standstill”
Threshold velocity for
“Spindle at standstill”
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
Parameterization example
Encoder:2500 [10,000 pulses per motor revolution]
Load gear:1:1
Leadscrew pitch:10 mm
Motor speed:1,200 rpm
MD 30130=1
MD 30240=2
MD 31020=2500
MD 32250=80%
MD 32260=1,200 rpm
MD 32000=12,000 mm/min
The hardware of the drive must be set such that it will reach exactly 1,200 rpm at 8 V.
Start-Up
4.7Commissioning
Servo gain
The servo gain default setting is Kv=1 (corresponds to 1mm following error at a velocity of 1m/
min).
The servo gain can or has to be adapted according to the particular mechanical conditions.
Too high gain will result in vibrations, too low gain in a too high following error. It is imerative
that the drive observes the set speed characteristic (MD32250, MD32260). In addition, the
continuous characteristic of the speed when passing zero is also imperative.
Service display of the axis behavior
Servo Trace
To provide axis service, the Servo Trace function is integrated in the Diagnosis menu, which
can be used for graphical representation of the axis setpoint speed.
The Trace function is selected in the Diagnosis/Service display/Servo Trace operating area
(cf. User Manual “Operation..”).
Dynamic adaptation for thread G331/G332
Function
The dynamic response of spindle and involved axis for the function G331/G332– thread inter-
polation – can be adapted to the “slower” control loop. Usually, this concerns the Z axis, which
is adapted to the more inert response of the spindle.
If an exact adjustment is carried out, it is possible to sacrifice of a compensating chuck for
tapping. At least, higher spindle speeds/smaller compensation paths can be achieved.
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
4-81
Start-Up
4.7Commissioning
Activation
The values for the adaptation are entered in MD 32910 DYN_MATCH_TIME [n], usually for
the axis. The adaptation is only possible if MD 32900 DYN_MATCH_ENABLE =1 has bee set
for the axis/spindle.
With active function G331/G332, parameter block n (0...5) of the axis of MD 32910 becomes
automatically active, which acts corresponding to the gear stage for the spindle. The gear
stage is dependent on the spindle speed with M40 or is directly set by M41...M45 (see also
Section 4.5.3 Start–up of the spindle).
NumberExplanation
32900Dynamic response adaptation0
32910Time constant of dynamic adaption (control parameter set no): 0...50.0
Determination of value
The dynamic value of the spindle is stored for each individual stage in MD 32200
POSCTRL_GAIN[n] as closed–loop gain. An adaptation of the axis to these values must be
made in MD 32910 DYN_MATCH_TIME [n] in accordance with the following instruction:
1 1
MD 32910 DYN_MATCH_TIME [n] = –––––––– – –––
Kv[n]s
The entry to be made in MD 32910 requires the time unit s. The values of MD 32200
POSCTRL_GAIN[n] for spindle and axis must be converted accordingly:
1000
Kv[n]
spindle
60
1000
Kv[n]
= POSCTRL_GAIN[n]
axis
60
= POSCTRL_GAIN[n]
spindle
––––––
axis
pindle
––––––
Kv[n]
Default
Value
axis
When using further gear stages with G331/G332, the adaptation must also be carried out in
these parameter blocks.
4-82
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
4.7Commissioning
Example for adaptation of the dynamic response of the Z axis/spindle:
1st gear stage –> parameter block[1],
for spindle–K
for axis Z–K
MD 32200 POSCTRL_GAIN[1] = 0.5 is entered,
v,
MD 32200 POSCTRL_GAIN[1] = 2.5 is entered.,
v,
The searched entry for the Z axis in
1 1
MD 32910 DYN_MATCH_TIME [1] = –––––––– – ––––
Kv[1]
Kv[1]
spindle
z
1 1 60
Start-Up
––––
=
(
–
0.5 2.5 1000
––––
*
–––––
)
MD 32910 DYN_MATCH_TIME [1] = 0.0960 s
If necessary, for fine adaptation, in practice a more exact value must be determined.
When traversing axis (e.g. Z axis) and spindle, the exact value for POSCTRL_GAIN is displayed on the service display.
MD 32900 DYN_MATCH_ENABLE must be set to = 1.
Example: service display for Z axis with POSCTRL_GAIN : 2.437 in 1,000/min
Exact calculation:
1 1 60
MD 32910 DYN_MATCH_TIME [1] =
0.5 2.437 1000
–
––––
(
–––––––
)
*
–––––
= 0.0954 s
In practice, this value can be optimized. To this aim, the thread is first tested with compensating chuck and the calculated values. Then the values should be modified sensitively such that
the difference path in the compensating chuck approximates to zero.
Now, the POSCTRL_GAIN values displayed on the service display for axis and spindle
should be identical.
Note
If MD 32900 DYN_MATCH_ENABLE has been set to “1” for the drilling axis, it should also
be set to “1” for all interpolating axes. This increases the traversing accuracy along the contour . However, the entries for these axes in MD 32910 DYN_MATCH_TIME [n] must be left
at the value “0”.
Backlash compensation
Overview
The falsification of axis travel due to mechanical backlash can be compensated (cf. Technical
Manual “Description of Functions“).
Funktion
The axis–specific actual value is corrected by the backlash compensation value (MD32450
BACKLASH) with each change of the traversing direction.
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
4-83
Start-Up
4.7Commissioning
Activation
The backlash compensation is active in all operating modes only after referencing.
Leadscrew error compensation (LEC)
Overview
The compensation values are determined by means of the measured error curve and entered
in the control system using special system variables during start-up. The compensation tables
(cf. Technical Manual “Description of Functions“) must be created in the form of NC programs.
Function
The leadscrew error compensation (LEC) changes the axis-specific actual position by the associated compensation value.
If the compensation values are too high, an alarm message can be output (e.g. contour monitoring, speed setpoint limitation).
Activation
!
The LEC is only activated in all operating modes if the following requirements are met:
SThe number of compensation intermediate points must be defined. They are only active
after Power ON (MD: MM_ENC_MAX_POINTS).
Caution
Changing the MD: MM_CEC_MAX_POINTS[t] or MM_ENC_COMP_MAX_POINTS automatically reorganizes the NC user memory when the control system is booting. All user
data stored in the user memory (e.g. drive and MMC machine data, tool offsets, part programs, compensation tables etc.) are deleted.
SEnter the compensation value for the intermediate point N in the compensation value table
(ENC_COMP_[0,N,Axi]).
SSelect the distance between the individual intermediate points (ENC_COMP_STEP
[0,Axi]).
SSelect the start position (ENC_COMP_MIN [0,Axi]).
SDefine the end position (ENC_COMP_MAX [0,Axi]).
SIn the NC, set MD: ENC_COMP_ENABLE(0)=0. This is the only way to load the compen-
sation table.
4-84
SThe compensation values for the machine axes are entered into the NC memory by means
of a part program (see also example in the Manual “Description of Functions“)
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
SApproach the reference points in the axes. Then start the NC program with the leadscrew
error compensation table. The reference points must then be approached once more to set
the LEC active. The LEC function is activated by setting the MD: ENC_COMP_ENABLE(0)=1 for each machine axis.
– Another possibility to create the LEC compensation table is by reading out the LEC file
from the NC via the V24 interface.
MD: MM_ENC_MAX_POINTS must be set depending on the number of axes to be
compensated. Select Service using the softkey, put the cursor to Data, and press the
Show softkey. Then select “Leadscrew Error” using the cursor and press the Data Out
softkey.
Enter compensation values, intermediate point distance, start and end position in the
received file _N_COMPLETE_EEC by means of the editor (e.g. in the PCIN/OUT program). Then re–read the edited file into the control system. Approach the reference
point in the axes and set MD: ENC_COMP_ENABLE(0)=1. The LEC is thus activated.
4.7.3Starting up the spindle
Start-Up
4.7Commissioning
Overview
With the SINUMERIK 802C, the spindle is a subfunction of the entire axis functionality. The
machine data of the spindle are therefore to be found under the axis machine data (from
MD35000). For this reason, data have to be entered for the spindle, too; these data are described for axis start-up.
Note
With SINUMERIK 802C, the 4th machine axis (SP) is fixed for the spindle.
The spindle settings for the 4th machine axis are contained in the default machine data.
The spindle setpoint (+10 V analog voltage signal) is output to X7. The spindle measuring
Spindle machine data are entered depending on the gear stages. Each gear stage is assigned
a parameter record.
The set of parameters corresponding to the current gear stage is selected.
Example:1st gear stage set of parameters [1]
Note
The field containing the parameter “0” is not used for the spindle machine data..
Machine data for setpoint and actual values
Default
Value
Setpoints:
MD 30130 CTRLOUT_TYPE [AX4] = 1
Actual values:
MD 30200 NUM_ENCS[AX4] = 0;Spindle without encoder
MD 30200 NUM_ENCS[AX4] = 1;Spindle with encoder
MD 30240 ENC_TYPE[AX4] = 2
Interface signals of the spindle
Interface signals
“Speed change” 39032000 Bit 3
“Actual gear stage” 38032000 bits 0 to 2
“No speed monitoring on gear change”
38032000 bit 6
“Speed is changed” 38032000 Bit 3
“Set gear stage” 39032000 bits 0 to 2
“Positioning mode” 39032002 bit 5
“Oscillating through PLC”38032002 bit 4
“Oscillating mode” 39032002 bit 6
“Control mode” 39032002 bit 7
4-86
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
Interface signals
“Traversing minus” 39030004 bit 6
“Traversing plus” 39030004 bit 7
Reciprocation mode for gear change
The reciprocation mode of the spindle is intended to facilitate the gear change. For reciprocation mode, the following axis MD and interface signals are relevant:
NumberDescription
Machine data
35400Reciprocation speed
35410Acceleration when reciprocating
35430 Start direction in reciprocation
35440 Reciprocation time for M3 direction
35450Reciprocation time for M4 direction
Interface signals
“Change gear” 39032000 bit 3
“Reciprocation speed” 38032002 bit 5
“Reciprocating by PLC” 38032002 bit 4
“Set direction of rotation CCW” 38032002 bit 7
Start-Up
4.7Commissioning
4.7.4Completing the Start–Up
After start–up of the control system by the machine manufacturer, the following should be observed prior to delivery to the final customer:
1. Change the default password for access level 2 from ”EVENING” to your own password.
If the machine manufacturer uses the password ”EVENING” for access level 2 during the
start–up work, the password must be changed.
– Press the softkey Change passw.
– Enter the new password and press OK to confirm.
– Note the password in the Manufacturer Documentation.
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
4-87
Start-Up
4.7Commissioning
2. Reset the access level.
To save the data which have been set during the start–up, an internal data saving is requi-
red. To this aim, set access level 7 (final customer); otherwise, access level 2 will also be
saved.
– Press the softkey Delete passw.
– The access level will be reset.
3. Carry out internal data saving.
– Press the softkey Save data.
4.7.5Cycle start–up
Sequence of operations
When loading cycles into the control system, adhere to the following sequence of operations:
1. Save tool offset data and zero offsets either on the FLASH or on the PG (programming
device).
These data can be selected in the Services menu by pressing the Data outp./data...softkey.
2. Load all files of the selected technology path from the toolbox diskette into the control system via the V24 interface.
3. Carry out POWER ON.
4. Reload the recovered data.
4-88
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
4.8Series machine start-up
Functionality
The objective of series machine start-up is:
Safter commissioning, in order to bring another control system connected to the same ma-
chine type with minimum effort to the condition as after commissioning;
or
Sunder service conditions (after replacing hardware components), to bring a new control
system to the initial state with minimum effort.
Precondition
To carry out commissioning, a PC/PG provided with a V24 interface for data transfer from/to
the control system is necessary.
In the PC/PG, the PCIN tool must be used.
Start-Up
4.7Commissioning
Sequence of operations
1. Create the series machine start-up file (transfer from the control system to the PC/PG).:
– Make a V24 cable connection between the PC/PG (COM port) and the SINUMERIK
802S (X8).
– Make the following settings in the WinPCIN tool:
– Binary format
Receive data
Select the path where you want to save your data
– Save
The PC/PG will set itself to “Receive” and will wait for data from the control system.
– Enter the password for protection level 2 in the control system.
– Call the Services/RS232 setting menu.
– Select the Start-up data line from the Services menu and press Start data outp. to
output the series machine start-up file.
2. Reading in the series machine start-up file into the SINUMERIK 802S:
– Enter the V24 interface settings as described under 1).
– Press the Data In Start button in the Service menu. The control system is thus ready
to receive data.
– Use the PCIN tool in the PC/PG to select the series start-up file from the DATA_OUT
menu and start data transfer.
– The control system is brought to “RESET with rebooting” three times during and at the
end of data transfer. On completion of error-free data transfer, the control system is
completely configured and ready to operate.
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
4-89
Start-Up
4.7Commissioning
Series machine start-up file
The series machine start-up file contains:
Smachine data
SR parameters
Sdisplay and alarm text files
Sdisplay machine data
SPLC user program
Smain programs
Ssubroutines
Scycles
4-90
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
Software Update
5.1Updating the system software using a PC/PG
General
The following reasons may require a system software update:
SYou wish to install new system software (new software version).
SAfter hardware replacement, if software versions other than the supplied are to be loaded.
Note
In addition to the update procedure description below, the update diskette also contains a
description of the update procedure in the readme.txt file.
5
Preconditions
To change the system software of the SINUMERIK 802S, you will need the following:
SUpdate software (2 diskettes)
SA PG/PC with V24 interface (COM1 or COM2) and an appropriate cable.
Update procedure
As far as not yet done, carry out external data saving before you update your updating system
software (see Section 4.1.4 “Data Saving”).
1. Turn the hardware start–up switch to position “2” (software update on permanent memory).
2. Start the update file on your PC/PG by calling UPD_802.BAT on your diskette.
The installation is menu–assisted.
3. After the software has been prepared in the PC/PG completely, the message “Transfer the
selected ...” appears on the display.
4. Power On ---> control system changes to the update condition.
Various patterns appear on the screen.
5. After the patterns on the display of the SINUMERIK 802S have disappeared, start the
transfer on the PC/PG.
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
5-91
Software Update
5.2Updating the system software incl. user data without using a PC/PG
The progress and the end of the update (and errors if any) are displayed on the PG/PC.
6. At the end of the update --> switch off the control system.
7. Turn the start–up switch to position “1” ---> switch on the control system
8. Booting with default values
9. Prior to next POWER ON ---> start–up switch to 0 position.
Note
Reload the externally saved user standard data via V24.
5.2 Updating the system software incl. user data without using a
PC/PG
General
It is possible to transfer the entire contents of the memory of the control system including user
data from one control system directly to another control system.
This can be necessary after updating the system software of a CNC and subsequent reloading the recovered user data (series start–up file) into this control system in order to bring further control systems to the same condition.
This reduces the time needed for the transfer.
Precondition
Cable connection from master control system (source control) to slave control (control system
to be updated) via V24 interface.
Update sequence
1. Turn the hardware start–up switch of both control systems to position “2” (software update
on permament memory).
2. Carry out POWER ON for slave control system –––> control system changes to the update condition.
Various patterns appera on the screen.
3. After the patterns on the screen have disappeared, switch on the master control system on
the slave control.
5-92
3 data blocks are transferred.
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
5.3Update errors
Table 5-1Update errors
Software Update
5.3Update errors
Error T ext
ERROR
UPDATE
SINUMERIK
802S
UPDATE
NO DATA
ExplanationRemedial Action
Error when updating the system software via V24
S Data already in receive buffer (send from PC
side started too early)
S Error when erasing the FLASH memory
S Error when writing to the FLASH memory
S Inconsistent data (incomplete or faulty)
Update without programming the code FLASH
completed (no data received, transfer not started)
S Repeat update
S Check link between control system
and PC/PG
S Check diskette
SINUMERIK 802C
6FC5 597–3AA20–0BP2 (01.02)
5-93
Technical Appendix
6.1List of machine and setting data
Data type
BOOLEANMachine data bit (1 or 0)
BYTEInteger values (from -128 to 127)
DOUBLEReal and integer values
-1: No obligatory reference point for NC Start
0: No channel-specific reference-point approach
1-15: Sequence in channel-specific reference point approach
ENC_REFP_MODE
0: No ref. point appr.; if an absolute encoder exists: REFP_SET_POS accepted
1: Zero pulse (on encoder track)
GEAR_STEP_CHANGE_ENABLE
SPIND_ACTIVE_AFTER_RESET
SPIND_VELO_LIMIT
GEAR_STEP_MAX_VELO
8000
0.0plusDOUBLE2/7
RESET
POWER ON
6-100
6FC5 597–3AA20–0BP2 (01.02)
SINUMERIK 802C
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.