Retrigger Siemens Motion Commands

Kaurk

Member
Join Date
Mar 2015
Location
Estonia
Posts
12
Hey,

Setup i have:
CPU 315T-3 PN/DP
S120_CU320_2_DP
DP cycle 2.5 ms
Servo 2.5 ms
IPO 5.0 ms
IP_2 15.0 ms

What is the fastest way to Reexecute MC commands. For instance FB 414 "MC_MoveVelocity". The done flag only flips its value 0 to 1, 1 to 0, if inVelocity bit goes high. So its not useful for retriggering the block.

Under MCDevice:
MaxLoopDuration: 6ms


The manual states: Command processing
The commands of integrated technology are processed and monitored at indefinite cycles. The time required to process current commands depends on the number of active commands and on CPU load.

It seems the command process time can vary.

Currently i trigger block every 10ms and it only loads the first execute, all the others are ignored.

On rockwell there is the .DN bit the user can monitor and fire the MC command again if its done.
 
Hello.

I was in the same situation a couple of years ago and needed a similar way of of control. The "MC_MoveVelocity" does not give you a "Done" signal since there is no position to target.
On this site there is this manual:
https://support.industry.siemens.com/cs/ww/en/view/30119663
On page 659 there is a description on how to use two instances of the FB414 in order to interrupt with a different speed.

But I ended up with setting the FB 414 to the maximum speed and manipulating on parameter 4142 in order to constantly change the speed. This was done in technology OB65

On page 1064, you will find an example on how to manipulate the override parameter with the "MC_WriteParameter".
 

Similar Topics

Hi everyone, i have a Siemens S7-300 Cpu 314C-2 DP with several cards of i/o and servos my laptop has TIA version 16 and 17 loaded and...
Replies
3
Views
36
Hi all, Currently having trouble getting a speed reference to write over modbus to an Omron M1... I can successfully write a run command and...
Replies
2
Views
42
Good morning fellow sea captains and wizards, I am being asked to do the above and obtain 4 values from each slave, I know about the MRX and MWX...
Replies
26
Views
348
Hi everyone, I am an omron plc tec , lately I came across a siemens s7 200 cn plc . Can someone help me regarding the software required and...
Replies
26
Views
476
This is the first time I am working with Simatic Manager Step7 as I started my siemens journey with TIA which is pretty easy and do a lot of stuff...
Replies
3
Views
119
Back
Top Bottom