S7 300 with Profibus communication

jayasiri

Member
Join Date
Dec 2009
Location
colombo
Posts
20
My Control Panel is with S7 300 (CPU 314C-2DP ) , 14 Lexium5 Servo Drives.
I need to replace one Lexium5 Servo Drive with Lexium32. I installed the GSD file relevant to Lexium32. But I do not know how to modify the S7 300 program?
 
Program modification for Lexium32

My list with program as follows problem is how to modify the program for Lexium32?
OB1 Main STL
OB35 Interrupt Ciclico 5 STL
OB80 Errore Tempo Ciclo STL
OB82 Errore Punto I/O 1 STL
OB86 Errore Perdita Nodo STL
OB100 Complete Restart STL
OB121 Programming Error STL
OB122 Module Access Error STL
FB2 Start/Stop Motore STL
FB3 Blocco Centraggio STL
FB4 Centraggio_CDS300 STL
FB7 FB_MicromasterProfibus STL
FB10 Blocco Messaggi STL
FB11 FB_Lexium05_Velocity STL
FB12 FB_Lexium05_Rampe STL
FB13 FB_Lexium05_HomePos STL
FB14 FB_Lexium05_CkEmulation STL
FB15 FB_Lexium05_Motion STL
FB200 Posizione pivot STL
FB201 Test Posizione Pivot STL
FC0 STL
FC1 Lettura Input STL
FC3 Controllo Emergenza STL
FC4 Start/Stop CDS STL
FC5 Gestione Messaggi STL
FC6 Allarmi centraggi CDS STL
FC7 OP3 - Conversione Dati STL
FC8 ***** Dati STL
FC9 Cambio Prodotto STL
FC20 Linea2_Start STL
FC21 Linea2_Analogica STL
FC22 Linea2_Carrello STL
FC23 Linea2_Chiusure STL
FC29 Barriera Nastro A STL
FC30 Nastro A STL
FC31 Nastro C1 STL
FC32 Nastro B STL
FC33 Nastro C2 STL
FC34 Nastro ST STL
FC40 Rampe_Lexium STL
FC41 FTC CDS timeout STL
FC50 PROFIBUS_DRIVE_MANAGER STL
FC60 Ripari CDS STL
FC62 Luci STL
FC81 Pivot C2 STL
FC82 Pivot ST STL
FC90 Test CDS STL
FC100 Scrittura Output STL
FC134 Nastro ST (ranghi) STL
FC200 blocco di test STL
FC202 TestAnalogicaLinea STL
DB1 INPUT DB
DB2 OUTPUT DB
DB3 Move DB
DB4 DB_Contatori_ST DB
DB5 Dati OP3 DB
DB6 Conversione Dati DB
DB7 Centraggi DB
DB8 Dati Cambio Prodotto DB
DB9 Shift DB
DB10 Shift NI DB
DB11 Shift MD DB
DB12 DB_PosizioniPivot DB
DB13 DI_Speed_A DB
DB14 DI_Speed_C1 DB
DB15 DI_Speed_B DB
DB16 DI_Speed_C2 DB
DB17 DI_Speed_ST DB
DB20 DI_Speed_NI2_old DB
DB21 DI_Speed_NI2 DB
DB25 DI_Speed_NU2 DB
DB26 DI_Speed_NC1 DB
DB27 DI_Speed_NC2 DB
DB28 DI_Speed_Curva DB
DB29 DI_Speed_Orientatore DB
DB30 DB Acc/Dec Nastro NI L2 DB
DB31 DB Acc/Dec Nastro NU L2 DB
DB32 DB Acc/Dec Nastro NC1 L2 DB
DB33 DB Acc/Dec Nastro NC2 L2 DB
DB34 DB Acc/Dec Curva L2 DB
DB35 DB Acc/Dec OR L2 DB
DB36 DI_PivotC2 DB
DB37 DI_PivotST DB
DB40 DI_SoftTransfer_2 DB
DB41 DI_Clock_NI2 DB
DB42 DI_Clock_NU2 DB
DB43 DI_Clock_A1 DB
DB44 DI_Clock_C1 DB
DB45 DI_Clock_B DB
DB46 DI_Clock_C2 DB
DB47 DI_Clock_ST DB
DB48 DI_Clock_A2 DB
DB50 DB Acc/Dec Nastro A DB
DB51 DB Acc/Dec Nastro C1 DB
DB52 DB Acc/Dec Nastro B DB
DB53 DB Acc/Dec Nastro C2 DB
DB54 DB Acc/Dec Nastro ST DB
DB55 DB Velocity Nastro A DB
DB56 DB Velocity Nastro C1 DB
DB57 DB Velocity Nastro B DB
DB58 DB Velocity Nastro C2 DB
DB59 DB Velocity Nastro ST DB
DB60 DB Acc/Dec Pivot C2 DB
DB61 DB Acc/Dec Pivot ST DB
DB62 DB Centraggio ST Avanti DB
DB63 DB Centraggio ST Ind DB
DB64 DB CkEmulation A DB
DB65 DB CkEmulation C1 DB
DB66 DB CkEmulation B DB
DB67 DB CkEmulation C2 DB
DB68 DB CkEmulation ST DB
DB69 DB Centraggio NI 2 DB
DB70 DB non usato DB
DB71 DB CkEmulation NU2 DB
DB72 DB CkEmulation NI2 DB
DB73 DI_PivotSt_new DB
DB74 DI_RampePivotST DB
DB75 DB Counter NU2 DB
DB76 Messaggi DB
DB79 DI_Acc/Dec_PivotC2 DB
DB80 DI_Acc/Dec_PivotST DB
DB81 DB HomePos Pivot ST DB
DB90 DI_MM_Orient_Verticale DB
DB91 DI_Centraggio CDS DB
DB101 Dati Prodotto 1 DB
DB102 Dati Prodotto 2 DB
DB103 Dati Prodotto 3 DB

