Вы находитесь на странице: 1из 43

Version 1.

0 January 12, 2000 DROM-02068


Quick Startup Guide for STEP-7
S7-300 & S7-400 PROFIBUS
CONNECTIVITY TO SIMOVERT
MASTERDRIVES 6SE70
Section 1: STEP 7 Hardware Configuration
Section 2: Explanation of PZD & PKW
Section 3: Configuring OB1
Section 4: PZD Process Data Configuration
Section 5: PKW Parameter Data Configuration
Section 6: Summary
Page 2 DROM 02066 Version 2.0 October 1, 1999
We reserve the right to modify functions, technical data, standards, drawings and
parameters.
We have checked the contents of this document to ensure that they coincide with the
described hardware and software. However, deviations cannot be completely ruled-
out, so we cannot guarantee complete conformance. However, the information in this
document is regularly checked and the necessary corrections will be included in
subsequent editions. We are thankful for any recommendations or suggestions.
e-mail: GMC@sea.siemens.com
Version 1.0 January 12, 2000 DROM-02068 Page 3
Note:
This Quick Startup Guide is not an autonomous document, but is intended to direct users to the section
in the Operating Instructions which are important for start-up. Thus, these brief instructions can only
be completely valid when used in conjunction with the Operating Instructions. It is especially important
to observe the warning and information regarding potential hazards in the Operating Instructions.
Warning:
Electrical equipment has parts an components which are at hazardous voltage levels.
If the warning information in the detailed Operating Instructions is not observed, this can result in
severe bodily injury or material damage.
Only appropriately qualified personnel may work with this equipment.
These personnel must be knowledgeable with all of the warning information and
service/maintenance measures of the Operating Instruction.
Perfect and safe operation of this equipment assumes professional transport, storage, erection and
installation as well as careful operating control and service.
NOTE:
These instructions do not purport to cover all details or variations in equipment, nor to
provide for every possible contingency to be met in connection with installation,
operation or maintenance. Should further information be desired or should particular
problems arise which are not covered sufficiently for the purchasers purposes, please
contact your local Siemens office.
Further, the contents of these instructions shall neither become a part of nor modify
any prior or existing agreement, commitment or relationship. The sales contract
contains the entire obligation of Siemens Energy & Automation. The warranty
contained in the contract between the parties is the sole warranty of Siemens Energy &
Automation. Any statements contained herein do not create new warranties nor
modify the existing warranty.
Page 4 DROM 02066 Version 2.0 October 1, 1999
Version 1.0 January 12, 2000 DROM-02068 Page 5
Step 7 Hardware Configuration
Section 1 Table of Contents:
1.1 Launch Step 7
1.2 Hardware Configuration Editor
1.3 Insert DP Master System
1.4 Add MasterDrive CBP to DP Master System
Page 6 DROM 02066 Version 2.0 October 1, 1999
Version 1.0 January 12, 2000 DROM-02068 Page 7
1.1 Launch Step 7
A
Select New Project from the File Menu.
Name the Project and click OK.
C
B
B
Select Upload Station from the PLC
Menu. This will Upload the Hardware
Configuration for the PLC connected via
MPI Network.
Note: Offline Hardware Configuration is
also possible. If the Hardware
Configuration is not uploaded from the
PLC, individual components for your PLC
must be chosen from the STEP 7
Hardware Catalog.
C
Verify the MPI Address for the Station
that you wish to Upload. By default the
PLC MPI Address is 2.
Page 8 DROM 02066 Version 2.0 October 1, 1999
1.2 Hardware Configuration Editor
1.3
A B
A
B
Notice that after PLC Upload a
SIMATIC 300 Station is now present
in the Project.
Click on the SIMATIC 300 Station
to access the Hardware Icon.
Double click the Hardware Icon to
launch the Hardware Configuration
Editor. This Editor will allow you to
insert MasterDrives onto a Profibus
DP Network
C
C
D
Within the Hardware Configuration
Editor select DP Master from the
X2 Slot in the Rack. This Rack
displays the Hardware Modules that
were Uploaded previously.
D
Right Click on the DP Master and
select Insert DP Master System
Version 1.0 January 12, 2000 DROM-02068 Page 9
1.3 Insert DP Master System
A B
A
B
Select New Network
Select Network Settings
to Configure Profibus.
C
C
Select the Transmission Rate and DP
Profile for the new Network.
D
D
Click OK with the new Network
selected.
Page 10 DROM 02066 Version 2.0 October 1, 1999
1.4 Add MasterDrive CBP to DP Master System
A
C
Select the appropriate PPO Type. For our
example we will use PPO Type 2.
(This Window looks different without DVA-S7)
The PPO Type allows the user to select the type
and amount of data that will be transmitted.
PKW data consists of four words of data that
are used to change individual Parameters.
PZD data is Process Data that can be used as
Control Words and Setpoints. Additionally
PZD can be utilized with MasterDrives BICO
Data System of Connectors and Binectors.
C
B
After you drag the MasterDrive
Icon onto the DP Network, Click
OK to confirm that you have the
MasterDrive on the appropriate
Network and it has the correct
Profibus Address.
B
A
Select the appropriate
MasterDrive CBP from the
Hardware Catalog.
MasterDrives are listed
under:
Profibus DP / SIMOVERT
/ MASTERDRIVE CBP.
Drag the Icon up to the
PROFIBUS DP Master
System.
A
If DVA-S7 is not installed
different options will appear
for selecting the
MASTERDRIVE CBP.
The important thing is to
select the desired PPO Type
and configure the drive
according to this.
Version 1.0 January 12, 2000 DROM-02068 Page 11
D
E
D
Note that STEP 7
automatically lists out the
I/O Peripheral Output
Addresses for both the
PKW & PZD Data Areas
in Decimal format. The
length of the data is given
in bytes.
The Hardware Configuration is now complete. At this point you
have created a project, upread an existing S7 Station, created a
Profibus DP Master Network and configured that Network with a
Simovert MasterDrive. Please proceed to the next sections for
programming instructions that will easily allow you to interface
PLC and Drive.
E
Click the Hot-Button on
the Toolbar to download
the current Hardware
Configuration to the PLC.
Close Hardware
Configuration Editor
window when complete.
Page 12 DROM 02066 Version 2.0 October 1, 1999
Version 1.0 January 12, 2000 DROM-02068 Page 13
Explanation of PZD and PKW
Section 2 Table of Contents:
2.1 PZD Process Data
2.2 PKW Parameter Data
Page 14 DROM 02066 Version 2.0 October 1, 1999
Version 1.0 January 12, 2000 DROM-02068 Page 15
2.1 PZD Process Data
Process data interconnection involves the linking up of setpoints and control bits to the RAM
interface of the drive. The transferred process data only becomes effective when the used bits of
the control words as well as the setpoints, status words and actual values are connected to the
dual-port RAM interface.
The CBP stores the received process data at fixed pre-determined addresses in the dual-port
RAM. Each item of process data is assigned a connector. The connector is also used to
determine whether the PZD is a 16-bit value or a 32-bit value.
With the help of selector switches, the setpoints or the individual bits of the control words can
be assigned to a particular PZD in the dual port RAM. In order to do this the connector
belonging to the required PZD is assigned to the selector switch.
YOU MUST ASSIGN BICO BINNECTORS AND CONNECTORS IN THE DRIVE
PARAMETERS.
See MASTERDRIVE Compendium function diagrams [120] (Receive) and [125] (Send) for
Binnectors and Connectors in the Drive. If the first Word of data transmitted to the drive is to
be used as a Control Word, BICO programming must occur in Control Word 1 of the
MasterDrive [180]. Please note that BIT 10 must be asserted. BIT 10 is the LIFE BIT and must
be asserted for the Drive to receive control from Profibus. Note that to turn the drive on P554
must be explicitly programmed. (e.g. P554 = B3100).
Process Data Transfer must be programmed in PLC program. The rules of consistent data apply
to transferring PZD data. Consistent data must be sent together. SFC14 and SFC15 are used to
send and receive the data in the PLC program. The PZD data is sent to the Peripheral Output
addresses that were assigned during hardware configuration. This will be shown in the
following sections examples.
Page 16 DROM 02066 Version 2.0 October 1, 1999
2.2 PKW Parameter Data
PKW Parameter Data is used to monitor parameter values, as well as to transfer and
acknowledge parameter changes. The parameter area always contains at least four words.
The first word of the PKW Data is used to request a task and identify the parameter number.
The second word indicates the parameter index. The third and fourth words are used to pass
parameter values. The following Tasks are possible with PKW Parameter Data.
Task ID Significance Reply ID
(Decimal ID #) positive negative
0 No task 0 7 or 8
1 Request parameter value 1 or 2
2 Change parameter value (word) 1
3 Change parameter value (double word) 2
4 Request description element 3
5 Change description element (not with CBP) 3
6 Request parameter value (array) 4 or 5
7 Change parameter value (array, word) 4
8 Change parameter value (array, double word) 5
9 Request the number of array elements 6
10 Reserved -
11 Change parameter value (array, double word)
and store in the EEPROM 5
12 Change parameter value (array, word)
and store in the EEPROM 4
13 Change parameter value (double word)
and store in the EEPROM 2
14 Change parameter value (word) and
store in the EEPROM 1
15 Read or change text (not with CBP) 15 7 or 8
Table Task IDs (master -> converter)
Parameter Data Transfer must be programmed in PLC program. The rules of consistent data
apply to transferring PKW data. SFC14 and SFC15 are used to send and receive the data in the
PLC program. The PKW data is sent to the Peripheral Output addresses that were assigned
during hardware configuration. This will be shown in the following sections examples.
Version 1.0 January 12, 2000 DROM-02068 Page 17
Configuring OB1
Section 3 Table of Contents:
3.1 Create OB1
3.2 Edit OB1
3.3 Enter PZD Process Data in OB1
3.4 Enter PKW Parameter Data in OB1
3.5 Save and Download OB1
Page 18 DROM 02066 Version 2.0 October 1, 1999
Version 1.0 January 12, 2000 DROM-02068 Page 19
3.1 Create OB1
A B
C
A
Within SIMATIC Manager there
will be a Program File for the
Uploaded Station. Go into the
Blocks Folder. This folder
contains all of the Objects in the
PLC program as well as the
System Data. System Data
contains the Hardware
Configuration if it was saved.
You may choose to delete SFCs
that were Uploaded because these
are automatically reside in the
PLC and do not need to be
programmed.
B
Right Click in this window and choose to insert an Organizational Block.
C
By numbering the new Organizational Block OB1 this becomes the master block of the
program. For simplicity we will program our communication interface from within OB1.
We will program the drive data transfer for both PZD and PKW data areas within OB1.
D
Double Click the new Icon for OB1 to launch into the LAD/STL/FBD Editor.
Page 20 DROM 02066 Version 2.0 October 1, 1999
3.2 Edit OB1
A
B
A
Select Program Elements
from the Hot button on the
Toolbar.
B
Create four networks with
two containing SFC15 and
two containing SFC14. The
first pair (SFC15 & SFC14)
will be used to program PZD
data transfer and the second
pair will be used to program
PKW data transfer.
Note: SFC15 & 14 are
located in Program Elements /
Libraries / Standard Libraries
/ System Functions.
Reference Table: Decimal and Hexadecimal Number Format
Decimal (Dec) 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Hexadecimal (Hex) 0 1 2 3 4 5 6 7 8 9 A B C D E F
Place Value 4
th
3
rd
2
nd
1
st
Decimal (Dec) 10
3
10
2
10
1
10
0
Decimal Value 1000 100 10 1
Hexadecimal (Hex) 2
12
2
8
2
4
2
0
Decimal Value 4096 256 16 1
Examples
256 (Dec) = 100 Hex
264 (Dec) = 108 Hex
12 (Dec) = C Hex
Note: Most Scientific Calculators Facilitate DEC/HEX Number Conversion.
Example: Decimal to Hex
340 Decimal
340 256*1 = 84 3
rd
Place Hex = 1
84 16*5 = 4 2
nd
Place Hex = 5
4 1*4 = 0 1
st
Place Hex = 4
340 Dec = 154 Hex
Example: Hex to Decimal
287 Hex
2 * 256 = 512
8 * 16 = 128
7 * 1 = 7
( 512 + 128 + 7 ) = 647 Decimal
287 Hex = 647 Dec
Right Click to insert Networks. Select LAD from the View Window
Version 1.0 January 12, 2000 DROM-02068 Page 21
3.3 Enter PZD Process Data in OB1
Page 22 DROM 02066 Version 2.0 October 1, 1999
3.4 Enter PKW Parameter Data in OB1
Version 1.0 January 12, 2000 DROM-02068 Page 23
3.5 Save and Download OB1
A
A
Save and Download OB1 to the PLC
with the Hot-buttons in the Toolbar.
The OB1 is now configured for communication. Please proceed to the
specific section on PZD and PKW to learn how to appropriately pass data
to the drives.
Page 24 DROM 02066 Version 2.0 October 1, 1999
Version 1.0 January 12, 2000 DROM-02068 Page 25
PZD Process Data
Configuration
Section 4 Table of Contents:
4.1 Configure MASTERDRIVES
4.2 Create VAT1
4.3 Control Drive PZD Data via VAT Table
Page 26 DROM 02066 Version 2.0 October 1, 1999
Version 1.0 January 12, 2000 DROM-02068 Page 27
4.1 Configure MASTERDRIVES
A
Parameterize Base Drive settings for the MASTERDRIVES.
For VC (Vector Control) see Compendium.
For MC (Motion Control) see Quick Startup Guide or Compendium.
B
See Function Diagrams [120] Profibus Receiving, [125] Profibus
Transmitting, and [180] Control Word 1. All Function Diagrams are in the
Compendium for MASTERDRIVES.
Receive Words
K Connectors =1 word (16 Bit)
KK Connectors = 2 words (32 Bit)
Receive Bits
Binnector = 1 Bit
Page 28 DROM 02066 Version 2.0 October 1, 1999
Control Word 1 is used to start and
stop the drive. The Life Bit sent to
this Control Word MUST be high
for Profibus Connection to work.
Life Bit (LB) is Bit 10 on [180].
P554 is for ON/OFF1
Output Words
Double Words should be
connected in consecutive
pairs. (K Connectors)
Version 1.0 January 12, 2000 DROM-02068 Page 29
C
Select ON/Off1 Command. P554 = B3100 [180] [120]
Set Main Speed Setpoint. P443 = KK3033 [300] [120]
Set Profibus Address P918 = 1 Note: P60 = 4 to change.
D
Note: P734.01 = K0032 (Status Word 1) by Default [125] [200]
Set Transmit Double Word 3 to the Actual Speed Connector (KK091).
P734.03 = KK0091 [360] [125]
P734.04 = KK0091
Page 30 DROM 02066 Version 2.0 October 1, 1999
4.2 Create VAT Table
A
Right Click in the Blocks Window from SIMATIC Manager and choose to
insert a Variable Table.
Name the VAT Table. Example = VAT1.
B
Double Click the VAT Table Icon to launch the Monitor and Modify VAT
Editor.
Version 1.0 January 12, 2000 DROM-02068 Page 31
C D
C
Enter the Variables that you wish to observe. Remember for this example
MW16 MW26 are used for the PZD Transmit Data and MW36 MW46 are
used for PZD Receive Data.
Note: The Symbol Editor can be used to name your variables.
D
Select Establish Online Connection from the Hot Buttons.
Select Monitor Online Eyeglass Icon from the Hot Buttons.
Note that the PLC selection switch should be in the RUN-P Mode.
E
Observe the Online values returned from the drive. The Status Word Code
will be displayed in HEX. To display numbers in Binary or decimal, right
click on the Format Column.
Note that returned value error codes can be evaluated by looking at MW50 &
MW52 as programmed in OB1. Selecting the OB1 Network in question and
pressing the F1 key will launch the STEP 7 help menu that lists error codes.
Page 32 DROM 02066 Version 2.0 October 1, 1999
4.3 Control Drive PZD Data Via VAT Table
A
B
A
Insert values to be modified in the Modify Column.
MW16 was selected as Control Word 1. In order to turn the drive on Bit 0 and Bit
10 must be asserted. Bit 10 is the Life Bit. Note that the right most bit is the least
significant (Bit 0). To view the Binary format of MW16 right-click the Format
column and select Binary.
The 3
rd
and 4
th
words that are transmitted are used as the speed reference. The 3
rd
word is the high word and the 4
th
word is the low word. Note that 4000 Hex
represents 100% speed and 1000 Hex represents 25% speed in the 3
rd
word. The
fourth word is of lower significance, however it can be used to set very slow speeds.
B
Assert the Modified Values by clicking the Modify Hot Button. This looks like a
lighting bolt. CAUTION: THE DRIVE WILL TURN ON AND THE MOTOR
WILL TURN AT THE SETPOINT SPEED.
PZD Data Modification is now complete. This demonstration outlines how to
configure the drive, soft-wire binectors and connectors, create a VAT table, and
modify values. Note that for applications, modifications would be written into the
PLC code to change the appropriate Memory Words and Memory Bits.
Version 1.0 January 12, 2000 DROM-02068 Page 33
PKW Parameter Data
Configuration
Section 5 Table of Contents:
5.1 Configure MASTERDRIVES
5.2 PKW Telegraph Word Format
5.3 Create VAT2
5.4 Change PKW Parameters via VAT Table
Page 34 DROM 02066 Version 2.0 October 1, 1999
Version 1.0 January 12, 2000 DROM-02068 Page 35
5.1 Configure MASTERDRIVE
Verify that Profibus Address is set.
P918 = 1 (Address) Note: P60 = 4 to change.
Set Operator Control Rights
P53 = 1 allows Parameterization by CBP Profibus Board.
P53 = 7 allows Parameterization by CBP Profibus Board,
PMU Operator Interface and Serial Comm Interface.
Page 36 DROM 02066 Version 2.0 October 1, 1999
5.2 PKW Telegraph Word Format
PKW Parameter Data is used to monitor parameter values, as well as to transfer and
acknowledge parameter changes. The parameter area always contains at least four words.
The first word of the PKW Data is used to request a task and identify the parameter number.
The second word indicates the parameter index. The third and fourth words are used to pass
parameter values. The following Tasks are possible with PKW Parameter Data.
Task ID Significance Reply ID
(Decimal ID #) positive negative
0 No task 0 7 or 8
1 Request parameter value 1 or 2
2 Change parameter value (word) 1
3 Change parameter value (double word) 2
4 Request description element 3
5 Change description element (not with CBP) 3
6 Request parameter value (array) 4 or 5
7 Change parameter value (array, word) 4
8 Change parameter value (array, double word) 5
9 Request the number of array elements 6
10 Reserved -
11 Change parameter value (array, double word)
and store in the EEPROM 5
12 Change parameter value (array, word)
and store in the EEPROM 4
13 Change parameter value (double word)
and store in the EEPROM 2
14 Change parameter value (word) and
store in the EEPROM 1
15 Read or change text (not with CBP) 15 7 or 8
Table Task IDs (master -> converter)
Word 1 Consists of the Task ID and the Parameter Number.
For this example we choose Task 12 (Decimal). This will change a single word parameter and
store the results in the MASTERDRIVE EEPROM. Note that if the EEPROM Task is not
selected the changes will only occur in RAM and this state will not exist after a power cycle. If
a parameter is going to be continuously changed by the program the parameter should be stored
in the drives RAM because the EEPROM can only be written to a limited amount of times.
The Task and Parameter Number will be passed over via a VAT Table. We will need to convert
this into Hexadecimal format.
Word 1 Format:
Bits 0 to 10 represent the Parameter Number.
Bit 11 is the toggle bit for parameter change reports.
Bits 12 to 15 contain the task ID and reply ID
Bits 15 14 13 12 ~ 11 10 9 8 ~ 7 6 5 4 ~ 3 2 1 0
Decimal ---- 12 ----- ------------- P554 ------------
Binary 1 1 0 0 ~ 0 0 1 0 ~ 0 0 1 0 ~ 1 0 1 0
HEX ---- C ------ ---- 2 ---- ~ --- 2 --- ~ --- A---
Therefore for PKW Word 1 will transmit C22A Hex to change P554 in the drives EEPROM.
Version 1.0 January 12, 2000 DROM-02068 Page 37
Word 2 Consists of the Array Sub-Index and the MASTERDRIVE specific Page Select.
For cyclical communication by means of PPOs the following word arrangement is used.
Bits 0 to 7 are used for Page Selection
Bits 8 to 15 are used for the Parameter Index.
Page Selection:
Parameter designation Serial Required addressing of the
(acc. to parameter list) parameter parameter via PROFIBUS
number PNU PNU Bit #0
[decimal] [hex.]
P000 - P999 (r000 - r999) 0 - 999 0 - 999 0 - 3E7 = 0
H000 - H999 (d000 - d999) 1000 - 1999 1000 -1999 3E8 - 7CF = 0
U000 - U999 (n000 - n999) 2000 - 2999 0 - 999 0 - 3E7 = 1
L000 - L999 (c000 - c999) 3000 - 3999 1000 - 1999 3E8 - 7CF = 1
For our example we are changing P554, therefore the Page Selection Bit #0 = 0 and Bits 0 to 7 = 0.
Parameter Index:
P554 is an indexed parameter. The MASTERDRIVE has BICO Data Sets to change its
configuration without reprogramming. This utilizes index parameters. By default the first index is
the active Data Set, therefore we must select index one of P554.
Indexed parameters may range from 0 to 255 Decimal, 0 to FF Hex. To indicate the Index = 1, the
8
th
bit =1. (Example: If the Index = 2, then 9
th
bit = 1 and 8
th
bit = 0)
Word 2
Bits 15 14 13 12 ~ 11 10 9 8 ~ 7 6 5 4 ~ 3 2 1 0
Binary 0 0 0 0 ~ 0 0 0 1 ~ 0 0 0 0 ~ 0 0 0 0
HEX ---- 0 ------ ---- 1 ---- ~ --- 0 --- ~ --- 0---
PKW Word 2 is 0100 Hex. This represents the first index of a Parameter in the range of 0 1999.
Word 3 & Word 4 Consists of the data to be transferred.
The parameter value (PWE) is always transferred as a double word (32 bit).
PWE is split into PWE1 and PWE2 (16 bit).
PWE1 (Most Significant Word, 3
rd
Word)
PWE2 (Least Significant word, 4
th
Word).
A 32-bit parameter value is composed of PWE1 and PWE2.
A 16 bit parameter value is transferred in PWE2, in the case that you have set PWE1 to 0.
Hex values are used to set the parameter value. This Example passes two different 16 bit parameter.
PWE1 (3rd Word) =
HEX ---- 0 ------ ---- 0 ---- ~ --- 0 --- ~ --- 0--- -- 0 ---- ---- 0 --- ~ --- 0 --- ~ --- 0---
PWE2 (4th Word) = OR
HEX ---- 3 ------ ---- 1 ---- ~ --- 0 --- ~ --- 0--- -- 0 ---- ---- 0 --- ~ --- 2 --- ~ --- 0---
Therefore PKW Words 3 & 4 will transmit either 3100 Hex or 0020 Hex to change P554 On/Off
command from the Profibus Receive OR Digital Input 6.
Page 38 DROM 02066 Version 2.0 October 1, 1999
PKW Reply ID
The reply from the drive after requesting a parameter or changing a parameter is significant because a
Reply ID code is generated that will indicate if the Task was successfully completed. In the Task
Table Positive and Negative IDs are indicated.
The significance of the reply is listed in the tables below. Please note that the returned values from
the drive are in Hexadecimal and will need to be converted back to decimal.
Reply ID (Decimal) Significance
0 No reply
1 Transfer parameter value (word)
2 Transfer parameter value (double word)
3 Transfer description element
4 Transfer parameter value (array, word)
5 Transfer parameter value (array, double word)
6 Transfer the number of array elements
7 Task cannot be executed (with error number)
8 No operator change rights for the PKW interface
9 Parameter change report (word)
10 Parameter change report (double word)
11 Parameter change report (array, word)
12 Parameter change report (array, double word)
13 Reserved
14 Reserved
15 Transfer text (not with CBP)
Error Number Significance Cause
(Decimal)
0 Non-admissible parameter No. (PNU) If the PNU does not exist
1 Parameter value cannot be changed If the parameter is a visualization parameter
2 Upper or lower limit exceeded
3 Erroneous subindex
4 No array
5 Incorrect data type
6 Setting not allowed (can only be reset)
7 Description element cannot be changed Generally not possible for MASTERDRIVES
11 No operator control rights Check P53
12 Key word missing Drive converter parameter "access key" and/or
"parameter special access" not correctly set
15 No text array available
17 Task cannot be executed due to operating Drive converter status does not permit the present
status task
101 Parameter number deactivated at present Specific to MASTERDRIVES
102 Channel width too small Specific to MASTERDRIVES: only for short channels
103 Incorrect number of PKWs Specific to MASTERDRIVES: only for G-SST1/2
and SCB interface (USS)
104 Parameter value not admissible Specific to MASTERDRIVES
105 The parameter is indexed e.g. task: "PWE, change word" for indexed
parameters
106 Task not implemented
Error Number corresponding to ID Code 7
Version 1.0 January 12, 2000 DROM-02068 Page 39
5.3 Create VAT2
A
Right Click in the Blocks Window from SIMATIC Manager and choose to
insert a Variable Table.
Name the VAT Table. Example = VAT2.
B
Double Click the VAT Table Icon to launch the Monitor and Modify VAT
Editor.
Page 40 DROM 02066 Version 2.0 October 1, 1999
C D
C
Enter the Variables that you wish to observe. Remember for this example
MW8 MW14 are used for the PKW Transmit Data and MW28 MW34 are
used for PKW Receive Data.
Note: The Symbol Editor can be used to name your variables.
D
Select Establish Online Connection from the Hot Buttons.
Select Monitor Online Eyeglass Icon from the Hot Buttons.
E
Observe the Online values returned from the drive.
Note that returned value error codes can be evaluated by looking at MW54 &
MW56 as programmed in OB1. Selecting the OB1 Network in question and
pressing the F1 key will launch the STEP 7 help menu that lists error codes.
Version 1.0 January 12, 2000 DROM-02068 Page 41
5.4 Change PKW Parameters via VAT Table
A
B
A
Insert values to be modified in the Modify Column.
MW 8 is PKW Transmit Word 1 = C22A Hex
MW 10 is PKW Transmit Word 2 = 0100 Hex
MW 12 is PKW Transmit Word 3 = 0000 Hex
MW 14 is PKW Transmit Word 4 = 3100 Hex OR 0020 Hex
B
Assert the Modified Values by clicking the Modify Hot Button. This looks like a
lighting bolt. The selected Parameter will change. Verify that you get the correct
Reply ID Code back from the drive. Turn the drive on using either the PZD VAT
Table 1 from the previous example or Digital Input 6.
C
PKW Parameter Data Modification is now complete. This demonstration outlines
how to configure the drive, construct PKW Transmit Words, evaluate error codes,
create a VAT table and modify values. Note that for applications, modifications
would be written into the PLC code to change the appropriate Memory Words and
Memory Bits.
Page 42 DROM 02066 Version 2.0 October 1, 1999
Version 1.0 January 12, 2000 DROM-02068 Page 43
Summary
Section 6:
As shown in this Quick Startup Guide, SIMATIC S7-300 & S7-400 PLCs can easily be connected to
the Simovert MASTERDRIVE Series Drives. This Guide was designed to guide the user in simple
Profibus Connectivity. All communication and control between the drive and PLC can be
accomplished using the simple methods outline within this guide.
For more complete information refer to the operating instructions for the PLC and the compendium for
the drive.
More complex control schemes are available for communication between drive and PLC. These control
scheme utilize predefined Data Blocks written into the PLC operation. For larger integrated systems
these programs may be worth investigating. The DVA-S7 communication package is available for
STEP 7 & MASTERDRIVE interface. GMC Basic communications package is available for the
Motion Control MASTERDRIVES. These communication packages allow the user to program several
drive parameter sets that are organized into Data Blocks.
To launch Simovis from within STEP7 the DVA-S7 Package or GMC Basic package is required.
For simple applications in communication and drive control it is recommended to use the connectivity
method outlined within this guide.
Documentation and Software
General Motion Control CD Part # DRMS-02053 No Charge
Includes: MASTERDRIVE MC Compendium
MASTERDRIVE MC Hardware Manual
MASTERDRIVE MC Quick Startup Guide
GMC BASIC Software (Includes Object Manager, DPV1 Services for MC)
SIMOVIS Software
MASTERDRIVE VC CD Part # DRMS-02051 No Charge
Includes: MASTERDRIVE VC Compendium
MASTERDRIVE VC Hardware Manual
SIMOVIS Software
DVA-S7 Software Package Part # 6SX70050CB00 Charge
Documentation can be ordered through Innotrac @ (678) 584-4000 or email: Siemens@Innotrac.com
free of charge. The DVA-S7 Package must be purchased.

Вам также может понравиться