Forums

Reply
DF1 Devotee
Frank V.
Posts: 12
Registered: 06-23-2008
0

Get Coarse Update rate in CLX

I want to have the value of the coarse update rate in ms or microseconds in the CLX. I checked if I could call this value by using the GSV-instructions and did not find it.

 

I have motiongroup updated on coarse update rate and a motiontask triggered by the event of motiongroup updated. To find a good balance

on the processor CLX execution time of the (1) motiongroup update rate itself and (2) the motion task which is logic with motion instructions, I would like to have the value called by the CLX .

 

If possible I would also like to know if I can change the coarse update rate with a SSV, to find a better balance between both points mentioned both.

 

Regards,

FV

This one is so good … we couldn't think of a title good enough!
fuzzy_logic
Posts: 2,825
Registered: 06-26-2008
0

Re: Get Coarse Update rate in CLX

I have searched what you need...It isn't available in GSV or SSV instructions and also I've not found indication about a Generic CIP message that could retrive it... it seems not possible to me :smileysad:

 

- fuzzy logic

Please remember to close your thread, using the Accept as Solution button over the answer that solved it... and click the Star ( ) under the user avatar to assign Kudos to those who provided help. Thanks... :smileywink:
Scion of (FT)Security
NorwichUK
Posts: 161
Registered: 03-28-2009
0

Re: Get Coarse Update rate in CLX

It is possible via a generic CIP message, the target of this message needs to be the processor that owns the particular Sercos card that you are interested in.
This one is so good … we couldn't think of a title good enough!
fuzzy_logic
Posts: 2,825
Registered: 06-26-2008
0

Re: Get Coarse Update rate in CLX

May you post the Generic CIP configuration please ? I think this could be interesting for Forum users, as there aren't documents that report this possibility ...:smileywink:

 

Thanks,

- fuzzy logic

 

Please remember to close your thread, using the Accept as Solution button over the answer that solved it... and click the Star ( ) under the user avatar to assign Kudos to those who provided help. Thanks... :smileywink:
Scion of (FT)Security
NorwichUK
Posts: 161
Registered: 03-28-2009
0

Re: Get Coarse Update rate in CLX

 

Any one wants an ACD example of this MSG - drop me your e-mail and I'll send it.

 

 

 

 

This one is so good … we couldn't think of a title good enough!
fuzzy_logic
Posts: 2,825
Registered: 06-26-2008
0

Re: Get Coarse Update rate in CLX

[ Edited ]

First of all, I would like to thank NorwichUK for sending me the example...:smileywink:

 

Just a note: this will get the Programmed Coarse Update Time, in order to retrieve the real-time Last or Maximum Coarse Update Time, refer to Aid 50617...

 

Also, unfortunately, the request done by the user who started the thread was to WRITE dinamically this value... so again my answer is that it seems not possible to me, unless NorwichUK has some other news for us... :smileywink:

 

- fuzzy logic

Message Edited by fuzzy logic on 03-30-2009 05:15 PM
Please remember to close your thread, using the Accept as Solution button over the answer that solved it... and click the Star ( ) under the user avatar to assign Kudos to those who provided help. Thanks... :smileywink:
Scion of (FT)Security
NorwichUK
Posts: 161
Registered: 03-28-2009
0

Re: Get Coarse Update rate in CLX

CUR can only be changed offline - so theirs no point looking for a programmed way to do this - code can't run offline . . . so dynamically changing this via code can't be done as has been reported.

 

This is still useful if you are computing cams etc and you want to make adjustments how long things take to start / complete (typically most things are 2 coarse updates out of date). If you have blocks of code you reuse often, your CUR may vary from 2 - 8ms depending on how many axis you have configured and its nice to know a way to retrieve the CUR for a generic purpose.

Scion of (FT)Security
NorwichUK
Posts: 161
Registered: 03-28-2009
0

Re: Get Coarse Update rate in CLX

Attached is how to get the coarse update rate - a little late now, but at the time attachments couldn't be added.

 

Note - this reads from the processor as it is the processor that holds the CUR (you can only have one motion group per processor, and don't necessirily have to have Sercos cards as the example shows).

 

For some reason (or the last time I looked) this isn't documented anywhere in any public manuals, or on the KB.

Credit must go here to the Rockwell tech Support guy (lets call him AG) who dug long and hard to get this information from somewhere a couple of years ago now.