DB104 Dati Prodotto 4 DB
DB105 FaultSlaveDP DB
DB106 Fronti DB
DB200 DB per test vari DB
DB201 DI_test DB
DB202 DI_Posizione Pivot C2 DB
DB203 DI_Posizione Pivot ST DB
DB204 DB
DB300 DB
UDT10 DataSet_LXM32 STL
UDT19 Axis_Ref_LXM32 STL
Dati analogiche Dati analogiche Variable Table
Dati Shift Register Dati Shift Register Variable Table
di speed A di speed A Variable Table
VAT Dati OP3 - DB5 VAT Dati OP3 - DB5 Variable Table
VAT Dati Prodotto 1 VAT Dati Prodotto 1 Variable Table
VAT Dati Prodotto 2 VAT Dati Prodotto 2 Variable Table
VAT Dati Prodotto 3 VAT Dati Prodotto 3 Variable Table
VAT Dati Prodotto 4 VAT Dati Prodotto 4 Variable Table
VAT Dati Prodotto 5 VAT Dati Prodotto 5 Variable Table
VAT_3 VAT_3
 
you need to look at the profibus information/documentation for both drives. IDK the equipment, but either it is a standard mapping or you can change it with a certain software.
.
you should contact the distributor for the drive to help you out
 
db36


Thanks Bone Less
But my DB36 shows
..... address Declaration Name
1 .. 0.0 in Enable
2 .. 0.1 in Home_REQ
3 .. 0.2 in Jog_REQ
4 .. 0.3 in Jog_FFW
5 .. 0.4 in Jog_REV
6 .. 0.5 in ErrorQuit
7 . 2.0 in Speed
8 .. 6.0 in Position
9


Like that then tell me where is DB36 Bit 1.1
 
Last edited:
It is there, but has not been assigned a tag. Not proper.

What is it used for?
 
Due to that you use an possible REAL? after a bounch of bools will compile the DB at the next clean INT offset. db36.dbx1.1 are not assigned in the DB.

But i think that what you should do, not knowing the structure of the program. Reprogram the blocks that contains the Communication to the old servo. What you need to find is the Status Word, Control Word, etc. and assign the right bits on the right place.
 
Call Function with Data Block

Thanks all,
Here FC30 is for Tape A.
It's Network 1 is for Clock Emulation
after it is mention as
CALL "FB_Lexium05_CKEmulation" , "DI_Clock_A1" .... FB14/DB43
Enable :="Start Tape A" .... M6.7
ActualPosition := PID272
Periodo := L#6000
CK_Emulation := "CK_Emulation A" .... M8.0
A "CK_Emulation A" M8.0
FP " Fronti".n[0] DB106.DBX0.0
= "Clock Counter A" M8.5

That means FC30 always execute FB14
FB14 is update with data block DB43
M6.7 is kept ON M8.0 is taken as CK_Emulation
M8.5 is ON By M8.0 and Positive edge of DB106.DBX0.0


Any one can explain this.
 
What don't you understand? The comment on the bottom explains it pretty well?
 
Thank boneless

F50 is on "Profibus_Drive_Manager"
Network 3
A L 9.0
= #ReadyForOn
A L 9.1
= #ReadyToRun
A L9.3
= #FaultActive

I can not understand what is L 9.0 , L 9.1 , L 9.3 ?
Can any body explain this?
 

Similar Topics

Hi I am trying to establish communication between SIMEAS P power meter and siemens S7 PLC but it seems that there is something wrong. In hardware...
Replies
6
Views
2,806
Hi, Greetings for all of you. Please find the attached system configuration of GE RX3i redundant system. We have to communicate 2 Siemens...
Replies
1
Views
1,826
HELLO ALL. I HAVE A PROBLEM about communication between cpu s7300 DP and S7300 CP. THANKS
Replies
4
Views
4,321
Hi, I am looking to link 2 S7-300 plc's via profibus. Both PLC's already have profibus set up for communication of HMI's, Motor inverters, remote...
Replies
2
Views
3,028
I searched the web, but could not find anything about this communication.Is there anybody applyed a project like this. Any reply would be...
Replies
1
Views
3,033
Back
Top Bottom