Example 2: Write Parameters (Multi-Parameter Request) - Siemens SINAMICS S120 Installation And Start-Up Manual

Hide thumbs Also See for SINAMICS S120:
Table of Contents

Advertisement

4.4.5

Example 2: write parameters (multi-parameter request)

Requirements
1. The PROFIBUS master has been commissioned and is fully operational.
2. PROFIBUS communication between master and slave is operational.
3. The master can read and write data sets in conformance with
PROFIBUS DPV1.
4. Control type: VECTOR
Task description
Jog 1 and 2 are to be set up for drive 2 via the input terminals of the Control Unit.
A parameter request is to be used to write the corresponding parameters as fol-
lows:
S BI: p1055 = r0722.4
S BI: p1056 = r0722.5
S p1058 = 300 rpm
S p1059 = 600 rpm
The request is to be handled using a request and response data block.
+24 V
Input in BI: p1055 and BI: p1056
Parameter number
722
722
31
...
profibus_para_schreiben.vsd
Fig. 4-15
E Siemens AG, 2004. All rights reserved
SINAMICS S120 Installation and Start-Up Manual, 12/04 Edition
X132.1
DI 4
r0722.4
DI 5
X132.2
r0722.5
Main setpoint
Object
0: Device
1: CU320
63: Wiring to itself
Index number
1
4
= 02D2 0404Hex
1
5
= 02D2 0405Hex
16
15 ... 10
9
...
0
Task description for multi-parameter request (example)
Communication via PROFIBUS
Acyclic communication
Jog bit 0
Jog bit 1
Jog 1 speed setpoint
Jog 2 speed setpoint
p1055 [C]
p1056 [C]
Jog setpoint 1
p1058
Jog setpoint 2
p1059
Save setpoint
0 0
0 1
n_setp_1
1 0
1 1
4-135

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents