Creating A Plc Program - Siemens SINUMERIK 840D sl Commissioning Manual

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

Advertisement

9.3

Creating a PLC program

Requirements
This chapter describes the configuration of PLC drives that are not to be operated as NC axes.
The following expansions of the function blocks are required in the PLC program: You will need
additional S7 function blocks from the SINAMICS toolbox ≥ V2.1. This Zip file contains a
manual in several languages.
The SINAMICS Toolbox is available in the Internet at the following link: SINAMICS Toolbox
V2.1 (http://support.automation.siemens.com/WW/view/en/25166781)
Signals "WR_PZD" and "RD_PZD"
The "WR_PZD" and "RD_PZD" signals for FC70 in the example have the following meaning:
Signal
Typ
Typ
e
e
WR_PZD
I
Any P#Mm.n byte x
RD_PZD
I
Any P#Mm.n byte x
Example with constant speed (fan, pump)
Procedure:
1. You have already created a project and find yourself on the main screen of the SIMATIC
Manager.
2. Select the "File" → "Open" menu and then click the "User projects" tab.
3. Open the example project and copy the FB283, FC70, DB70 and DB283 blocks as well as
all UDT300xx into your existing project.
4. As the DB70 could be used by another PLC program, rename DB70 as DB111!
5. Create a new FC73. Do not use the FC73 from the SINAMICS toolbox.
In the example, 4000
CNC Commissioning: NC, PLC, Drive
Commissioning Manual, 12/2019, A5E48312804B AA
Range of values
P#DBno.DBXm.n byte x
P#DBno.DBXm.n byte x
hex
Remark
Target range for process data, master → slave (control words / set‐
points)
Here, generally the axis DB is used, i.e. in the pointer, the same DB
number must be specified as formal parameter "NR_ACHS_DB".
The length of the pointer is 30 bytes for Siemens telegram 136.
Target range for process data, slave → master (status words / actual
values)
Here, generally the axis DB is used, i.e. in the pointer, the same DB
number must be specified as formal parameter "NR_ACHS_DB".
The length of the pointer is 38 bytes for Siemens telegram 136.
corresponds to the rated speed in drive parameter p2000.
Configuring PLC-controlled drives
9.3 Creating a PLC program
279

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents