Siemens SINUMERIK 840D sl Commissioning Manual page 280

Cnc commissioning: nc, plc, drive
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Configuring PLC-controlled drives
9.3 Creating a PLC program
6. Edit the OB1, FC70 and FC73 blocks in accordance with the following examples.
Example of OB1:
Example of FC70:
Example of FC73:
7. You have now finished programming the PLC program. Load the project to the PLC
(Page 91).
8. To synchronize the PLC and NC, a system reset (po) is required:
– NCU: RUN LED is continuously lit green.
– NCU: Status display shows a "6" with a flashing dot.
– SINAMICS CU320-2 DP: LED RDY flashes slowly green (0.5 Hz)
⇒ PLC and NC are in cyclic operation.
280
...
CALL FC70
CALL FC73
...
CALL FB283, DB283
NR_ACHS_DB := 111
LADDR := 272
LADDR_DIAG := 8186
WR_PZD := P#DB111.DBX172.0 Byte 8
RD_PZD := P#DB111.DBX212.0 Byte 8
CONSIST := TRUE
RESTART := FALSE
AXIS_NO := B#16#3
UN E30.0
SPB frei
L W#16#47E
T DB111.DBW172
U E3.7
= DB111.DBX173.7
BEA
frei:
L W#16#47E
T DB111.DBW172
L W#16#4000
T DB111.DBW174
//Logical I/O address
//Diagnostic addresses
//Source range for outputs
//Target range for inputs
//Number of the drive object
//E.g. switch for the enable signal
//All enables set
//MCP reset
//Reset fault memory
//All enable signals except ON/OFF1
//Rated speed in drive parameter p2000
//Set speed high
Commissioning Manual, 12/2019, A5E48312804B AA
CNC Commissioning: NC, PLC, Drive

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents