Starting a Micromaster MM440 on profibus

userxyz

Member
Join Date
May 2002
Location
any
Posts
2,768
How would u start, invert direction and reset fault, do u use the Drive ES Blocks for simple projects, or do u just write something yourself ?

Is it a good way to transfer 47F to start, 47E to stop, C4F to reverse and 4FE to reset ?
 
I think maybe some others can tell you about sending special codes to the drive to control it.

I gave up on that approach. In stead I found an example at Siemens support with a complete project including HMI projects:
http://www.plctalk.net/qanda/showthread.php?t=18348
What makes this really really good is that you get a very comprehensive diagnostics with meaningful onscreen explanations. This is near impossible to make by one self.
Unfortunately the last I looked all this was in german language only.
 
hi

After discussion in an other topic I wrote this:
PZD is an UDT that contains the status and control

LAR1 P##PZD
L #STAT_WORD
T LW [AR1,P#3.0]

SET
= #PZD.Off_2
= #PZD.Off_3
= #PZD.Enable_Oper
= #PZD.Oper_Condition
= #PZD.Enable_RFG
= #PZD.Enable_Setp
= #PZD.SETP_Valid

A #FW_RUN
AN #RV_RUN
JCN RV
= #PZD.On_Off_1

[size=+0]RV: [/size][size=+0]A #RV_RUN
AN #FW_RUN
JCN RST
= #PZD.On_Off_1
= #PZD.SETP_Inv

[/size]RST: A #FLT
A #RST
= #PZD.Ack

LAR1 P##PZD
L LW [AR1,P#0.0]
T #CTRL_W

L #SETP_Hz
L 5.529600e+002
*R
RND
T #SETP_Int
 
opnion

Look, what I want to know is..

If u just want tu Run a motor with an MM440, and u only use PZD and no PKW...

Should u use DriveES blocks If u have Drive ES ?

Or do u transfer start/stop and speed just like:

L w#16#47F
T PQW 256 // control word

L w#16#4000
T PQW 258 // Setpoint


Or do u write every bit in an instance or something ?
 
Hey

indeed, but someone of our team does not agree and just wants a lot of unnecessary work with these blocks. He even programs it in Lad, what makes it even more, more work, more code.

If u use more then 2 words IN and 2 words OUT, then maybe you can use these blocks, but not for a simple application where u only need RUN Forward, Reverse, Fault Reset, en that's it...

What do u think ?

What's the advantage of these Drive ES blocks ?
 
When I did my first Profbus MM4XX project earlier last year I used the blocks from The Siemens Support site as you mentioned in an earlier post. I had a few niggles with these blocks so I spoke to Siemens A & D Support here in the UK. They advised me to use the Load and Transfer method and indeed sent me a small program demonstrating the routines.

Regards

pouch
 
Opinion on how to control

I first wrote an UDT with a controlword and a statusword.

Then I did this in an FC:

Network 1:
LAR1 P##PZD // Pointing to UDT
L #STAT_WORD // Statusword from drive PIW256
T LW [AR1,P#2.0] // transfer to statusword(UDT)

Netwerk 2:
L 0 // Load zero to reset all bits
T LW [AR1,P#0.0] // transfer to controlword(UDT)
SET
= #PZD.Off_2 // these bits must be high
= #PZD.Off_3 // These bits make 47E
= #PZD.Enable_Oper
= #PZD.Oper_Condition
= #PZD.Enable_RFG
= #PZD.Enable_Setp
= #PZD.SETP_Valid

Netwerk 3:
A #FW_RUN // Start Forward (this makes 47F)
AN #RV_RUN
JCN RV
= #PZD.On_Off_1

Network 4:
RV: A #RV_RUN // Reverse (makes C7F)
AN #FW_RUN
JCN RST
= #PZD.On_Off_1
= #PZD.SETP_Inv // invert bit

Network 5:
RST: A #PZD.Fault // fault from the statusword
= #FLT
A #RST
= #PZD.Ack // resetbit

Network 6:
LAR1 P##PZD
L LW [AR1,P#0.0] // At last load the controlword
T #CTRL_W // from the UDT and transfer to PQW


In network 2 I used this:
L 0
T LW [AR1,P#0.0]

When I do not do this, then bits that must be zero sometimes do things I don't want, maybe because they are temps ??
 

Similar Topics

Hi All I have the SIEMINS micromaster 440 not starting good several times then start after 1 to 2 hours . so I took the AOP kit and opend it >>...
Replies
12
Views
4,450
Hi, I am attempting to turn on an output for one second, every thirty seconds, but am having some trouble. I have a XIC with S:1/15 (first pass)...
Replies
9
Views
594
Rather new to structured text. I'm trying to edit a machine so that it will reinitialize with some push buttons held in for 10 seconds. Pushing...
Replies
13
Views
2,749
Hi Guys, I'm using an ABL33ER with Panelview 600. I have datalogging running on the HMI using the view studio datalog model on startup of the...
Replies
4
Views
1,142
Hello guys, I have windows 10 on virtualbox guests and not on the host. On a windows 10 guest I have TIA Selection tool V2022.06. When I...
Replies
1
Views
1,513
Back
Top Bottom